1package storage
2
3// Copyright (c) Microsoft and contributors.  All rights reserved.
4//
5// Licensed under the Apache License, Version 2.0 (the "License");
6// you may not use this file except in compliance with the License.
7// You may obtain a copy of the License at
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13//
14// See the License for the specific language governing permissions and
15// limitations under the License.
16//
17// Code generated by Microsoft (R) AutoRest Code Generator.
18// Changes may cause incorrect behavior and will be lost if the code is regenerated.
19
20// AccessTier enumerates the values for access tier.
21type AccessTier string
22
23const (
24	// Cool ...
25	Cool AccessTier = "Cool"
26	// Hot ...
27	Hot AccessTier = "Hot"
28)
29
30// PossibleAccessTierValues returns an array of possible values for the AccessTier const type.
31func PossibleAccessTierValues() []AccessTier {
32	return []AccessTier{Cool, Hot}
33}
34
35// AccountStatus enumerates the values for account status.
36type AccountStatus string
37
38const (
39	// Available ...
40	Available AccountStatus = "available"
41	// Unavailable ...
42	Unavailable AccountStatus = "unavailable"
43)
44
45// PossibleAccountStatusValues returns an array of possible values for the AccountStatus const type.
46func PossibleAccountStatusValues() []AccountStatus {
47	return []AccountStatus{Available, Unavailable}
48}
49
50// Action enumerates the values for action.
51type Action string
52
53const (
54	// Allow ...
55	Allow Action = "Allow"
56)
57
58// PossibleActionValues returns an array of possible values for the Action const type.
59func PossibleActionValues() []Action {
60	return []Action{Allow}
61}
62
63// Bypass enumerates the values for bypass.
64type Bypass string
65
66const (
67	// AzureServices ...
68	AzureServices Bypass = "AzureServices"
69	// Logging ...
70	Logging Bypass = "Logging"
71	// Metrics ...
72	Metrics Bypass = "Metrics"
73	// None ...
74	None Bypass = "None"
75)
76
77// PossibleBypassValues returns an array of possible values for the Bypass const type.
78func PossibleBypassValues() []Bypass {
79	return []Bypass{AzureServices, Logging, Metrics, None}
80}
81
82// DefaultAction enumerates the values for default action.
83type DefaultAction string
84
85const (
86	// DefaultActionAllow ...
87	DefaultActionAllow DefaultAction = "Allow"
88	// DefaultActionDeny ...
89	DefaultActionDeny DefaultAction = "Deny"
90)
91
92// PossibleDefaultActionValues returns an array of possible values for the DefaultAction const type.
93func PossibleDefaultActionValues() []DefaultAction {
94	return []DefaultAction{DefaultActionAllow, DefaultActionDeny}
95}
96
97// HTTPProtocol enumerates the values for http protocol.
98type HTTPProtocol string
99
100const (
101	// HTTPS ...
102	HTTPS HTTPProtocol = "https"
103	// Httpshttp ...
104	Httpshttp HTTPProtocol = "https,http"
105)
106
107// PossibleHTTPProtocolValues returns an array of possible values for the HTTPProtocol const type.
108func PossibleHTTPProtocolValues() []HTTPProtocol {
109	return []HTTPProtocol{HTTPS, Httpshttp}
110}
111
112// KeyPermission enumerates the values for key permission.
113type KeyPermission string
114
115const (
116	// Full ...
117	Full KeyPermission = "Full"
118	// Read ...
119	Read KeyPermission = "Read"
120)
121
122// PossibleKeyPermissionValues returns an array of possible values for the KeyPermission const type.
123func PossibleKeyPermissionValues() []KeyPermission {
124	return []KeyPermission{Full, Read}
125}
126
127// KeySource enumerates the values for key source.
128type KeySource string
129
130const (
131	// MicrosoftKeyvault ...
132	MicrosoftKeyvault KeySource = "Microsoft.Keyvault"
133	// MicrosoftStorage ...
134	MicrosoftStorage KeySource = "Microsoft.Storage"
135)
136
137// PossibleKeySourceValues returns an array of possible values for the KeySource const type.
138func PossibleKeySourceValues() []KeySource {
139	return []KeySource{MicrosoftKeyvault, MicrosoftStorage}
140}
141
142// Kind enumerates the values for kind.
143type Kind string
144
145const (
146	// BlobStorage ...
147	BlobStorage Kind = "BlobStorage"
148	// Storage ...
149	Storage Kind = "Storage"
150)
151
152// PossibleKindValues returns an array of possible values for the Kind const type.
153func PossibleKindValues() []Kind {
154	return []Kind{BlobStorage, Storage}
155}
156
157// Permissions enumerates the values for permissions.
158type Permissions string
159
160const (
161	// A ...
162	A Permissions = "a"
163	// C ...
164	C Permissions = "c"
165	// D ...
166	D Permissions = "d"
167	// L ...
168	L Permissions = "l"
169	// P ...
170	P Permissions = "p"
171	// R ...
172	R Permissions = "r"
173	// U ...
174	U Permissions = "u"
175	// W ...
176	W Permissions = "w"
177)
178
179// PossiblePermissionsValues returns an array of possible values for the Permissions const type.
180func PossiblePermissionsValues() []Permissions {
181	return []Permissions{A, C, D, L, P, R, U, W}
182}
183
184// ProvisioningState enumerates the values for provisioning state.
185type ProvisioningState string
186
187const (
188	// Creating ...
189	Creating ProvisioningState = "Creating"
190	// ResolvingDNS ...
191	ResolvingDNS ProvisioningState = "ResolvingDNS"
192	// Succeeded ...
193	Succeeded ProvisioningState = "Succeeded"
194)
195
196// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
197func PossibleProvisioningStateValues() []ProvisioningState {
198	return []ProvisioningState{Creating, ResolvingDNS, Succeeded}
199}
200
201// Reason enumerates the values for reason.
202type Reason string
203
204const (
205	// AccountNameInvalid ...
206	AccountNameInvalid Reason = "AccountNameInvalid"
207	// AlreadyExists ...
208	AlreadyExists Reason = "AlreadyExists"
209)
210
211// PossibleReasonValues returns an array of possible values for the Reason const type.
212func PossibleReasonValues() []Reason {
213	return []Reason{AccountNameInvalid, AlreadyExists}
214}
215
216// ReasonCode enumerates the values for reason code.
217type ReasonCode string
218
219const (
220	// NotAvailableForSubscription ...
221	NotAvailableForSubscription ReasonCode = "NotAvailableForSubscription"
222	// QuotaID ...
223	QuotaID ReasonCode = "QuotaId"
224)
225
226// PossibleReasonCodeValues returns an array of possible values for the ReasonCode const type.
227func PossibleReasonCodeValues() []ReasonCode {
228	return []ReasonCode{NotAvailableForSubscription, QuotaID}
229}
230
231// Services enumerates the values for services.
232type Services string
233
234const (
235	// B ...
236	B Services = "b"
237	// F ...
238	F Services = "f"
239	// Q ...
240	Q Services = "q"
241	// T ...
242	T Services = "t"
243)
244
245// PossibleServicesValues returns an array of possible values for the Services const type.
246func PossibleServicesValues() []Services {
247	return []Services{B, F, Q, T}
248}
249
250// SignedResource enumerates the values for signed resource.
251type SignedResource string
252
253const (
254	// SignedResourceB ...
255	SignedResourceB SignedResource = "b"
256	// SignedResourceC ...
257	SignedResourceC SignedResource = "c"
258	// SignedResourceF ...
259	SignedResourceF SignedResource = "f"
260	// SignedResourceS ...
261	SignedResourceS SignedResource = "s"
262)
263
264// PossibleSignedResourceValues returns an array of possible values for the SignedResource const type.
265func PossibleSignedResourceValues() []SignedResource {
266	return []SignedResource{SignedResourceB, SignedResourceC, SignedResourceF, SignedResourceS}
267}
268
269// SignedResourceTypes enumerates the values for signed resource types.
270type SignedResourceTypes string
271
272const (
273	// SignedResourceTypesC ...
274	SignedResourceTypesC SignedResourceTypes = "c"
275	// SignedResourceTypesO ...
276	SignedResourceTypesO SignedResourceTypes = "o"
277	// SignedResourceTypesS ...
278	SignedResourceTypesS SignedResourceTypes = "s"
279)
280
281// PossibleSignedResourceTypesValues returns an array of possible values for the SignedResourceTypes const type.
282func PossibleSignedResourceTypesValues() []SignedResourceTypes {
283	return []SignedResourceTypes{SignedResourceTypesC, SignedResourceTypesO, SignedResourceTypesS}
284}
285
286// SkuName enumerates the values for sku name.
287type SkuName string
288
289const (
290	// PremiumLRS ...
291	PremiumLRS SkuName = "Premium_LRS"
292	// StandardGRS ...
293	StandardGRS SkuName = "Standard_GRS"
294	// StandardLRS ...
295	StandardLRS SkuName = "Standard_LRS"
296	// StandardRAGRS ...
297	StandardRAGRS SkuName = "Standard_RAGRS"
298	// StandardZRS ...
299	StandardZRS SkuName = "Standard_ZRS"
300)
301
302// PossibleSkuNameValues returns an array of possible values for the SkuName const type.
303func PossibleSkuNameValues() []SkuName {
304	return []SkuName{PremiumLRS, StandardGRS, StandardLRS, StandardRAGRS, StandardZRS}
305}
306
307// SkuTier enumerates the values for sku tier.
308type SkuTier string
309
310const (
311	// Premium ...
312	Premium SkuTier = "Premium"
313	// Standard ...
314	Standard SkuTier = "Standard"
315)
316
317// PossibleSkuTierValues returns an array of possible values for the SkuTier const type.
318func PossibleSkuTierValues() []SkuTier {
319	return []SkuTier{Premium, Standard}
320}
321
322// State enumerates the values for state.
323type State string
324
325const (
326	// StateDeprovisioning ...
327	StateDeprovisioning State = "deprovisioning"
328	// StateFailed ...
329	StateFailed State = "failed"
330	// StateNetworkSourceDeleted ...
331	StateNetworkSourceDeleted State = "networkSourceDeleted"
332	// StateProvisioning ...
333	StateProvisioning State = "provisioning"
334	// StateSucceeded ...
335	StateSucceeded State = "succeeded"
336)
337
338// PossibleStateValues returns an array of possible values for the State const type.
339func PossibleStateValues() []State {
340	return []State{StateDeprovisioning, StateFailed, StateNetworkSourceDeleted, StateProvisioning, StateSucceeded}
341}
342
343// UsageUnit enumerates the values for usage unit.
344type UsageUnit string
345
346const (
347	// Bytes ...
348	Bytes UsageUnit = "Bytes"
349	// BytesPerSecond ...
350	BytesPerSecond UsageUnit = "BytesPerSecond"
351	// Count ...
352	Count UsageUnit = "Count"
353	// CountsPerSecond ...
354	CountsPerSecond UsageUnit = "CountsPerSecond"
355	// Percent ...
356	Percent UsageUnit = "Percent"
357	// Seconds ...
358	Seconds UsageUnit = "Seconds"
359)
360
361// PossibleUsageUnitValues returns an array of possible values for the UsageUnit const type.
362func PossibleUsageUnitValues() []UsageUnit {
363	return []UsageUnit{Bytes, BytesPerSecond, Count, CountsPerSecond, Percent, Seconds}
364}
365