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