1package appplatform
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// AppResourceProvisioningState enumerates the values for app resource provisioning state.
10type AppResourceProvisioningState string
11
12const (
13	// Creating ...
14	Creating AppResourceProvisioningState = "Creating"
15	// Failed ...
16	Failed AppResourceProvisioningState = "Failed"
17	// Succeeded ...
18	Succeeded AppResourceProvisioningState = "Succeeded"
19	// Updating ...
20	Updating AppResourceProvisioningState = "Updating"
21)
22
23// PossibleAppResourceProvisioningStateValues returns an array of possible values for the AppResourceProvisioningState const type.
24func PossibleAppResourceProvisioningStateValues() []AppResourceProvisioningState {
25	return []AppResourceProvisioningState{Creating, Failed, Succeeded, Updating}
26}
27
28// ConfigServerState enumerates the values for config server state.
29type ConfigServerState string
30
31const (
32	// ConfigServerStateDeleted ...
33	ConfigServerStateDeleted ConfigServerState = "Deleted"
34	// ConfigServerStateFailed ...
35	ConfigServerStateFailed ConfigServerState = "Failed"
36	// ConfigServerStateNotAvailable ...
37	ConfigServerStateNotAvailable ConfigServerState = "NotAvailable"
38	// ConfigServerStateSucceeded ...
39	ConfigServerStateSucceeded ConfigServerState = "Succeeded"
40	// ConfigServerStateUpdating ...
41	ConfigServerStateUpdating ConfigServerState = "Updating"
42)
43
44// PossibleConfigServerStateValues returns an array of possible values for the ConfigServerState const type.
45func PossibleConfigServerStateValues() []ConfigServerState {
46	return []ConfigServerState{ConfigServerStateDeleted, ConfigServerStateFailed, ConfigServerStateNotAvailable, ConfigServerStateSucceeded, ConfigServerStateUpdating}
47}
48
49// DeploymentResourceProvisioningState enumerates the values for deployment resource provisioning state.
50type DeploymentResourceProvisioningState string
51
52const (
53	// DeploymentResourceProvisioningStateCreating ...
54	DeploymentResourceProvisioningStateCreating DeploymentResourceProvisioningState = "Creating"
55	// DeploymentResourceProvisioningStateFailed ...
56	DeploymentResourceProvisioningStateFailed DeploymentResourceProvisioningState = "Failed"
57	// DeploymentResourceProvisioningStateSucceeded ...
58	DeploymentResourceProvisioningStateSucceeded DeploymentResourceProvisioningState = "Succeeded"
59	// DeploymentResourceProvisioningStateUpdating ...
60	DeploymentResourceProvisioningStateUpdating DeploymentResourceProvisioningState = "Updating"
61)
62
63// PossibleDeploymentResourceProvisioningStateValues returns an array of possible values for the DeploymentResourceProvisioningState const type.
64func PossibleDeploymentResourceProvisioningStateValues() []DeploymentResourceProvisioningState {
65	return []DeploymentResourceProvisioningState{DeploymentResourceProvisioningStateCreating, DeploymentResourceProvisioningStateFailed, DeploymentResourceProvisioningStateSucceeded, DeploymentResourceProvisioningStateUpdating}
66}
67
68// DeploymentResourceStatus enumerates the values for deployment resource status.
69type DeploymentResourceStatus string
70
71const (
72	// DeploymentResourceStatusAllocating ...
73	DeploymentResourceStatusAllocating DeploymentResourceStatus = "Allocating"
74	// DeploymentResourceStatusCompiling ...
75	DeploymentResourceStatusCompiling DeploymentResourceStatus = "Compiling"
76	// DeploymentResourceStatusFailed ...
77	DeploymentResourceStatusFailed DeploymentResourceStatus = "Failed"
78	// DeploymentResourceStatusRunning ...
79	DeploymentResourceStatusRunning DeploymentResourceStatus = "Running"
80	// DeploymentResourceStatusStopped ...
81	DeploymentResourceStatusStopped DeploymentResourceStatus = "Stopped"
82	// DeploymentResourceStatusUnknown ...
83	DeploymentResourceStatusUnknown DeploymentResourceStatus = "Unknown"
84	// DeploymentResourceStatusUpgrading ...
85	DeploymentResourceStatusUpgrading DeploymentResourceStatus = "Upgrading"
86)
87
88// PossibleDeploymentResourceStatusValues returns an array of possible values for the DeploymentResourceStatus const type.
89func PossibleDeploymentResourceStatusValues() []DeploymentResourceStatus {
90	return []DeploymentResourceStatus{DeploymentResourceStatusAllocating, DeploymentResourceStatusCompiling, DeploymentResourceStatusFailed, DeploymentResourceStatusRunning, DeploymentResourceStatusStopped, DeploymentResourceStatusUnknown, DeploymentResourceStatusUpgrading}
91}
92
93// ManagedIdentityType enumerates the values for managed identity type.
94type ManagedIdentityType string
95
96const (
97	// None ...
98	None ManagedIdentityType = "None"
99	// SystemAssigned ...
100	SystemAssigned ManagedIdentityType = "SystemAssigned"
101	// SystemAssignedUserAssigned ...
102	SystemAssignedUserAssigned ManagedIdentityType = "SystemAssigned,UserAssigned"
103	// UserAssigned ...
104	UserAssigned ManagedIdentityType = "UserAssigned"
105)
106
107// PossibleManagedIdentityTypeValues returns an array of possible values for the ManagedIdentityType const type.
108func PossibleManagedIdentityTypeValues() []ManagedIdentityType {
109	return []ManagedIdentityType{None, SystemAssigned, SystemAssignedUserAssigned, UserAssigned}
110}
111
112// ProvisioningState enumerates the values for provisioning state.
113type ProvisioningState string
114
115const (
116	// ProvisioningStateCreating ...
117	ProvisioningStateCreating ProvisioningState = "Creating"
118	// ProvisioningStateDeleted ...
119	ProvisioningStateDeleted ProvisioningState = "Deleted"
120	// ProvisioningStateDeleting ...
121	ProvisioningStateDeleting ProvisioningState = "Deleting"
122	// ProvisioningStateFailed ...
123	ProvisioningStateFailed ProvisioningState = "Failed"
124	// ProvisioningStateMoved ...
125	ProvisioningStateMoved ProvisioningState = "Moved"
126	// ProvisioningStateMoveFailed ...
127	ProvisioningStateMoveFailed ProvisioningState = "MoveFailed"
128	// ProvisioningStateMoving ...
129	ProvisioningStateMoving ProvisioningState = "Moving"
130	// ProvisioningStateSucceeded ...
131	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
132	// ProvisioningStateUpdating ...
133	ProvisioningStateUpdating ProvisioningState = "Updating"
134)
135
136// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
137func PossibleProvisioningStateValues() []ProvisioningState {
138	return []ProvisioningState{ProvisioningStateCreating, ProvisioningStateDeleted, ProvisioningStateDeleting, ProvisioningStateFailed, ProvisioningStateMoved, ProvisioningStateMoveFailed, ProvisioningStateMoving, ProvisioningStateSucceeded, ProvisioningStateUpdating}
139}
140
141// ResourceSkuRestrictionsReasonCode enumerates the values for resource sku restrictions reason code.
142type ResourceSkuRestrictionsReasonCode string
143
144const (
145	// NotAvailableForSubscription ...
146	NotAvailableForSubscription ResourceSkuRestrictionsReasonCode = "NotAvailableForSubscription"
147	// QuotaID ...
148	QuotaID ResourceSkuRestrictionsReasonCode = "QuotaId"
149)
150
151// PossibleResourceSkuRestrictionsReasonCodeValues returns an array of possible values for the ResourceSkuRestrictionsReasonCode const type.
152func PossibleResourceSkuRestrictionsReasonCodeValues() []ResourceSkuRestrictionsReasonCode {
153	return []ResourceSkuRestrictionsReasonCode{NotAvailableForSubscription, QuotaID}
154}
155
156// ResourceSkuRestrictionsType enumerates the values for resource sku restrictions type.
157type ResourceSkuRestrictionsType string
158
159const (
160	// Location ...
161	Location ResourceSkuRestrictionsType = "Location"
162	// Zone ...
163	Zone ResourceSkuRestrictionsType = "Zone"
164)
165
166// PossibleResourceSkuRestrictionsTypeValues returns an array of possible values for the ResourceSkuRestrictionsType const type.
167func PossibleResourceSkuRestrictionsTypeValues() []ResourceSkuRestrictionsType {
168	return []ResourceSkuRestrictionsType{Location, Zone}
169}
170
171// RuntimeVersion enumerates the values for runtime version.
172type RuntimeVersion string
173
174const (
175	// Java11 ...
176	Java11 RuntimeVersion = "Java_11"
177	// Java8 ...
178	Java8 RuntimeVersion = "Java_8"
179	// NetCore31 ...
180	NetCore31 RuntimeVersion = "NetCore_31"
181)
182
183// PossibleRuntimeVersionValues returns an array of possible values for the RuntimeVersion const type.
184func PossibleRuntimeVersionValues() []RuntimeVersion {
185	return []RuntimeVersion{Java11, Java8, NetCore31}
186}
187
188// SkuScaleType enumerates the values for sku scale type.
189type SkuScaleType string
190
191const (
192	// SkuScaleTypeAutomatic ...
193	SkuScaleTypeAutomatic SkuScaleType = "Automatic"
194	// SkuScaleTypeManual ...
195	SkuScaleTypeManual SkuScaleType = "Manual"
196	// SkuScaleTypeNone ...
197	SkuScaleTypeNone SkuScaleType = "None"
198)
199
200// PossibleSkuScaleTypeValues returns an array of possible values for the SkuScaleType const type.
201func PossibleSkuScaleTypeValues() []SkuScaleType {
202	return []SkuScaleType{SkuScaleTypeAutomatic, SkuScaleTypeManual, SkuScaleTypeNone}
203}
204
205// SupportedRuntimePlatform enumerates the values for supported runtime platform.
206type SupportedRuntimePlatform string
207
208const (
209	// Java ...
210	Java SupportedRuntimePlatform = "Java"
211	// NETCore ...
212	NETCore SupportedRuntimePlatform = ".NET Core"
213)
214
215// PossibleSupportedRuntimePlatformValues returns an array of possible values for the SupportedRuntimePlatform const type.
216func PossibleSupportedRuntimePlatformValues() []SupportedRuntimePlatform {
217	return []SupportedRuntimePlatform{Java, NETCore}
218}
219
220// SupportedRuntimeValue enumerates the values for supported runtime value.
221type SupportedRuntimeValue string
222
223const (
224	// SupportedRuntimeValueJava11 ...
225	SupportedRuntimeValueJava11 SupportedRuntimeValue = "Java_11"
226	// SupportedRuntimeValueJava8 ...
227	SupportedRuntimeValueJava8 SupportedRuntimeValue = "Java_8"
228	// SupportedRuntimeValueNetCore31 ...
229	SupportedRuntimeValueNetCore31 SupportedRuntimeValue = "NetCore_31"
230)
231
232// PossibleSupportedRuntimeValueValues returns an array of possible values for the SupportedRuntimeValue const type.
233func PossibleSupportedRuntimeValueValues() []SupportedRuntimeValue {
234	return []SupportedRuntimeValue{SupportedRuntimeValueJava11, SupportedRuntimeValueJava8, SupportedRuntimeValueNetCore31}
235}
236
237// TestKeyType enumerates the values for test key type.
238type TestKeyType string
239
240const (
241	// Primary ...
242	Primary TestKeyType = "Primary"
243	// Secondary ...
244	Secondary TestKeyType = "Secondary"
245)
246
247// PossibleTestKeyTypeValues returns an array of possible values for the TestKeyType const type.
248func PossibleTestKeyTypeValues() []TestKeyType {
249	return []TestKeyType{Primary, Secondary}
250}
251
252// TraceProxyState enumerates the values for trace proxy state.
253type TraceProxyState string
254
255const (
256	// TraceProxyStateFailed ...
257	TraceProxyStateFailed TraceProxyState = "Failed"
258	// TraceProxyStateNotAvailable ...
259	TraceProxyStateNotAvailable TraceProxyState = "NotAvailable"
260	// TraceProxyStateSucceeded ...
261	TraceProxyStateSucceeded TraceProxyState = "Succeeded"
262	// TraceProxyStateUpdating ...
263	TraceProxyStateUpdating TraceProxyState = "Updating"
264)
265
266// PossibleTraceProxyStateValues returns an array of possible values for the TraceProxyState const type.
267func PossibleTraceProxyStateValues() []TraceProxyState {
268	return []TraceProxyState{TraceProxyStateFailed, TraceProxyStateNotAvailable, TraceProxyStateSucceeded, TraceProxyStateUpdating}
269}
270
271// UserSourceType enumerates the values for user source type.
272type UserSourceType string
273
274const (
275	// Jar ...
276	Jar UserSourceType = "Jar"
277	// NetCoreZip ...
278	NetCoreZip UserSourceType = "NetCoreZip"
279	// Source ...
280	Source UserSourceType = "Source"
281)
282
283// PossibleUserSourceTypeValues returns an array of possible values for the UserSourceType const type.
284func PossibleUserSourceTypeValues() []UserSourceType {
285	return []UserSourceType{Jar, NetCoreZip, Source}
286}
287