forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
enums.go
126 lines (104 loc) · 4.54 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
package account
// 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.
// DataLakeStoreAccountState enumerates the values for data lake store account state.
type DataLakeStoreAccountState string
const (
// Active ...
Active DataLakeStoreAccountState = "active"
// Suspended ...
Suspended DataLakeStoreAccountState = "suspended"
)
// PossibleDataLakeStoreAccountStateValues returns an array of possible values for the DataLakeStoreAccountState const type.
func PossibleDataLakeStoreAccountStateValues() []DataLakeStoreAccountState {
return []DataLakeStoreAccountState{Active, Suspended}
}
// DataLakeStoreAccountStatus enumerates the values for data lake store account status.
type DataLakeStoreAccountStatus string
const (
// Creating ...
Creating DataLakeStoreAccountStatus = "Creating"
// Deleted ...
Deleted DataLakeStoreAccountStatus = "Deleted"
// Deleting ...
Deleting DataLakeStoreAccountStatus = "Deleting"
// Failed ...
Failed DataLakeStoreAccountStatus = "Failed"
// Patching ...
Patching DataLakeStoreAccountStatus = "Patching"
// Resuming ...
Resuming DataLakeStoreAccountStatus = "Resuming"
// Running ...
Running DataLakeStoreAccountStatus = "Running"
// Succeeded ...
Succeeded DataLakeStoreAccountStatus = "Succeeded"
// Suspending ...
Suspending DataLakeStoreAccountStatus = "Suspending"
)
// PossibleDataLakeStoreAccountStatusValues returns an array of possible values for the DataLakeStoreAccountStatus const type.
func PossibleDataLakeStoreAccountStatusValues() []DataLakeStoreAccountStatus {
return []DataLakeStoreAccountStatus{Creating, Deleted, Deleting, Failed, Patching, Resuming, Running, Succeeded, Suspending}
}
// EncryptionConfigType enumerates the values for encryption config type.
type EncryptionConfigType string
const (
// ServiceManaged ...
ServiceManaged EncryptionConfigType = "ServiceManaged"
// UserManaged ...
UserManaged EncryptionConfigType = "UserManaged"
)
// PossibleEncryptionConfigTypeValues returns an array of possible values for the EncryptionConfigType const type.
func PossibleEncryptionConfigTypeValues() []EncryptionConfigType {
return []EncryptionConfigType{ServiceManaged, UserManaged}
}
// EncryptionIdentityType enumerates the values for encryption identity type.
type EncryptionIdentityType string
const (
// SystemAssigned ...
SystemAssigned EncryptionIdentityType = "SystemAssigned"
)
// PossibleEncryptionIdentityTypeValues returns an array of possible values for the EncryptionIdentityType const type.
func PossibleEncryptionIdentityTypeValues() []EncryptionIdentityType {
return []EncryptionIdentityType{SystemAssigned}
}
// EncryptionProvisioningState enumerates the values for encryption provisioning state.
type EncryptionProvisioningState string
const (
// EncryptionProvisioningStateCreating ...
EncryptionProvisioningStateCreating EncryptionProvisioningState = "Creating"
// EncryptionProvisioningStateSucceeded ...
EncryptionProvisioningStateSucceeded EncryptionProvisioningState = "Succeeded"
)
// PossibleEncryptionProvisioningStateValues returns an array of possible values for the EncryptionProvisioningState const type.
func PossibleEncryptionProvisioningStateValues() []EncryptionProvisioningState {
return []EncryptionProvisioningState{EncryptionProvisioningStateCreating, EncryptionProvisioningStateSucceeded}
}
// EncryptionState enumerates the values for encryption state.
type EncryptionState string
const (
// Disabled ...
Disabled EncryptionState = "Disabled"
// Enabled ...
Enabled EncryptionState = "Enabled"
)
// PossibleEncryptionStateValues returns an array of possible values for the EncryptionState const type.
func PossibleEncryptionStateValues() []EncryptionState {
return []EncryptionState{Disabled, Enabled}
}
// OperationStatus enumerates the values for operation status.
type OperationStatus string
const (
// OperationStatusFailed ...
OperationStatusFailed OperationStatus = "Failed"
// OperationStatusInProgress ...
OperationStatusInProgress OperationStatus = "InProgress"
// OperationStatusSucceeded ...
OperationStatusSucceeded OperationStatus = "Succeeded"
)
// PossibleOperationStatusValues returns an array of possible values for the OperationStatus const type.
func PossibleOperationStatusValues() []OperationStatus {
return []OperationStatus{OperationStatusFailed, OperationStatusInProgress, OperationStatusSucceeded}
}