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// AlwaysLog enumerates the values for always log.
10type AlwaysLog string
11
12const (
13	// AllErrors Always log all erroneous request regardless of sampling settings.
14	AllErrors AlwaysLog = "allErrors"
15)
16
17// PossibleAlwaysLogValues returns an array of possible values for the AlwaysLog const type.
18func PossibleAlwaysLogValues() []AlwaysLog {
19	return []AlwaysLog{AllErrors}
20}
21
22// ApimIdentityType enumerates the values for apim identity type.
23type ApimIdentityType string
24
25const (
26	// None ...
27	None ApimIdentityType = "None"
28	// SystemAssigned ...
29	SystemAssigned ApimIdentityType = "SystemAssigned"
30	// SystemAssignedUserAssigned ...
31	SystemAssignedUserAssigned ApimIdentityType = "SystemAssigned, UserAssigned"
32	// UserAssigned ...
33	UserAssigned ApimIdentityType = "UserAssigned"
34)
35
36// PossibleApimIdentityTypeValues returns an array of possible values for the ApimIdentityType const type.
37func PossibleApimIdentityTypeValues() []ApimIdentityType {
38	return []ApimIdentityType{None, SystemAssigned, SystemAssignedUserAssigned, UserAssigned}
39}
40
41// APIType enumerates the values for api type.
42type APIType string
43
44const (
45	// HTTP ...
46	HTTP APIType = "http"
47	// Soap ...
48	Soap APIType = "soap"
49)
50
51// PossibleAPITypeValues returns an array of possible values for the APIType const type.
52func PossibleAPITypeValues() []APIType {
53	return []APIType{HTTP, Soap}
54}
55
56// AppType enumerates the values for app type.
57type AppType string
58
59const (
60	// DeveloperPortal User create request was sent by new developer portal.
61	DeveloperPortal AppType = "developerPortal"
62)
63
64// PossibleAppTypeValues returns an array of possible values for the AppType const type.
65func PossibleAppTypeValues() []AppType {
66	return []AppType{DeveloperPortal}
67}
68
69// AsyncOperationStatus enumerates the values for async operation status.
70type AsyncOperationStatus string
71
72const (
73	// Failed ...
74	Failed AsyncOperationStatus = "Failed"
75	// InProgress ...
76	InProgress AsyncOperationStatus = "InProgress"
77	// Started ...
78	Started AsyncOperationStatus = "Started"
79	// Succeeded ...
80	Succeeded AsyncOperationStatus = "Succeeded"
81)
82
83// PossibleAsyncOperationStatusValues returns an array of possible values for the AsyncOperationStatus const type.
84func PossibleAsyncOperationStatusValues() []AsyncOperationStatus {
85	return []AsyncOperationStatus{Failed, InProgress, Started, Succeeded}
86}
87
88// AuthorizationMethod enumerates the values for authorization method.
89type AuthorizationMethod string
90
91const (
92	// DELETE ...
93	DELETE AuthorizationMethod = "DELETE"
94	// GET ...
95	GET AuthorizationMethod = "GET"
96	// HEAD ...
97	HEAD AuthorizationMethod = "HEAD"
98	// OPTIONS ...
99	OPTIONS AuthorizationMethod = "OPTIONS"
100	// PATCH ...
101	PATCH AuthorizationMethod = "PATCH"
102	// POST ...
103	POST AuthorizationMethod = "POST"
104	// PUT ...
105	PUT AuthorizationMethod = "PUT"
106	// TRACE ...
107	TRACE AuthorizationMethod = "TRACE"
108)
109
110// PossibleAuthorizationMethodValues returns an array of possible values for the AuthorizationMethod const type.
111func PossibleAuthorizationMethodValues() []AuthorizationMethod {
112	return []AuthorizationMethod{DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT, TRACE}
113}
114
115// BackendProtocol enumerates the values for backend protocol.
116type BackendProtocol string
117
118const (
119	// BackendProtocolHTTP The Backend is a RESTful service.
120	BackendProtocolHTTP BackendProtocol = "http"
121	// BackendProtocolSoap The Backend is a SOAP service.
122	BackendProtocolSoap BackendProtocol = "soap"
123)
124
125// PossibleBackendProtocolValues returns an array of possible values for the BackendProtocol const type.
126func PossibleBackendProtocolValues() []BackendProtocol {
127	return []BackendProtocol{BackendProtocolHTTP, BackendProtocolSoap}
128}
129
130// BearerTokenSendingMethod enumerates the values for bearer token sending method.
131type BearerTokenSendingMethod string
132
133const (
134	// AuthorizationHeader ...
135	AuthorizationHeader BearerTokenSendingMethod = "authorizationHeader"
136	// Query ...
137	Query BearerTokenSendingMethod = "query"
138)
139
140// PossibleBearerTokenSendingMethodValues returns an array of possible values for the BearerTokenSendingMethod const type.
141func PossibleBearerTokenSendingMethodValues() []BearerTokenSendingMethod {
142	return []BearerTokenSendingMethod{AuthorizationHeader, Query}
143}
144
145// BearerTokenSendingMethods enumerates the values for bearer token sending methods.
146type BearerTokenSendingMethods string
147
148const (
149	// BearerTokenSendingMethodsAuthorizationHeader Access token will be transmitted in the Authorization
150	// header using Bearer schema
151	BearerTokenSendingMethodsAuthorizationHeader BearerTokenSendingMethods = "authorizationHeader"
152	// BearerTokenSendingMethodsQuery Access token will be transmitted as query parameters.
153	BearerTokenSendingMethodsQuery BearerTokenSendingMethods = "query"
154)
155
156// PossibleBearerTokenSendingMethodsValues returns an array of possible values for the BearerTokenSendingMethods const type.
157func PossibleBearerTokenSendingMethodsValues() []BearerTokenSendingMethods {
158	return []BearerTokenSendingMethods{BearerTokenSendingMethodsAuthorizationHeader, BearerTokenSendingMethodsQuery}
159}
160
161// ClientAuthenticationMethod enumerates the values for client authentication method.
162type ClientAuthenticationMethod string
163
164const (
165	// Basic Basic Client Authentication method.
166	Basic ClientAuthenticationMethod = "Basic"
167	// Body Body based Authentication method.
168	Body ClientAuthenticationMethod = "Body"
169)
170
171// PossibleClientAuthenticationMethodValues returns an array of possible values for the ClientAuthenticationMethod const type.
172func PossibleClientAuthenticationMethodValues() []ClientAuthenticationMethod {
173	return []ClientAuthenticationMethod{Basic, Body}
174}
175
176// Confirmation enumerates the values for confirmation.
177type Confirmation string
178
179const (
180	// Invite Send an e-mail inviting the user to sign-up and complete registration.
181	Invite Confirmation = "invite"
182	// Signup Send an e-mail to the user confirming they have successfully signed up.
183	Signup Confirmation = "signup"
184)
185
186// PossibleConfirmationValues returns an array of possible values for the Confirmation const type.
187func PossibleConfirmationValues() []Confirmation {
188	return []Confirmation{Invite, Signup}
189}
190
191// ConnectivityStatusType enumerates the values for connectivity status type.
192type ConnectivityStatusType string
193
194const (
195	// Failure ...
196	Failure ConnectivityStatusType = "failure"
197	// Initializing ...
198	Initializing ConnectivityStatusType = "initializing"
199	// Success ...
200	Success ConnectivityStatusType = "success"
201)
202
203// PossibleConnectivityStatusTypeValues returns an array of possible values for the ConnectivityStatusType const type.
204func PossibleConnectivityStatusTypeValues() []ConnectivityStatusType {
205	return []ConnectivityStatusType{Failure, Initializing, Success}
206}
207
208// ContentFormat enumerates the values for content format.
209type ContentFormat string
210
211const (
212	// Openapi The contents are inline and Content Type is a OpenApi 3.0 Document in YAML format.
213	Openapi ContentFormat = "openapi"
214	// Openapijson The contents are inline and Content Type is a OpenApi 3.0 Document in JSON format.
215	Openapijson ContentFormat = "openapi+json"
216	// OpenapijsonLink The Open Api 3.0 Json document is hosted on a publicly accessible internet address.
217	OpenapijsonLink ContentFormat = "openapi+json-link"
218	// OpenapiLink The Open Api 3.0 document is hosted on a publicly accessible internet address.
219	OpenapiLink ContentFormat = "openapi-link"
220	// SwaggerJSON The contents are inline and Content Type is a OpenApi 2.0 Document.
221	SwaggerJSON ContentFormat = "swagger-json"
222	// SwaggerLinkJSON The Open Api 2.0 document is hosted on a publicly accessible internet address.
223	SwaggerLinkJSON ContentFormat = "swagger-link-json"
224	// WadlLinkJSON The WADL document is hosted on a publicly accessible internet address.
225	WadlLinkJSON ContentFormat = "wadl-link-json"
226	// WadlXML The contents are inline and Content type is a WADL document.
227	WadlXML ContentFormat = "wadl-xml"
228	// Wsdl The contents are inline and the document is a WSDL/Soap document.
229	Wsdl ContentFormat = "wsdl"
230	// WsdlLink The WSDL document is hosted on a publicly accessible internet address.
231	WsdlLink ContentFormat = "wsdl-link"
232)
233
234// PossibleContentFormatValues returns an array of possible values for the ContentFormat const type.
235func PossibleContentFormatValues() []ContentFormat {
236	return []ContentFormat{Openapi, Openapijson, OpenapijsonLink, OpenapiLink, SwaggerJSON, SwaggerLinkJSON, WadlLinkJSON, WadlXML, Wsdl, WsdlLink}
237}
238
239// ExportFormat enumerates the values for export format.
240type ExportFormat string
241
242const (
243	// ExportFormatOpenapi Export the Api Definition in OpenApi Specification 3.0 to Storage Blob.
244	ExportFormatOpenapi ExportFormat = "openapi-link"
245	// ExportFormatOpenapiJSON Export the Api Definition in OpenApi Specification 3.0 as JSON document to
246	// Storage Blob.
247	ExportFormatOpenapiJSON ExportFormat = "openapi+json-link"
248	// ExportFormatSwagger Export the Api Definition in OpenApi Specification 2.0 format to the Storage Blob.
249	ExportFormatSwagger ExportFormat = "swagger-link"
250	// ExportFormatWadl Export the Api Definition in WADL Schema to Storage Blob.
251	ExportFormatWadl ExportFormat = "wadl-link"
252	// ExportFormatWsdl Export the Api Definition in WSDL Schema to Storage Blob. This is only supported for
253	// APIs of Type `soap`
254	ExportFormatWsdl ExportFormat = "wsdl-link"
255)
256
257// PossibleExportFormatValues returns an array of possible values for the ExportFormat const type.
258func PossibleExportFormatValues() []ExportFormat {
259	return []ExportFormat{ExportFormatOpenapi, ExportFormatOpenapiJSON, ExportFormatSwagger, ExportFormatWadl, ExportFormatWsdl}
260}
261
262// ExportResultFormat enumerates the values for export result format.
263type ExportResultFormat string
264
265const (
266	// ExportResultFormatOpenAPI Export the Api Definition in OpenApi Specification 3.0 to Storage Blob.
267	ExportResultFormatOpenAPI ExportResultFormat = "openapi-link"
268	// ExportResultFormatSwagger The Api Definition is exported in OpenApi Specification 2.0 format to the
269	// Storage Blob.
270	ExportResultFormatSwagger ExportResultFormat = "swagger-link-json"
271	// ExportResultFormatWadl Export the Api Definition in WADL Schema to Storage Blob.
272	ExportResultFormatWadl ExportResultFormat = "wadl-link-json"
273	// ExportResultFormatWsdl The Api Definition is exported in WSDL Schema to Storage Blob. This is only
274	// supported for APIs of Type `soap`
275	ExportResultFormatWsdl ExportResultFormat = "wsdl-link+xml"
276)
277
278// PossibleExportResultFormatValues returns an array of possible values for the ExportResultFormat const type.
279func PossibleExportResultFormatValues() []ExportResultFormat {
280	return []ExportResultFormat{ExportResultFormatOpenAPI, ExportResultFormatSwagger, ExportResultFormatWadl, ExportResultFormatWsdl}
281}
282
283// GrantType enumerates the values for grant type.
284type GrantType string
285
286const (
287	// AuthorizationCode Authorization Code Grant flow as described
288	// https://tools.ietf.org/html/rfc6749#section-4.1.
289	AuthorizationCode GrantType = "authorizationCode"
290	// ClientCredentials Client Credentials Grant flow as described
291	// https://tools.ietf.org/html/rfc6749#section-4.4.
292	ClientCredentials GrantType = "clientCredentials"
293	// Implicit Implicit Code Grant flow as described https://tools.ietf.org/html/rfc6749#section-4.2.
294	Implicit GrantType = "implicit"
295	// ResourceOwnerPassword Resource Owner Password Grant flow as described
296	// https://tools.ietf.org/html/rfc6749#section-4.3.
297	ResourceOwnerPassword GrantType = "resourceOwnerPassword"
298)
299
300// PossibleGrantTypeValues returns an array of possible values for the GrantType const type.
301func PossibleGrantTypeValues() []GrantType {
302	return []GrantType{AuthorizationCode, ClientCredentials, Implicit, ResourceOwnerPassword}
303}
304
305// GroupType enumerates the values for group type.
306type GroupType string
307
308const (
309	// Custom ...
310	Custom GroupType = "custom"
311	// External ...
312	External GroupType = "external"
313	// System ...
314	System GroupType = "system"
315)
316
317// PossibleGroupTypeValues returns an array of possible values for the GroupType const type.
318func PossibleGroupTypeValues() []GroupType {
319	return []GroupType{Custom, External, System}
320}
321
322// HostnameType enumerates the values for hostname type.
323type HostnameType string
324
325const (
326	// HostnameTypeDeveloperPortal ...
327	HostnameTypeDeveloperPortal HostnameType = "DeveloperPortal"
328	// HostnameTypeManagement ...
329	HostnameTypeManagement HostnameType = "Management"
330	// HostnameTypePortal ...
331	HostnameTypePortal HostnameType = "Portal"
332	// HostnameTypeProxy ...
333	HostnameTypeProxy HostnameType = "Proxy"
334	// HostnameTypeScm ...
335	HostnameTypeScm HostnameType = "Scm"
336)
337
338// PossibleHostnameTypeValues returns an array of possible values for the HostnameType const type.
339func PossibleHostnameTypeValues() []HostnameType {
340	return []HostnameType{HostnameTypeDeveloperPortal, HostnameTypeManagement, HostnameTypePortal, HostnameTypeProxy, HostnameTypeScm}
341}
342
343// HTTPCorrelationProtocol enumerates the values for http correlation protocol.
344type HTTPCorrelationProtocol string
345
346const (
347	// HTTPCorrelationProtocolLegacy Inject Request-Id and Request-Context headers with request correlation
348	// data. See
349	// https://github.com/dotnet/corefx/blob/master/src/System.Diagnostics.DiagnosticSource/src/HttpCorrelationProtocol.md.
350	HTTPCorrelationProtocolLegacy HTTPCorrelationProtocol = "Legacy"
351	// HTTPCorrelationProtocolNone Do not read and inject correlation headers.
352	HTTPCorrelationProtocolNone HTTPCorrelationProtocol = "None"
353	// HTTPCorrelationProtocolW3C Inject Trace Context headers. See https://w3c.github.io/trace-context.
354	HTTPCorrelationProtocolW3C HTTPCorrelationProtocol = "W3C"
355)
356
357// PossibleHTTPCorrelationProtocolValues returns an array of possible values for the HTTPCorrelationProtocol const type.
358func PossibleHTTPCorrelationProtocolValues() []HTTPCorrelationProtocol {
359	return []HTTPCorrelationProtocol{HTTPCorrelationProtocolLegacy, HTTPCorrelationProtocolNone, HTTPCorrelationProtocolW3C}
360}
361
362// IdentityProviderType enumerates the values for identity provider type.
363type IdentityProviderType string
364
365const (
366	// Aad Azure Active Directory as Identity provider.
367	Aad IdentityProviderType = "aad"
368	// AadB2C Azure Active Directory B2C as Identity provider.
369	AadB2C IdentityProviderType = "aadB2C"
370	// Facebook Facebook as Identity provider.
371	Facebook IdentityProviderType = "facebook"
372	// Google Google as Identity provider.
373	Google IdentityProviderType = "google"
374	// Microsoft Microsoft Live as Identity provider.
375	Microsoft IdentityProviderType = "microsoft"
376	// Twitter Twitter as Identity provider.
377	Twitter IdentityProviderType = "twitter"
378)
379
380// PossibleIdentityProviderTypeValues returns an array of possible values for the IdentityProviderType const type.
381func PossibleIdentityProviderTypeValues() []IdentityProviderType {
382	return []IdentityProviderType{Aad, AadB2C, Facebook, Google, Microsoft, Twitter}
383}
384
385// KeyType enumerates the values for key type.
386type KeyType string
387
388const (
389	// Primary ...
390	Primary KeyType = "primary"
391	// Secondary ...
392	Secondary KeyType = "secondary"
393)
394
395// PossibleKeyTypeValues returns an array of possible values for the KeyType const type.
396func PossibleKeyTypeValues() []KeyType {
397	return []KeyType{Primary, Secondary}
398}
399
400// LoggerType enumerates the values for logger type.
401type LoggerType string
402
403const (
404	// ApplicationInsights Azure Application Insights as log destination.
405	ApplicationInsights LoggerType = "applicationInsights"
406	// AzureEventHub Azure Event Hub as log destination.
407	AzureEventHub LoggerType = "azureEventHub"
408)
409
410// PossibleLoggerTypeValues returns an array of possible values for the LoggerType const type.
411func PossibleLoggerTypeValues() []LoggerType {
412	return []LoggerType{ApplicationInsights, AzureEventHub}
413}
414
415// NameAvailabilityReason enumerates the values for name availability reason.
416type NameAvailabilityReason string
417
418const (
419	// AlreadyExists ...
420	AlreadyExists NameAvailabilityReason = "AlreadyExists"
421	// Invalid ...
422	Invalid NameAvailabilityReason = "Invalid"
423	// Valid ...
424	Valid NameAvailabilityReason = "Valid"
425)
426
427// PossibleNameAvailabilityReasonValues returns an array of possible values for the NameAvailabilityReason const type.
428func PossibleNameAvailabilityReasonValues() []NameAvailabilityReason {
429	return []NameAvailabilityReason{AlreadyExists, Invalid, Valid}
430}
431
432// NotificationName enumerates the values for notification name.
433type NotificationName string
434
435const (
436	// AccountClosedPublisher The following email recipients and users will receive email notifications when
437	// developer closes his account.
438	AccountClosedPublisher NotificationName = "AccountClosedPublisher"
439	// BCC The following recipients will receive blind carbon copies of all emails sent to developers.
440	BCC NotificationName = "BCC"
441	// NewApplicationNotificationMessage The following email recipients and users will receive email
442	// notifications when new applications are submitted to the application gallery.
443	NewApplicationNotificationMessage NotificationName = "NewApplicationNotificationMessage"
444	// NewIssuePublisherNotificationMessage The following email recipients and users will receive email
445	// notifications when a new issue or comment is submitted on the developer portal.
446	NewIssuePublisherNotificationMessage NotificationName = "NewIssuePublisherNotificationMessage"
447	// PurchasePublisherNotificationMessage The following email recipients and users will receive email
448	// notifications about new API product subscriptions.
449	PurchasePublisherNotificationMessage NotificationName = "PurchasePublisherNotificationMessage"
450	// QuotaLimitApproachingPublisherNotificationMessage The following email recipients and users will receive
451	// email notifications when subscription usage gets close to usage quota.
452	QuotaLimitApproachingPublisherNotificationMessage NotificationName = "QuotaLimitApproachingPublisherNotificationMessage"
453	// RequestPublisherNotificationMessage The following email recipients and users will receive email
454	// notifications about subscription requests for API products requiring approval.
455	RequestPublisherNotificationMessage NotificationName = "RequestPublisherNotificationMessage"
456)
457
458// PossibleNotificationNameValues returns an array of possible values for the NotificationName const type.
459func PossibleNotificationNameValues() []NotificationName {
460	return []NotificationName{AccountClosedPublisher, BCC, NewApplicationNotificationMessage, NewIssuePublisherNotificationMessage, PurchasePublisherNotificationMessage, QuotaLimitApproachingPublisherNotificationMessage, RequestPublisherNotificationMessage}
461}
462
463// PolicyContentFormat enumerates the values for policy content format.
464type PolicyContentFormat string
465
466const (
467	// Rawxml The contents are inline and Content type is a non XML encoded policy document.
468	Rawxml PolicyContentFormat = "rawxml"
469	// RawxmlLink The policy document is not Xml encoded and is hosted on a http endpoint accessible from the
470	// API Management service.
471	RawxmlLink PolicyContentFormat = "rawxml-link"
472	// XML The contents are inline and Content type is an XML document.
473	XML PolicyContentFormat = "xml"
474	// XMLLink The policy XML document is hosted on a http endpoint accessible from the API Management service.
475	XMLLink PolicyContentFormat = "xml-link"
476)
477
478// PossiblePolicyContentFormatValues returns an array of possible values for the PolicyContentFormat const type.
479func PossiblePolicyContentFormatValues() []PolicyContentFormat {
480	return []PolicyContentFormat{Rawxml, RawxmlLink, XML, XMLLink}
481}
482
483// PolicyExportFormat enumerates the values for policy export format.
484type PolicyExportFormat string
485
486const (
487	// PolicyExportFormatRawxml The contents are inline and Content type is a non XML encoded policy document.
488	PolicyExportFormatRawxml PolicyExportFormat = "rawxml"
489	// PolicyExportFormatXML The contents are inline and Content type is an XML document.
490	PolicyExportFormatXML PolicyExportFormat = "xml"
491)
492
493// PossiblePolicyExportFormatValues returns an array of possible values for the PolicyExportFormat const type.
494func PossiblePolicyExportFormatValues() []PolicyExportFormat {
495	return []PolicyExportFormat{PolicyExportFormatRawxml, PolicyExportFormatXML}
496}
497
498// PolicyScopeContract enumerates the values for policy scope contract.
499type PolicyScopeContract string
500
501const (
502	// PolicyScopeContractAll ...
503	PolicyScopeContractAll PolicyScopeContract = "All"
504	// PolicyScopeContractAPI ...
505	PolicyScopeContractAPI PolicyScopeContract = "Api"
506	// PolicyScopeContractOperation ...
507	PolicyScopeContractOperation PolicyScopeContract = "Operation"
508	// PolicyScopeContractProduct ...
509	PolicyScopeContractProduct PolicyScopeContract = "Product"
510	// PolicyScopeContractTenant ...
511	PolicyScopeContractTenant PolicyScopeContract = "Tenant"
512)
513
514// PossiblePolicyScopeContractValues returns an array of possible values for the PolicyScopeContract const type.
515func PossiblePolicyScopeContractValues() []PolicyScopeContract {
516	return []PolicyScopeContract{PolicyScopeContractAll, PolicyScopeContractAPI, PolicyScopeContractOperation, PolicyScopeContractProduct, PolicyScopeContractTenant}
517}
518
519// ProductState enumerates the values for product state.
520type ProductState string
521
522const (
523	// NotPublished ...
524	NotPublished ProductState = "notPublished"
525	// Published ...
526	Published ProductState = "published"
527)
528
529// PossibleProductStateValues returns an array of possible values for the ProductState const type.
530func PossibleProductStateValues() []ProductState {
531	return []ProductState{NotPublished, Published}
532}
533
534// Protocol enumerates the values for protocol.
535type Protocol string
536
537const (
538	// ProtocolHTTP ...
539	ProtocolHTTP Protocol = "http"
540	// ProtocolHTTPS ...
541	ProtocolHTTPS Protocol = "https"
542)
543
544// PossibleProtocolValues returns an array of possible values for the Protocol const type.
545func PossibleProtocolValues() []Protocol {
546	return []Protocol{ProtocolHTTP, ProtocolHTTPS}
547}
548
549// ProvisioningState enumerates the values for provisioning state.
550type ProvisioningState string
551
552const (
553	// Created ...
554	Created ProvisioningState = "created"
555)
556
557// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
558func PossibleProvisioningStateValues() []ProvisioningState {
559	return []ProvisioningState{Created}
560}
561
562// ResourceSkuCapacityScaleType enumerates the values for resource sku capacity scale type.
563type ResourceSkuCapacityScaleType string
564
565const (
566	// ResourceSkuCapacityScaleTypeAutomatic Supported scale type automatic.
567	ResourceSkuCapacityScaleTypeAutomatic ResourceSkuCapacityScaleType = "automatic"
568	// ResourceSkuCapacityScaleTypeManual Supported scale type manual.
569	ResourceSkuCapacityScaleTypeManual ResourceSkuCapacityScaleType = "manual"
570	// ResourceSkuCapacityScaleTypeNone Scaling not supported.
571	ResourceSkuCapacityScaleTypeNone ResourceSkuCapacityScaleType = "none"
572)
573
574// PossibleResourceSkuCapacityScaleTypeValues returns an array of possible values for the ResourceSkuCapacityScaleType const type.
575func PossibleResourceSkuCapacityScaleTypeValues() []ResourceSkuCapacityScaleType {
576	return []ResourceSkuCapacityScaleType{ResourceSkuCapacityScaleTypeAutomatic, ResourceSkuCapacityScaleTypeManual, ResourceSkuCapacityScaleTypeNone}
577}
578
579// SamplingType enumerates the values for sampling type.
580type SamplingType string
581
582const (
583	// Fixed Fixed-rate sampling.
584	Fixed SamplingType = "fixed"
585)
586
587// PossibleSamplingTypeValues returns an array of possible values for the SamplingType const type.
588func PossibleSamplingTypeValues() []SamplingType {
589	return []SamplingType{Fixed}
590}
591
592// SkuType enumerates the values for sku type.
593type SkuType string
594
595const (
596	// SkuTypeBasic Basic SKU of Api Management.
597	SkuTypeBasic SkuType = "Basic"
598	// SkuTypeConsumption Consumption SKU of Api Management.
599	SkuTypeConsumption SkuType = "Consumption"
600	// SkuTypeDeveloper Developer SKU of Api Management.
601	SkuTypeDeveloper SkuType = "Developer"
602	// SkuTypePremium Premium SKU of Api Management.
603	SkuTypePremium SkuType = "Premium"
604	// SkuTypeStandard Standard SKU of Api Management.
605	SkuTypeStandard SkuType = "Standard"
606)
607
608// PossibleSkuTypeValues returns an array of possible values for the SkuType const type.
609func PossibleSkuTypeValues() []SkuType {
610	return []SkuType{SkuTypeBasic, SkuTypeConsumption, SkuTypeDeveloper, SkuTypePremium, SkuTypeStandard}
611}
612
613// SoapAPIType enumerates the values for soap api type.
614type SoapAPIType string
615
616const (
617	// SoapPassThrough Imports the Soap API having a SOAP front end.
618	SoapPassThrough SoapAPIType = "soap"
619	// SoapToRest Imports a SOAP API having a RESTful front end.
620	SoapToRest SoapAPIType = "http"
621)
622
623// PossibleSoapAPITypeValues returns an array of possible values for the SoapAPIType const type.
624func PossibleSoapAPITypeValues() []SoapAPIType {
625	return []SoapAPIType{SoapPassThrough, SoapToRest}
626}
627
628// State enumerates the values for state.
629type State string
630
631const (
632	// Closed The issue was closed.
633	Closed State = "closed"
634	// Open The issue is opened.
635	Open State = "open"
636	// Proposed The issue is proposed.
637	Proposed State = "proposed"
638	// Removed The issue was removed.
639	Removed State = "removed"
640	// Resolved The issue is now resolved.
641	Resolved State = "resolved"
642)
643
644// PossibleStateValues returns an array of possible values for the State const type.
645func PossibleStateValues() []State {
646	return []State{Closed, Open, Proposed, Removed, Resolved}
647}
648
649// StoreName enumerates the values for store name.
650type StoreName string
651
652const (
653	// CertificateAuthority ...
654	CertificateAuthority StoreName = "CertificateAuthority"
655	// Root ...
656	Root StoreName = "Root"
657)
658
659// PossibleStoreNameValues returns an array of possible values for the StoreName const type.
660func PossibleStoreNameValues() []StoreName {
661	return []StoreName{CertificateAuthority, Root}
662}
663
664// SubscriptionState enumerates the values for subscription state.
665type SubscriptionState string
666
667const (
668	// Active ...
669	Active SubscriptionState = "active"
670	// Cancelled ...
671	Cancelled SubscriptionState = "cancelled"
672	// Expired ...
673	Expired SubscriptionState = "expired"
674	// Rejected ...
675	Rejected SubscriptionState = "rejected"
676	// Submitted ...
677	Submitted SubscriptionState = "submitted"
678	// Suspended ...
679	Suspended SubscriptionState = "suspended"
680)
681
682// PossibleSubscriptionStateValues returns an array of possible values for the SubscriptionState const type.
683func PossibleSubscriptionStateValues() []SubscriptionState {
684	return []SubscriptionState{Active, Cancelled, Expired, Rejected, Submitted, Suspended}
685}
686
687// TemplateName enumerates the values for template name.
688type TemplateName string
689
690const (
691	// AccountClosedDeveloper ...
692	AccountClosedDeveloper TemplateName = "accountClosedDeveloper"
693	// ApplicationApprovedNotificationMessage ...
694	ApplicationApprovedNotificationMessage TemplateName = "applicationApprovedNotificationMessage"
695	// ConfirmSignUpIdentityDefault ...
696	ConfirmSignUpIdentityDefault TemplateName = "confirmSignUpIdentityDefault"
697	// EmailChangeIdentityDefault ...
698	EmailChangeIdentityDefault TemplateName = "emailChangeIdentityDefault"
699	// InviteUserNotificationMessage ...
700	InviteUserNotificationMessage TemplateName = "inviteUserNotificationMessage"
701	// NewCommentNotificationMessage ...
702	NewCommentNotificationMessage TemplateName = "newCommentNotificationMessage"
703	// NewDeveloperNotificationMessage ...
704	NewDeveloperNotificationMessage TemplateName = "newDeveloperNotificationMessage"
705	// NewIssueNotificationMessage ...
706	NewIssueNotificationMessage TemplateName = "newIssueNotificationMessage"
707	// PasswordResetByAdminNotificationMessage ...
708	PasswordResetByAdminNotificationMessage TemplateName = "passwordResetByAdminNotificationMessage"
709	// PasswordResetIdentityDefault ...
710	PasswordResetIdentityDefault TemplateName = "passwordResetIdentityDefault"
711	// PurchaseDeveloperNotificationMessage ...
712	PurchaseDeveloperNotificationMessage TemplateName = "purchaseDeveloperNotificationMessage"
713	// QuotaLimitApproachingDeveloperNotificationMessage ...
714	QuotaLimitApproachingDeveloperNotificationMessage TemplateName = "quotaLimitApproachingDeveloperNotificationMessage"
715	// RejectDeveloperNotificationMessage ...
716	RejectDeveloperNotificationMessage TemplateName = "rejectDeveloperNotificationMessage"
717	// RequestDeveloperNotificationMessage ...
718	RequestDeveloperNotificationMessage TemplateName = "requestDeveloperNotificationMessage"
719)
720
721// PossibleTemplateNameValues returns an array of possible values for the TemplateName const type.
722func PossibleTemplateNameValues() []TemplateName {
723	return []TemplateName{AccountClosedDeveloper, ApplicationApprovedNotificationMessage, ConfirmSignUpIdentityDefault, EmailChangeIdentityDefault, InviteUserNotificationMessage, NewCommentNotificationMessage, NewDeveloperNotificationMessage, NewIssueNotificationMessage, PasswordResetByAdminNotificationMessage, PasswordResetIdentityDefault, PurchaseDeveloperNotificationMessage, QuotaLimitApproachingDeveloperNotificationMessage, RejectDeveloperNotificationMessage, RequestDeveloperNotificationMessage}
724}
725
726// UserState enumerates the values for user state.
727type UserState string
728
729const (
730	// UserStateActive User state is active.
731	UserStateActive UserState = "active"
732	// UserStateBlocked User is blocked. Blocked users cannot authenticate at developer portal or call API.
733	UserStateBlocked UserState = "blocked"
734	// UserStateDeleted User account is closed. All identities and related entities are removed.
735	UserStateDeleted UserState = "deleted"
736	// UserStatePending User account is pending. Requires identity confirmation before it can be made active.
737	UserStatePending UserState = "pending"
738)
739
740// PossibleUserStateValues returns an array of possible values for the UserState const type.
741func PossibleUserStateValues() []UserState {
742	return []UserState{UserStateActive, UserStateBlocked, UserStateDeleted, UserStatePending}
743}
744
745// Verbosity enumerates the values for verbosity.
746type Verbosity string
747
748const (
749	// Error Only traces with 'severity' set to 'error' will be sent to the logger attached to this diagnostic
750	// instance.
751	Error Verbosity = "error"
752	// Information Traces with 'severity' set to 'information' and 'error' will be sent to the logger attached
753	// to this diagnostic instance.
754	Information Verbosity = "information"
755	// Verbose All the traces emitted by trace policies will be sent to the logger attached to this diagnostic
756	// instance.
757	Verbose Verbosity = "verbose"
758)
759
760// PossibleVerbosityValues returns an array of possible values for the Verbosity const type.
761func PossibleVerbosityValues() []Verbosity {
762	return []Verbosity{Error, Information, Verbose}
763}
764
765// VersioningScheme enumerates the values for versioning scheme.
766type VersioningScheme string
767
768const (
769	// VersioningSchemeHeader The API Version is passed in a HTTP header.
770	VersioningSchemeHeader VersioningScheme = "Header"
771	// VersioningSchemeQuery The API Version is passed in a query parameter.
772	VersioningSchemeQuery VersioningScheme = "Query"
773	// VersioningSchemeSegment The API Version is passed in a path segment.
774	VersioningSchemeSegment VersioningScheme = "Segment"
775)
776
777// PossibleVersioningSchemeValues returns an array of possible values for the VersioningScheme const type.
778func PossibleVersioningSchemeValues() []VersioningScheme {
779	return []VersioningScheme{VersioningSchemeHeader, VersioningSchemeQuery, VersioningSchemeSegment}
780}
781
782// VersioningScheme1 enumerates the values for versioning scheme 1.
783type VersioningScheme1 string
784
785const (
786	// VersioningScheme1Header ...
787	VersioningScheme1Header VersioningScheme1 = "Header"
788	// VersioningScheme1Query ...
789	VersioningScheme1Query VersioningScheme1 = "Query"
790	// VersioningScheme1Segment ...
791	VersioningScheme1Segment VersioningScheme1 = "Segment"
792)
793
794// PossibleVersioningScheme1Values returns an array of possible values for the VersioningScheme1 const type.
795func PossibleVersioningScheme1Values() []VersioningScheme1 {
796	return []VersioningScheme1{VersioningScheme1Header, VersioningScheme1Query, VersioningScheme1Segment}
797}
798
799// VirtualNetworkType enumerates the values for virtual network type.
800type VirtualNetworkType string
801
802const (
803	// VirtualNetworkTypeExternal The service is part of Virtual Network and it is accessible from Internet.
804	VirtualNetworkTypeExternal VirtualNetworkType = "External"
805	// VirtualNetworkTypeInternal The service is part of Virtual Network and it is only accessible from within
806	// the virtual network.
807	VirtualNetworkTypeInternal VirtualNetworkType = "Internal"
808	// VirtualNetworkTypeNone The service is not part of any Virtual Network.
809	VirtualNetworkTypeNone VirtualNetworkType = "None"
810)
811
812// PossibleVirtualNetworkTypeValues returns an array of possible values for the VirtualNetworkType const type.
813func PossibleVirtualNetworkTypeValues() []VirtualNetworkType {
814	return []VirtualNetworkType{VirtualNetworkTypeExternal, VirtualNetworkTypeInternal, VirtualNetworkTypeNone}
815}
816