...

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

Documentation: github.com/Azure/azure-sdk-for-go/services/preview/appinsights/mgmt/2022-02-01-preview/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  // CreatedByType enumerates the values for created by type.
    44  type CreatedByType string
    45  
    46  const (
    47  	// CreatedByTypeApplication ...
    48  	CreatedByTypeApplication CreatedByType = "Application"
    49  	// CreatedByTypeKey ...
    50  	CreatedByTypeKey CreatedByType = "Key"
    51  	// CreatedByTypeManagedIdentity ...
    52  	CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
    53  	// CreatedByTypeUser ...
    54  	CreatedByTypeUser CreatedByType = "User"
    55  )
    56  
    57  // PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.
    58  func PossibleCreatedByTypeValues() []CreatedByType {
    59  	return []CreatedByType{CreatedByTypeApplication, CreatedByTypeKey, CreatedByTypeManagedIdentity, CreatedByTypeUser}
    60  }
    61  
    62  // FavoriteSourceType enumerates the values for favorite source type.
    63  type FavoriteSourceType string
    64  
    65  const (
    66  	// FavoriteSourceTypeEvents ...
    67  	FavoriteSourceTypeEvents FavoriteSourceType = "events"
    68  	// FavoriteSourceTypeFunnel ...
    69  	FavoriteSourceTypeFunnel FavoriteSourceType = "funnel"
    70  	// FavoriteSourceTypeImpact ...
    71  	FavoriteSourceTypeImpact FavoriteSourceType = "impact"
    72  	// FavoriteSourceTypeNotebook ...
    73  	FavoriteSourceTypeNotebook FavoriteSourceType = "notebook"
    74  	// FavoriteSourceTypeRetention ...
    75  	FavoriteSourceTypeRetention FavoriteSourceType = "retention"
    76  	// FavoriteSourceTypeSegmentation ...
    77  	FavoriteSourceTypeSegmentation FavoriteSourceType = "segmentation"
    78  	// FavoriteSourceTypeSessions ...
    79  	FavoriteSourceTypeSessions FavoriteSourceType = "sessions"
    80  	// FavoriteSourceTypeUserflows ...
    81  	FavoriteSourceTypeUserflows FavoriteSourceType = "userflows"
    82  )
    83  
    84  // PossibleFavoriteSourceTypeValues returns an array of possible values for the FavoriteSourceType const type.
    85  func PossibleFavoriteSourceTypeValues() []FavoriteSourceType {
    86  	return []FavoriteSourceType{FavoriteSourceTypeEvents, FavoriteSourceTypeFunnel, FavoriteSourceTypeImpact, FavoriteSourceTypeNotebook, FavoriteSourceTypeRetention, FavoriteSourceTypeSegmentation, FavoriteSourceTypeSessions, FavoriteSourceTypeUserflows}
    87  }
    88  
    89  // FavoriteType enumerates the values for favorite type.
    90  type FavoriteType string
    91  
    92  const (
    93  	// FavoriteTypeShared ...
    94  	FavoriteTypeShared FavoriteType = "shared"
    95  	// FavoriteTypeUser ...
    96  	FavoriteTypeUser FavoriteType = "user"
    97  )
    98  
    99  // PossibleFavoriteTypeValues returns an array of possible values for the FavoriteType const type.
   100  func PossibleFavoriteTypeValues() []FavoriteType {
   101  	return []FavoriteType{FavoriteTypeShared, FavoriteTypeUser}
   102  }
   103  
   104  // FlowType enumerates the values for flow type.
   105  type FlowType string
   106  
   107  const (
   108  	// FlowTypeBluefield ...
   109  	FlowTypeBluefield FlowType = "Bluefield"
   110  )
   111  
   112  // PossibleFlowTypeValues returns an array of possible values for the FlowType const type.
   113  func PossibleFlowTypeValues() []FlowType {
   114  	return []FlowType{FlowTypeBluefield}
   115  }
   116  
   117  // IngestionMode enumerates the values for ingestion mode.
   118  type IngestionMode string
   119  
   120  const (
   121  	// IngestionModeApplicationInsights ...
   122  	IngestionModeApplicationInsights IngestionMode = "ApplicationInsights"
   123  	// IngestionModeApplicationInsightsWithDiagnosticSettings ...
   124  	IngestionModeApplicationInsightsWithDiagnosticSettings IngestionMode = "ApplicationInsightsWithDiagnosticSettings"
   125  	// IngestionModeLogAnalytics ...
   126  	IngestionModeLogAnalytics IngestionMode = "LogAnalytics"
   127  )
   128  
   129  // PossibleIngestionModeValues returns an array of possible values for the IngestionMode const type.
   130  func PossibleIngestionModeValues() []IngestionMode {
   131  	return []IngestionMode{IngestionModeApplicationInsights, IngestionModeApplicationInsightsWithDiagnosticSettings, IngestionModeLogAnalytics}
   132  }
   133  
   134  // ItemScope enumerates the values for item scope.
   135  type ItemScope string
   136  
   137  const (
   138  	// ItemScopeShared ...
   139  	ItemScopeShared ItemScope = "shared"
   140  	// ItemScopeUser ...
   141  	ItemScopeUser ItemScope = "user"
   142  )
   143  
   144  // PossibleItemScopeValues returns an array of possible values for the ItemScope const type.
   145  func PossibleItemScopeValues() []ItemScope {
   146  	return []ItemScope{ItemScopeShared, ItemScopeUser}
   147  }
   148  
   149  // ItemScopePath enumerates the values for item scope path.
   150  type ItemScopePath string
   151  
   152  const (
   153  	// ItemScopePathAnalyticsItems ...
   154  	ItemScopePathAnalyticsItems ItemScopePath = "analyticsItems"
   155  	// ItemScopePathMyanalyticsItems ...
   156  	ItemScopePathMyanalyticsItems ItemScopePath = "myanalyticsItems"
   157  )
   158  
   159  // PossibleItemScopePathValues returns an array of possible values for the ItemScopePath const type.
   160  func PossibleItemScopePathValues() []ItemScopePath {
   161  	return []ItemScopePath{ItemScopePathAnalyticsItems, ItemScopePathMyanalyticsItems}
   162  }
   163  
   164  // ItemType enumerates the values for item type.
   165  type ItemType string
   166  
   167  const (
   168  	// ItemTypeFunction ...
   169  	ItemTypeFunction ItemType = "function"
   170  	// ItemTypeNone ...
   171  	ItemTypeNone ItemType = "none"
   172  	// ItemTypeQuery ...
   173  	ItemTypeQuery ItemType = "query"
   174  	// ItemTypeRecent ...
   175  	ItemTypeRecent ItemType = "recent"
   176  )
   177  
   178  // PossibleItemTypeValues returns an array of possible values for the ItemType const type.
   179  func PossibleItemTypeValues() []ItemType {
   180  	return []ItemType{ItemTypeFunction, ItemTypeNone, ItemTypeQuery, ItemTypeRecent}
   181  }
   182  
   183  // ItemTypeParameter enumerates the values for item type parameter.
   184  type ItemTypeParameter string
   185  
   186  const (
   187  	// ItemTypeParameterFolder ...
   188  	ItemTypeParameterFolder ItemTypeParameter = "folder"
   189  	// ItemTypeParameterFunction ...
   190  	ItemTypeParameterFunction ItemTypeParameter = "function"
   191  	// ItemTypeParameterNone ...
   192  	ItemTypeParameterNone ItemTypeParameter = "none"
   193  	// ItemTypeParameterQuery ...
   194  	ItemTypeParameterQuery ItemTypeParameter = "query"
   195  	// ItemTypeParameterRecent ...
   196  	ItemTypeParameterRecent ItemTypeParameter = "recent"
   197  )
   198  
   199  // PossibleItemTypeParameterValues returns an array of possible values for the ItemTypeParameter const type.
   200  func PossibleItemTypeParameterValues() []ItemTypeParameter {
   201  	return []ItemTypeParameter{ItemTypeParameterFolder, ItemTypeParameterFunction, ItemTypeParameterNone, ItemTypeParameterQuery, ItemTypeParameterRecent}
   202  }
   203  
   204  // Kind enumerates the values for kind.
   205  type Kind string
   206  
   207  const (
   208  	// KindShared ...
   209  	KindShared Kind = "shared"
   210  	// KindUser ...
   211  	KindUser Kind = "user"
   212  )
   213  
   214  // PossibleKindValues returns an array of possible values for the Kind const type.
   215  func PossibleKindValues() []Kind {
   216  	return []Kind{KindShared, KindUser}
   217  }
   218  
   219  // ManagedServiceIdentityType enumerates the values for managed service identity type.
   220  type ManagedServiceIdentityType string
   221  
   222  const (
   223  	// ManagedServiceIdentityTypeNone ...
   224  	ManagedServiceIdentityTypeNone ManagedServiceIdentityType = "None"
   225  	// ManagedServiceIdentityTypeSystemAssigned ...
   226  	ManagedServiceIdentityTypeSystemAssigned ManagedServiceIdentityType = "SystemAssigned"
   227  	// ManagedServiceIdentityTypeSystemAssignedUserAssigned ...
   228  	ManagedServiceIdentityTypeSystemAssignedUserAssigned ManagedServiceIdentityType = "SystemAssigned,UserAssigned"
   229  	// ManagedServiceIdentityTypeUserAssigned ...
   230  	ManagedServiceIdentityTypeUserAssigned ManagedServiceIdentityType = "UserAssigned"
   231  )
   232  
   233  // PossibleManagedServiceIdentityTypeValues returns an array of possible values for the ManagedServiceIdentityType const type.
   234  func PossibleManagedServiceIdentityTypeValues() []ManagedServiceIdentityType {
   235  	return []ManagedServiceIdentityType{ManagedServiceIdentityTypeNone, ManagedServiceIdentityTypeSystemAssigned, ManagedServiceIdentityTypeSystemAssignedUserAssigned, ManagedServiceIdentityTypeUserAssigned}
   236  }
   237  
   238  // PublicNetworkAccessType enumerates the values for public network access type.
   239  type PublicNetworkAccessType string
   240  
   241  const (
   242  	// PublicNetworkAccessTypeDisabled Disables public connectivity to Application Insights through public DNS.
   243  	PublicNetworkAccessTypeDisabled PublicNetworkAccessType = "Disabled"
   244  	// PublicNetworkAccessTypeEnabled Enables connectivity to Application Insights through public DNS.
   245  	PublicNetworkAccessTypeEnabled PublicNetworkAccessType = "Enabled"
   246  )
   247  
   248  // PossiblePublicNetworkAccessTypeValues returns an array of possible values for the PublicNetworkAccessType const type.
   249  func PossiblePublicNetworkAccessTypeValues() []PublicNetworkAccessType {
   250  	return []PublicNetworkAccessType{PublicNetworkAccessTypeDisabled, PublicNetworkAccessTypeEnabled}
   251  }
   252  
   253  // PurgeState enumerates the values for purge state.
   254  type PurgeState string
   255  
   256  const (
   257  	// PurgeStateCompleted ...
   258  	PurgeStateCompleted PurgeState = "completed"
   259  	// PurgeStatePending ...
   260  	PurgeStatePending PurgeState = "pending"
   261  )
   262  
   263  // PossiblePurgeStateValues returns an array of possible values for the PurgeState const type.
   264  func PossiblePurgeStateValues() []PurgeState {
   265  	return []PurgeState{PurgeStateCompleted, PurgeStatePending}
   266  }
   267  
   268  // RequestSource enumerates the values for request source.
   269  type RequestSource string
   270  
   271  const (
   272  	// RequestSourceRest ...
   273  	RequestSourceRest RequestSource = "rest"
   274  )
   275  
   276  // PossibleRequestSourceValues returns an array of possible values for the RequestSource const type.
   277  func PossibleRequestSourceValues() []RequestSource {
   278  	return []RequestSource{RequestSourceRest}
   279  }
   280  
   281  // SharedTypeKind enumerates the values for shared type kind.
   282  type SharedTypeKind string
   283  
   284  const (
   285  	// SharedTypeKindShared ...
   286  	SharedTypeKindShared SharedTypeKind = "shared"
   287  	// SharedTypeKindUser ...
   288  	SharedTypeKindUser SharedTypeKind = "user"
   289  )
   290  
   291  // PossibleSharedTypeKindValues returns an array of possible values for the SharedTypeKind const type.
   292  func PossibleSharedTypeKindValues() []SharedTypeKind {
   293  	return []SharedTypeKind{SharedTypeKindShared, SharedTypeKindUser}
   294  }
   295  
   296  // Type enumerates the values for type.
   297  type Type string
   298  
   299  const (
   300  	// TypeNone ...
   301  	TypeNone Type = "None"
   302  	// TypeUserAssigned ...
   303  	TypeUserAssigned Type = "UserAssigned"
   304  )
   305  
   306  // PossibleTypeValues returns an array of possible values for the Type const type.
   307  func PossibleTypeValues() []Type {
   308  	return []Type{TypeNone, TypeUserAssigned}
   309  }
   310  
   311  // WebTestKind enumerates the values for web test kind.
   312  type WebTestKind string
   313  
   314  const (
   315  	// WebTestKindMultistep ...
   316  	WebTestKindMultistep WebTestKind = "multistep"
   317  	// WebTestKindPing ...
   318  	WebTestKindPing WebTestKind = "ping"
   319  )
   320  
   321  // PossibleWebTestKindValues returns an array of possible values for the WebTestKind const type.
   322  func PossibleWebTestKindValues() []WebTestKind {
   323  	return []WebTestKind{WebTestKindMultistep, WebTestKindPing}
   324  }
   325  

View as plain text