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