1package storagecache
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// CacheIdentityType enumerates the values for cache identity type.
21type CacheIdentityType string
22
23const (
24	// None ...
25	None CacheIdentityType = "None"
26	// SystemAssigned ...
27	SystemAssigned CacheIdentityType = "SystemAssigned"
28)
29
30// PossibleCacheIdentityTypeValues returns an array of possible values for the CacheIdentityType const type.
31func PossibleCacheIdentityTypeValues() []CacheIdentityType {
32	return []CacheIdentityType{None, SystemAssigned}
33}
34
35// CreatedByType enumerates the values for created by type.
36type CreatedByType string
37
38const (
39	// Application ...
40	Application CreatedByType = "Application"
41	// Key ...
42	Key CreatedByType = "Key"
43	// ManagedIdentity ...
44	ManagedIdentity CreatedByType = "ManagedIdentity"
45	// User ...
46	User CreatedByType = "User"
47)
48
49// PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.
50func PossibleCreatedByTypeValues() []CreatedByType {
51	return []CreatedByType{Application, Key, ManagedIdentity, User}
52}
53
54// DomainJoinedType enumerates the values for domain joined type.
55type DomainJoinedType string
56
57const (
58	// Error ...
59	Error DomainJoinedType = "Error"
60	// No ...
61	No DomainJoinedType = "No"
62	// Yes ...
63	Yes DomainJoinedType = "Yes"
64)
65
66// PossibleDomainJoinedTypeValues returns an array of possible values for the DomainJoinedType const type.
67func PossibleDomainJoinedTypeValues() []DomainJoinedType {
68	return []DomainJoinedType{Error, No, Yes}
69}
70
71// FirmwareStatusType enumerates the values for firmware status type.
72type FirmwareStatusType string
73
74const (
75	// Available ...
76	Available FirmwareStatusType = "available"
77	// Unavailable ...
78	Unavailable FirmwareStatusType = "unavailable"
79)
80
81// PossibleFirmwareStatusTypeValues returns an array of possible values for the FirmwareStatusType const type.
82func PossibleFirmwareStatusTypeValues() []FirmwareStatusType {
83	return []FirmwareStatusType{Available, Unavailable}
84}
85
86// HealthStateType enumerates the values for health state type.
87type HealthStateType string
88
89const (
90	// Degraded ...
91	Degraded HealthStateType = "Degraded"
92	// Down ...
93	Down HealthStateType = "Down"
94	// Flushing ...
95	Flushing HealthStateType = "Flushing"
96	// Healthy ...
97	Healthy HealthStateType = "Healthy"
98	// Stopped ...
99	Stopped HealthStateType = "Stopped"
100	// Stopping ...
101	Stopping HealthStateType = "Stopping"
102	// Transitioning ...
103	Transitioning HealthStateType = "Transitioning"
104	// Unknown ...
105	Unknown HealthStateType = "Unknown"
106	// Upgrading ...
107	Upgrading HealthStateType = "Upgrading"
108)
109
110// PossibleHealthStateTypeValues returns an array of possible values for the HealthStateType const type.
111func PossibleHealthStateTypeValues() []HealthStateType {
112	return []HealthStateType{Degraded, Down, Flushing, Healthy, Stopped, Stopping, Transitioning, Unknown, Upgrading}
113}
114
115// MetricAggregationType enumerates the values for metric aggregation type.
116type MetricAggregationType string
117
118const (
119	// MetricAggregationTypeAverage ...
120	MetricAggregationTypeAverage MetricAggregationType = "Average"
121	// MetricAggregationTypeCount ...
122	MetricAggregationTypeCount MetricAggregationType = "Count"
123	// MetricAggregationTypeMaximum ...
124	MetricAggregationTypeMaximum MetricAggregationType = "Maximum"
125	// MetricAggregationTypeMinimum ...
126	MetricAggregationTypeMinimum MetricAggregationType = "Minimum"
127	// MetricAggregationTypeNone ...
128	MetricAggregationTypeNone MetricAggregationType = "None"
129	// MetricAggregationTypeNotSpecified ...
130	MetricAggregationTypeNotSpecified MetricAggregationType = "NotSpecified"
131	// MetricAggregationTypeTotal ...
132	MetricAggregationTypeTotal MetricAggregationType = "Total"
133)
134
135// PossibleMetricAggregationTypeValues returns an array of possible values for the MetricAggregationType const type.
136func PossibleMetricAggregationTypeValues() []MetricAggregationType {
137	return []MetricAggregationType{MetricAggregationTypeAverage, MetricAggregationTypeCount, MetricAggregationTypeMaximum, MetricAggregationTypeMinimum, MetricAggregationTypeNone, MetricAggregationTypeNotSpecified, MetricAggregationTypeTotal}
138}
139
140// NfsAccessRuleAccess enumerates the values for nfs access rule access.
141type NfsAccessRuleAccess string
142
143const (
144	// NfsAccessRuleAccessNo ...
145	NfsAccessRuleAccessNo NfsAccessRuleAccess = "no"
146	// NfsAccessRuleAccessRo ...
147	NfsAccessRuleAccessRo NfsAccessRuleAccess = "ro"
148	// NfsAccessRuleAccessRw ...
149	NfsAccessRuleAccessRw NfsAccessRuleAccess = "rw"
150)
151
152// PossibleNfsAccessRuleAccessValues returns an array of possible values for the NfsAccessRuleAccess const type.
153func PossibleNfsAccessRuleAccessValues() []NfsAccessRuleAccess {
154	return []NfsAccessRuleAccess{NfsAccessRuleAccessNo, NfsAccessRuleAccessRo, NfsAccessRuleAccessRw}
155}
156
157// NfsAccessRuleScope enumerates the values for nfs access rule scope.
158type NfsAccessRuleScope string
159
160const (
161	// Default ...
162	Default NfsAccessRuleScope = "default"
163	// Host ...
164	Host NfsAccessRuleScope = "host"
165	// Network ...
166	Network NfsAccessRuleScope = "network"
167)
168
169// PossibleNfsAccessRuleScopeValues returns an array of possible values for the NfsAccessRuleScope const type.
170func PossibleNfsAccessRuleScopeValues() []NfsAccessRuleScope {
171	return []NfsAccessRuleScope{Default, Host, Network}
172}
173
174// ProvisioningStateType enumerates the values for provisioning state type.
175type ProvisioningStateType string
176
177const (
178	// Cancelled ...
179	Cancelled ProvisioningStateType = "Cancelled"
180	// Creating ...
181	Creating ProvisioningStateType = "Creating"
182	// Deleting ...
183	Deleting ProvisioningStateType = "Deleting"
184	// Failed ...
185	Failed ProvisioningStateType = "Failed"
186	// Succeeded ...
187	Succeeded ProvisioningStateType = "Succeeded"
188	// Updating ...
189	Updating ProvisioningStateType = "Updating"
190)
191
192// PossibleProvisioningStateTypeValues returns an array of possible values for the ProvisioningStateType const type.
193func PossibleProvisioningStateTypeValues() []ProvisioningStateType {
194	return []ProvisioningStateType{Cancelled, Creating, Deleting, Failed, Succeeded, Updating}
195}
196
197// ReasonCode enumerates the values for reason code.
198type ReasonCode string
199
200const (
201	// NotAvailableForSubscription ...
202	NotAvailableForSubscription ReasonCode = "NotAvailableForSubscription"
203	// QuotaID ...
204	QuotaID ReasonCode = "QuotaId"
205)
206
207// PossibleReasonCodeValues returns an array of possible values for the ReasonCode const type.
208func PossibleReasonCodeValues() []ReasonCode {
209	return []ReasonCode{NotAvailableForSubscription, QuotaID}
210}
211
212// TargetType enumerates the values for target type.
213type TargetType string
214
215const (
216	// TargetTypeClfs ...
217	TargetTypeClfs TargetType = "clfs"
218	// TargetTypeNfs3 ...
219	TargetTypeNfs3 TargetType = "nfs3"
220	// TargetTypeStorageTargetProperties ...
221	TargetTypeStorageTargetProperties TargetType = "StorageTargetProperties"
222	// TargetTypeUnknown ...
223	TargetTypeUnknown TargetType = "unknown"
224)
225
226// PossibleTargetTypeValues returns an array of possible values for the TargetType const type.
227func PossibleTargetTypeValues() []TargetType {
228	return []TargetType{TargetTypeClfs, TargetTypeNfs3, TargetTypeStorageTargetProperties, TargetTypeUnknown}
229}
230
231// UsernameDownloadedType enumerates the values for username downloaded type.
232type UsernameDownloadedType string
233
234const (
235	// UsernameDownloadedTypeError ...
236	UsernameDownloadedTypeError UsernameDownloadedType = "Error"
237	// UsernameDownloadedTypeNo ...
238	UsernameDownloadedTypeNo UsernameDownloadedType = "No"
239	// UsernameDownloadedTypeYes ...
240	UsernameDownloadedTypeYes UsernameDownloadedType = "Yes"
241)
242
243// PossibleUsernameDownloadedTypeValues returns an array of possible values for the UsernameDownloadedType const type.
244func PossibleUsernameDownloadedTypeValues() []UsernameDownloadedType {
245	return []UsernameDownloadedType{UsernameDownloadedTypeError, UsernameDownloadedTypeNo, UsernameDownloadedTypeYes}
246}
247
248// UsernameSource enumerates the values for username source.
249type UsernameSource string
250
251const (
252	// UsernameSourceAD ...
253	UsernameSourceAD UsernameSource = "AD"
254	// UsernameSourceFile ...
255	UsernameSourceFile UsernameSource = "File"
256	// UsernameSourceLDAP ...
257	UsernameSourceLDAP UsernameSource = "LDAP"
258	// UsernameSourceNone ...
259	UsernameSourceNone UsernameSource = "None"
260)
261
262// PossibleUsernameSourceValues returns an array of possible values for the UsernameSource const type.
263func PossibleUsernameSourceValues() []UsernameSource {
264	return []UsernameSource{UsernameSourceAD, UsernameSourceFile, UsernameSourceLDAP, UsernameSourceNone}
265}
266