-
Notifications
You must be signed in to change notification settings - Fork 803
/
enums.go
226 lines (186 loc) · 9.86 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
package netapp
// 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.
// ActiveDirectoryStatus enumerates the values for active directory status.
type ActiveDirectoryStatus string
const (
// ActiveDirectoryStatusCreated Active Directory created but not in use
ActiveDirectoryStatusCreated ActiveDirectoryStatus = "Created"
// ActiveDirectoryStatusDeleted Active Directory Deleted
ActiveDirectoryStatusDeleted ActiveDirectoryStatus = "Deleted"
// ActiveDirectoryStatusError Error with the Active Directory
ActiveDirectoryStatusError ActiveDirectoryStatus = "Error"
// ActiveDirectoryStatusInUse Active Directory in use by SMB Volume
ActiveDirectoryStatusInUse ActiveDirectoryStatus = "InUse"
// ActiveDirectoryStatusUpdating Active Directory Updating
ActiveDirectoryStatusUpdating ActiveDirectoryStatus = "Updating"
)
// PossibleActiveDirectoryStatusValues returns an array of possible values for the ActiveDirectoryStatus const type.
func PossibleActiveDirectoryStatusValues() []ActiveDirectoryStatus {
return []ActiveDirectoryStatus{ActiveDirectoryStatusCreated, ActiveDirectoryStatusDeleted, ActiveDirectoryStatusError, ActiveDirectoryStatusInUse, ActiveDirectoryStatusUpdating}
}
// BackupType enumerates the values for backup type.
type BackupType string
const (
// BackupTypeManual Manual backup
BackupTypeManual BackupType = "Manual"
// BackupTypeScheduled Scheduled backup
BackupTypeScheduled BackupType = "Scheduled"
)
// PossibleBackupTypeValues returns an array of possible values for the BackupType const type.
func PossibleBackupTypeValues() []BackupType {
return []BackupType{BackupTypeManual, BackupTypeScheduled}
}
// CheckNameResourceTypes enumerates the values for check name resource types.
type CheckNameResourceTypes string
const (
// CheckNameResourceTypesMicrosoftNetAppnetAppAccounts ...
CheckNameResourceTypesMicrosoftNetAppnetAppAccounts CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts"
// CheckNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPools ...
CheckNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPools CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools"
// CheckNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumes ...
CheckNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumes CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes"
// CheckNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots ...
CheckNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots"
)
// PossibleCheckNameResourceTypesValues returns an array of possible values for the CheckNameResourceTypes const type.
func PossibleCheckNameResourceTypesValues() []CheckNameResourceTypes {
return []CheckNameResourceTypes{CheckNameResourceTypesMicrosoftNetAppnetAppAccounts, CheckNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPools, CheckNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumes, CheckNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots}
}
// CheckQuotaNameResourceTypes enumerates the values for check quota name resource types.
type CheckQuotaNameResourceTypes string
const (
// CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccounts ...
CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccounts CheckQuotaNameResourceTypes = "Microsoft.NetApp/netAppAccounts"
// CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPools ...
CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPools CheckQuotaNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools"
// CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumes ...
CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumes CheckQuotaNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes"
// CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots ...
CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots CheckQuotaNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots"
)
// PossibleCheckQuotaNameResourceTypesValues returns an array of possible values for the CheckQuotaNameResourceTypes const type.
func PossibleCheckQuotaNameResourceTypesValues() []CheckQuotaNameResourceTypes {
return []CheckQuotaNameResourceTypes{CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccounts, CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPools, CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumes, CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots}
}
// CreatedByType enumerates the values for created by type.
type CreatedByType string
const (
// CreatedByTypeApplication ...
CreatedByTypeApplication CreatedByType = "Application"
// CreatedByTypeKey ...
CreatedByTypeKey CreatedByType = "Key"
// CreatedByTypeManagedIdentity ...
CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
// CreatedByTypeUser ...
CreatedByTypeUser CreatedByType = "User"
)
// PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.
func PossibleCreatedByTypeValues() []CreatedByType {
return []CreatedByType{CreatedByTypeApplication, CreatedByTypeKey, CreatedByTypeManagedIdentity, CreatedByTypeUser}
}
// EndpointType enumerates the values for endpoint type.
type EndpointType string
const (
// EndpointTypeDst ...
EndpointTypeDst EndpointType = "dst"
// EndpointTypeSrc ...
EndpointTypeSrc EndpointType = "src"
)
// PossibleEndpointTypeValues returns an array of possible values for the EndpointType const type.
func PossibleEndpointTypeValues() []EndpointType {
return []EndpointType{EndpointTypeDst, EndpointTypeSrc}
}
// InAvailabilityReasonType enumerates the values for in availability reason type.
type InAvailabilityReasonType string
const (
// InAvailabilityReasonTypeAlreadyExists ...
InAvailabilityReasonTypeAlreadyExists InAvailabilityReasonType = "AlreadyExists"
// InAvailabilityReasonTypeInvalid ...
InAvailabilityReasonTypeInvalid InAvailabilityReasonType = "Invalid"
)
// PossibleInAvailabilityReasonTypeValues returns an array of possible values for the InAvailabilityReasonType const type.
func PossibleInAvailabilityReasonTypeValues() []InAvailabilityReasonType {
return []InAvailabilityReasonType{InAvailabilityReasonTypeAlreadyExists, InAvailabilityReasonTypeInvalid}
}
// MirrorState enumerates the values for mirror state.
type MirrorState string
const (
// MirrorStateBroken ...
MirrorStateBroken MirrorState = "Broken"
// MirrorStateMirrored ...
MirrorStateMirrored MirrorState = "Mirrored"
// MirrorStateUninitialized ...
MirrorStateUninitialized MirrorState = "Uninitialized"
)
// PossibleMirrorStateValues returns an array of possible values for the MirrorState const type.
func PossibleMirrorStateValues() []MirrorState {
return []MirrorState{MirrorStateBroken, MirrorStateMirrored, MirrorStateUninitialized}
}
// QosType enumerates the values for qos type.
type QosType string
const (
// QosTypeAuto qos type Auto
QosTypeAuto QosType = "Auto"
// QosTypeManual qos type Manual
QosTypeManual QosType = "Manual"
)
// PossibleQosTypeValues returns an array of possible values for the QosType const type.
func PossibleQosTypeValues() []QosType {
return []QosType{QosTypeAuto, QosTypeManual}
}
// RelationshipStatus enumerates the values for relationship status.
type RelationshipStatus string
const (
// RelationshipStatusIdle ...
RelationshipStatusIdle RelationshipStatus = "Idle"
// RelationshipStatusTransferring ...
RelationshipStatusTransferring RelationshipStatus = "Transferring"
)
// PossibleRelationshipStatusValues returns an array of possible values for the RelationshipStatus const type.
func PossibleRelationshipStatusValues() []RelationshipStatus {
return []RelationshipStatus{RelationshipStatusIdle, RelationshipStatusTransferring}
}
// ReplicationSchedule enumerates the values for replication schedule.
type ReplicationSchedule string
const (
// ReplicationSchedule10minutely ...
ReplicationSchedule10minutely ReplicationSchedule = "_10minutely"
// ReplicationScheduleDaily ...
ReplicationScheduleDaily ReplicationSchedule = "daily"
// ReplicationScheduleHourly ...
ReplicationScheduleHourly ReplicationSchedule = "hourly"
)
// PossibleReplicationScheduleValues returns an array of possible values for the ReplicationSchedule const type.
func PossibleReplicationScheduleValues() []ReplicationSchedule {
return []ReplicationSchedule{ReplicationSchedule10minutely, ReplicationScheduleDaily, ReplicationScheduleHourly}
}
// SecurityStyle enumerates the values for security style.
type SecurityStyle string
const (
// SecurityStyleNtfs ...
SecurityStyleNtfs SecurityStyle = "ntfs"
// SecurityStyleUnix ...
SecurityStyleUnix SecurityStyle = "unix"
)
// PossibleSecurityStyleValues returns an array of possible values for the SecurityStyle const type.
func PossibleSecurityStyleValues() []SecurityStyle {
return []SecurityStyle{SecurityStyleNtfs, SecurityStyleUnix}
}
// ServiceLevel enumerates the values for service level.
type ServiceLevel string
const (
// ServiceLevelPremium Premium service level
ServiceLevelPremium ServiceLevel = "Premium"
// ServiceLevelStandard Standard service level
ServiceLevelStandard ServiceLevel = "Standard"
// ServiceLevelUltra Ultra service level
ServiceLevelUltra ServiceLevel = "Ultra"
)
// PossibleServiceLevelValues returns an array of possible values for the ServiceLevel const type.
func PossibleServiceLevelValues() []ServiceLevel {
return []ServiceLevel{ServiceLevelPremium, ServiceLevelStandard, ServiceLevelUltra}
}