forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
enums.go
98 lines (82 loc) · 3.19 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
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 (
// None ...
None ActionsRequired = "None"
// Recreate ...
Recreate ActionsRequired = "Recreate"
)
// PossibleActionsRequiredValues returns an array of possible values for the ActionsRequired const type.
func PossibleActionsRequiredValues() []ActionsRequired {
return []ActionsRequired{None, Recreate}
}
// ConnectionStatus enumerates the values for connection status.
type ConnectionStatus string
const (
// Approved ...
Approved ConnectionStatus = "Approved"
// Disconnected ...
Disconnected ConnectionStatus = "Disconnected"
// Pending ...
Pending ConnectionStatus = "Pending"
// Rejected ...
Rejected ConnectionStatus = "Rejected"
)
// PossibleConnectionStatusValues returns an array of possible values for the ConnectionStatus const type.
func PossibleConnectionStatusValues() []ConnectionStatus {
return []ConnectionStatus{Approved, Disconnected, Pending, Rejected}
}
// 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 (
// Canceled ...
Canceled ProvisioningState = "Canceled"
// Creating ...
Creating ProvisioningState = "Creating"
// Deleting ...
Deleting ProvisioningState = "Deleting"
// Failed ...
Failed ProvisioningState = "Failed"
// Succeeded ...
Succeeded ProvisioningState = "Succeeded"
// Updating ...
Updating ProvisioningState = "Updating"
)
// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
func PossibleProvisioningStateValues() []ProvisioningState {
return []ProvisioningState{Canceled, Creating, Deleting, Failed, Succeeded, Updating}
}
// PublicNetworkAccess enumerates the values for public network access.
type PublicNetworkAccess string
const (
// Disabled ...
Disabled PublicNetworkAccess = "Disabled"
// Enabled ...
Enabled PublicNetworkAccess = "Enabled"
)
// PossiblePublicNetworkAccessValues returns an array of possible values for the PublicNetworkAccess const type.
func PossiblePublicNetworkAccessValues() []PublicNetworkAccess {
return []PublicNetworkAccess{Disabled, Enabled}
}