...

Source file src/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/enums.go

Documentation: github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights

     1  package insights
     2  
     3  // Copyright (c) Microsoft Corporation. All rights reserved.
     4  // Licensed under the MIT License. See License.txt in the project root for license information.
     5  //
     6  // Code generated by Microsoft (R) AutoRest Code Generator.
     7  // Changes may cause incorrect behavior and will be lost if the code is regenerated.
     8  
     9  // ApplicationType enumerates the values for application type.
    10  type ApplicationType string
    11  
    12  const (
    13  	// Other ...
    14  	Other ApplicationType = "other"
    15  	// Web ...
    16  	Web ApplicationType = "web"
    17  )
    18  
    19  // PossibleApplicationTypeValues returns an array of possible values for the ApplicationType const type.
    20  func PossibleApplicationTypeValues() []ApplicationType {
    21  	return []ApplicationType{Other, Web}
    22  }
    23  
    24  // CategoryType enumerates the values for category type.
    25  type CategoryType string
    26  
    27  const (
    28  	// CategoryTypePerformance ...
    29  	CategoryTypePerformance CategoryType = "performance"
    30  	// CategoryTypeRetention ...
    31  	CategoryTypeRetention CategoryType = "retention"
    32  	// CategoryTypeTSG ...
    33  	CategoryTypeTSG CategoryType = "TSG"
    34  	// CategoryTypeWorkbook ...
    35  	CategoryTypeWorkbook CategoryType = "workbook"
    36  )
    37  
    38  // PossibleCategoryTypeValues returns an array of possible values for the CategoryType const type.
    39  func PossibleCategoryTypeValues() []CategoryType {
    40  	return []CategoryType{CategoryTypePerformance, CategoryTypeRetention, CategoryTypeTSG, CategoryTypeWorkbook}
    41  }
    42  
    43  // FavoriteSourceType enumerates the values for favorite source type.
    44  type FavoriteSourceType string
    45  
    46  const (
    47  	// Events ...
    48  	Events FavoriteSourceType = "events"
    49  	// Funnel ...
    50  	Funnel FavoriteSourceType = "funnel"
    51  	// Impact ...
    52  	Impact FavoriteSourceType = "impact"
    53  	// Notebook ...
    54  	Notebook FavoriteSourceType = "notebook"
    55  	// Retention ...
    56  	Retention FavoriteSourceType = "retention"
    57  	// Segmentation ...
    58  	Segmentation FavoriteSourceType = "segmentation"
    59  	// Sessions ...
    60  	Sessions FavoriteSourceType = "sessions"
    61  	// Userflows ...
    62  	Userflows FavoriteSourceType = "userflows"
    63  )
    64  
    65  // PossibleFavoriteSourceTypeValues returns an array of possible values for the FavoriteSourceType const type.
    66  func PossibleFavoriteSourceTypeValues() []FavoriteSourceType {
    67  	return []FavoriteSourceType{Events, Funnel, Impact, Notebook, Retention, Segmentation, Sessions, Userflows}
    68  }
    69  
    70  // FavoriteType enumerates the values for favorite type.
    71  type FavoriteType string
    72  
    73  const (
    74  	// Shared ...
    75  	Shared FavoriteType = "shared"
    76  	// User ...
    77  	User FavoriteType = "user"
    78  )
    79  
    80  // PossibleFavoriteTypeValues returns an array of possible values for the FavoriteType const type.
    81  func PossibleFavoriteTypeValues() []FavoriteType {
    82  	return []FavoriteType{Shared, User}
    83  }
    84  
    85  // FlowType enumerates the values for flow type.
    86  type FlowType string
    87  
    88  const (
    89  	// Bluefield ...
    90  	Bluefield FlowType = "Bluefield"
    91  )
    92  
    93  // PossibleFlowTypeValues returns an array of possible values for the FlowType const type.
    94  func PossibleFlowTypeValues() []FlowType {
    95  	return []FlowType{Bluefield}
    96  }
    97  
    98  // IngestionMode enumerates the values for ingestion mode.
    99  type IngestionMode string
   100  
   101  const (
   102  	// ApplicationInsights ...
   103  	ApplicationInsights IngestionMode = "ApplicationInsights"
   104  	// ApplicationInsightsWithDiagnosticSettings ...
   105  	ApplicationInsightsWithDiagnosticSettings IngestionMode = "ApplicationInsightsWithDiagnosticSettings"
   106  	// LogAnalytics ...
   107  	LogAnalytics IngestionMode = "LogAnalytics"
   108  )
   109  
   110  // PossibleIngestionModeValues returns an array of possible values for the IngestionMode const type.
   111  func PossibleIngestionModeValues() []IngestionMode {
   112  	return []IngestionMode{ApplicationInsights, ApplicationInsightsWithDiagnosticSettings, LogAnalytics}
   113  }
   114  
   115  // ItemScope enumerates the values for item scope.
   116  type ItemScope string
   117  
   118  const (
   119  	// ItemScopeShared ...
   120  	ItemScopeShared ItemScope = "shared"
   121  	// ItemScopeUser ...
   122  	ItemScopeUser ItemScope = "user"
   123  )
   124  
   125  // PossibleItemScopeValues returns an array of possible values for the ItemScope const type.
   126  func PossibleItemScopeValues() []ItemScope {
   127  	return []ItemScope{ItemScopeShared, ItemScopeUser}
   128  }
   129  
   130  // ItemScopePath enumerates the values for item scope path.
   131  type ItemScopePath string
   132  
   133  const (
   134  	// AnalyticsItems ...
   135  	AnalyticsItems ItemScopePath = "analyticsItems"
   136  	// MyanalyticsItems ...
   137  	MyanalyticsItems ItemScopePath = "myanalyticsItems"
   138  )
   139  
   140  // PossibleItemScopePathValues returns an array of possible values for the ItemScopePath const type.
   141  func PossibleItemScopePathValues() []ItemScopePath {
   142  	return []ItemScopePath{AnalyticsItems, MyanalyticsItems}
   143  }
   144  
   145  // ItemType enumerates the values for item type.
   146  type ItemType string
   147  
   148  const (
   149  	// Folder ...
   150  	Folder ItemType = "folder"
   151  	// Function ...
   152  	Function ItemType = "function"
   153  	// Query ...
   154  	Query ItemType = "query"
   155  	// Recent ...
   156  	Recent ItemType = "recent"
   157  )
   158  
   159  // PossibleItemTypeValues returns an array of possible values for the ItemType const type.
   160  func PossibleItemTypeValues() []ItemType {
   161  	return []ItemType{Folder, Function, Query, Recent}
   162  }
   163  
   164  // ItemTypeParameter enumerates the values for item type parameter.
   165  type ItemTypeParameter string
   166  
   167  const (
   168  	// ItemTypeParameterFolder ...
   169  	ItemTypeParameterFolder ItemTypeParameter = "folder"
   170  	// ItemTypeParameterFunction ...
   171  	ItemTypeParameterFunction ItemTypeParameter = "function"
   172  	// ItemTypeParameterNone ...
   173  	ItemTypeParameterNone ItemTypeParameter = "none"
   174  	// ItemTypeParameterQuery ...
   175  	ItemTypeParameterQuery ItemTypeParameter = "query"
   176  	// ItemTypeParameterRecent ...
   177  	ItemTypeParameterRecent ItemTypeParameter = "recent"
   178  )
   179  
   180  // PossibleItemTypeParameterValues returns an array of possible values for the ItemTypeParameter const type.
   181  func PossibleItemTypeParameterValues() []ItemTypeParameter {
   182  	return []ItemTypeParameter{ItemTypeParameterFolder, ItemTypeParameterFunction, ItemTypeParameterNone, ItemTypeParameterQuery, ItemTypeParameterRecent}
   183  }
   184  
   185  // PurgeState enumerates the values for purge state.
   186  type PurgeState string
   187  
   188  const (
   189  	// Completed ...
   190  	Completed PurgeState = "completed"
   191  	// Pending ...
   192  	Pending PurgeState = "pending"
   193  )
   194  
   195  // PossiblePurgeStateValues returns an array of possible values for the PurgeState const type.
   196  func PossiblePurgeStateValues() []PurgeState {
   197  	return []PurgeState{Completed, Pending}
   198  }
   199  
   200  // RequestSource enumerates the values for request source.
   201  type RequestSource string
   202  
   203  const (
   204  	// Rest ...
   205  	Rest RequestSource = "rest"
   206  )
   207  
   208  // PossibleRequestSourceValues returns an array of possible values for the RequestSource const type.
   209  func PossibleRequestSourceValues() []RequestSource {
   210  	return []RequestSource{Rest}
   211  }
   212  
   213  // SharedTypeKind enumerates the values for shared type kind.
   214  type SharedTypeKind string
   215  
   216  const (
   217  	// SharedTypeKindShared ...
   218  	SharedTypeKindShared SharedTypeKind = "shared"
   219  	// SharedTypeKindUser ...
   220  	SharedTypeKindUser SharedTypeKind = "user"
   221  )
   222  
   223  // PossibleSharedTypeKindValues returns an array of possible values for the SharedTypeKind const type.
   224  func PossibleSharedTypeKindValues() []SharedTypeKind {
   225  	return []SharedTypeKind{SharedTypeKindShared, SharedTypeKindUser}
   226  }
   227  
   228  // WebTestKind enumerates the values for web test kind.
   229  type WebTestKind string
   230  
   231  const (
   232  	// Multistep ...
   233  	Multistep WebTestKind = "multistep"
   234  	// Ping ...
   235  	Ping WebTestKind = "ping"
   236  )
   237  
   238  // PossibleWebTestKindValues returns an array of possible values for the WebTestKind const type.
   239  func PossibleWebTestKindValues() []WebTestKind {
   240  	return []WebTestKind{Multistep, Ping}
   241  }
   242  

View as plain text