forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
enums.go
132 lines (110 loc) · 4.97 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 appconfiguration
// 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.
// ActionsRequired enumerates the values for actions required.
type ActionsRequired string
const (
// ActionsRequiredNone ...
ActionsRequiredNone ActionsRequired = "None"
// ActionsRequiredRecreate ...
ActionsRequiredRecreate ActionsRequired = "Recreate"
)
// PossibleActionsRequiredValues returns an array of possible values for the ActionsRequired const type.
func PossibleActionsRequiredValues() []ActionsRequired {
return []ActionsRequired{ActionsRequiredNone, ActionsRequiredRecreate}
}
// ConnectionStatus enumerates the values for connection status.
type ConnectionStatus string
const (
// ConnectionStatusApproved ...
ConnectionStatusApproved ConnectionStatus = "Approved"
// ConnectionStatusDisconnected ...
ConnectionStatusDisconnected ConnectionStatus = "Disconnected"
// ConnectionStatusPending ...
ConnectionStatusPending ConnectionStatus = "Pending"
// ConnectionStatusRejected ...
ConnectionStatusRejected ConnectionStatus = "Rejected"
)
// PossibleConnectionStatusValues returns an array of possible values for the ConnectionStatus const type.
func PossibleConnectionStatusValues() []ConnectionStatus {
return []ConnectionStatus{ConnectionStatusApproved, ConnectionStatusDisconnected, ConnectionStatusPending, ConnectionStatusRejected}
}
// CreatedByType enumerates the values for created by type.
type CreatedByType string
const (
// CreatedByTypeApplication ...
CreatedByTypeApplication CreatedByType = "Application"
// CreatedByTypeKey ...
CreatedByTypeKey CreatedByType = "Key"
// CreatedByTypeManagedIdentity ...
CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
// CreatedByTypeUser ...
CreatedByTypeUser CreatedByType = "User"
)
// PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.
func PossibleCreatedByTypeValues() []CreatedByType {
return []CreatedByType{CreatedByTypeApplication, CreatedByTypeKey, CreatedByTypeManagedIdentity, CreatedByTypeUser}
}
// CreateMode enumerates the values for create mode.
type CreateMode string
const (
// CreateModeDefault ...
CreateModeDefault CreateMode = "Default"
// CreateModeRecover ...
CreateModeRecover CreateMode = "Recover"
)
// PossibleCreateModeValues returns an array of possible values for the CreateMode const type.
func PossibleCreateModeValues() []CreateMode {
return []CreateMode{CreateModeDefault, CreateModeRecover}
}
// IdentityType enumerates the values for identity type.
type IdentityType string
const (
// IdentityTypeNone ...
IdentityTypeNone IdentityType = "None"
// IdentityTypeSystemAssigned ...
IdentityTypeSystemAssigned IdentityType = "SystemAssigned"
// IdentityTypeSystemAssignedUserAssigned ...
IdentityTypeSystemAssignedUserAssigned IdentityType = "SystemAssigned, UserAssigned"
// IdentityTypeUserAssigned ...
IdentityTypeUserAssigned IdentityType = "UserAssigned"
)
// PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type.
func PossibleIdentityTypeValues() []IdentityType {
return []IdentityType{IdentityTypeNone, IdentityTypeSystemAssigned, IdentityTypeSystemAssignedUserAssigned, IdentityTypeUserAssigned}
}
// ProvisioningState enumerates the values for provisioning state.
type ProvisioningState string
const (
// ProvisioningStateCanceled ...
ProvisioningStateCanceled ProvisioningState = "Canceled"
// ProvisioningStateCreating ...
ProvisioningStateCreating ProvisioningState = "Creating"
// ProvisioningStateDeleting ...
ProvisioningStateDeleting ProvisioningState = "Deleting"
// ProvisioningStateFailed ...
ProvisioningStateFailed ProvisioningState = "Failed"
// ProvisioningStateSucceeded ...
ProvisioningStateSucceeded ProvisioningState = "Succeeded"
// ProvisioningStateUpdating ...
ProvisioningStateUpdating ProvisioningState = "Updating"
)
// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
func PossibleProvisioningStateValues() []ProvisioningState {
return []ProvisioningState{ProvisioningStateCanceled, ProvisioningStateCreating, ProvisioningStateDeleting, ProvisioningStateFailed, ProvisioningStateSucceeded, ProvisioningStateUpdating}
}
// PublicNetworkAccess enumerates the values for public network access.
type PublicNetworkAccess string
const (
// PublicNetworkAccessDisabled ...
PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
// PublicNetworkAccessEnabled ...
PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled"
)
// PossiblePublicNetworkAccessValues returns an array of possible values for the PublicNetworkAccess const type.
func PossiblePublicNetworkAccessValues() []PublicNetworkAccess {
return []PublicNetworkAccess{PublicNetworkAccessDisabled, PublicNetworkAccessEnabled}
}