1package machinelearningservices 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// AllocationState enumerates the values for allocation state. 10type AllocationState string 11 12const ( 13 // Resizing ... 14 Resizing AllocationState = "Resizing" 15 // Steady ... 16 Steady AllocationState = "Steady" 17) 18 19// PossibleAllocationStateValues returns an array of possible values for the AllocationState const type. 20func PossibleAllocationStateValues() []AllocationState { 21 return []AllocationState{Resizing, Steady} 22} 23 24// ComputeType enumerates the values for compute type. 25type ComputeType string 26 27const ( 28 // ComputeTypeAKS ... 29 ComputeTypeAKS ComputeType = "AKS" 30 // ComputeTypeAmlCompute ... 31 ComputeTypeAmlCompute ComputeType = "AmlCompute" 32 // ComputeTypeDatabricks ... 33 ComputeTypeDatabricks ComputeType = "Databricks" 34 // ComputeTypeDataFactory ... 35 ComputeTypeDataFactory ComputeType = "DataFactory" 36 // ComputeTypeDataLakeAnalytics ... 37 ComputeTypeDataLakeAnalytics ComputeType = "DataLakeAnalytics" 38 // ComputeTypeHDInsight ... 39 ComputeTypeHDInsight ComputeType = "HDInsight" 40 // ComputeTypeVirtualMachine ... 41 ComputeTypeVirtualMachine ComputeType = "VirtualMachine" 42) 43 44// PossibleComputeTypeValues returns an array of possible values for the ComputeType const type. 45func PossibleComputeTypeValues() []ComputeType { 46 return []ComputeType{ComputeTypeAKS, ComputeTypeAmlCompute, ComputeTypeDatabricks, ComputeTypeDataFactory, ComputeTypeDataLakeAnalytics, ComputeTypeHDInsight, ComputeTypeVirtualMachine} 47} 48 49// ComputeTypeBasicCompute enumerates the values for compute type basic compute. 50type ComputeTypeBasicCompute string 51 52const ( 53 // ComputeTypeAKS1 ... 54 ComputeTypeAKS1 ComputeTypeBasicCompute = "AKS" 55 // ComputeTypeAmlCompute1 ... 56 ComputeTypeAmlCompute1 ComputeTypeBasicCompute = "AmlCompute" 57 // ComputeTypeCompute ... 58 ComputeTypeCompute ComputeTypeBasicCompute = "Compute" 59 // ComputeTypeDatabricks1 ... 60 ComputeTypeDatabricks1 ComputeTypeBasicCompute = "Databricks" 61 // ComputeTypeDataFactory1 ... 62 ComputeTypeDataFactory1 ComputeTypeBasicCompute = "DataFactory" 63 // ComputeTypeDataLakeAnalytics1 ... 64 ComputeTypeDataLakeAnalytics1 ComputeTypeBasicCompute = "DataLakeAnalytics" 65 // ComputeTypeHDInsight1 ... 66 ComputeTypeHDInsight1 ComputeTypeBasicCompute = "HDInsight" 67 // ComputeTypeVirtualMachine1 ... 68 ComputeTypeVirtualMachine1 ComputeTypeBasicCompute = "VirtualMachine" 69) 70 71// PossibleComputeTypeBasicComputeValues returns an array of possible values for the ComputeTypeBasicCompute const type. 72func PossibleComputeTypeBasicComputeValues() []ComputeTypeBasicCompute { 73 return []ComputeTypeBasicCompute{ComputeTypeAKS1, ComputeTypeAmlCompute1, ComputeTypeCompute, ComputeTypeDatabricks1, ComputeTypeDataFactory1, ComputeTypeDataLakeAnalytics1, ComputeTypeHDInsight1, ComputeTypeVirtualMachine1} 74} 75 76// ComputeTypeBasicComputeNodesInformation enumerates the values for compute type basic compute nodes 77// information. 78type ComputeTypeBasicComputeNodesInformation string 79 80const ( 81 // ComputeTypeBasicComputeNodesInformationComputeTypeAmlCompute ... 82 ComputeTypeBasicComputeNodesInformationComputeTypeAmlCompute ComputeTypeBasicComputeNodesInformation = "AmlCompute" 83 // ComputeTypeBasicComputeNodesInformationComputeTypeComputeNodesInformation ... 84 ComputeTypeBasicComputeNodesInformationComputeTypeComputeNodesInformation ComputeTypeBasicComputeNodesInformation = "ComputeNodesInformation" 85) 86 87// PossibleComputeTypeBasicComputeNodesInformationValues returns an array of possible values for the ComputeTypeBasicComputeNodesInformation const type. 88func PossibleComputeTypeBasicComputeNodesInformationValues() []ComputeTypeBasicComputeNodesInformation { 89 return []ComputeTypeBasicComputeNodesInformation{ComputeTypeBasicComputeNodesInformationComputeTypeAmlCompute, ComputeTypeBasicComputeNodesInformationComputeTypeComputeNodesInformation} 90} 91 92// ComputeTypeBasicComputeSecrets enumerates the values for compute type basic compute secrets. 93type ComputeTypeBasicComputeSecrets string 94 95const ( 96 // ComputeTypeBasicComputeSecretsComputeTypeAKS ... 97 ComputeTypeBasicComputeSecretsComputeTypeAKS ComputeTypeBasicComputeSecrets = "AKS" 98 // ComputeTypeBasicComputeSecretsComputeTypeComputeSecrets ... 99 ComputeTypeBasicComputeSecretsComputeTypeComputeSecrets ComputeTypeBasicComputeSecrets = "ComputeSecrets" 100 // ComputeTypeBasicComputeSecretsComputeTypeDatabricks ... 101 ComputeTypeBasicComputeSecretsComputeTypeDatabricks ComputeTypeBasicComputeSecrets = "Databricks" 102 // ComputeTypeBasicComputeSecretsComputeTypeVirtualMachine ... 103 ComputeTypeBasicComputeSecretsComputeTypeVirtualMachine ComputeTypeBasicComputeSecrets = "VirtualMachine" 104) 105 106// PossibleComputeTypeBasicComputeSecretsValues returns an array of possible values for the ComputeTypeBasicComputeSecrets const type. 107func PossibleComputeTypeBasicComputeSecretsValues() []ComputeTypeBasicComputeSecrets { 108 return []ComputeTypeBasicComputeSecrets{ComputeTypeBasicComputeSecretsComputeTypeAKS, ComputeTypeBasicComputeSecretsComputeTypeComputeSecrets, ComputeTypeBasicComputeSecretsComputeTypeDatabricks, ComputeTypeBasicComputeSecretsComputeTypeVirtualMachine} 109} 110 111// EncryptionStatus enumerates the values for encryption status. 112type EncryptionStatus string 113 114const ( 115 // Disabled ... 116 Disabled EncryptionStatus = "Disabled" 117 // Enabled ... 118 Enabled EncryptionStatus = "Enabled" 119) 120 121// PossibleEncryptionStatusValues returns an array of possible values for the EncryptionStatus const type. 122func PossibleEncryptionStatusValues() []EncryptionStatus { 123 return []EncryptionStatus{Disabled, Enabled} 124} 125 126// NodeState enumerates the values for node state. 127type NodeState string 128 129const ( 130 // Idle ... 131 Idle NodeState = "idle" 132 // Leaving ... 133 Leaving NodeState = "leaving" 134 // Preempted ... 135 Preempted NodeState = "preempted" 136 // Preparing ... 137 Preparing NodeState = "preparing" 138 // Running ... 139 Running NodeState = "running" 140 // Unusable ... 141 Unusable NodeState = "unusable" 142) 143 144// PossibleNodeStateValues returns an array of possible values for the NodeState const type. 145func PossibleNodeStateValues() []NodeState { 146 return []NodeState{Idle, Leaving, Preempted, Preparing, Running, Unusable} 147} 148 149// PrivateEndpointConnectionProvisioningState enumerates the values for private endpoint connection 150// provisioning state. 151type PrivateEndpointConnectionProvisioningState string 152 153const ( 154 // Creating ... 155 Creating PrivateEndpointConnectionProvisioningState = "Creating" 156 // Deleting ... 157 Deleting PrivateEndpointConnectionProvisioningState = "Deleting" 158 // Failed ... 159 Failed PrivateEndpointConnectionProvisioningState = "Failed" 160 // Succeeded ... 161 Succeeded PrivateEndpointConnectionProvisioningState = "Succeeded" 162) 163 164// PossiblePrivateEndpointConnectionProvisioningStateValues returns an array of possible values for the PrivateEndpointConnectionProvisioningState const type. 165func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState { 166 return []PrivateEndpointConnectionProvisioningState{Creating, Deleting, Failed, Succeeded} 167} 168 169// PrivateEndpointServiceConnectionStatus enumerates the values for private endpoint service connection status. 170type PrivateEndpointServiceConnectionStatus string 171 172const ( 173 // Approved ... 174 Approved PrivateEndpointServiceConnectionStatus = "Approved" 175 // Pending ... 176 Pending PrivateEndpointServiceConnectionStatus = "Pending" 177 // Rejected ... 178 Rejected PrivateEndpointServiceConnectionStatus = "Rejected" 179) 180 181// PossiblePrivateEndpointServiceConnectionStatusValues returns an array of possible values for the PrivateEndpointServiceConnectionStatus const type. 182func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus { 183 return []PrivateEndpointServiceConnectionStatus{Approved, Pending, Rejected} 184} 185 186// ProvisioningState enumerates the values for provisioning state. 187type ProvisioningState string 188 189const ( 190 // ProvisioningStateCanceled ... 191 ProvisioningStateCanceled ProvisioningState = "Canceled" 192 // ProvisioningStateCreating ... 193 ProvisioningStateCreating ProvisioningState = "Creating" 194 // ProvisioningStateDeleting ... 195 ProvisioningStateDeleting ProvisioningState = "Deleting" 196 // ProvisioningStateFailed ... 197 ProvisioningStateFailed ProvisioningState = "Failed" 198 // ProvisioningStateSucceeded ... 199 ProvisioningStateSucceeded ProvisioningState = "Succeeded" 200 // ProvisioningStateUnknown ... 201 ProvisioningStateUnknown ProvisioningState = "Unknown" 202 // ProvisioningStateUpdating ... 203 ProvisioningStateUpdating ProvisioningState = "Updating" 204) 205 206// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type. 207func PossibleProvisioningStateValues() []ProvisioningState { 208 return []ProvisioningState{ProvisioningStateCanceled, ProvisioningStateCreating, ProvisioningStateDeleting, ProvisioningStateFailed, ProvisioningStateSucceeded, ProvisioningStateUnknown, ProvisioningStateUpdating} 209} 210 211// QuotaUnit enumerates the values for quota unit. 212type QuotaUnit string 213 214const ( 215 // Count ... 216 Count QuotaUnit = "Count" 217) 218 219// PossibleQuotaUnitValues returns an array of possible values for the QuotaUnit const type. 220func PossibleQuotaUnitValues() []QuotaUnit { 221 return []QuotaUnit{Count} 222} 223 224// ReasonCode enumerates the values for reason code. 225type ReasonCode string 226 227const ( 228 // NotAvailableForRegion ... 229 NotAvailableForRegion ReasonCode = "NotAvailableForRegion" 230 // NotAvailableForSubscription ... 231 NotAvailableForSubscription ReasonCode = "NotAvailableForSubscription" 232 // NotSpecified ... 233 NotSpecified ReasonCode = "NotSpecified" 234) 235 236// PossibleReasonCodeValues returns an array of possible values for the ReasonCode const type. 237func PossibleReasonCodeValues() []ReasonCode { 238 return []ReasonCode{NotAvailableForRegion, NotAvailableForSubscription, NotSpecified} 239} 240 241// RemoteLoginPortPublicAccess enumerates the values for remote login port public access. 242type RemoteLoginPortPublicAccess string 243 244const ( 245 // RemoteLoginPortPublicAccessDisabled ... 246 RemoteLoginPortPublicAccessDisabled RemoteLoginPortPublicAccess = "Disabled" 247 // RemoteLoginPortPublicAccessEnabled ... 248 RemoteLoginPortPublicAccessEnabled RemoteLoginPortPublicAccess = "Enabled" 249 // RemoteLoginPortPublicAccessNotSpecified ... 250 RemoteLoginPortPublicAccessNotSpecified RemoteLoginPortPublicAccess = "NotSpecified" 251) 252 253// PossibleRemoteLoginPortPublicAccessValues returns an array of possible values for the RemoteLoginPortPublicAccess const type. 254func PossibleRemoteLoginPortPublicAccessValues() []RemoteLoginPortPublicAccess { 255 return []RemoteLoginPortPublicAccess{RemoteLoginPortPublicAccessDisabled, RemoteLoginPortPublicAccessEnabled, RemoteLoginPortPublicAccessNotSpecified} 256} 257 258// ResourceIdentityType enumerates the values for resource identity type. 259type ResourceIdentityType string 260 261const ( 262 // SystemAssigned ... 263 SystemAssigned ResourceIdentityType = "SystemAssigned" 264) 265 266// PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type. 267func PossibleResourceIdentityTypeValues() []ResourceIdentityType { 268 return []ResourceIdentityType{SystemAssigned} 269} 270 271// Status enumerates the values for status. 272type Status string 273 274const ( 275 // Failure ... 276 Failure Status = "Failure" 277 // InvalidQuotaBelowClusterMinimum ... 278 InvalidQuotaBelowClusterMinimum Status = "InvalidQuotaBelowClusterMinimum" 279 // InvalidQuotaExceedsSubscriptionLimit ... 280 InvalidQuotaExceedsSubscriptionLimit Status = "InvalidQuotaExceedsSubscriptionLimit" 281 // InvalidVMFamilyName ... 282 InvalidVMFamilyName Status = "InvalidVMFamilyName" 283 // OperationNotEnabledForRegion ... 284 OperationNotEnabledForRegion Status = "OperationNotEnabledForRegion" 285 // OperationNotSupportedForSku ... 286 OperationNotSupportedForSku Status = "OperationNotSupportedForSku" 287 // Success ... 288 Success Status = "Success" 289 // Undefined ... 290 Undefined Status = "Undefined" 291) 292 293// PossibleStatusValues returns an array of possible values for the Status const type. 294func PossibleStatusValues() []Status { 295 return []Status{Failure, InvalidQuotaBelowClusterMinimum, InvalidQuotaExceedsSubscriptionLimit, InvalidVMFamilyName, OperationNotEnabledForRegion, OperationNotSupportedForSku, Success, Undefined} 296} 297 298// Status1 enumerates the values for status 1. 299type Status1 string 300 301const ( 302 // Status1Disabled ... 303 Status1Disabled Status1 = "Disabled" 304 // Status1Enabled ... 305 Status1Enabled Status1 = "Enabled" 306) 307 308// PossibleStatus1Values returns an array of possible values for the Status1 const type. 309func PossibleStatus1Values() []Status1 { 310 return []Status1{Status1Disabled, Status1Enabled} 311} 312 313// UnderlyingResourceAction enumerates the values for underlying resource action. 314type UnderlyingResourceAction string 315 316const ( 317 // Delete ... 318 Delete UnderlyingResourceAction = "Delete" 319 // Detach ... 320 Detach UnderlyingResourceAction = "Detach" 321) 322 323// PossibleUnderlyingResourceActionValues returns an array of possible values for the UnderlyingResourceAction const type. 324func PossibleUnderlyingResourceActionValues() []UnderlyingResourceAction { 325 return []UnderlyingResourceAction{Delete, Detach} 326} 327 328// UsageUnit enumerates the values for usage unit. 329type UsageUnit string 330 331const ( 332 // UsageUnitCount ... 333 UsageUnitCount UsageUnit = "Count" 334) 335 336// PossibleUsageUnitValues returns an array of possible values for the UsageUnit const type. 337func PossibleUsageUnitValues() []UsageUnit { 338 return []UsageUnit{UsageUnitCount} 339} 340 341// VMPriority enumerates the values for vm priority. 342type VMPriority string 343 344const ( 345 // Dedicated ... 346 Dedicated VMPriority = "Dedicated" 347 // LowPriority ... 348 LowPriority VMPriority = "LowPriority" 349) 350 351// PossibleVMPriorityValues returns an array of possible values for the VMPriority const type. 352func PossibleVMPriorityValues() []VMPriority { 353 return []VMPriority{Dedicated, LowPriority} 354} 355