1package resources
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// AliasPathAttributes enumerates the values for alias path attributes.
10type AliasPathAttributes string
11
12const (
13	// AliasPathAttributesModifiable The token that the alias path is referring to is modifiable by policies
14	// with 'modify' effect.
15	AliasPathAttributesModifiable AliasPathAttributes = "Modifiable"
16	// AliasPathAttributesNone The token that the alias path is referring to has no attributes.
17	AliasPathAttributesNone AliasPathAttributes = "None"
18)
19
20// PossibleAliasPathAttributesValues returns an array of possible values for the AliasPathAttributes const type.
21func PossibleAliasPathAttributesValues() []AliasPathAttributes {
22	return []AliasPathAttributes{AliasPathAttributesModifiable, AliasPathAttributesNone}
23}
24
25// AliasPathTokenType enumerates the values for alias path token type.
26type AliasPathTokenType string
27
28const (
29	// AliasPathTokenTypeAny The token type can be anything.
30	AliasPathTokenTypeAny AliasPathTokenType = "Any"
31	// AliasPathTokenTypeArray The token type is array.
32	AliasPathTokenTypeArray AliasPathTokenType = "Array"
33	// AliasPathTokenTypeBoolean The token type is boolean.
34	AliasPathTokenTypeBoolean AliasPathTokenType = "Boolean"
35	// AliasPathTokenTypeInteger The token type is integer.
36	AliasPathTokenTypeInteger AliasPathTokenType = "Integer"
37	// AliasPathTokenTypeNotSpecified The token type is not specified.
38	AliasPathTokenTypeNotSpecified AliasPathTokenType = "NotSpecified"
39	// AliasPathTokenTypeNumber The token type is number.
40	AliasPathTokenTypeNumber AliasPathTokenType = "Number"
41	// AliasPathTokenTypeObject The token type is object.
42	AliasPathTokenTypeObject AliasPathTokenType = "Object"
43	// AliasPathTokenTypeString The token type is string.
44	AliasPathTokenTypeString AliasPathTokenType = "String"
45)
46
47// PossibleAliasPathTokenTypeValues returns an array of possible values for the AliasPathTokenType const type.
48func PossibleAliasPathTokenTypeValues() []AliasPathTokenType {
49	return []AliasPathTokenType{AliasPathTokenTypeAny, AliasPathTokenTypeArray, AliasPathTokenTypeBoolean, AliasPathTokenTypeInteger, AliasPathTokenTypeNotSpecified, AliasPathTokenTypeNumber, AliasPathTokenTypeObject, AliasPathTokenTypeString}
50}
51
52// AliasPatternType enumerates the values for alias pattern type.
53type AliasPatternType string
54
55const (
56	// AliasPatternTypeExtract Extract is the only allowed value.
57	AliasPatternTypeExtract AliasPatternType = "Extract"
58	// AliasPatternTypeNotSpecified NotSpecified is not allowed.
59	AliasPatternTypeNotSpecified AliasPatternType = "NotSpecified"
60)
61
62// PossibleAliasPatternTypeValues returns an array of possible values for the AliasPatternType const type.
63func PossibleAliasPatternTypeValues() []AliasPatternType {
64	return []AliasPatternType{AliasPatternTypeExtract, AliasPatternTypeNotSpecified}
65}
66
67// AliasType enumerates the values for alias type.
68type AliasType string
69
70const (
71	// AliasTypeMask Alias value is secret.
72	AliasTypeMask AliasType = "Mask"
73	// AliasTypeNotSpecified Alias type is unknown (same as not providing alias type).
74	AliasTypeNotSpecified AliasType = "NotSpecified"
75	// AliasTypePlainText Alias value is not secret.
76	AliasTypePlainText AliasType = "PlainText"
77)
78
79// PossibleAliasTypeValues returns an array of possible values for the AliasType const type.
80func PossibleAliasTypeValues() []AliasType {
81	return []AliasType{AliasTypeMask, AliasTypeNotSpecified, AliasTypePlainText}
82}
83
84// ChangeType enumerates the values for change type.
85type ChangeType string
86
87const (
88	// ChangeTypeCreate The resource does not exist in the current state but is present in the desired state.
89	// The resource will be created when the deployment is executed.
90	ChangeTypeCreate ChangeType = "Create"
91	// ChangeTypeDelete The resource exists in the current state and is missing from the desired state. The
92	// resource will be deleted when the deployment is executed.
93	ChangeTypeDelete ChangeType = "Delete"
94	// ChangeTypeDeploy The resource exists in the current state and the desired state and will be redeployed
95	// when the deployment is executed. The properties of the resource may or may not change.
96	ChangeTypeDeploy ChangeType = "Deploy"
97	// ChangeTypeIgnore The resource exists in the current state and is missing from the desired state. The
98	// resource will not be deployed or modified when the deployment is executed.
99	ChangeTypeIgnore ChangeType = "Ignore"
100	// ChangeTypeModify The resource exists in the current state and the desired state and will be redeployed
101	// when the deployment is executed. The properties of the resource will change.
102	ChangeTypeModify ChangeType = "Modify"
103	// ChangeTypeNoChange The resource exists in the current state and the desired state and will be redeployed
104	// when the deployment is executed. The properties of the resource will not change.
105	ChangeTypeNoChange ChangeType = "NoChange"
106)
107
108// PossibleChangeTypeValues returns an array of possible values for the ChangeType const type.
109func PossibleChangeTypeValues() []ChangeType {
110	return []ChangeType{ChangeTypeCreate, ChangeTypeDelete, ChangeTypeDeploy, ChangeTypeIgnore, ChangeTypeModify, ChangeTypeNoChange}
111}
112
113// DeploymentMode enumerates the values for deployment mode.
114type DeploymentMode string
115
116const (
117	// DeploymentModeComplete ...
118	DeploymentModeComplete DeploymentMode = "Complete"
119	// DeploymentModeIncremental ...
120	DeploymentModeIncremental DeploymentMode = "Incremental"
121)
122
123// PossibleDeploymentModeValues returns an array of possible values for the DeploymentMode const type.
124func PossibleDeploymentModeValues() []DeploymentMode {
125	return []DeploymentMode{DeploymentModeComplete, DeploymentModeIncremental}
126}
127
128// ExpressionEvaluationOptionsScopeType enumerates the values for expression evaluation options scope type.
129type ExpressionEvaluationOptionsScopeType string
130
131const (
132	// ExpressionEvaluationOptionsScopeTypeInner ...
133	ExpressionEvaluationOptionsScopeTypeInner ExpressionEvaluationOptionsScopeType = "Inner"
134	// ExpressionEvaluationOptionsScopeTypeNotSpecified ...
135	ExpressionEvaluationOptionsScopeTypeNotSpecified ExpressionEvaluationOptionsScopeType = "NotSpecified"
136	// ExpressionEvaluationOptionsScopeTypeOuter ...
137	ExpressionEvaluationOptionsScopeTypeOuter ExpressionEvaluationOptionsScopeType = "Outer"
138)
139
140// PossibleExpressionEvaluationOptionsScopeTypeValues returns an array of possible values for the ExpressionEvaluationOptionsScopeType const type.
141func PossibleExpressionEvaluationOptionsScopeTypeValues() []ExpressionEvaluationOptionsScopeType {
142	return []ExpressionEvaluationOptionsScopeType{ExpressionEvaluationOptionsScopeTypeInner, ExpressionEvaluationOptionsScopeTypeNotSpecified, ExpressionEvaluationOptionsScopeTypeOuter}
143}
144
145// OnErrorDeploymentType enumerates the values for on error deployment type.
146type OnErrorDeploymentType string
147
148const (
149	// OnErrorDeploymentTypeLastSuccessful ...
150	OnErrorDeploymentTypeLastSuccessful OnErrorDeploymentType = "LastSuccessful"
151	// OnErrorDeploymentTypeSpecificDeployment ...
152	OnErrorDeploymentTypeSpecificDeployment OnErrorDeploymentType = "SpecificDeployment"
153)
154
155// PossibleOnErrorDeploymentTypeValues returns an array of possible values for the OnErrorDeploymentType const type.
156func PossibleOnErrorDeploymentTypeValues() []OnErrorDeploymentType {
157	return []OnErrorDeploymentType{OnErrorDeploymentTypeLastSuccessful, OnErrorDeploymentTypeSpecificDeployment}
158}
159
160// PropertyChangeType enumerates the values for property change type.
161type PropertyChangeType string
162
163const (
164	// PropertyChangeTypeArray The property is an array and contains nested changes.
165	PropertyChangeTypeArray PropertyChangeType = "Array"
166	// PropertyChangeTypeCreate The property does not exist in the current state but is present in the desired
167	// state. The property will be created when the deployment is executed.
168	PropertyChangeTypeCreate PropertyChangeType = "Create"
169	// PropertyChangeTypeDelete The property exists in the current state and is missing from the desired state.
170	// It will be deleted when the deployment is executed.
171	PropertyChangeTypeDelete PropertyChangeType = "Delete"
172	// PropertyChangeTypeModify The property exists in both current and desired state and is different. The
173	// value of the property will change when the deployment is executed.
174	PropertyChangeTypeModify PropertyChangeType = "Modify"
175)
176
177// PossiblePropertyChangeTypeValues returns an array of possible values for the PropertyChangeType const type.
178func PossiblePropertyChangeTypeValues() []PropertyChangeType {
179	return []PropertyChangeType{PropertyChangeTypeArray, PropertyChangeTypeCreate, PropertyChangeTypeDelete, PropertyChangeTypeModify}
180}
181
182// ProvisioningOperation enumerates the values for provisioning operation.
183type ProvisioningOperation string
184
185const (
186	// ProvisioningOperationAction The provisioning operation is action.
187	ProvisioningOperationAction ProvisioningOperation = "Action"
188	// ProvisioningOperationAzureAsyncOperationWaiting The provisioning operation is waiting Azure async
189	// operation.
190	ProvisioningOperationAzureAsyncOperationWaiting ProvisioningOperation = "AzureAsyncOperationWaiting"
191	// ProvisioningOperationCreate The provisioning operation is create.
192	ProvisioningOperationCreate ProvisioningOperation = "Create"
193	// ProvisioningOperationDelete The provisioning operation is delete.
194	ProvisioningOperationDelete ProvisioningOperation = "Delete"
195	// ProvisioningOperationDeploymentCleanup The provisioning operation is cleanup. This operation is part of
196	// the 'complete' mode deployment.
197	ProvisioningOperationDeploymentCleanup ProvisioningOperation = "DeploymentCleanup"
198	// ProvisioningOperationEvaluateDeploymentOutput The provisioning operation is evaluate output.
199	ProvisioningOperationEvaluateDeploymentOutput ProvisioningOperation = "EvaluateDeploymentOutput"
200	// ProvisioningOperationNotSpecified The provisioning operation is not specified.
201	ProvisioningOperationNotSpecified ProvisioningOperation = "NotSpecified"
202	// ProvisioningOperationRead The provisioning operation is read.
203	ProvisioningOperationRead ProvisioningOperation = "Read"
204	// ProvisioningOperationResourceCacheWaiting The provisioning operation is waiting for resource cache.
205	ProvisioningOperationResourceCacheWaiting ProvisioningOperation = "ResourceCacheWaiting"
206	// ProvisioningOperationWaiting The provisioning operation is waiting.
207	ProvisioningOperationWaiting ProvisioningOperation = "Waiting"
208)
209
210// PossibleProvisioningOperationValues returns an array of possible values for the ProvisioningOperation const type.
211func PossibleProvisioningOperationValues() []ProvisioningOperation {
212	return []ProvisioningOperation{ProvisioningOperationAction, ProvisioningOperationAzureAsyncOperationWaiting, ProvisioningOperationCreate, ProvisioningOperationDelete, ProvisioningOperationDeploymentCleanup, ProvisioningOperationEvaluateDeploymentOutput, ProvisioningOperationNotSpecified, ProvisioningOperationRead, ProvisioningOperationResourceCacheWaiting, ProvisioningOperationWaiting}
213}
214
215// ProvisioningState enumerates the values for provisioning state.
216type ProvisioningState string
217
218const (
219	// ProvisioningStateAccepted ...
220	ProvisioningStateAccepted ProvisioningState = "Accepted"
221	// ProvisioningStateCanceled ...
222	ProvisioningStateCanceled ProvisioningState = "Canceled"
223	// ProvisioningStateCreated ...
224	ProvisioningStateCreated ProvisioningState = "Created"
225	// ProvisioningStateCreating ...
226	ProvisioningStateCreating ProvisioningState = "Creating"
227	// ProvisioningStateDeleted ...
228	ProvisioningStateDeleted ProvisioningState = "Deleted"
229	// ProvisioningStateDeleting ...
230	ProvisioningStateDeleting ProvisioningState = "Deleting"
231	// ProvisioningStateFailed ...
232	ProvisioningStateFailed ProvisioningState = "Failed"
233	// ProvisioningStateNotSpecified ...
234	ProvisioningStateNotSpecified ProvisioningState = "NotSpecified"
235	// ProvisioningStateReady ...
236	ProvisioningStateReady ProvisioningState = "Ready"
237	// ProvisioningStateRunning ...
238	ProvisioningStateRunning ProvisioningState = "Running"
239	// ProvisioningStateSucceeded ...
240	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
241	// ProvisioningStateUpdating ...
242	ProvisioningStateUpdating ProvisioningState = "Updating"
243)
244
245// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
246func PossibleProvisioningStateValues() []ProvisioningState {
247	return []ProvisioningState{ProvisioningStateAccepted, ProvisioningStateCanceled, ProvisioningStateCreated, ProvisioningStateCreating, ProvisioningStateDeleted, ProvisioningStateDeleting, ProvisioningStateFailed, ProvisioningStateNotSpecified, ProvisioningStateReady, ProvisioningStateRunning, ProvisioningStateSucceeded, ProvisioningStateUpdating}
248}
249
250// ResourceIdentityType enumerates the values for resource identity type.
251type ResourceIdentityType string
252
253const (
254	// ResourceIdentityTypeNone ...
255	ResourceIdentityTypeNone ResourceIdentityType = "None"
256	// ResourceIdentityTypeSystemAssigned ...
257	ResourceIdentityTypeSystemAssigned ResourceIdentityType = "SystemAssigned"
258	// ResourceIdentityTypeSystemAssignedUserAssigned ...
259	ResourceIdentityTypeSystemAssignedUserAssigned ResourceIdentityType = "SystemAssigned, UserAssigned"
260	// ResourceIdentityTypeUserAssigned ...
261	ResourceIdentityTypeUserAssigned ResourceIdentityType = "UserAssigned"
262)
263
264// PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.
265func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
266	return []ResourceIdentityType{ResourceIdentityTypeNone, ResourceIdentityTypeSystemAssigned, ResourceIdentityTypeSystemAssignedUserAssigned, ResourceIdentityTypeUserAssigned}
267}
268
269// TagsPatchOperation enumerates the values for tags patch operation.
270type TagsPatchOperation string
271
272const (
273	// TagsPatchOperationDelete The 'delete' option allows selectively deleting tags based on given names or
274	// name/value pairs.
275	TagsPatchOperationDelete TagsPatchOperation = "Delete"
276	// TagsPatchOperationMerge The 'merge' option allows adding tags with new names and updating the values of
277	// tags with existing names.
278	TagsPatchOperationMerge TagsPatchOperation = "Merge"
279	// TagsPatchOperationReplace The 'replace' option replaces the entire set of existing tags with a new set.
280	TagsPatchOperationReplace TagsPatchOperation = "Replace"
281)
282
283// PossibleTagsPatchOperationValues returns an array of possible values for the TagsPatchOperation const type.
284func PossibleTagsPatchOperationValues() []TagsPatchOperation {
285	return []TagsPatchOperation{TagsPatchOperationDelete, TagsPatchOperationMerge, TagsPatchOperationReplace}
286}
287
288// WhatIfResultFormat enumerates the values for what if result format.
289type WhatIfResultFormat string
290
291const (
292	// WhatIfResultFormatFullResourcePayloads ...
293	WhatIfResultFormatFullResourcePayloads WhatIfResultFormat = "FullResourcePayloads"
294	// WhatIfResultFormatResourceIDOnly ...
295	WhatIfResultFormatResourceIDOnly WhatIfResultFormat = "ResourceIdOnly"
296)
297
298// PossibleWhatIfResultFormatValues returns an array of possible values for the WhatIfResultFormat const type.
299func PossibleWhatIfResultFormatValues() []WhatIfResultFormat {
300	return []WhatIfResultFormat{WhatIfResultFormatFullResourcePayloads, WhatIfResultFormatResourceIDOnly}
301}
302