1package hdinsight 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// AsyncOperationState enumerates the values for async operation state. 21type AsyncOperationState string 22 23const ( 24 // Failed ... 25 Failed AsyncOperationState = "Failed" 26 // InProgress ... 27 InProgress AsyncOperationState = "InProgress" 28 // Succeeded ... 29 Succeeded AsyncOperationState = "Succeeded" 30) 31 32// PossibleAsyncOperationStateValues returns an array of possible values for the AsyncOperationState const type. 33func PossibleAsyncOperationStateValues() []AsyncOperationState { 34 return []AsyncOperationState{Failed, InProgress, Succeeded} 35} 36 37// ClusterProvisioningState enumerates the values for cluster provisioning state. 38type ClusterProvisioningState string 39 40const ( 41 // ClusterProvisioningStateCanceled ... 42 ClusterProvisioningStateCanceled ClusterProvisioningState = "Canceled" 43 // ClusterProvisioningStateDeleting ... 44 ClusterProvisioningStateDeleting ClusterProvisioningState = "Deleting" 45 // ClusterProvisioningStateFailed ... 46 ClusterProvisioningStateFailed ClusterProvisioningState = "Failed" 47 // ClusterProvisioningStateInProgress ... 48 ClusterProvisioningStateInProgress ClusterProvisioningState = "InProgress" 49 // ClusterProvisioningStateSucceeded ... 50 ClusterProvisioningStateSucceeded ClusterProvisioningState = "Succeeded" 51) 52 53// PossibleClusterProvisioningStateValues returns an array of possible values for the ClusterProvisioningState const type. 54func PossibleClusterProvisioningStateValues() []ClusterProvisioningState { 55 return []ClusterProvisioningState{ClusterProvisioningStateCanceled, ClusterProvisioningStateDeleting, ClusterProvisioningStateFailed, ClusterProvisioningStateInProgress, ClusterProvisioningStateSucceeded} 56} 57 58// DaysOfWeek enumerates the values for days of week. 59type DaysOfWeek string 60 61const ( 62 // Friday ... 63 Friday DaysOfWeek = "Friday" 64 // Monday ... 65 Monday DaysOfWeek = "Monday" 66 // Saturday ... 67 Saturday DaysOfWeek = "Saturday" 68 // Sunday ... 69 Sunday DaysOfWeek = "Sunday" 70 // Thursday ... 71 Thursday DaysOfWeek = "Thursday" 72 // Tuesday ... 73 Tuesday DaysOfWeek = "Tuesday" 74 // Wednesday ... 75 Wednesday DaysOfWeek = "Wednesday" 76) 77 78// PossibleDaysOfWeekValues returns an array of possible values for the DaysOfWeek const type. 79func PossibleDaysOfWeekValues() []DaysOfWeek { 80 return []DaysOfWeek{Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday} 81} 82 83// DirectoryType enumerates the values for directory type. 84type DirectoryType string 85 86const ( 87 // ActiveDirectory ... 88 ActiveDirectory DirectoryType = "ActiveDirectory" 89) 90 91// PossibleDirectoryTypeValues returns an array of possible values for the DirectoryType const type. 92func PossibleDirectoryTypeValues() []DirectoryType { 93 return []DirectoryType{ActiveDirectory} 94} 95 96// FilterMode enumerates the values for filter mode. 97type FilterMode string 98 99const ( 100 // Default ... 101 Default FilterMode = "Default" 102 // Exclude ... 103 Exclude FilterMode = "Exclude" 104 // Include ... 105 Include FilterMode = "Include" 106 // Recommend ... 107 Recommend FilterMode = "Recommend" 108) 109 110// PossibleFilterModeValues returns an array of possible values for the FilterMode const type. 111func PossibleFilterModeValues() []FilterMode { 112 return []FilterMode{Default, Exclude, Include, Recommend} 113} 114 115// JSONWebKeyEncryptionAlgorithm enumerates the values for json web key encryption algorithm. 116type JSONWebKeyEncryptionAlgorithm string 117 118const ( 119 // RSA15 ... 120 RSA15 JSONWebKeyEncryptionAlgorithm = "RSA1_5" 121 // RSAOAEP ... 122 RSAOAEP JSONWebKeyEncryptionAlgorithm = "RSA-OAEP" 123 // RSAOAEP256 ... 124 RSAOAEP256 JSONWebKeyEncryptionAlgorithm = "RSA-OAEP-256" 125) 126 127// PossibleJSONWebKeyEncryptionAlgorithmValues returns an array of possible values for the JSONWebKeyEncryptionAlgorithm const type. 128func PossibleJSONWebKeyEncryptionAlgorithmValues() []JSONWebKeyEncryptionAlgorithm { 129 return []JSONWebKeyEncryptionAlgorithm{RSA15, RSAOAEP, RSAOAEP256} 130} 131 132// OSType enumerates the values for os type. 133type OSType string 134 135const ( 136 // Linux ... 137 Linux OSType = "Linux" 138 // Windows ... 139 Windows OSType = "Windows" 140) 141 142// PossibleOSTypeValues returns an array of possible values for the OSType const type. 143func PossibleOSTypeValues() []OSType { 144 return []OSType{Linux, Windows} 145} 146 147// PrivateLink enumerates the values for private link. 148type PrivateLink string 149 150const ( 151 // Disabled ... 152 Disabled PrivateLink = "Disabled" 153 // Enabled ... 154 Enabled PrivateLink = "Enabled" 155) 156 157// PossiblePrivateLinkValues returns an array of possible values for the PrivateLink const type. 158func PossiblePrivateLinkValues() []PrivateLink { 159 return []PrivateLink{Disabled, Enabled} 160} 161 162// ResourceIdentityType enumerates the values for resource identity type. 163type ResourceIdentityType string 164 165const ( 166 // None ... 167 None ResourceIdentityType = "None" 168 // SystemAssigned ... 169 SystemAssigned ResourceIdentityType = "SystemAssigned" 170 // SystemAssignedUserAssigned ... 171 SystemAssignedUserAssigned ResourceIdentityType = "SystemAssigned, UserAssigned" 172 // UserAssigned ... 173 UserAssigned ResourceIdentityType = "UserAssigned" 174) 175 176// PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type. 177func PossibleResourceIdentityTypeValues() []ResourceIdentityType { 178 return []ResourceIdentityType{None, SystemAssigned, SystemAssignedUserAssigned, UserAssigned} 179} 180 181// ResourceProviderConnection enumerates the values for resource provider connection. 182type ResourceProviderConnection string 183 184const ( 185 // Inbound ... 186 Inbound ResourceProviderConnection = "Inbound" 187 // Outbound ... 188 Outbound ResourceProviderConnection = "Outbound" 189) 190 191// PossibleResourceProviderConnectionValues returns an array of possible values for the ResourceProviderConnection const type. 192func PossibleResourceProviderConnectionValues() []ResourceProviderConnection { 193 return []ResourceProviderConnection{Inbound, Outbound} 194} 195 196// Tier enumerates the values for tier. 197type Tier string 198 199const ( 200 // Premium ... 201 Premium Tier = "Premium" 202 // Standard ... 203 Standard Tier = "Standard" 204) 205 206// PossibleTierValues returns an array of possible values for the Tier const type. 207func PossibleTierValues() []Tier { 208 return []Tier{Premium, Standard} 209} 210