forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 1
/
enums.go
203 lines (169 loc) · 7.84 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
package netapp
// 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.
// ActiveDirectoryStatus enumerates the values for active directory status.
type ActiveDirectoryStatus string
const (
// Created Active Directory created but not in use
Created ActiveDirectoryStatus = "Created"
// Deleted Active Directory Deleted
Deleted ActiveDirectoryStatus = "Deleted"
// Error Error with the Active Directory
Error ActiveDirectoryStatus = "Error"
// InUse Active Directory in use by SMB Volume
InUse ActiveDirectoryStatus = "InUse"
// Updating Active Directory Updating
Updating ActiveDirectoryStatus = "Updating"
)
// PossibleActiveDirectoryStatusValues returns an array of possible values for the ActiveDirectoryStatus const type.
func PossibleActiveDirectoryStatusValues() []ActiveDirectoryStatus {
return []ActiveDirectoryStatus{Created, Deleted, Error, InUse, Updating}
}
// CheckNameResourceTypes enumerates the values for check name resource types.
type CheckNameResourceTypes string
const (
// MicrosoftNetAppnetAppAccounts ...
MicrosoftNetAppnetAppAccounts CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts"
// MicrosoftNetAppnetAppAccountscapacityPools ...
MicrosoftNetAppnetAppAccountscapacityPools CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools"
// MicrosoftNetAppnetAppAccountscapacityPoolsvolumes ...
MicrosoftNetAppnetAppAccountscapacityPoolsvolumes CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes"
// MicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots ...
MicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots"
)
// PossibleCheckNameResourceTypesValues returns an array of possible values for the CheckNameResourceTypes const type.
func PossibleCheckNameResourceTypesValues() []CheckNameResourceTypes {
return []CheckNameResourceTypes{MicrosoftNetAppnetAppAccounts, MicrosoftNetAppnetAppAccountscapacityPools, MicrosoftNetAppnetAppAccountscapacityPoolsvolumes, MicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots}
}
// 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}
}
// EndpointType enumerates the values for endpoint type.
type EndpointType string
const (
// Dst ...
Dst EndpointType = "dst"
// Src ...
Src EndpointType = "src"
)
// PossibleEndpointTypeValues returns an array of possible values for the EndpointType const type.
func PossibleEndpointTypeValues() []EndpointType {
return []EndpointType{Dst, Src}
}
// InAvailabilityReasonType enumerates the values for in availability reason type.
type InAvailabilityReasonType string
const (
// AlreadyExists ...
AlreadyExists InAvailabilityReasonType = "AlreadyExists"
// Invalid ...
Invalid InAvailabilityReasonType = "Invalid"
)
// PossibleInAvailabilityReasonTypeValues returns an array of possible values for the InAvailabilityReasonType const type.
func PossibleInAvailabilityReasonTypeValues() []InAvailabilityReasonType {
return []InAvailabilityReasonType{AlreadyExists, Invalid}
}
// MirrorState enumerates the values for mirror state.
type MirrorState string
const (
// Broken ...
Broken MirrorState = "Broken"
// Mirrored ...
Mirrored MirrorState = "Mirrored"
// Uninitialized ...
Uninitialized MirrorState = "Uninitialized"
)
// PossibleMirrorStateValues returns an array of possible values for the MirrorState const type.
func PossibleMirrorStateValues() []MirrorState {
return []MirrorState{Broken, Mirrored, Uninitialized}
}
// QosType enumerates the values for qos type.
type QosType string
const (
// Auto qos type Auto
Auto QosType = "Auto"
// Manual qos type Manual
Manual QosType = "Manual"
)
// PossibleQosTypeValues returns an array of possible values for the QosType const type.
func PossibleQosTypeValues() []QosType {
return []QosType{Auto, Manual}
}
// RelationshipStatus enumerates the values for relationship status.
type RelationshipStatus string
const (
// Idle ...
Idle RelationshipStatus = "Idle"
// Transferring ...
Transferring RelationshipStatus = "Transferring"
)
// PossibleRelationshipStatusValues returns an array of possible values for the RelationshipStatus const type.
func PossibleRelationshipStatusValues() []RelationshipStatus {
return []RelationshipStatus{Idle, Transferring}
}
// ReplicationSchedule enumerates the values for replication schedule.
type ReplicationSchedule string
const (
// OneZerominutely ...
OneZerominutely ReplicationSchedule = "_10minutely"
// Daily ...
Daily ReplicationSchedule = "daily"
// Hourly ...
Hourly ReplicationSchedule = "hourly"
)
// PossibleReplicationScheduleValues returns an array of possible values for the ReplicationSchedule const type.
func PossibleReplicationScheduleValues() []ReplicationSchedule {
return []ReplicationSchedule{OneZerominutely, Daily, Hourly}
}
// SecurityStyle enumerates the values for security style.
type SecurityStyle string
const (
// Ntfs ...
Ntfs SecurityStyle = "ntfs"
// Unix ...
Unix SecurityStyle = "unix"
)
// PossibleSecurityStyleValues returns an array of possible values for the SecurityStyle const type.
func PossibleSecurityStyleValues() []SecurityStyle {
return []SecurityStyle{Ntfs, Unix}
}
// ServiceLevel enumerates the values for service level.
type ServiceLevel string
const (
// Premium Premium service level
Premium ServiceLevel = "Premium"
// Standard Standard service level
Standard ServiceLevel = "Standard"
// Ultra Ultra service level
Ultra ServiceLevel = "Ultra"
)
// PossibleServiceLevelValues returns an array of possible values for the ServiceLevel const type.
func PossibleServiceLevelValues() []ServiceLevel {
return []ServiceLevel{Premium, Standard, Ultra}
}