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