forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
enums.go
122 lines (100 loc) · 4.3 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
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}
}
// 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 (
// 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}
}