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