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// ApplicationSharingPolicy enumerates the values for application sharing policy. 25type ApplicationSharingPolicy string 26 27const ( 28 // Personal ... 29 Personal ApplicationSharingPolicy = "Personal" 30 // Shared ... 31 Shared ApplicationSharingPolicy = "Shared" 32) 33 34// PossibleApplicationSharingPolicyValues returns an array of possible values for the ApplicationSharingPolicy const type. 35func PossibleApplicationSharingPolicyValues() []ApplicationSharingPolicy { 36 return []ApplicationSharingPolicy{Personal, Shared} 37} 38 39// ComputeInstanceAuthorizationType enumerates the values for compute instance authorization type. 40type ComputeInstanceAuthorizationType string 41 42const ( 43 // ComputeInstanceAuthorizationTypePersonal ... 44 ComputeInstanceAuthorizationTypePersonal ComputeInstanceAuthorizationType = "personal" 45) 46 47// PossibleComputeInstanceAuthorizationTypeValues returns an array of possible values for the ComputeInstanceAuthorizationType const type. 48func PossibleComputeInstanceAuthorizationTypeValues() []ComputeInstanceAuthorizationType { 49 return []ComputeInstanceAuthorizationType{ComputeInstanceAuthorizationTypePersonal} 50} 51 52// ComputeInstanceState enumerates the values for compute instance state. 53type ComputeInstanceState string 54 55const ( 56 // CreateFailed ... 57 CreateFailed ComputeInstanceState = "CreateFailed" 58 // Creating ... 59 Creating ComputeInstanceState = "Creating" 60 // Deleting ... 61 Deleting ComputeInstanceState = "Deleting" 62 // JobRunning ... 63 JobRunning ComputeInstanceState = "JobRunning" 64 // RestartFailed ... 65 RestartFailed ComputeInstanceState = "RestartFailed" 66 // Restarting ... 67 Restarting ComputeInstanceState = "Restarting" 68 // Running ... 69 Running ComputeInstanceState = "Running" 70 // SettingUp ... 71 SettingUp ComputeInstanceState = "SettingUp" 72 // StartFailed ... 73 StartFailed ComputeInstanceState = "StartFailed" 74 // Starting ... 75 Starting ComputeInstanceState = "Starting" 76 // StopFailed ... 77 StopFailed ComputeInstanceState = "StopFailed" 78 // Stopped ... 79 Stopped ComputeInstanceState = "Stopped" 80 // Stopping ... 81 Stopping ComputeInstanceState = "Stopping" 82 // Unknown ... 83 Unknown ComputeInstanceState = "Unknown" 84 // Unusable ... 85 Unusable ComputeInstanceState = "Unusable" 86 // UserSettingUp ... 87 UserSettingUp ComputeInstanceState = "UserSettingUp" 88) 89 90// PossibleComputeInstanceStateValues returns an array of possible values for the ComputeInstanceState const type. 91func PossibleComputeInstanceStateValues() []ComputeInstanceState { 92 return []ComputeInstanceState{CreateFailed, Creating, Deleting, JobRunning, RestartFailed, Restarting, Running, SettingUp, StartFailed, Starting, StopFailed, Stopped, Stopping, Unknown, Unusable, UserSettingUp} 93} 94 95// ComputeType enumerates the values for compute type. 96type ComputeType string 97 98const ( 99 // ComputeTypeAKS ... 100 ComputeTypeAKS ComputeType = "AKS" 101 // ComputeTypeAmlCompute ... 102 ComputeTypeAmlCompute ComputeType = "AmlCompute" 103 // ComputeTypeComputeInstance ... 104 ComputeTypeComputeInstance ComputeType = "ComputeInstance" 105 // ComputeTypeDatabricks ... 106 ComputeTypeDatabricks ComputeType = "Databricks" 107 // ComputeTypeDataFactory ... 108 ComputeTypeDataFactory ComputeType = "DataFactory" 109 // ComputeTypeDataLakeAnalytics ... 110 ComputeTypeDataLakeAnalytics ComputeType = "DataLakeAnalytics" 111 // ComputeTypeHDInsight ... 112 ComputeTypeHDInsight ComputeType = "HDInsight" 113 // ComputeTypeVirtualMachine ... 114 ComputeTypeVirtualMachine ComputeType = "VirtualMachine" 115) 116 117// PossibleComputeTypeValues returns an array of possible values for the ComputeType const type. 118func PossibleComputeTypeValues() []ComputeType { 119 return []ComputeType{ComputeTypeAKS, ComputeTypeAmlCompute, ComputeTypeComputeInstance, ComputeTypeDatabricks, ComputeTypeDataFactory, ComputeTypeDataLakeAnalytics, ComputeTypeHDInsight, ComputeTypeVirtualMachine} 120} 121 122// ComputeTypeBasicCompute enumerates the values for compute type basic compute. 123type ComputeTypeBasicCompute string 124 125const ( 126 // ComputeTypeAKS1 ... 127 ComputeTypeAKS1 ComputeTypeBasicCompute = "AKS" 128 // ComputeTypeAmlCompute1 ... 129 ComputeTypeAmlCompute1 ComputeTypeBasicCompute = "AmlCompute" 130 // ComputeTypeCompute ... 131 ComputeTypeCompute ComputeTypeBasicCompute = "Compute" 132 // ComputeTypeComputeInstance1 ... 133 ComputeTypeComputeInstance1 ComputeTypeBasicCompute = "ComputeInstance" 134 // ComputeTypeDatabricks1 ... 135 ComputeTypeDatabricks1 ComputeTypeBasicCompute = "Databricks" 136 // ComputeTypeDataFactory1 ... 137 ComputeTypeDataFactory1 ComputeTypeBasicCompute = "DataFactory" 138 // ComputeTypeDataLakeAnalytics1 ... 139 ComputeTypeDataLakeAnalytics1 ComputeTypeBasicCompute = "DataLakeAnalytics" 140 // ComputeTypeHDInsight1 ... 141 ComputeTypeHDInsight1 ComputeTypeBasicCompute = "HDInsight" 142 // ComputeTypeVirtualMachine1 ... 143 ComputeTypeVirtualMachine1 ComputeTypeBasicCompute = "VirtualMachine" 144) 145 146// PossibleComputeTypeBasicComputeValues returns an array of possible values for the ComputeTypeBasicCompute const type. 147func PossibleComputeTypeBasicComputeValues() []ComputeTypeBasicCompute { 148 return []ComputeTypeBasicCompute{ComputeTypeAKS1, ComputeTypeAmlCompute1, ComputeTypeCompute, ComputeTypeComputeInstance1, ComputeTypeDatabricks1, ComputeTypeDataFactory1, ComputeTypeDataLakeAnalytics1, ComputeTypeHDInsight1, ComputeTypeVirtualMachine1} 149} 150 151// ComputeTypeBasicComputeNodesInformation enumerates the values for compute type basic compute nodes 152// information. 153type ComputeTypeBasicComputeNodesInformation string 154 155const ( 156 // ComputeTypeBasicComputeNodesInformationComputeTypeAmlCompute ... 157 ComputeTypeBasicComputeNodesInformationComputeTypeAmlCompute ComputeTypeBasicComputeNodesInformation = "AmlCompute" 158 // ComputeTypeBasicComputeNodesInformationComputeTypeComputeNodesInformation ... 159 ComputeTypeBasicComputeNodesInformationComputeTypeComputeNodesInformation ComputeTypeBasicComputeNodesInformation = "ComputeNodesInformation" 160) 161 162// PossibleComputeTypeBasicComputeNodesInformationValues returns an array of possible values for the ComputeTypeBasicComputeNodesInformation const type. 163func PossibleComputeTypeBasicComputeNodesInformationValues() []ComputeTypeBasicComputeNodesInformation { 164 return []ComputeTypeBasicComputeNodesInformation{ComputeTypeBasicComputeNodesInformationComputeTypeAmlCompute, ComputeTypeBasicComputeNodesInformationComputeTypeComputeNodesInformation} 165} 166 167// ComputeTypeBasicComputeSecrets enumerates the values for compute type basic compute secrets. 168type ComputeTypeBasicComputeSecrets string 169 170const ( 171 // ComputeTypeBasicComputeSecretsComputeTypeAKS ... 172 ComputeTypeBasicComputeSecretsComputeTypeAKS ComputeTypeBasicComputeSecrets = "AKS" 173 // ComputeTypeBasicComputeSecretsComputeTypeComputeSecrets ... 174 ComputeTypeBasicComputeSecretsComputeTypeComputeSecrets ComputeTypeBasicComputeSecrets = "ComputeSecrets" 175 // ComputeTypeBasicComputeSecretsComputeTypeDatabricks ... 176 ComputeTypeBasicComputeSecretsComputeTypeDatabricks ComputeTypeBasicComputeSecrets = "Databricks" 177 // ComputeTypeBasicComputeSecretsComputeTypeVirtualMachine ... 178 ComputeTypeBasicComputeSecretsComputeTypeVirtualMachine ComputeTypeBasicComputeSecrets = "VirtualMachine" 179) 180 181// PossibleComputeTypeBasicComputeSecretsValues returns an array of possible values for the ComputeTypeBasicComputeSecrets const type. 182func PossibleComputeTypeBasicComputeSecretsValues() []ComputeTypeBasicComputeSecrets { 183 return []ComputeTypeBasicComputeSecrets{ComputeTypeBasicComputeSecretsComputeTypeAKS, ComputeTypeBasicComputeSecretsComputeTypeComputeSecrets, ComputeTypeBasicComputeSecretsComputeTypeDatabricks, ComputeTypeBasicComputeSecretsComputeTypeVirtualMachine} 184} 185 186// EncryptionStatus enumerates the values for encryption status. 187type EncryptionStatus string 188 189const ( 190 // Disabled ... 191 Disabled EncryptionStatus = "Disabled" 192 // Enabled ... 193 Enabled EncryptionStatus = "Enabled" 194) 195 196// PossibleEncryptionStatusValues returns an array of possible values for the EncryptionStatus const type. 197func PossibleEncryptionStatusValues() []EncryptionStatus { 198 return []EncryptionStatus{Disabled, Enabled} 199} 200 201// NodeState enumerates the values for node state. 202type NodeState string 203 204const ( 205 // NodeStateIdle ... 206 NodeStateIdle NodeState = "idle" 207 // NodeStateLeaving ... 208 NodeStateLeaving NodeState = "leaving" 209 // NodeStatePreempted ... 210 NodeStatePreempted NodeState = "preempted" 211 // NodeStatePreparing ... 212 NodeStatePreparing NodeState = "preparing" 213 // NodeStateRunning ... 214 NodeStateRunning NodeState = "running" 215 // NodeStateUnusable ... 216 NodeStateUnusable NodeState = "unusable" 217) 218 219// PossibleNodeStateValues returns an array of possible values for the NodeState const type. 220func PossibleNodeStateValues() []NodeState { 221 return []NodeState{NodeStateIdle, NodeStateLeaving, NodeStatePreempted, NodeStatePreparing, NodeStateRunning, NodeStateUnusable} 222} 223 224// OsType enumerates the values for os type. 225type OsType string 226 227const ( 228 // Linux ... 229 Linux OsType = "Linux" 230 // Windows ... 231 Windows OsType = "Windows" 232) 233 234// PossibleOsTypeValues returns an array of possible values for the OsType const type. 235func PossibleOsTypeValues() []OsType { 236 return []OsType{Linux, Windows} 237} 238 239// PrivateEndpointConnectionProvisioningState enumerates the values for private endpoint connection 240// provisioning state. 241type PrivateEndpointConnectionProvisioningState string 242 243const ( 244 // PrivateEndpointConnectionProvisioningStateCreating ... 245 PrivateEndpointConnectionProvisioningStateCreating PrivateEndpointConnectionProvisioningState = "Creating" 246 // PrivateEndpointConnectionProvisioningStateDeleting ... 247 PrivateEndpointConnectionProvisioningStateDeleting PrivateEndpointConnectionProvisioningState = "Deleting" 248 // PrivateEndpointConnectionProvisioningStateFailed ... 249 PrivateEndpointConnectionProvisioningStateFailed PrivateEndpointConnectionProvisioningState = "Failed" 250 // PrivateEndpointConnectionProvisioningStateSucceeded ... 251 PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded" 252) 253 254// PossiblePrivateEndpointConnectionProvisioningStateValues returns an array of possible values for the PrivateEndpointConnectionProvisioningState const type. 255func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState { 256 return []PrivateEndpointConnectionProvisioningState{PrivateEndpointConnectionProvisioningStateCreating, PrivateEndpointConnectionProvisioningStateDeleting, PrivateEndpointConnectionProvisioningStateFailed, PrivateEndpointConnectionProvisioningStateSucceeded} 257} 258 259// PrivateEndpointServiceConnectionStatus enumerates the values for private endpoint service connection status. 260type PrivateEndpointServiceConnectionStatus string 261 262const ( 263 // Approved ... 264 Approved PrivateEndpointServiceConnectionStatus = "Approved" 265 // Pending ... 266 Pending PrivateEndpointServiceConnectionStatus = "Pending" 267 // Rejected ... 268 Rejected PrivateEndpointServiceConnectionStatus = "Rejected" 269) 270 271// PossiblePrivateEndpointServiceConnectionStatusValues returns an array of possible values for the PrivateEndpointServiceConnectionStatus const type. 272func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus { 273 return []PrivateEndpointServiceConnectionStatus{Approved, Pending, Rejected} 274} 275 276// ProvisioningState enumerates the values for provisioning state. 277type ProvisioningState string 278 279const ( 280 // ProvisioningStateCanceled ... 281 ProvisioningStateCanceled ProvisioningState = "Canceled" 282 // ProvisioningStateCreating ... 283 ProvisioningStateCreating ProvisioningState = "Creating" 284 // ProvisioningStateDeleting ... 285 ProvisioningStateDeleting ProvisioningState = "Deleting" 286 // ProvisioningStateFailed ... 287 ProvisioningStateFailed ProvisioningState = "Failed" 288 // ProvisioningStateSucceeded ... 289 ProvisioningStateSucceeded ProvisioningState = "Succeeded" 290 // ProvisioningStateUnknown ... 291 ProvisioningStateUnknown ProvisioningState = "Unknown" 292 // ProvisioningStateUpdating ... 293 ProvisioningStateUpdating ProvisioningState = "Updating" 294) 295 296// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type. 297func PossibleProvisioningStateValues() []ProvisioningState { 298 return []ProvisioningState{ProvisioningStateCanceled, ProvisioningStateCreating, ProvisioningStateDeleting, ProvisioningStateFailed, ProvisioningStateSucceeded, ProvisioningStateUnknown, ProvisioningStateUpdating} 299} 300 301// QuotaUnit enumerates the values for quota unit. 302type QuotaUnit string 303 304const ( 305 // Count ... 306 Count QuotaUnit = "Count" 307) 308 309// PossibleQuotaUnitValues returns an array of possible values for the QuotaUnit const type. 310func PossibleQuotaUnitValues() []QuotaUnit { 311 return []QuotaUnit{Count} 312} 313 314// ReasonCode enumerates the values for reason code. 315type ReasonCode string 316 317const ( 318 // NotAvailableForRegion ... 319 NotAvailableForRegion ReasonCode = "NotAvailableForRegion" 320 // NotAvailableForSubscription ... 321 NotAvailableForSubscription ReasonCode = "NotAvailableForSubscription" 322 // NotSpecified ... 323 NotSpecified ReasonCode = "NotSpecified" 324) 325 326// PossibleReasonCodeValues returns an array of possible values for the ReasonCode const type. 327func PossibleReasonCodeValues() []ReasonCode { 328 return []ReasonCode{NotAvailableForRegion, NotAvailableForSubscription, NotSpecified} 329} 330 331// RemoteLoginPortPublicAccess enumerates the values for remote login port public access. 332type RemoteLoginPortPublicAccess string 333 334const ( 335 // RemoteLoginPortPublicAccessDisabled ... 336 RemoteLoginPortPublicAccessDisabled RemoteLoginPortPublicAccess = "Disabled" 337 // RemoteLoginPortPublicAccessEnabled ... 338 RemoteLoginPortPublicAccessEnabled RemoteLoginPortPublicAccess = "Enabled" 339 // RemoteLoginPortPublicAccessNotSpecified ... 340 RemoteLoginPortPublicAccessNotSpecified RemoteLoginPortPublicAccess = "NotSpecified" 341) 342 343// PossibleRemoteLoginPortPublicAccessValues returns an array of possible values for the RemoteLoginPortPublicAccess const type. 344func PossibleRemoteLoginPortPublicAccessValues() []RemoteLoginPortPublicAccess { 345 return []RemoteLoginPortPublicAccess{RemoteLoginPortPublicAccessDisabled, RemoteLoginPortPublicAccessEnabled, RemoteLoginPortPublicAccessNotSpecified} 346} 347 348// ResourceIdentityType enumerates the values for resource identity type. 349type ResourceIdentityType string 350 351const ( 352 // SystemAssigned ... 353 SystemAssigned ResourceIdentityType = "SystemAssigned" 354) 355 356// PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type. 357func PossibleResourceIdentityTypeValues() []ResourceIdentityType { 358 return []ResourceIdentityType{SystemAssigned} 359} 360 361// SSHPublicAccess enumerates the values for ssh public access. 362type SSHPublicAccess string 363 364const ( 365 // SSHPublicAccessDisabled ... 366 SSHPublicAccessDisabled SSHPublicAccess = "Disabled" 367 // SSHPublicAccessEnabled ... 368 SSHPublicAccessEnabled SSHPublicAccess = "Enabled" 369) 370 371// PossibleSSHPublicAccessValues returns an array of possible values for the SSHPublicAccess const type. 372func PossibleSSHPublicAccessValues() []SSHPublicAccess { 373 return []SSHPublicAccess{SSHPublicAccessDisabled, SSHPublicAccessEnabled} 374} 375 376// Status enumerates the values for status. 377type Status string 378 379const ( 380 // Failure ... 381 Failure Status = "Failure" 382 // InvalidQuotaBelowClusterMinimum ... 383 InvalidQuotaBelowClusterMinimum Status = "InvalidQuotaBelowClusterMinimum" 384 // InvalidQuotaExceedsSubscriptionLimit ... 385 InvalidQuotaExceedsSubscriptionLimit Status = "InvalidQuotaExceedsSubscriptionLimit" 386 // InvalidVMFamilyName ... 387 InvalidVMFamilyName Status = "InvalidVMFamilyName" 388 // OperationNotEnabledForRegion ... 389 OperationNotEnabledForRegion Status = "OperationNotEnabledForRegion" 390 // OperationNotSupportedForSku ... 391 OperationNotSupportedForSku Status = "OperationNotSupportedForSku" 392 // Success ... 393 Success Status = "Success" 394 // Undefined ... 395 Undefined Status = "Undefined" 396) 397 398// PossibleStatusValues returns an array of possible values for the Status const type. 399func PossibleStatusValues() []Status { 400 return []Status{Failure, InvalidQuotaBelowClusterMinimum, InvalidQuotaExceedsSubscriptionLimit, InvalidVMFamilyName, OperationNotEnabledForRegion, OperationNotSupportedForSku, Success, Undefined} 401} 402 403// Status1 enumerates the values for status 1. 404type Status1 string 405 406const ( 407 // Status1Disabled ... 408 Status1Disabled Status1 = "Disabled" 409 // Status1Enabled ... 410 Status1Enabled Status1 = "Enabled" 411) 412 413// PossibleStatus1Values returns an array of possible values for the Status1 const type. 414func PossibleStatus1Values() []Status1 { 415 return []Status1{Status1Disabled, Status1Enabled} 416} 417 418// UnderlyingResourceAction enumerates the values for underlying resource action. 419type UnderlyingResourceAction string 420 421const ( 422 // Delete ... 423 Delete UnderlyingResourceAction = "Delete" 424 // Detach ... 425 Detach UnderlyingResourceAction = "Detach" 426) 427 428// PossibleUnderlyingResourceActionValues returns an array of possible values for the UnderlyingResourceAction const type. 429func PossibleUnderlyingResourceActionValues() []UnderlyingResourceAction { 430 return []UnderlyingResourceAction{Delete, Detach} 431} 432 433// UsageUnit enumerates the values for usage unit. 434type UsageUnit string 435 436const ( 437 // UsageUnitCount ... 438 UsageUnitCount UsageUnit = "Count" 439) 440 441// PossibleUsageUnitValues returns an array of possible values for the UsageUnit const type. 442func PossibleUsageUnitValues() []UsageUnit { 443 return []UsageUnit{UsageUnitCount} 444} 445 446// VMPriority enumerates the values for vm priority. 447type VMPriority string 448 449const ( 450 // Dedicated ... 451 Dedicated VMPriority = "Dedicated" 452 // LowPriority ... 453 LowPriority VMPriority = "LowPriority" 454) 455 456// PossibleVMPriorityValues returns an array of possible values for the VMPriority const type. 457func PossibleVMPriorityValues() []VMPriority { 458 return []VMPriority{Dedicated, LowPriority} 459} 460