1package machinelearningservices 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// ComputeType enumerates the values for compute type. 21type ComputeType string 22 23const ( 24 // ComputeTypeAKS ... 25 ComputeTypeAKS ComputeType = "AKS" 26 // ComputeTypeBatchAI ... 27 ComputeTypeBatchAI ComputeType = "BatchAI" 28 // ComputeTypeDataFactory ... 29 ComputeTypeDataFactory ComputeType = "DataFactory" 30 // ComputeTypeHDInsight ... 31 ComputeTypeHDInsight ComputeType = "HDInsight" 32 // ComputeTypeVirtualMachine ... 33 ComputeTypeVirtualMachine ComputeType = "VirtualMachine" 34) 35 36// PossibleComputeTypeValues returns an array of possible values for the ComputeType const type. 37func PossibleComputeTypeValues() []ComputeType { 38 return []ComputeType{ComputeTypeAKS, ComputeTypeBatchAI, ComputeTypeDataFactory, ComputeTypeHDInsight, ComputeTypeVirtualMachine} 39} 40 41// ComputeTypeBasicCompute enumerates the values for compute type basic compute. 42type ComputeTypeBasicCompute string 43 44const ( 45 // ComputeTypeAKS1 ... 46 ComputeTypeAKS1 ComputeTypeBasicCompute = "AKS" 47 // ComputeTypeBatchAI1 ... 48 ComputeTypeBatchAI1 ComputeTypeBasicCompute = "BatchAI" 49 // ComputeTypeCompute ... 50 ComputeTypeCompute ComputeTypeBasicCompute = "Compute" 51 // ComputeTypeDataFactory1 ... 52 ComputeTypeDataFactory1 ComputeTypeBasicCompute = "DataFactory" 53 // ComputeTypeHDInsight1 ... 54 ComputeTypeHDInsight1 ComputeTypeBasicCompute = "HDInsight" 55 // ComputeTypeVirtualMachine1 ... 56 ComputeTypeVirtualMachine1 ComputeTypeBasicCompute = "VirtualMachine" 57) 58 59// PossibleComputeTypeBasicComputeValues returns an array of possible values for the ComputeTypeBasicCompute const type. 60func PossibleComputeTypeBasicComputeValues() []ComputeTypeBasicCompute { 61 return []ComputeTypeBasicCompute{ComputeTypeAKS1, ComputeTypeBatchAI1, ComputeTypeCompute, ComputeTypeDataFactory1, ComputeTypeHDInsight1, ComputeTypeVirtualMachine1} 62} 63 64// ComputeTypeBasicComputeSecrets enumerates the values for compute type basic compute secrets. 65type ComputeTypeBasicComputeSecrets string 66 67const ( 68 // ComputeTypeBasicComputeSecretsComputeTypeAKS ... 69 ComputeTypeBasicComputeSecretsComputeTypeAKS ComputeTypeBasicComputeSecrets = "AKS" 70 // ComputeTypeBasicComputeSecretsComputeTypeComputeSecrets ... 71 ComputeTypeBasicComputeSecretsComputeTypeComputeSecrets ComputeTypeBasicComputeSecrets = "ComputeSecrets" 72 // ComputeTypeBasicComputeSecretsComputeTypeVirtualMachine ... 73 ComputeTypeBasicComputeSecretsComputeTypeVirtualMachine ComputeTypeBasicComputeSecrets = "VirtualMachine" 74) 75 76// PossibleComputeTypeBasicComputeSecretsValues returns an array of possible values for the ComputeTypeBasicComputeSecrets const type. 77func PossibleComputeTypeBasicComputeSecretsValues() []ComputeTypeBasicComputeSecrets { 78 return []ComputeTypeBasicComputeSecrets{ComputeTypeBasicComputeSecretsComputeTypeAKS, ComputeTypeBasicComputeSecretsComputeTypeComputeSecrets, ComputeTypeBasicComputeSecretsComputeTypeVirtualMachine} 79} 80 81// ProvisioningState enumerates the values for provisioning state. 82type ProvisioningState string 83 84const ( 85 // Canceled ... 86 Canceled ProvisioningState = "Canceled" 87 // Creating ... 88 Creating ProvisioningState = "Creating" 89 // Deleting ... 90 Deleting ProvisioningState = "Deleting" 91 // Failed ... 92 Failed ProvisioningState = "Failed" 93 // Succeeded ... 94 Succeeded ProvisioningState = "Succeeded" 95 // Unknown ... 96 Unknown ProvisioningState = "Unknown" 97 // Updating ... 98 Updating ProvisioningState = "Updating" 99) 100 101// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type. 102func PossibleProvisioningStateValues() []ProvisioningState { 103 return []ProvisioningState{Canceled, Creating, Deleting, Failed, Succeeded, Unknown, Updating} 104} 105 106// ResourceIdentityType enumerates the values for resource identity type. 107type ResourceIdentityType string 108 109const ( 110 // SystemAssigned ... 111 SystemAssigned ResourceIdentityType = "SystemAssigned" 112) 113 114// PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type. 115func PossibleResourceIdentityTypeValues() []ResourceIdentityType { 116 return []ResourceIdentityType{SystemAssigned} 117} 118 119// Status enumerates the values for status. 120type Status string 121 122const ( 123 // Disabled ... 124 Disabled Status = "Disabled" 125 // Enabled ... 126 Enabled Status = "Enabled" 127) 128 129// PossibleStatusValues returns an array of possible values for the Status const type. 130func PossibleStatusValues() []Status { 131 return []Status{Disabled, Enabled} 132} 133