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