-
Notifications
You must be signed in to change notification settings - Fork 796
/
enums.go
132 lines (110 loc) · 4.04 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
package search
// 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.
// AdminKeyKind enumerates the values for admin key kind.
type AdminKeyKind string
const (
// Primary ...
Primary AdminKeyKind = "primary"
// Secondary ...
Secondary AdminKeyKind = "secondary"
)
// PossibleAdminKeyKindValues returns an array of possible values for the AdminKeyKind const type.
func PossibleAdminKeyKindValues() []AdminKeyKind {
return []AdminKeyKind{Primary, Secondary}
}
// HostingMode enumerates the values for hosting mode.
type HostingMode string
const (
// Default ...
Default HostingMode = "default"
// HighDensity ...
HighDensity HostingMode = "highDensity"
)
// PossibleHostingModeValues returns an array of possible values for the HostingMode const type.
func PossibleHostingModeValues() []HostingMode {
return []HostingMode{Default, HighDensity}
}
// IdentityType enumerates the values for identity type.
type IdentityType string
const (
// None ...
None IdentityType = "None"
// SystemAssigned ...
SystemAssigned IdentityType = "SystemAssigned"
)
// PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type.
func PossibleIdentityTypeValues() []IdentityType {
return []IdentityType{None, SystemAssigned}
}
// ProvisioningState enumerates the values for provisioning state.
type ProvisioningState string
const (
// Failed ...
Failed ProvisioningState = "failed"
// Provisioning ...
Provisioning ProvisioningState = "provisioning"
// Succeeded ...
Succeeded ProvisioningState = "succeeded"
)
// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
func PossibleProvisioningStateValues() []ProvisioningState {
return []ProvisioningState{Failed, Provisioning, Succeeded}
}
// ServiceStatus enumerates the values for service status.
type ServiceStatus string
const (
// ServiceStatusDegraded ...
ServiceStatusDegraded ServiceStatus = "degraded"
// ServiceStatusDeleting ...
ServiceStatusDeleting ServiceStatus = "deleting"
// ServiceStatusDisabled ...
ServiceStatusDisabled ServiceStatus = "disabled"
// ServiceStatusError ...
ServiceStatusError ServiceStatus = "error"
// ServiceStatusProvisioning ...
ServiceStatusProvisioning ServiceStatus = "provisioning"
// ServiceStatusRunning ...
ServiceStatusRunning ServiceStatus = "running"
)
// PossibleServiceStatusValues returns an array of possible values for the ServiceStatus const type.
func PossibleServiceStatusValues() []ServiceStatus {
return []ServiceStatus{ServiceStatusDegraded, ServiceStatusDeleting, ServiceStatusDisabled, ServiceStatusError, ServiceStatusProvisioning, ServiceStatusRunning}
}
// SkuName enumerates the values for sku name.
type SkuName string
const (
// Basic ...
Basic SkuName = "basic"
// Free ...
Free SkuName = "free"
// Standard ...
Standard SkuName = "standard"
// Standard2 ...
Standard2 SkuName = "standard2"
// Standard3 ...
Standard3 SkuName = "standard3"
// StorageOptimizedL1 ...
StorageOptimizedL1 SkuName = "storage_optimized_l1"
// StorageOptimizedL2 ...
StorageOptimizedL2 SkuName = "storage_optimized_l2"
)
// PossibleSkuNameValues returns an array of possible values for the SkuName const type.
func PossibleSkuNameValues() []SkuName {
return []SkuName{Basic, Free, Standard, Standard2, Standard3, StorageOptimizedL1, StorageOptimizedL2}
}
// UnavailableNameReason enumerates the values for unavailable name reason.
type UnavailableNameReason string
const (
// AlreadyExists ...
AlreadyExists UnavailableNameReason = "AlreadyExists"
// Invalid ...
Invalid UnavailableNameReason = "Invalid"
)
// PossibleUnavailableNameReasonValues returns an array of possible values for the UnavailableNameReason const type.
func PossibleUnavailableNameReasonValues() []UnavailableNameReason {
return []UnavailableNameReason{AlreadyExists, Invalid}
}