forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 1
/
enums.go
147 lines (125 loc) · 5.45 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
package blueprint
// 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.
// AssignmentDeleteBehavior enumerates the values for assignment delete behavior.
type AssignmentDeleteBehavior string
const (
// All ...
All AssignmentDeleteBehavior = "all"
// None ...
None AssignmentDeleteBehavior = "none"
)
// PossibleAssignmentDeleteBehaviorValues returns an array of possible values for the AssignmentDeleteBehavior const type.
func PossibleAssignmentDeleteBehaviorValues() []AssignmentDeleteBehavior {
return []AssignmentDeleteBehavior{All, None}
}
// AssignmentLockMode enumerates the values for assignment lock mode.
type AssignmentLockMode string
const (
// AssignmentLockModeAllResourcesDoNotDelete ...
AssignmentLockModeAllResourcesDoNotDelete AssignmentLockMode = "AllResourcesDoNotDelete"
// AssignmentLockModeAllResourcesReadOnly ...
AssignmentLockModeAllResourcesReadOnly AssignmentLockMode = "AllResourcesReadOnly"
// AssignmentLockModeNone ...
AssignmentLockModeNone AssignmentLockMode = "None"
)
// PossibleAssignmentLockModeValues returns an array of possible values for the AssignmentLockMode const type.
func PossibleAssignmentLockModeValues() []AssignmentLockMode {
return []AssignmentLockMode{AssignmentLockModeAllResourcesDoNotDelete, AssignmentLockModeAllResourcesReadOnly, AssignmentLockModeNone}
}
// AssignmentProvisioningState enumerates the values for assignment provisioning state.
type AssignmentProvisioningState string
const (
// Canceled ...
Canceled AssignmentProvisioningState = "canceled"
// Cancelling ...
Cancelling AssignmentProvisioningState = "cancelling"
// Creating ...
Creating AssignmentProvisioningState = "creating"
// Deleting ...
Deleting AssignmentProvisioningState = "deleting"
// Deploying ...
Deploying AssignmentProvisioningState = "deploying"
// Failed ...
Failed AssignmentProvisioningState = "failed"
// Locking ...
Locking AssignmentProvisioningState = "locking"
// Succeeded ...
Succeeded AssignmentProvisioningState = "succeeded"
// Validating ...
Validating AssignmentProvisioningState = "validating"
// Waiting ...
Waiting AssignmentProvisioningState = "waiting"
)
// PossibleAssignmentProvisioningStateValues returns an array of possible values for the AssignmentProvisioningState const type.
func PossibleAssignmentProvisioningStateValues() []AssignmentProvisioningState {
return []AssignmentProvisioningState{Canceled, Cancelling, Creating, Deleting, Deploying, Failed, Locking, Succeeded, Validating, Waiting}
}
// Kind enumerates the values for kind.
type Kind string
const (
// KindArtifact ...
KindArtifact Kind = "Artifact"
// KindPolicyAssignment ...
KindPolicyAssignment Kind = "policyAssignment"
// KindRoleAssignment ...
KindRoleAssignment Kind = "roleAssignment"
// KindTemplate ...
KindTemplate Kind = "template"
)
// PossibleKindValues returns an array of possible values for the Kind const type.
func PossibleKindValues() []Kind {
return []Kind{KindArtifact, KindPolicyAssignment, KindRoleAssignment, KindTemplate}
}
// ManagedServiceIdentityType enumerates the values for managed service identity type.
type ManagedServiceIdentityType string
const (
// ManagedServiceIdentityTypeNone ...
ManagedServiceIdentityTypeNone ManagedServiceIdentityType = "None"
// ManagedServiceIdentityTypeSystemAssigned ...
ManagedServiceIdentityTypeSystemAssigned ManagedServiceIdentityType = "SystemAssigned"
// ManagedServiceIdentityTypeUserAssigned ...
ManagedServiceIdentityTypeUserAssigned ManagedServiceIdentityType = "UserAssigned"
)
// PossibleManagedServiceIdentityTypeValues returns an array of possible values for the ManagedServiceIdentityType const type.
func PossibleManagedServiceIdentityTypeValues() []ManagedServiceIdentityType {
return []ManagedServiceIdentityType{ManagedServiceIdentityTypeNone, ManagedServiceIdentityTypeSystemAssigned, ManagedServiceIdentityTypeUserAssigned}
}
// TargetScope enumerates the values for target scope.
type TargetScope string
const (
// ManagementGroup The blueprint targets a management group during blueprint assignment. This is reserved
// for future use.
ManagementGroup TargetScope = "managementGroup"
// Subscription The blueprint targets a subscription during blueprint assignment.
Subscription TargetScope = "subscription"
)
// PossibleTargetScopeValues returns an array of possible values for the TargetScope const type.
func PossibleTargetScopeValues() []TargetScope {
return []TargetScope{ManagementGroup, Subscription}
}
// TemplateParameterType enumerates the values for template parameter type.
type TemplateParameterType string
const (
// Array ...
Array TemplateParameterType = "array"
// Bool ...
Bool TemplateParameterType = "bool"
// Int ...
Int TemplateParameterType = "int"
// Object ...
Object TemplateParameterType = "object"
// SecureObject ...
SecureObject TemplateParameterType = "secureObject"
// SecureString ...
SecureString TemplateParameterType = "secureString"
// String ...
String TemplateParameterType = "string"
)
// PossibleTemplateParameterTypeValues returns an array of possible values for the TemplateParameterType const type.
func PossibleTemplateParameterTypeValues() []TemplateParameterType {
return []TemplateParameterType{Array, Bool, Int, Object, SecureObject, SecureString, String}
}