forked from Azure/azure-sdk-for-go
/
enums.go
173 lines (142 loc) · 6.32 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
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.
// 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}
}
// 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}
}
// PatchServiceLevel enumerates the values for patch service level.
type PatchServiceLevel string
const (
// Premium Premium service level
Premium PatchServiceLevel = "Premium"
// Standard Standard service level
Standard PatchServiceLevel = "Standard"
// Ultra Ultra service level
Ultra PatchServiceLevel = "Ultra"
)
// PossiblePatchServiceLevelValues returns an array of possible values for the PatchServiceLevel const type.
func PossiblePatchServiceLevelValues() []PatchServiceLevel {
return []PatchServiceLevel{Premium, Standard, Ultra}
}
// PoolServiceLevel enumerates the values for pool service level.
type PoolServiceLevel string
const (
// PoolServiceLevelPremium Premium service level
PoolServiceLevelPremium PoolServiceLevel = "Premium"
// PoolServiceLevelStandard Standard service level
PoolServiceLevelStandard PoolServiceLevel = "Standard"
// PoolServiceLevelUltra Ultra service level
PoolServiceLevelUltra PoolServiceLevel = "Ultra"
)
// PossiblePoolServiceLevelValues returns an array of possible values for the PoolServiceLevel const type.
func PossiblePoolServiceLevelValues() []PoolServiceLevel {
return []PoolServiceLevel{PoolServiceLevelPremium, PoolServiceLevelStandard, PoolServiceLevelUltra}
}
// 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}
}
// 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}
}
// VolumeServiceLevel enumerates the values for volume service level.
type VolumeServiceLevel string
const (
// VolumeServiceLevelPremium Premium service level
VolumeServiceLevelPremium VolumeServiceLevel = "Premium"
// VolumeServiceLevelStandard Standard service level
VolumeServiceLevelStandard VolumeServiceLevel = "Standard"
// VolumeServiceLevelUltra Ultra service level
VolumeServiceLevelUltra VolumeServiceLevel = "Ultra"
)
// PossibleVolumeServiceLevelValues returns an array of possible values for the VolumeServiceLevel const type.
func PossibleVolumeServiceLevelValues() []VolumeServiceLevel {
return []VolumeServiceLevel{VolumeServiceLevelPremium, VolumeServiceLevelStandard, VolumeServiceLevelUltra}
}