-
Notifications
You must be signed in to change notification settings - Fork 796
/
enums.go
158 lines (136 loc) · 5.9 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
package blueprint
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//
// See the License for the specific language governing permissions and
// limitations under the License.
//
// 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}
}