forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 1
/
zz_generated_constants.go
233 lines (194 loc) · 6.26 KB
/
zz_generated_constants.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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
//go:build go1.16
// +build go1.16
// 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.
package armpurview
const (
moduleName = "armpurview"
moduleVersion = "v0.2.1"
)
// CreatedByType - The type of identity that created the resource.
type CreatedByType string
const (
CreatedByTypeApplication CreatedByType = "Application"
CreatedByTypeKey CreatedByType = "Key"
CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
CreatedByTypeUser CreatedByType = "User"
)
// PossibleCreatedByTypeValues returns the possible values for the CreatedByType const type.
func PossibleCreatedByTypeValues() []CreatedByType {
return []CreatedByType{
CreatedByTypeApplication,
CreatedByTypeKey,
CreatedByTypeManagedIdentity,
CreatedByTypeUser,
}
}
// ToPtr returns a *CreatedByType pointing to the current value.
func (c CreatedByType) ToPtr() *CreatedByType {
return &c
}
// LastModifiedByType - The type of identity that last modified the resource.
type LastModifiedByType string
const (
LastModifiedByTypeApplication LastModifiedByType = "Application"
LastModifiedByTypeKey LastModifiedByType = "Key"
LastModifiedByTypeManagedIdentity LastModifiedByType = "ManagedIdentity"
LastModifiedByTypeUser LastModifiedByType = "User"
)
// PossibleLastModifiedByTypeValues returns the possible values for the LastModifiedByType const type.
func PossibleLastModifiedByTypeValues() []LastModifiedByType {
return []LastModifiedByType{
LastModifiedByTypeApplication,
LastModifiedByTypeKey,
LastModifiedByTypeManagedIdentity,
LastModifiedByTypeUser,
}
}
// ToPtr returns a *LastModifiedByType pointing to the current value.
func (c LastModifiedByType) ToPtr() *LastModifiedByType {
return &c
}
// Name - Gets or sets the sku name.
type Name string
const (
NameStandard Name = "Standard"
)
// PossibleNameValues returns the possible values for the Name const type.
func PossibleNameValues() []Name {
return []Name{
NameStandard,
}
}
// ToPtr returns a *Name pointing to the current value.
func (c Name) ToPtr() *Name {
return &c
}
// ProvisioningState - Gets or sets the state of the provisioning.
type ProvisioningState string
const (
ProvisioningStateCanceled ProvisioningState = "Canceled"
ProvisioningStateCreating ProvisioningState = "Creating"
ProvisioningStateDeleting ProvisioningState = "Deleting"
ProvisioningStateFailed ProvisioningState = "Failed"
ProvisioningStateMoving ProvisioningState = "Moving"
ProvisioningStateSoftDeleted ProvisioningState = "SoftDeleted"
ProvisioningStateSoftDeleting ProvisioningState = "SoftDeleting"
ProvisioningStateSucceeded ProvisioningState = "Succeeded"
ProvisioningStateUnknown ProvisioningState = "Unknown"
)
// PossibleProvisioningStateValues returns the possible values for the ProvisioningState const type.
func PossibleProvisioningStateValues() []ProvisioningState {
return []ProvisioningState{
ProvisioningStateCanceled,
ProvisioningStateCreating,
ProvisioningStateDeleting,
ProvisioningStateFailed,
ProvisioningStateMoving,
ProvisioningStateSoftDeleted,
ProvisioningStateSoftDeleting,
ProvisioningStateSucceeded,
ProvisioningStateUnknown,
}
}
// ToPtr returns a *ProvisioningState pointing to the current value.
func (c ProvisioningState) ToPtr() *ProvisioningState {
return &c
}
// PublicNetworkAccess - Gets or sets the public network access.
type PublicNetworkAccess string
const (
PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled"
PublicNetworkAccessNotSpecified PublicNetworkAccess = "NotSpecified"
)
// PossiblePublicNetworkAccessValues returns the possible values for the PublicNetworkAccess const type.
func PossiblePublicNetworkAccessValues() []PublicNetworkAccess {
return []PublicNetworkAccess{
PublicNetworkAccessDisabled,
PublicNetworkAccessEnabled,
PublicNetworkAccessNotSpecified,
}
}
// ToPtr returns a *PublicNetworkAccess pointing to the current value.
func (c PublicNetworkAccess) ToPtr() *PublicNetworkAccess {
return &c
}
// Reason - The reason the name is not available.
type Reason string
const (
ReasonAlreadyExists Reason = "AlreadyExists"
ReasonInvalid Reason = "Invalid"
)
// PossibleReasonValues returns the possible values for the Reason const type.
func PossibleReasonValues() []Reason {
return []Reason{
ReasonAlreadyExists,
ReasonInvalid,
}
}
// ToPtr returns a *Reason pointing to the current value.
func (c Reason) ToPtr() *Reason {
return &c
}
// ScopeType - The scope where the default account is set.
type ScopeType string
const (
ScopeTypeSubscription ScopeType = "Subscription"
ScopeTypeTenant ScopeType = "Tenant"
)
// PossibleScopeTypeValues returns the possible values for the ScopeType const type.
func PossibleScopeTypeValues() []ScopeType {
return []ScopeType{
ScopeTypeSubscription,
ScopeTypeTenant,
}
}
// ToPtr returns a *ScopeType pointing to the current value.
func (c ScopeType) ToPtr() *ScopeType {
return &c
}
// Status - The status.
type Status string
const (
StatusApproved Status = "Approved"
StatusDisconnected Status = "Disconnected"
StatusPending Status = "Pending"
StatusRejected Status = "Rejected"
StatusUnknown Status = "Unknown"
)
// PossibleStatusValues returns the possible values for the Status const type.
func PossibleStatusValues() []Status {
return []Status{
StatusApproved,
StatusDisconnected,
StatusPending,
StatusRejected,
StatusUnknown,
}
}
// ToPtr returns a *Status pointing to the current value.
func (c Status) ToPtr() *Status {
return &c
}
// Type - Identity Type
type Type string
const (
TypeNone Type = "None"
TypeSystemAssigned Type = "SystemAssigned"
TypeUserAssigned Type = "UserAssigned"
)
// PossibleTypeValues returns the possible values for the Type const type.
func PossibleTypeValues() []Type {
return []Type{
TypeNone,
TypeSystemAssigned,
TypeUserAssigned,
}
}
// ToPtr returns a *Type pointing to the current value.
func (c Type) ToPtr() *Type {
return &c
}