-
Notifications
You must be signed in to change notification settings - Fork 819
/
enums.go
137 lines (115 loc) · 4.99 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
package account
// 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.
// 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}
}