...

Source file src/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2020-02-02/insights/enums.go

Documentation: github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2020-02-02/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  	// ApplicationTypeOther ...
    14  	ApplicationTypeOther ApplicationType = "other"
    15  	// ApplicationTypeWeb ...
    16  	ApplicationTypeWeb ApplicationType = "web"
    17  )
    18  
    19  // PossibleApplicationTypeValues returns an array of possible values for the ApplicationType const type.
    20  func PossibleApplicationTypeValues() []ApplicationType {
    21  	return []ApplicationType{ApplicationTypeOther, ApplicationTypeWeb}
    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  	// FavoriteSourceTypeEvents ...
    48  	FavoriteSourceTypeEvents FavoriteSourceType = "events"
    49  	// FavoriteSourceTypeFunnel ...
    50  	FavoriteSourceTypeFunnel FavoriteSourceType = "funnel"
    51  	// FavoriteSourceTypeImpact ...
    52  	FavoriteSourceTypeImpact FavoriteSourceType = "impact"
    53  	// FavoriteSourceTypeNotebook ...
    54  	FavoriteSourceTypeNotebook FavoriteSourceType = "notebook"
    55  	// FavoriteSourceTypeRetention ...
    56  	FavoriteSourceTypeRetention FavoriteSourceType = "retention"
    57  	// FavoriteSourceTypeSegmentation ...
    58  	FavoriteSourceTypeSegmentation FavoriteSourceType = "segmentation"
    59  	// FavoriteSourceTypeSessions ...
    60  	FavoriteSourceTypeSessions FavoriteSourceType = "sessions"
    61  	// FavoriteSourceTypeUserflows ...
    62  	FavoriteSourceTypeUserflows FavoriteSourceType = "userflows"
    63  )
    64  
    65  // PossibleFavoriteSourceTypeValues returns an array of possible values for the FavoriteSourceType const type.
    66  func PossibleFavoriteSourceTypeValues() []FavoriteSourceType {
    67  	return []FavoriteSourceType{FavoriteSourceTypeEvents, FavoriteSourceTypeFunnel, FavoriteSourceTypeImpact, FavoriteSourceTypeNotebook, FavoriteSourceTypeRetention, FavoriteSourceTypeSegmentation, FavoriteSourceTypeSessions, FavoriteSourceTypeUserflows}
    68  }
    69  
    70  // FavoriteType enumerates the values for favorite type.
    71  type FavoriteType string
    72  
    73  const (
    74  	// FavoriteTypeShared ...
    75  	FavoriteTypeShared FavoriteType = "shared"
    76  	// FavoriteTypeUser ...
    77  	FavoriteTypeUser FavoriteType = "user"
    78  )
    79  
    80  // PossibleFavoriteTypeValues returns an array of possible values for the FavoriteType const type.
    81  func PossibleFavoriteTypeValues() []FavoriteType {
    82  	return []FavoriteType{FavoriteTypeShared, FavoriteTypeUser}
    83  }
    84  
    85  // FlowType enumerates the values for flow type.
    86  type FlowType string
    87  
    88  const (
    89  	// FlowTypeBluefield ...
    90  	FlowTypeBluefield FlowType = "Bluefield"
    91  )
    92  
    93  // PossibleFlowTypeValues returns an array of possible values for the FlowType const type.
    94  func PossibleFlowTypeValues() []FlowType {
    95  	return []FlowType{FlowTypeBluefield}
    96  }
    97  
    98  // IngestionMode enumerates the values for ingestion mode.
    99  type IngestionMode string
   100  
   101  const (
   102  	// IngestionModeApplicationInsights ...
   103  	IngestionModeApplicationInsights IngestionMode = "ApplicationInsights"
   104  	// IngestionModeApplicationInsightsWithDiagnosticSettings ...
   105  	IngestionModeApplicationInsightsWithDiagnosticSettings IngestionMode = "ApplicationInsightsWithDiagnosticSettings"
   106  	// IngestionModeLogAnalytics ...
   107  	IngestionModeLogAnalytics IngestionMode = "LogAnalytics"
   108  )
   109  
   110  // PossibleIngestionModeValues returns an array of possible values for the IngestionMode const type.
   111  func PossibleIngestionModeValues() []IngestionMode {
   112  	return []IngestionMode{IngestionModeApplicationInsights, IngestionModeApplicationInsightsWithDiagnosticSettings, IngestionModeLogAnalytics}
   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  	// ItemScopePathAnalyticsItems ...
   135  	ItemScopePathAnalyticsItems ItemScopePath = "analyticsItems"
   136  	// ItemScopePathMyanalyticsItems ...
   137  	ItemScopePathMyanalyticsItems ItemScopePath = "myanalyticsItems"
   138  )
   139  
   140  // PossibleItemScopePathValues returns an array of possible values for the ItemScopePath const type.
   141  func PossibleItemScopePathValues() []ItemScopePath {
   142  	return []ItemScopePath{ItemScopePathAnalyticsItems, ItemScopePathMyanalyticsItems}
   143  }
   144  
   145  // ItemType enumerates the values for item type.
   146  type ItemType string
   147  
   148  const (
   149  	// ItemTypeFolder ...
   150  	ItemTypeFolder ItemType = "folder"
   151  	// ItemTypeFunction ...
   152  	ItemTypeFunction ItemType = "function"
   153  	// ItemTypeQuery ...
   154  	ItemTypeQuery ItemType = "query"
   155  	// ItemTypeRecent ...
   156  	ItemTypeRecent ItemType = "recent"
   157  )
   158  
   159  // PossibleItemTypeValues returns an array of possible values for the ItemType const type.
   160  func PossibleItemTypeValues() []ItemType {
   161  	return []ItemType{ItemTypeFolder, ItemTypeFunction, ItemTypeQuery, ItemTypeRecent}
   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  // PublicNetworkAccessType enumerates the values for public network access type.
   186  type PublicNetworkAccessType string
   187  
   188  const (
   189  	// PublicNetworkAccessTypeDisabled Disables public connectivity to Application Insights through public DNS.
   190  	PublicNetworkAccessTypeDisabled PublicNetworkAccessType = "Disabled"
   191  	// PublicNetworkAccessTypeEnabled Enables connectivity to Application Insights through public DNS.
   192  	PublicNetworkAccessTypeEnabled PublicNetworkAccessType = "Enabled"
   193  )
   194  
   195  // PossiblePublicNetworkAccessTypeValues returns an array of possible values for the PublicNetworkAccessType const type.
   196  func PossiblePublicNetworkAccessTypeValues() []PublicNetworkAccessType {
   197  	return []PublicNetworkAccessType{PublicNetworkAccessTypeDisabled, PublicNetworkAccessTypeEnabled}
   198  }
   199  
   200  // PurgeState enumerates the values for purge state.
   201  type PurgeState string
   202  
   203  const (
   204  	// PurgeStateCompleted ...
   205  	PurgeStateCompleted PurgeState = "completed"
   206  	// PurgeStatePending ...
   207  	PurgeStatePending PurgeState = "pending"
   208  )
   209  
   210  // PossiblePurgeStateValues returns an array of possible values for the PurgeState const type.
   211  func PossiblePurgeStateValues() []PurgeState {
   212  	return []PurgeState{PurgeStateCompleted, PurgeStatePending}
   213  }
   214  
   215  // RequestSource enumerates the values for request source.
   216  type RequestSource string
   217  
   218  const (
   219  	// RequestSourceRest ...
   220  	RequestSourceRest RequestSource = "rest"
   221  )
   222  
   223  // PossibleRequestSourceValues returns an array of possible values for the RequestSource const type.
   224  func PossibleRequestSourceValues() []RequestSource {
   225  	return []RequestSource{RequestSourceRest}
   226  }
   227  
   228  // SharedTypeKind enumerates the values for shared type kind.
   229  type SharedTypeKind string
   230  
   231  const (
   232  	// SharedTypeKindShared ...
   233  	SharedTypeKindShared SharedTypeKind = "shared"
   234  	// SharedTypeKindUser ...
   235  	SharedTypeKindUser SharedTypeKind = "user"
   236  )
   237  
   238  // PossibleSharedTypeKindValues returns an array of possible values for the SharedTypeKind const type.
   239  func PossibleSharedTypeKindValues() []SharedTypeKind {
   240  	return []SharedTypeKind{SharedTypeKindShared, SharedTypeKindUser}
   241  }
   242  
   243  // WebTestKind enumerates the values for web test kind.
   244  type WebTestKind string
   245  
   246  const (
   247  	// WebTestKindMultistep ...
   248  	WebTestKindMultistep WebTestKind = "multistep"
   249  	// WebTestKindPing ...
   250  	WebTestKindPing WebTestKind = "ping"
   251  )
   252  
   253  // PossibleWebTestKindValues returns an array of possible values for the WebTestKind const type.
   254  func PossibleWebTestKindValues() []WebTestKind {
   255  	return []WebTestKind{WebTestKindMultistep, WebTestKindPing}
   256  }
   257  

View as plain text