/
enums.go
205 lines (171 loc) · 6.83 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
package hdinsight
// 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.
// AsyncOperationState enumerates the values for async operation state.
type AsyncOperationState string
const (
// Failed ...
Failed AsyncOperationState = "Failed"
// InProgress ...
InProgress AsyncOperationState = "InProgress"
// Succeeded ...
Succeeded AsyncOperationState = "Succeeded"
)
// PossibleAsyncOperationStateValues returns an array of possible values for the AsyncOperationState const type.
func PossibleAsyncOperationStateValues() []AsyncOperationState {
return []AsyncOperationState{Failed, InProgress, Succeeded}
}
// ClusterProvisioningState enumerates the values for cluster provisioning state.
type ClusterProvisioningState string
const (
// ClusterProvisioningStateCanceled ...
ClusterProvisioningStateCanceled ClusterProvisioningState = "Canceled"
// ClusterProvisioningStateDeleting ...
ClusterProvisioningStateDeleting ClusterProvisioningState = "Deleting"
// ClusterProvisioningStateFailed ...
ClusterProvisioningStateFailed ClusterProvisioningState = "Failed"
// ClusterProvisioningStateInProgress ...
ClusterProvisioningStateInProgress ClusterProvisioningState = "InProgress"
// ClusterProvisioningStateSucceeded ...
ClusterProvisioningStateSucceeded ClusterProvisioningState = "Succeeded"
)
// PossibleClusterProvisioningStateValues returns an array of possible values for the ClusterProvisioningState const type.
func PossibleClusterProvisioningStateValues() []ClusterProvisioningState {
return []ClusterProvisioningState{ClusterProvisioningStateCanceled, ClusterProvisioningStateDeleting, ClusterProvisioningStateFailed, ClusterProvisioningStateInProgress, ClusterProvisioningStateSucceeded}
}
// DaysOfWeek enumerates the values for days of week.
type DaysOfWeek string
const (
// Friday ...
Friday DaysOfWeek = "Friday"
// Monday ...
Monday DaysOfWeek = "Monday"
// Saturday ...
Saturday DaysOfWeek = "Saturday"
// Sunday ...
Sunday DaysOfWeek = "Sunday"
// Thursday ...
Thursday DaysOfWeek = "Thursday"
// Tuesday ...
Tuesday DaysOfWeek = "Tuesday"
// Wednesday ...
Wednesday DaysOfWeek = "Wednesday"
)
// PossibleDaysOfWeekValues returns an array of possible values for the DaysOfWeek const type.
func PossibleDaysOfWeekValues() []DaysOfWeek {
return []DaysOfWeek{Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday}
}
// DirectoryType enumerates the values for directory type.
type DirectoryType string
const (
// ActiveDirectory ...
ActiveDirectory DirectoryType = "ActiveDirectory"
)
// PossibleDirectoryTypeValues returns an array of possible values for the DirectoryType const type.
func PossibleDirectoryTypeValues() []DirectoryType {
return []DirectoryType{ActiveDirectory}
}
// FilterMode enumerates the values for filter mode.
type FilterMode string
const (
// Exclude ...
Exclude FilterMode = "Exclude"
// Include ...
Include FilterMode = "Include"
)
// PossibleFilterModeValues returns an array of possible values for the FilterMode const type.
func PossibleFilterModeValues() []FilterMode {
return []FilterMode{Exclude, Include}
}
// JSONWebKeyEncryptionAlgorithm enumerates the values for json web key encryption algorithm.
type JSONWebKeyEncryptionAlgorithm string
const (
// RSA15 ...
RSA15 JSONWebKeyEncryptionAlgorithm = "RSA1_5"
// RSAOAEP ...
RSAOAEP JSONWebKeyEncryptionAlgorithm = "RSA-OAEP"
// RSAOAEP256 ...
RSAOAEP256 JSONWebKeyEncryptionAlgorithm = "RSA-OAEP-256"
)
// PossibleJSONWebKeyEncryptionAlgorithmValues returns an array of possible values for the JSONWebKeyEncryptionAlgorithm const type.
func PossibleJSONWebKeyEncryptionAlgorithmValues() []JSONWebKeyEncryptionAlgorithm {
return []JSONWebKeyEncryptionAlgorithm{RSA15, RSAOAEP, RSAOAEP256}
}
// OSType enumerates the values for os type.
type OSType string
const (
// Linux ...
Linux OSType = "Linux"
// Windows ...
Windows OSType = "Windows"
)
// PossibleOSTypeValues returns an array of possible values for the OSType const type.
func PossibleOSTypeValues() []OSType {
return []OSType{Linux, Windows}
}
// OutboundOnlyPublicNetworkAccessType enumerates the values for outbound only public network access type.
type OutboundOnlyPublicNetworkAccessType string
const (
// PublicLoadBalancer ...
PublicLoadBalancer OutboundOnlyPublicNetworkAccessType = "PublicLoadBalancer"
// UDR ...
UDR OutboundOnlyPublicNetworkAccessType = "UDR"
)
// PossibleOutboundOnlyPublicNetworkAccessTypeValues returns an array of possible values for the OutboundOnlyPublicNetworkAccessType const type.
func PossibleOutboundOnlyPublicNetworkAccessTypeValues() []OutboundOnlyPublicNetworkAccessType {
return []OutboundOnlyPublicNetworkAccessType{PublicLoadBalancer, UDR}
}
// PublicNetworkAccess enumerates the values for public network access.
type PublicNetworkAccess string
const (
// InboundAndOutbound ...
InboundAndOutbound PublicNetworkAccess = "InboundAndOutbound"
// OutboundOnly ...
OutboundOnly PublicNetworkAccess = "OutboundOnly"
)
// PossiblePublicNetworkAccessValues returns an array of possible values for the PublicNetworkAccess const type.
func PossiblePublicNetworkAccessValues() []PublicNetworkAccess {
return []PublicNetworkAccess{InboundAndOutbound, OutboundOnly}
}
// ResourceIdentityType enumerates the values for resource identity type.
type ResourceIdentityType string
const (
// None ...
None ResourceIdentityType = "None"
// SystemAssigned ...
SystemAssigned ResourceIdentityType = "SystemAssigned"
// SystemAssignedUserAssigned ...
SystemAssignedUserAssigned ResourceIdentityType = "SystemAssigned, UserAssigned"
// UserAssigned ...
UserAssigned ResourceIdentityType = "UserAssigned"
)
// PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.
func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
return []ResourceIdentityType{None, SystemAssigned, SystemAssignedUserAssigned, UserAssigned}
}
// Tier enumerates the values for tier.
type Tier string
const (
// Premium ...
Premium Tier = "Premium"
// Standard ...
Standard Tier = "Standard"
)
// PossibleTierValues returns an array of possible values for the Tier const type.
func PossibleTierValues() []Tier {
return []Tier{Premium, Standard}
}