1package apimanagement 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// AccessIDName enumerates the values for access id name. 10type AccessIDName string 11 12const ( 13 // AccessIDNameAccess ... 14 AccessIDNameAccess AccessIDName = "access" 15 // AccessIDNameGitAccess ... 16 AccessIDNameGitAccess AccessIDName = "gitAccess" 17) 18 19// PossibleAccessIDNameValues returns an array of possible values for the AccessIDName const type. 20func PossibleAccessIDNameValues() []AccessIDName { 21 return []AccessIDName{AccessIDNameAccess, AccessIDNameGitAccess} 22} 23 24// AlwaysLog enumerates the values for always log. 25type AlwaysLog string 26 27const ( 28 // AlwaysLogAllErrors Always log all erroneous request regardless of sampling settings. 29 AlwaysLogAllErrors AlwaysLog = "allErrors" 30) 31 32// PossibleAlwaysLogValues returns an array of possible values for the AlwaysLog const type. 33func PossibleAlwaysLogValues() []AlwaysLog { 34 return []AlwaysLog{AlwaysLogAllErrors} 35} 36 37// ApimIdentityType enumerates the values for apim identity type. 38type ApimIdentityType string 39 40const ( 41 // ApimIdentityTypeNone ... 42 ApimIdentityTypeNone ApimIdentityType = "None" 43 // ApimIdentityTypeSystemAssigned ... 44 ApimIdentityTypeSystemAssigned ApimIdentityType = "SystemAssigned" 45 // ApimIdentityTypeSystemAssignedUserAssigned ... 46 ApimIdentityTypeSystemAssignedUserAssigned ApimIdentityType = "SystemAssigned, UserAssigned" 47 // ApimIdentityTypeUserAssigned ... 48 ApimIdentityTypeUserAssigned ApimIdentityType = "UserAssigned" 49) 50 51// PossibleApimIdentityTypeValues returns an array of possible values for the ApimIdentityType const type. 52func PossibleApimIdentityTypeValues() []ApimIdentityType { 53 return []ApimIdentityType{ApimIdentityTypeNone, ApimIdentityTypeSystemAssigned, ApimIdentityTypeSystemAssignedUserAssigned, ApimIdentityTypeUserAssigned} 54} 55 56// APIType enumerates the values for api type. 57type APIType string 58 59const ( 60 // APITypeHTTP ... 61 APITypeHTTP APIType = "http" 62 // APITypeSoap ... 63 APITypeSoap APIType = "soap" 64 // APITypeWebsocket ... 65 APITypeWebsocket APIType = "websocket" 66) 67 68// PossibleAPITypeValues returns an array of possible values for the APIType const type. 69func PossibleAPITypeValues() []APIType { 70 return []APIType{APITypeHTTP, APITypeSoap, APITypeWebsocket} 71} 72 73// AppType enumerates the values for app type. 74type AppType string 75 76const ( 77 // AppTypeDeveloperPortal User create request was sent by new developer portal. 78 AppTypeDeveloperPortal AppType = "developerPortal" 79 // AppTypePortal User create request was sent by legacy developer portal. 80 AppTypePortal AppType = "portal" 81) 82 83// PossibleAppTypeValues returns an array of possible values for the AppType const type. 84func PossibleAppTypeValues() []AppType { 85 return []AppType{AppTypeDeveloperPortal, AppTypePortal} 86} 87 88// AsyncOperationStatus enumerates the values for async operation status. 89type AsyncOperationStatus string 90 91const ( 92 // AsyncOperationStatusFailed ... 93 AsyncOperationStatusFailed AsyncOperationStatus = "Failed" 94 // AsyncOperationStatusInProgress ... 95 AsyncOperationStatusInProgress AsyncOperationStatus = "InProgress" 96 // AsyncOperationStatusStarted ... 97 AsyncOperationStatusStarted AsyncOperationStatus = "Started" 98 // AsyncOperationStatusSucceeded ... 99 AsyncOperationStatusSucceeded AsyncOperationStatus = "Succeeded" 100) 101 102// PossibleAsyncOperationStatusValues returns an array of possible values for the AsyncOperationStatus const type. 103func PossibleAsyncOperationStatusValues() []AsyncOperationStatus { 104 return []AsyncOperationStatus{AsyncOperationStatusFailed, AsyncOperationStatusInProgress, AsyncOperationStatusStarted, AsyncOperationStatusSucceeded} 105} 106 107// AuthorizationMethod enumerates the values for authorization method. 108type AuthorizationMethod string 109 110const ( 111 // AuthorizationMethodDELETE ... 112 AuthorizationMethodDELETE AuthorizationMethod = "DELETE" 113 // AuthorizationMethodGET ... 114 AuthorizationMethodGET AuthorizationMethod = "GET" 115 // AuthorizationMethodHEAD ... 116 AuthorizationMethodHEAD AuthorizationMethod = "HEAD" 117 // AuthorizationMethodOPTIONS ... 118 AuthorizationMethodOPTIONS AuthorizationMethod = "OPTIONS" 119 // AuthorizationMethodPATCH ... 120 AuthorizationMethodPATCH AuthorizationMethod = "PATCH" 121 // AuthorizationMethodPOST ... 122 AuthorizationMethodPOST AuthorizationMethod = "POST" 123 // AuthorizationMethodPUT ... 124 AuthorizationMethodPUT AuthorizationMethod = "PUT" 125 // AuthorizationMethodTRACE ... 126 AuthorizationMethodTRACE AuthorizationMethod = "TRACE" 127) 128 129// PossibleAuthorizationMethodValues returns an array of possible values for the AuthorizationMethod const type. 130func PossibleAuthorizationMethodValues() []AuthorizationMethod { 131 return []AuthorizationMethod{AuthorizationMethodDELETE, AuthorizationMethodGET, AuthorizationMethodHEAD, AuthorizationMethodOPTIONS, AuthorizationMethodPATCH, AuthorizationMethodPOST, AuthorizationMethodPUT, AuthorizationMethodTRACE} 132} 133 134// BackendProtocol enumerates the values for backend protocol. 135type BackendProtocol string 136 137const ( 138 // BackendProtocolHTTP The Backend is a RESTful service. 139 BackendProtocolHTTP BackendProtocol = "http" 140 // BackendProtocolSoap The Backend is a SOAP service. 141 BackendProtocolSoap BackendProtocol = "soap" 142) 143 144// PossibleBackendProtocolValues returns an array of possible values for the BackendProtocol const type. 145func PossibleBackendProtocolValues() []BackendProtocol { 146 return []BackendProtocol{BackendProtocolHTTP, BackendProtocolSoap} 147} 148 149// BearerTokenSendingMethod enumerates the values for bearer token sending method. 150type BearerTokenSendingMethod string 151 152const ( 153 // BearerTokenSendingMethodAuthorizationHeader ... 154 BearerTokenSendingMethodAuthorizationHeader BearerTokenSendingMethod = "authorizationHeader" 155 // BearerTokenSendingMethodQuery ... 156 BearerTokenSendingMethodQuery BearerTokenSendingMethod = "query" 157) 158 159// PossibleBearerTokenSendingMethodValues returns an array of possible values for the BearerTokenSendingMethod const type. 160func PossibleBearerTokenSendingMethodValues() []BearerTokenSendingMethod { 161 return []BearerTokenSendingMethod{BearerTokenSendingMethodAuthorizationHeader, BearerTokenSendingMethodQuery} 162} 163 164// BearerTokenSendingMethods enumerates the values for bearer token sending methods. 165type BearerTokenSendingMethods string 166 167const ( 168 // BearerTokenSendingMethodsAuthorizationHeader Access token will be transmitted in the Authorization 169 // header using Bearer schema 170 BearerTokenSendingMethodsAuthorizationHeader BearerTokenSendingMethods = "authorizationHeader" 171 // BearerTokenSendingMethodsQuery Access token will be transmitted as query parameters. 172 BearerTokenSendingMethodsQuery BearerTokenSendingMethods = "query" 173) 174 175// PossibleBearerTokenSendingMethodsValues returns an array of possible values for the BearerTokenSendingMethods const type. 176func PossibleBearerTokenSendingMethodsValues() []BearerTokenSendingMethods { 177 return []BearerTokenSendingMethods{BearerTokenSendingMethodsAuthorizationHeader, BearerTokenSendingMethodsQuery} 178} 179 180// CertificateSource enumerates the values for certificate source. 181type CertificateSource string 182 183const ( 184 // CertificateSourceBuiltIn ... 185 CertificateSourceBuiltIn CertificateSource = "BuiltIn" 186 // CertificateSourceCustom ... 187 CertificateSourceCustom CertificateSource = "Custom" 188 // CertificateSourceKeyVault ... 189 CertificateSourceKeyVault CertificateSource = "KeyVault" 190 // CertificateSourceManaged ... 191 CertificateSourceManaged CertificateSource = "Managed" 192) 193 194// PossibleCertificateSourceValues returns an array of possible values for the CertificateSource const type. 195func PossibleCertificateSourceValues() []CertificateSource { 196 return []CertificateSource{CertificateSourceBuiltIn, CertificateSourceCustom, CertificateSourceKeyVault, CertificateSourceManaged} 197} 198 199// CertificateStatus enumerates the values for certificate status. 200type CertificateStatus string 201 202const ( 203 // CertificateStatusCompleted ... 204 CertificateStatusCompleted CertificateStatus = "Completed" 205 // CertificateStatusFailed ... 206 CertificateStatusFailed CertificateStatus = "Failed" 207 // CertificateStatusInProgress ... 208 CertificateStatusInProgress CertificateStatus = "InProgress" 209) 210 211// PossibleCertificateStatusValues returns an array of possible values for the CertificateStatus const type. 212func PossibleCertificateStatusValues() []CertificateStatus { 213 return []CertificateStatus{CertificateStatusCompleted, CertificateStatusFailed, CertificateStatusInProgress} 214} 215 216// ClientAuthenticationMethod enumerates the values for client authentication method. 217type ClientAuthenticationMethod string 218 219const ( 220 // ClientAuthenticationMethodBasic Basic Client Authentication method. 221 ClientAuthenticationMethodBasic ClientAuthenticationMethod = "Basic" 222 // ClientAuthenticationMethodBody Body based Authentication method. 223 ClientAuthenticationMethodBody ClientAuthenticationMethod = "Body" 224) 225 226// PossibleClientAuthenticationMethodValues returns an array of possible values for the ClientAuthenticationMethod const type. 227func PossibleClientAuthenticationMethodValues() []ClientAuthenticationMethod { 228 return []ClientAuthenticationMethod{ClientAuthenticationMethodBasic, ClientAuthenticationMethodBody} 229} 230 231// Confirmation enumerates the values for confirmation. 232type Confirmation string 233 234const ( 235 // ConfirmationInvite Send an e-mail inviting the user to sign-up and complete registration. 236 ConfirmationInvite Confirmation = "invite" 237 // ConfirmationSignup Send an e-mail to the user confirming they have successfully signed up. 238 ConfirmationSignup Confirmation = "signup" 239) 240 241// PossibleConfirmationValues returns an array of possible values for the Confirmation const type. 242func PossibleConfirmationValues() []Confirmation { 243 return []Confirmation{ConfirmationInvite, ConfirmationSignup} 244} 245 246// ConnectivityStatusType enumerates the values for connectivity status type. 247type ConnectivityStatusType string 248 249const ( 250 // ConnectivityStatusTypeFailure ... 251 ConnectivityStatusTypeFailure ConnectivityStatusType = "failure" 252 // ConnectivityStatusTypeInitializing ... 253 ConnectivityStatusTypeInitializing ConnectivityStatusType = "initializing" 254 // ConnectivityStatusTypeSuccess ... 255 ConnectivityStatusTypeSuccess ConnectivityStatusType = "success" 256) 257 258// PossibleConnectivityStatusTypeValues returns an array of possible values for the ConnectivityStatusType const type. 259func PossibleConnectivityStatusTypeValues() []ConnectivityStatusType { 260 return []ConnectivityStatusType{ConnectivityStatusTypeFailure, ConnectivityStatusTypeInitializing, ConnectivityStatusTypeSuccess} 261} 262 263// ContentFormat enumerates the values for content format. 264type ContentFormat string 265 266const ( 267 // ContentFormatOpenapi The contents are inline and Content Type is a OpenAPI 3.0 YAML Document. 268 ContentFormatOpenapi ContentFormat = "openapi" 269 // ContentFormatOpenapijson The contents are inline and Content Type is a OpenAPI 3.0 JSON Document. 270 ContentFormatOpenapijson ContentFormat = "openapi+json" 271 // ContentFormatOpenapijsonLink The OpenAPI 3.0 JSON document is hosted on a publicly accessible internet 272 // address. 273 ContentFormatOpenapijsonLink ContentFormat = "openapi+json-link" 274 // ContentFormatOpenapiLink The OpenAPI 3.0 YAML document is hosted on a publicly accessible internet 275 // address. 276 ContentFormatOpenapiLink ContentFormat = "openapi-link" 277 // ContentFormatSwaggerJSON The contents are inline and Content Type is a OpenAPI 2.0 JSON Document. 278 ContentFormatSwaggerJSON ContentFormat = "swagger-json" 279 // ContentFormatSwaggerLinkJSON The OpenAPI 2.0 JSON document is hosted on a publicly accessible internet 280 // address. 281 ContentFormatSwaggerLinkJSON ContentFormat = "swagger-link-json" 282 // ContentFormatWadlLinkJSON The WADL document is hosted on a publicly accessible internet address. 283 ContentFormatWadlLinkJSON ContentFormat = "wadl-link-json" 284 // ContentFormatWadlXML The contents are inline and Content type is a WADL document. 285 ContentFormatWadlXML ContentFormat = "wadl-xml" 286 // ContentFormatWsdl The contents are inline and the document is a WSDL/Soap document. 287 ContentFormatWsdl ContentFormat = "wsdl" 288 // ContentFormatWsdlLink The WSDL document is hosted on a publicly accessible internet address. 289 ContentFormatWsdlLink ContentFormat = "wsdl-link" 290) 291 292// PossibleContentFormatValues returns an array of possible values for the ContentFormat const type. 293func PossibleContentFormatValues() []ContentFormat { 294 return []ContentFormat{ContentFormatOpenapi, ContentFormatOpenapijson, ContentFormatOpenapijsonLink, ContentFormatOpenapiLink, ContentFormatSwaggerJSON, ContentFormatSwaggerLinkJSON, ContentFormatWadlLinkJSON, ContentFormatWadlXML, ContentFormatWsdl, ContentFormatWsdlLink} 295} 296 297// DataMaskingMode enumerates the values for data masking mode. 298type DataMaskingMode string 299 300const ( 301 // DataMaskingModeHide Hide the presence of an entity. 302 DataMaskingModeHide DataMaskingMode = "Hide" 303 // DataMaskingModeMask Mask the value of an entity. 304 DataMaskingModeMask DataMaskingMode = "Mask" 305) 306 307// PossibleDataMaskingModeValues returns an array of possible values for the DataMaskingMode const type. 308func PossibleDataMaskingModeValues() []DataMaskingMode { 309 return []DataMaskingMode{DataMaskingModeHide, DataMaskingModeMask} 310} 311 312// ExportFormat enumerates the values for export format. 313type ExportFormat string 314 315const ( 316 // ExportFormatOpenapi Export the Api Definition in OpenAPI 3.0 Specification as YAML document to Storage 317 // Blob. 318 ExportFormatOpenapi ExportFormat = "openapi-link" 319 // ExportFormatOpenapiJSON Export the Api Definition in OpenAPI 3.0 Specification as JSON document to 320 // Storage Blob. 321 ExportFormatOpenapiJSON ExportFormat = "openapi+json-link" 322 // ExportFormatSwagger Export the Api Definition in OpenAPI 2.0 Specification as JSON document to the 323 // Storage Blob. 324 ExportFormatSwagger ExportFormat = "swagger-link" 325 // ExportFormatWadl Export the Api Definition in WADL Schema to Storage Blob. 326 ExportFormatWadl ExportFormat = "wadl-link" 327 // ExportFormatWsdl Export the Api Definition in WSDL Schema to Storage Blob. This is only supported for 328 // APIs of Type `soap` 329 ExportFormatWsdl ExportFormat = "wsdl-link" 330) 331 332// PossibleExportFormatValues returns an array of possible values for the ExportFormat const type. 333func PossibleExportFormatValues() []ExportFormat { 334 return []ExportFormat{ExportFormatOpenapi, ExportFormatOpenapiJSON, ExportFormatSwagger, ExportFormatWadl, ExportFormatWsdl} 335} 336 337// ExportResultFormat enumerates the values for export result format. 338type ExportResultFormat string 339 340const ( 341 // ExportResultFormatOpenAPI Export the API Definition in OpenAPI Specification 3.0 to Storage Blob. 342 ExportResultFormatOpenAPI ExportResultFormat = "openapi-link" 343 // ExportResultFormatSwagger The API Definition is exported in OpenAPI Specification 2.0 format to the 344 // Storage Blob. 345 ExportResultFormatSwagger ExportResultFormat = "swagger-link-json" 346 // ExportResultFormatWadl Export the API Definition in WADL Schema to Storage Blob. 347 ExportResultFormatWadl ExportResultFormat = "wadl-link-json" 348 // ExportResultFormatWsdl The API Definition is exported in WSDL Schema to Storage Blob. This is only 349 // supported for APIs of Type `soap` 350 ExportResultFormatWsdl ExportResultFormat = "wsdl-link+xml" 351) 352 353// PossibleExportResultFormatValues returns an array of possible values for the ExportResultFormat const type. 354func PossibleExportResultFormatValues() []ExportResultFormat { 355 return []ExportResultFormat{ExportResultFormatOpenAPI, ExportResultFormatSwagger, ExportResultFormatWadl, ExportResultFormatWsdl} 356} 357 358// GrantType enumerates the values for grant type. 359type GrantType string 360 361const ( 362 // GrantTypeAuthorizationCode Authorization Code Grant flow as described 363 // https://tools.ietf.org/html/rfc6749#section-4.1. 364 GrantTypeAuthorizationCode GrantType = "authorizationCode" 365 // GrantTypeClientCredentials Client Credentials Grant flow as described 366 // https://tools.ietf.org/html/rfc6749#section-4.4. 367 GrantTypeClientCredentials GrantType = "clientCredentials" 368 // GrantTypeImplicit Implicit Code Grant flow as described https://tools.ietf.org/html/rfc6749#section-4.2. 369 GrantTypeImplicit GrantType = "implicit" 370 // GrantTypeResourceOwnerPassword Resource Owner Password Grant flow as described 371 // https://tools.ietf.org/html/rfc6749#section-4.3. 372 GrantTypeResourceOwnerPassword GrantType = "resourceOwnerPassword" 373) 374 375// PossibleGrantTypeValues returns an array of possible values for the GrantType const type. 376func PossibleGrantTypeValues() []GrantType { 377 return []GrantType{GrantTypeAuthorizationCode, GrantTypeClientCredentials, GrantTypeImplicit, GrantTypeResourceOwnerPassword} 378} 379 380// GroupType enumerates the values for group type. 381type GroupType string 382 383const ( 384 // GroupTypeCustom ... 385 GroupTypeCustom GroupType = "custom" 386 // GroupTypeExternal ... 387 GroupTypeExternal GroupType = "external" 388 // GroupTypeSystem ... 389 GroupTypeSystem GroupType = "system" 390) 391 392// PossibleGroupTypeValues returns an array of possible values for the GroupType const type. 393func PossibleGroupTypeValues() []GroupType { 394 return []GroupType{GroupTypeCustom, GroupTypeExternal, GroupTypeSystem} 395} 396 397// HostnameType enumerates the values for hostname type. 398type HostnameType string 399 400const ( 401 // HostnameTypeDeveloperPortal ... 402 HostnameTypeDeveloperPortal HostnameType = "DeveloperPortal" 403 // HostnameTypeManagement ... 404 HostnameTypeManagement HostnameType = "Management" 405 // HostnameTypePortal ... 406 HostnameTypePortal HostnameType = "Portal" 407 // HostnameTypeProxy ... 408 HostnameTypeProxy HostnameType = "Proxy" 409 // HostnameTypeScm ... 410 HostnameTypeScm HostnameType = "Scm" 411) 412 413// PossibleHostnameTypeValues returns an array of possible values for the HostnameType const type. 414func PossibleHostnameTypeValues() []HostnameType { 415 return []HostnameType{HostnameTypeDeveloperPortal, HostnameTypeManagement, HostnameTypePortal, HostnameTypeProxy, HostnameTypeScm} 416} 417 418// HTTPCorrelationProtocol enumerates the values for http correlation protocol. 419type HTTPCorrelationProtocol string 420 421const ( 422 // HTTPCorrelationProtocolLegacy Inject Request-Id and Request-Context headers with request correlation 423 // data. See 424 // https://github.com/dotnet/corefx/blob/master/src/System.Diagnostics.DiagnosticSource/src/HttpCorrelationProtocol.md. 425 HTTPCorrelationProtocolLegacy HTTPCorrelationProtocol = "Legacy" 426 // HTTPCorrelationProtocolNone Do not read and inject correlation headers. 427 HTTPCorrelationProtocolNone HTTPCorrelationProtocol = "None" 428 // HTTPCorrelationProtocolW3C Inject Trace Context headers. See https://w3c.github.io/trace-context. 429 HTTPCorrelationProtocolW3C HTTPCorrelationProtocol = "W3C" 430) 431 432// PossibleHTTPCorrelationProtocolValues returns an array of possible values for the HTTPCorrelationProtocol const type. 433func PossibleHTTPCorrelationProtocolValues() []HTTPCorrelationProtocol { 434 return []HTTPCorrelationProtocol{HTTPCorrelationProtocolLegacy, HTTPCorrelationProtocolNone, HTTPCorrelationProtocolW3C} 435} 436 437// IdentityProviderType enumerates the values for identity provider type. 438type IdentityProviderType string 439 440const ( 441 // IdentityProviderTypeAad Azure Active Directory as Identity provider. 442 IdentityProviderTypeAad IdentityProviderType = "aad" 443 // IdentityProviderTypeAadB2C Azure Active Directory B2C as Identity provider. 444 IdentityProviderTypeAadB2C IdentityProviderType = "aadB2C" 445 // IdentityProviderTypeFacebook Facebook as Identity provider. 446 IdentityProviderTypeFacebook IdentityProviderType = "facebook" 447 // IdentityProviderTypeGoogle Google as Identity provider. 448 IdentityProviderTypeGoogle IdentityProviderType = "google" 449 // IdentityProviderTypeMicrosoft Microsoft Live as Identity provider. 450 IdentityProviderTypeMicrosoft IdentityProviderType = "microsoft" 451 // IdentityProviderTypeTwitter Twitter as Identity provider. 452 IdentityProviderTypeTwitter IdentityProviderType = "twitter" 453) 454 455// PossibleIdentityProviderTypeValues returns an array of possible values for the IdentityProviderType const type. 456func PossibleIdentityProviderTypeValues() []IdentityProviderType { 457 return []IdentityProviderType{IdentityProviderTypeAad, IdentityProviderTypeAadB2C, IdentityProviderTypeFacebook, IdentityProviderTypeGoogle, IdentityProviderTypeMicrosoft, IdentityProviderTypeTwitter} 458} 459 460// KeyType enumerates the values for key type. 461type KeyType string 462 463const ( 464 // KeyTypePrimary ... 465 KeyTypePrimary KeyType = "primary" 466 // KeyTypeSecondary ... 467 KeyTypeSecondary KeyType = "secondary" 468) 469 470// PossibleKeyTypeValues returns an array of possible values for the KeyType const type. 471func PossibleKeyTypeValues() []KeyType { 472 return []KeyType{KeyTypePrimary, KeyTypeSecondary} 473} 474 475// LoggerType enumerates the values for logger type. 476type LoggerType string 477 478const ( 479 // LoggerTypeApplicationInsights Azure Application Insights as log destination. 480 LoggerTypeApplicationInsights LoggerType = "applicationInsights" 481 // LoggerTypeAzureEventHub Azure Event Hub as log destination. 482 LoggerTypeAzureEventHub LoggerType = "azureEventHub" 483 // LoggerTypeAzureMonitor Azure Monitor 484 LoggerTypeAzureMonitor LoggerType = "azureMonitor" 485) 486 487// PossibleLoggerTypeValues returns an array of possible values for the LoggerType const type. 488func PossibleLoggerTypeValues() []LoggerType { 489 return []LoggerType{LoggerTypeApplicationInsights, LoggerTypeAzureEventHub, LoggerTypeAzureMonitor} 490} 491 492// NameAvailabilityReason enumerates the values for name availability reason. 493type NameAvailabilityReason string 494 495const ( 496 // NameAvailabilityReasonAlreadyExists ... 497 NameAvailabilityReasonAlreadyExists NameAvailabilityReason = "AlreadyExists" 498 // NameAvailabilityReasonInvalid ... 499 NameAvailabilityReasonInvalid NameAvailabilityReason = "Invalid" 500 // NameAvailabilityReasonValid ... 501 NameAvailabilityReasonValid NameAvailabilityReason = "Valid" 502) 503 504// PossibleNameAvailabilityReasonValues returns an array of possible values for the NameAvailabilityReason const type. 505func PossibleNameAvailabilityReasonValues() []NameAvailabilityReason { 506 return []NameAvailabilityReason{NameAvailabilityReasonAlreadyExists, NameAvailabilityReasonInvalid, NameAvailabilityReasonValid} 507} 508 509// NotificationName enumerates the values for notification name. 510type NotificationName string 511 512const ( 513 // NotificationNameAccountClosedPublisher The following email recipients and users will receive email 514 // notifications when developer closes his account. 515 NotificationNameAccountClosedPublisher NotificationName = "AccountClosedPublisher" 516 // NotificationNameBCC The following recipients will receive blind carbon copies of all emails sent to 517 // developers. 518 NotificationNameBCC NotificationName = "BCC" 519 // NotificationNameNewApplicationNotificationMessage The following email recipients and users will receive 520 // email notifications when new applications are submitted to the application gallery. 521 NotificationNameNewApplicationNotificationMessage NotificationName = "NewApplicationNotificationMessage" 522 // NotificationNameNewIssuePublisherNotificationMessage The following email recipients and users will 523 // receive email notifications when a new issue or comment is submitted on the developer portal. 524 NotificationNameNewIssuePublisherNotificationMessage NotificationName = "NewIssuePublisherNotificationMessage" 525 // NotificationNamePurchasePublisherNotificationMessage The following email recipients and users will 526 // receive email notifications about new API product subscriptions. 527 NotificationNamePurchasePublisherNotificationMessage NotificationName = "PurchasePublisherNotificationMessage" 528 // NotificationNameQuotaLimitApproachingPublisherNotificationMessage The following email recipients and 529 // users will receive email notifications when subscription usage gets close to usage quota. 530 NotificationNameQuotaLimitApproachingPublisherNotificationMessage NotificationName = "QuotaLimitApproachingPublisherNotificationMessage" 531 // NotificationNameRequestPublisherNotificationMessage The following email recipients and users will 532 // receive email notifications about subscription requests for API products requiring approval. 533 NotificationNameRequestPublisherNotificationMessage NotificationName = "RequestPublisherNotificationMessage" 534) 535 536// PossibleNotificationNameValues returns an array of possible values for the NotificationName const type. 537func PossibleNotificationNameValues() []NotificationName { 538 return []NotificationName{NotificationNameAccountClosedPublisher, NotificationNameBCC, NotificationNameNewApplicationNotificationMessage, NotificationNameNewIssuePublisherNotificationMessage, NotificationNamePurchasePublisherNotificationMessage, NotificationNameQuotaLimitApproachingPublisherNotificationMessage, NotificationNameRequestPublisherNotificationMessage} 539} 540 541// OperationNameFormat enumerates the values for operation name format. 542type OperationNameFormat string 543 544const ( 545 // OperationNameFormatName API_NAME;rev=API_REVISION - OPERATION_NAME 546 OperationNameFormatName OperationNameFormat = "Name" 547 // OperationNameFormatURL HTTP_VERB URL 548 OperationNameFormatURL OperationNameFormat = "Url" 549) 550 551// PossibleOperationNameFormatValues returns an array of possible values for the OperationNameFormat const type. 552func PossibleOperationNameFormatValues() []OperationNameFormat { 553 return []OperationNameFormat{OperationNameFormatName, OperationNameFormatURL} 554} 555 556// PolicyContentFormat enumerates the values for policy content format. 557type PolicyContentFormat string 558 559const ( 560 // PolicyContentFormatRawxml The contents are inline and Content type is a non XML encoded policy document. 561 PolicyContentFormatRawxml PolicyContentFormat = "rawxml" 562 // PolicyContentFormatRawxmlLink The policy document is not Xml encoded and is hosted on a http endpoint 563 // accessible from the API Management service. 564 PolicyContentFormatRawxmlLink PolicyContentFormat = "rawxml-link" 565 // PolicyContentFormatXML The contents are inline and Content type is an XML document. 566 PolicyContentFormatXML PolicyContentFormat = "xml" 567 // PolicyContentFormatXMLLink The policy XML document is hosted on a http endpoint accessible from the API 568 // Management service. 569 PolicyContentFormatXMLLink PolicyContentFormat = "xml-link" 570) 571 572// PossiblePolicyContentFormatValues returns an array of possible values for the PolicyContentFormat const type. 573func PossiblePolicyContentFormatValues() []PolicyContentFormat { 574 return []PolicyContentFormat{PolicyContentFormatRawxml, PolicyContentFormatRawxmlLink, PolicyContentFormatXML, PolicyContentFormatXMLLink} 575} 576 577// PolicyExportFormat enumerates the values for policy export format. 578type PolicyExportFormat string 579 580const ( 581 // PolicyExportFormatRawxml The contents are inline and Content type is a non XML encoded policy document. 582 PolicyExportFormatRawxml PolicyExportFormat = "rawxml" 583 // PolicyExportFormatXML The contents are inline and Content type is an XML document. 584 PolicyExportFormatXML PolicyExportFormat = "xml" 585) 586 587// PossiblePolicyExportFormatValues returns an array of possible values for the PolicyExportFormat const type. 588func PossiblePolicyExportFormatValues() []PolicyExportFormat { 589 return []PolicyExportFormat{PolicyExportFormatRawxml, PolicyExportFormatXML} 590} 591 592// PolicyScopeContract enumerates the values for policy scope contract. 593type PolicyScopeContract string 594 595const ( 596 // PolicyScopeContractAll ... 597 PolicyScopeContractAll PolicyScopeContract = "All" 598 // PolicyScopeContractAPI ... 599 PolicyScopeContractAPI PolicyScopeContract = "Api" 600 // PolicyScopeContractOperation ... 601 PolicyScopeContractOperation PolicyScopeContract = "Operation" 602 // PolicyScopeContractProduct ... 603 PolicyScopeContractProduct PolicyScopeContract = "Product" 604 // PolicyScopeContractTenant ... 605 PolicyScopeContractTenant PolicyScopeContract = "Tenant" 606) 607 608// PossiblePolicyScopeContractValues returns an array of possible values for the PolicyScopeContract const type. 609func PossiblePolicyScopeContractValues() []PolicyScopeContract { 610 return []PolicyScopeContract{PolicyScopeContractAll, PolicyScopeContractAPI, PolicyScopeContractOperation, PolicyScopeContractProduct, PolicyScopeContractTenant} 611} 612 613// PortalRevisionStatus enumerates the values for portal revision status. 614type PortalRevisionStatus string 615 616const ( 617 // PortalRevisionStatusCompleted Portal's revision publishing completed. 618 PortalRevisionStatusCompleted PortalRevisionStatus = "completed" 619 // PortalRevisionStatusFailed Portal's revision publishing failed. 620 PortalRevisionStatusFailed PortalRevisionStatus = "failed" 621 // PortalRevisionStatusPending Portal's revision has been queued. 622 PortalRevisionStatusPending PortalRevisionStatus = "pending" 623 // PortalRevisionStatusPublishing Portal's revision is being published. 624 PortalRevisionStatusPublishing PortalRevisionStatus = "publishing" 625) 626 627// PossiblePortalRevisionStatusValues returns an array of possible values for the PortalRevisionStatus const type. 628func PossiblePortalRevisionStatusValues() []PortalRevisionStatus { 629 return []PortalRevisionStatus{PortalRevisionStatusCompleted, PortalRevisionStatusFailed, PortalRevisionStatusPending, PortalRevisionStatusPublishing} 630} 631 632// ProductState enumerates the values for product state. 633type ProductState string 634 635const ( 636 // ProductStateNotPublished ... 637 ProductStateNotPublished ProductState = "notPublished" 638 // ProductStatePublished ... 639 ProductStatePublished ProductState = "published" 640) 641 642// PossibleProductStateValues returns an array of possible values for the ProductState const type. 643func PossibleProductStateValues() []ProductState { 644 return []ProductState{ProductStateNotPublished, ProductStatePublished} 645} 646 647// Protocol enumerates the values for protocol. 648type Protocol string 649 650const ( 651 // ProtocolHTTP ... 652 ProtocolHTTP Protocol = "http" 653 // ProtocolHTTPS ... 654 ProtocolHTTPS Protocol = "https" 655 // ProtocolWs ... 656 ProtocolWs Protocol = "ws" 657 // ProtocolWss ... 658 ProtocolWss Protocol = "wss" 659) 660 661// PossibleProtocolValues returns an array of possible values for the Protocol const type. 662func PossibleProtocolValues() []Protocol { 663 return []Protocol{ProtocolHTTP, ProtocolHTTPS, ProtocolWs, ProtocolWss} 664} 665 666// ProvisioningState enumerates the values for provisioning state. 667type ProvisioningState string 668 669const ( 670 // ProvisioningStateCreated ... 671 ProvisioningStateCreated ProvisioningState = "created" 672) 673 674// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type. 675func PossibleProvisioningStateValues() []ProvisioningState { 676 return []ProvisioningState{ProvisioningStateCreated} 677} 678 679// ResourceSkuCapacityScaleType enumerates the values for resource sku capacity scale type. 680type ResourceSkuCapacityScaleType string 681 682const ( 683 // ResourceSkuCapacityScaleTypeAutomatic Supported scale type automatic. 684 ResourceSkuCapacityScaleTypeAutomatic ResourceSkuCapacityScaleType = "automatic" 685 // ResourceSkuCapacityScaleTypeManual Supported scale type manual. 686 ResourceSkuCapacityScaleTypeManual ResourceSkuCapacityScaleType = "manual" 687 // ResourceSkuCapacityScaleTypeNone Scaling not supported. 688 ResourceSkuCapacityScaleTypeNone ResourceSkuCapacityScaleType = "none" 689) 690 691// PossibleResourceSkuCapacityScaleTypeValues returns an array of possible values for the ResourceSkuCapacityScaleType const type. 692func PossibleResourceSkuCapacityScaleTypeValues() []ResourceSkuCapacityScaleType { 693 return []ResourceSkuCapacityScaleType{ResourceSkuCapacityScaleTypeAutomatic, ResourceSkuCapacityScaleTypeManual, ResourceSkuCapacityScaleTypeNone} 694} 695 696// SamplingType enumerates the values for sampling type. 697type SamplingType string 698 699const ( 700 // SamplingTypeFixed Fixed-rate sampling. 701 SamplingTypeFixed SamplingType = "fixed" 702) 703 704// PossibleSamplingTypeValues returns an array of possible values for the SamplingType const type. 705func PossibleSamplingTypeValues() []SamplingType { 706 return []SamplingType{SamplingTypeFixed} 707} 708 709// SkuCapacityScaleType enumerates the values for sku capacity scale type. 710type SkuCapacityScaleType string 711 712const ( 713 // SkuCapacityScaleTypeAutomatic ... 714 SkuCapacityScaleTypeAutomatic SkuCapacityScaleType = "Automatic" 715 // SkuCapacityScaleTypeManual ... 716 SkuCapacityScaleTypeManual SkuCapacityScaleType = "Manual" 717 // SkuCapacityScaleTypeNone ... 718 SkuCapacityScaleTypeNone SkuCapacityScaleType = "None" 719) 720 721// PossibleSkuCapacityScaleTypeValues returns an array of possible values for the SkuCapacityScaleType const type. 722func PossibleSkuCapacityScaleTypeValues() []SkuCapacityScaleType { 723 return []SkuCapacityScaleType{SkuCapacityScaleTypeAutomatic, SkuCapacityScaleTypeManual, SkuCapacityScaleTypeNone} 724} 725 726// SkuRestrictionsReasonCode enumerates the values for sku restrictions reason code. 727type SkuRestrictionsReasonCode string 728 729const ( 730 // SkuRestrictionsReasonCodeNotAvailableForSubscription ... 731 SkuRestrictionsReasonCodeNotAvailableForSubscription SkuRestrictionsReasonCode = "NotAvailableForSubscription" 732 // SkuRestrictionsReasonCodeQuotaID ... 733 SkuRestrictionsReasonCodeQuotaID SkuRestrictionsReasonCode = "QuotaId" 734) 735 736// PossibleSkuRestrictionsReasonCodeValues returns an array of possible values for the SkuRestrictionsReasonCode const type. 737func PossibleSkuRestrictionsReasonCodeValues() []SkuRestrictionsReasonCode { 738 return []SkuRestrictionsReasonCode{SkuRestrictionsReasonCodeNotAvailableForSubscription, SkuRestrictionsReasonCodeQuotaID} 739} 740 741// SkuRestrictionsType enumerates the values for sku restrictions type. 742type SkuRestrictionsType string 743 744const ( 745 // SkuRestrictionsTypeLocation ... 746 SkuRestrictionsTypeLocation SkuRestrictionsType = "Location" 747 // SkuRestrictionsTypeZone ... 748 SkuRestrictionsTypeZone SkuRestrictionsType = "Zone" 749) 750 751// PossibleSkuRestrictionsTypeValues returns an array of possible values for the SkuRestrictionsType const type. 752func PossibleSkuRestrictionsTypeValues() []SkuRestrictionsType { 753 return []SkuRestrictionsType{SkuRestrictionsTypeLocation, SkuRestrictionsTypeZone} 754} 755 756// SkuType enumerates the values for sku type. 757type SkuType string 758 759const ( 760 // SkuTypeBasic Basic SKU of Api Management. 761 SkuTypeBasic SkuType = "Basic" 762 // SkuTypeConsumption Consumption SKU of Api Management. 763 SkuTypeConsumption SkuType = "Consumption" 764 // SkuTypeDeveloper Developer SKU of Api Management. 765 SkuTypeDeveloper SkuType = "Developer" 766 // SkuTypeIsolated Isolated SKU of Api Management. 767 SkuTypeIsolated SkuType = "Isolated" 768 // SkuTypePremium Premium SKU of Api Management. 769 SkuTypePremium SkuType = "Premium" 770 // SkuTypeStandard Standard SKU of Api Management. 771 SkuTypeStandard SkuType = "Standard" 772) 773 774// PossibleSkuTypeValues returns an array of possible values for the SkuType const type. 775func PossibleSkuTypeValues() []SkuType { 776 return []SkuType{SkuTypeBasic, SkuTypeConsumption, SkuTypeDeveloper, SkuTypeIsolated, SkuTypePremium, SkuTypeStandard} 777} 778 779// SoapAPIType enumerates the values for soap api type. 780type SoapAPIType string 781 782const ( 783 // SoapAPITypeSoapPassThrough Imports the Soap API having a SOAP front end. 784 SoapAPITypeSoapPassThrough SoapAPIType = "soap" 785 // SoapAPITypeSoapToRest Imports a SOAP API having a RESTful front end. 786 SoapAPITypeSoapToRest SoapAPIType = "http" 787 // SoapAPITypeWebSocket Imports the Soap API having a Websocket front end. 788 SoapAPITypeWebSocket SoapAPIType = "websocket" 789) 790 791// PossibleSoapAPITypeValues returns an array of possible values for the SoapAPIType const type. 792func PossibleSoapAPITypeValues() []SoapAPIType { 793 return []SoapAPIType{SoapAPITypeSoapPassThrough, SoapAPITypeSoapToRest, SoapAPITypeWebSocket} 794} 795 796// State enumerates the values for state. 797type State string 798 799const ( 800 // StateClosed The issue was closed. 801 StateClosed State = "closed" 802 // StateOpen The issue is opened. 803 StateOpen State = "open" 804 // StateProposed The issue is proposed. 805 StateProposed State = "proposed" 806 // StateRemoved The issue was removed. 807 StateRemoved State = "removed" 808 // StateResolved The issue is now resolved. 809 StateResolved State = "resolved" 810) 811 812// PossibleStateValues returns an array of possible values for the State const type. 813func PossibleStateValues() []State { 814 return []State{StateClosed, StateOpen, StateProposed, StateRemoved, StateResolved} 815} 816 817// StoreName enumerates the values for store name. 818type StoreName string 819 820const ( 821 // StoreNameCertificateAuthority ... 822 StoreNameCertificateAuthority StoreName = "CertificateAuthority" 823 // StoreNameRoot ... 824 StoreNameRoot StoreName = "Root" 825) 826 827// PossibleStoreNameValues returns an array of possible values for the StoreName const type. 828func PossibleStoreNameValues() []StoreName { 829 return []StoreName{StoreNameCertificateAuthority, StoreNameRoot} 830} 831 832// SubscriptionState enumerates the values for subscription state. 833type SubscriptionState string 834 835const ( 836 // SubscriptionStateActive ... 837 SubscriptionStateActive SubscriptionState = "active" 838 // SubscriptionStateCancelled ... 839 SubscriptionStateCancelled SubscriptionState = "cancelled" 840 // SubscriptionStateExpired ... 841 SubscriptionStateExpired SubscriptionState = "expired" 842 // SubscriptionStateRejected ... 843 SubscriptionStateRejected SubscriptionState = "rejected" 844 // SubscriptionStateSubmitted ... 845 SubscriptionStateSubmitted SubscriptionState = "submitted" 846 // SubscriptionStateSuspended ... 847 SubscriptionStateSuspended SubscriptionState = "suspended" 848) 849 850// PossibleSubscriptionStateValues returns an array of possible values for the SubscriptionState const type. 851func PossibleSubscriptionStateValues() []SubscriptionState { 852 return []SubscriptionState{SubscriptionStateActive, SubscriptionStateCancelled, SubscriptionStateExpired, SubscriptionStateRejected, SubscriptionStateSubmitted, SubscriptionStateSuspended} 853} 854 855// TemplateName enumerates the values for template name. 856type TemplateName string 857 858const ( 859 // TemplateNameAccountClosedDeveloper ... 860 TemplateNameAccountClosedDeveloper TemplateName = "accountClosedDeveloper" 861 // TemplateNameApplicationApprovedNotificationMessage ... 862 TemplateNameApplicationApprovedNotificationMessage TemplateName = "applicationApprovedNotificationMessage" 863 // TemplateNameConfirmSignUpIdentityDefault ... 864 TemplateNameConfirmSignUpIdentityDefault TemplateName = "confirmSignUpIdentityDefault" 865 // TemplateNameEmailChangeIdentityDefault ... 866 TemplateNameEmailChangeIdentityDefault TemplateName = "emailChangeIdentityDefault" 867 // TemplateNameInviteUserNotificationMessage ... 868 TemplateNameInviteUserNotificationMessage TemplateName = "inviteUserNotificationMessage" 869 // TemplateNameNewCommentNotificationMessage ... 870 TemplateNameNewCommentNotificationMessage TemplateName = "newCommentNotificationMessage" 871 // TemplateNameNewDeveloperNotificationMessage ... 872 TemplateNameNewDeveloperNotificationMessage TemplateName = "newDeveloperNotificationMessage" 873 // TemplateNameNewIssueNotificationMessage ... 874 TemplateNameNewIssueNotificationMessage TemplateName = "newIssueNotificationMessage" 875 // TemplateNamePasswordResetByAdminNotificationMessage ... 876 TemplateNamePasswordResetByAdminNotificationMessage TemplateName = "passwordResetByAdminNotificationMessage" 877 // TemplateNamePasswordResetIdentityDefault ... 878 TemplateNamePasswordResetIdentityDefault TemplateName = "passwordResetIdentityDefault" 879 // TemplateNamePurchaseDeveloperNotificationMessage ... 880 TemplateNamePurchaseDeveloperNotificationMessage TemplateName = "purchaseDeveloperNotificationMessage" 881 // TemplateNameQuotaLimitApproachingDeveloperNotificationMessage ... 882 TemplateNameQuotaLimitApproachingDeveloperNotificationMessage TemplateName = "quotaLimitApproachingDeveloperNotificationMessage" 883 // TemplateNameRejectDeveloperNotificationMessage ... 884 TemplateNameRejectDeveloperNotificationMessage TemplateName = "rejectDeveloperNotificationMessage" 885 // TemplateNameRequestDeveloperNotificationMessage ... 886 TemplateNameRequestDeveloperNotificationMessage TemplateName = "requestDeveloperNotificationMessage" 887) 888 889// PossibleTemplateNameValues returns an array of possible values for the TemplateName const type. 890func PossibleTemplateNameValues() []TemplateName { 891 return []TemplateName{TemplateNameAccountClosedDeveloper, TemplateNameApplicationApprovedNotificationMessage, TemplateNameConfirmSignUpIdentityDefault, TemplateNameEmailChangeIdentityDefault, TemplateNameInviteUserNotificationMessage, TemplateNameNewCommentNotificationMessage, TemplateNameNewDeveloperNotificationMessage, TemplateNameNewIssueNotificationMessage, TemplateNamePasswordResetByAdminNotificationMessage, TemplateNamePasswordResetIdentityDefault, TemplateNamePurchaseDeveloperNotificationMessage, TemplateNameQuotaLimitApproachingDeveloperNotificationMessage, TemplateNameRejectDeveloperNotificationMessage, TemplateNameRequestDeveloperNotificationMessage} 892} 893 894// UserState enumerates the values for user state. 895type UserState string 896 897const ( 898 // UserStateActive User state is active. 899 UserStateActive UserState = "active" 900 // UserStateBlocked User is blocked. Blocked users cannot authenticate at developer portal or call API. 901 UserStateBlocked UserState = "blocked" 902 // UserStateDeleted User account is closed. All identities and related entities are removed. 903 UserStateDeleted UserState = "deleted" 904 // UserStatePending User account is pending. Requires identity confirmation before it can be made active. 905 UserStatePending UserState = "pending" 906) 907 908// PossibleUserStateValues returns an array of possible values for the UserState const type. 909func PossibleUserStateValues() []UserState { 910 return []UserState{UserStateActive, UserStateBlocked, UserStateDeleted, UserStatePending} 911} 912 913// Verbosity enumerates the values for verbosity. 914type Verbosity string 915 916const ( 917 // VerbosityError Only traces with 'severity' set to 'error' will be sent to the logger attached to this 918 // diagnostic instance. 919 VerbosityError Verbosity = "error" 920 // VerbosityInformation Traces with 'severity' set to 'information' and 'error' will be sent to the logger 921 // attached to this diagnostic instance. 922 VerbosityInformation Verbosity = "information" 923 // VerbosityVerbose All the traces emitted by trace policies will be sent to the logger attached to this 924 // diagnostic instance. 925 VerbosityVerbose Verbosity = "verbose" 926) 927 928// PossibleVerbosityValues returns an array of possible values for the Verbosity const type. 929func PossibleVerbosityValues() []Verbosity { 930 return []Verbosity{VerbosityError, VerbosityInformation, VerbosityVerbose} 931} 932 933// VersioningScheme enumerates the values for versioning scheme. 934type VersioningScheme string 935 936const ( 937 // VersioningSchemeHeader The API Version is passed in a HTTP header. 938 VersioningSchemeHeader VersioningScheme = "Header" 939 // VersioningSchemeQuery The API Version is passed in a query parameter. 940 VersioningSchemeQuery VersioningScheme = "Query" 941 // VersioningSchemeSegment The API Version is passed in a path segment. 942 VersioningSchemeSegment VersioningScheme = "Segment" 943) 944 945// PossibleVersioningSchemeValues returns an array of possible values for the VersioningScheme const type. 946func PossibleVersioningSchemeValues() []VersioningScheme { 947 return []VersioningScheme{VersioningSchemeHeader, VersioningSchemeQuery, VersioningSchemeSegment} 948} 949 950// VersioningScheme1 enumerates the values for versioning scheme 1. 951type VersioningScheme1 string 952 953const ( 954 // VersioningScheme1Header ... 955 VersioningScheme1Header VersioningScheme1 = "Header" 956 // VersioningScheme1Query ... 957 VersioningScheme1Query VersioningScheme1 = "Query" 958 // VersioningScheme1Segment ... 959 VersioningScheme1Segment VersioningScheme1 = "Segment" 960) 961 962// PossibleVersioningScheme1Values returns an array of possible values for the VersioningScheme1 const type. 963func PossibleVersioningScheme1Values() []VersioningScheme1 { 964 return []VersioningScheme1{VersioningScheme1Header, VersioningScheme1Query, VersioningScheme1Segment} 965} 966 967// VirtualNetworkType enumerates the values for virtual network type. 968type VirtualNetworkType string 969 970const ( 971 // VirtualNetworkTypeExternal The service is part of Virtual Network and it is accessible from Internet. 972 VirtualNetworkTypeExternal VirtualNetworkType = "External" 973 // VirtualNetworkTypeInternal The service is part of Virtual Network and it is only accessible from within 974 // the virtual network. 975 VirtualNetworkTypeInternal VirtualNetworkType = "Internal" 976 // VirtualNetworkTypeNone The service is not part of any Virtual Network. 977 VirtualNetworkTypeNone VirtualNetworkType = "None" 978) 979 980// PossibleVirtualNetworkTypeValues returns an array of possible values for the VirtualNetworkType const type. 981func PossibleVirtualNetworkTypeValues() []VirtualNetworkType { 982 return []VirtualNetworkType{VirtualNetworkTypeExternal, VirtualNetworkTypeInternal, VirtualNetworkTypeNone} 983} 984