1package batch 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// AccountKeyType enumerates the values for account key type. 10type AccountKeyType string 11 12const ( 13 // Primary ... 14 Primary AccountKeyType = "Primary" 15 // Secondary ... 16 Secondary AccountKeyType = "Secondary" 17) 18 19// PossibleAccountKeyTypeValues returns an array of possible values for the AccountKeyType const type. 20func PossibleAccountKeyTypeValues() []AccountKeyType { 21 return []AccountKeyType{Primary, Secondary} 22} 23 24// AllocationState enumerates the values for allocation state. 25type AllocationState string 26 27const ( 28 // Resizing ... 29 Resizing AllocationState = "Resizing" 30 // Steady ... 31 Steady AllocationState = "Steady" 32 // Stopping ... 33 Stopping AllocationState = "Stopping" 34) 35 36// PossibleAllocationStateValues returns an array of possible values for the AllocationState const type. 37func PossibleAllocationStateValues() []AllocationState { 38 return []AllocationState{Resizing, Steady, Stopping} 39} 40 41// AutoUserScope enumerates the values for auto user scope. 42type AutoUserScope string 43 44const ( 45 // AutoUserScopePool ... 46 AutoUserScopePool AutoUserScope = "Pool" 47 // AutoUserScopeTask ... 48 AutoUserScopeTask AutoUserScope = "Task" 49) 50 51// PossibleAutoUserScopeValues returns an array of possible values for the AutoUserScope const type. 52func PossibleAutoUserScopeValues() []AutoUserScope { 53 return []AutoUserScope{AutoUserScopePool, AutoUserScopeTask} 54} 55 56// CachingType enumerates the values for caching type. 57type CachingType string 58 59const ( 60 // None ... 61 None CachingType = "None" 62 // ReadOnly ... 63 ReadOnly CachingType = "ReadOnly" 64 // ReadWrite ... 65 ReadWrite CachingType = "ReadWrite" 66) 67 68// PossibleCachingTypeValues returns an array of possible values for the CachingType const type. 69func PossibleCachingTypeValues() []CachingType { 70 return []CachingType{None, ReadOnly, ReadWrite} 71} 72 73// CertificateFormat enumerates the values for certificate format. 74type CertificateFormat string 75 76const ( 77 // Cer ... 78 Cer CertificateFormat = "Cer" 79 // Pfx ... 80 Pfx CertificateFormat = "Pfx" 81) 82 83// PossibleCertificateFormatValues returns an array of possible values for the CertificateFormat const type. 84func PossibleCertificateFormatValues() []CertificateFormat { 85 return []CertificateFormat{Cer, Pfx} 86} 87 88// CertificateProvisioningState enumerates the values for certificate provisioning state. 89type CertificateProvisioningState string 90 91const ( 92 // Deleting ... 93 Deleting CertificateProvisioningState = "Deleting" 94 // Failed ... 95 Failed CertificateProvisioningState = "Failed" 96 // Succeeded ... 97 Succeeded CertificateProvisioningState = "Succeeded" 98) 99 100// PossibleCertificateProvisioningStateValues returns an array of possible values for the CertificateProvisioningState const type. 101func PossibleCertificateProvisioningStateValues() []CertificateProvisioningState { 102 return []CertificateProvisioningState{Deleting, Failed, Succeeded} 103} 104 105// CertificateStoreLocation enumerates the values for certificate store location. 106type CertificateStoreLocation string 107 108const ( 109 // CurrentUser ... 110 CurrentUser CertificateStoreLocation = "CurrentUser" 111 // LocalMachine ... 112 LocalMachine CertificateStoreLocation = "LocalMachine" 113) 114 115// PossibleCertificateStoreLocationValues returns an array of possible values for the CertificateStoreLocation const type. 116func PossibleCertificateStoreLocationValues() []CertificateStoreLocation { 117 return []CertificateStoreLocation{CurrentUser, LocalMachine} 118} 119 120// CertificateVisibility enumerates the values for certificate visibility. 121type CertificateVisibility string 122 123const ( 124 // CertificateVisibilityRemoteUser ... 125 CertificateVisibilityRemoteUser CertificateVisibility = "RemoteUser" 126 // CertificateVisibilityStartTask ... 127 CertificateVisibilityStartTask CertificateVisibility = "StartTask" 128 // CertificateVisibilityTask ... 129 CertificateVisibilityTask CertificateVisibility = "Task" 130) 131 132// PossibleCertificateVisibilityValues returns an array of possible values for the CertificateVisibility const type. 133func PossibleCertificateVisibilityValues() []CertificateVisibility { 134 return []CertificateVisibility{CertificateVisibilityRemoteUser, CertificateVisibilityStartTask, CertificateVisibilityTask} 135} 136 137// ComputeNodeDeallocationOption enumerates the values for compute node deallocation option. 138type ComputeNodeDeallocationOption string 139 140const ( 141 // Requeue ... 142 Requeue ComputeNodeDeallocationOption = "Requeue" 143 // RetainedData ... 144 RetainedData ComputeNodeDeallocationOption = "RetainedData" 145 // TaskCompletion ... 146 TaskCompletion ComputeNodeDeallocationOption = "TaskCompletion" 147 // Terminate ... 148 Terminate ComputeNodeDeallocationOption = "Terminate" 149) 150 151// PossibleComputeNodeDeallocationOptionValues returns an array of possible values for the ComputeNodeDeallocationOption const type. 152func PossibleComputeNodeDeallocationOptionValues() []ComputeNodeDeallocationOption { 153 return []ComputeNodeDeallocationOption{Requeue, RetainedData, TaskCompletion, Terminate} 154} 155 156// ComputeNodeFillType enumerates the values for compute node fill type. 157type ComputeNodeFillType string 158 159const ( 160 // Pack ... 161 Pack ComputeNodeFillType = "Pack" 162 // Spread ... 163 Spread ComputeNodeFillType = "Spread" 164) 165 166// PossibleComputeNodeFillTypeValues returns an array of possible values for the ComputeNodeFillType const type. 167func PossibleComputeNodeFillTypeValues() []ComputeNodeFillType { 168 return []ComputeNodeFillType{Pack, Spread} 169} 170 171// ElevationLevel enumerates the values for elevation level. 172type ElevationLevel string 173 174const ( 175 // Admin ... 176 Admin ElevationLevel = "Admin" 177 // NonAdmin ... 178 NonAdmin ElevationLevel = "NonAdmin" 179) 180 181// PossibleElevationLevelValues returns an array of possible values for the ElevationLevel const type. 182func PossibleElevationLevelValues() []ElevationLevel { 183 return []ElevationLevel{Admin, NonAdmin} 184} 185 186// InboundEndpointProtocol enumerates the values for inbound endpoint protocol. 187type InboundEndpointProtocol string 188 189const ( 190 // TCP ... 191 TCP InboundEndpointProtocol = "TCP" 192 // UDP ... 193 UDP InboundEndpointProtocol = "UDP" 194) 195 196// PossibleInboundEndpointProtocolValues returns an array of possible values for the InboundEndpointProtocol const type. 197func PossibleInboundEndpointProtocolValues() []InboundEndpointProtocol { 198 return []InboundEndpointProtocol{TCP, UDP} 199} 200 201// InterNodeCommunicationState enumerates the values for inter node communication state. 202type InterNodeCommunicationState string 203 204const ( 205 // Disabled ... 206 Disabled InterNodeCommunicationState = "Disabled" 207 // Enabled ... 208 Enabled InterNodeCommunicationState = "Enabled" 209) 210 211// PossibleInterNodeCommunicationStateValues returns an array of possible values for the InterNodeCommunicationState const type. 212func PossibleInterNodeCommunicationStateValues() []InterNodeCommunicationState { 213 return []InterNodeCommunicationState{Disabled, Enabled} 214} 215 216// NameAvailabilityReason enumerates the values for name availability reason. 217type NameAvailabilityReason string 218 219const ( 220 // AlreadyExists ... 221 AlreadyExists NameAvailabilityReason = "AlreadyExists" 222 // Invalid ... 223 Invalid NameAvailabilityReason = "Invalid" 224) 225 226// PossibleNameAvailabilityReasonValues returns an array of possible values for the NameAvailabilityReason const type. 227func PossibleNameAvailabilityReasonValues() []NameAvailabilityReason { 228 return []NameAvailabilityReason{AlreadyExists, Invalid} 229} 230 231// NetworkSecurityGroupRuleAccess enumerates the values for network security group rule access. 232type NetworkSecurityGroupRuleAccess string 233 234const ( 235 // Allow ... 236 Allow NetworkSecurityGroupRuleAccess = "Allow" 237 // Deny ... 238 Deny NetworkSecurityGroupRuleAccess = "Deny" 239) 240 241// PossibleNetworkSecurityGroupRuleAccessValues returns an array of possible values for the NetworkSecurityGroupRuleAccess const type. 242func PossibleNetworkSecurityGroupRuleAccessValues() []NetworkSecurityGroupRuleAccess { 243 return []NetworkSecurityGroupRuleAccess{Allow, Deny} 244} 245 246// PackageState enumerates the values for package state. 247type PackageState string 248 249const ( 250 // Active ... 251 Active PackageState = "Active" 252 // Pending ... 253 Pending PackageState = "Pending" 254 // Unmapped ... 255 Unmapped PackageState = "Unmapped" 256) 257 258// PossiblePackageStateValues returns an array of possible values for the PackageState const type. 259func PossiblePackageStateValues() []PackageState { 260 return []PackageState{Active, Pending, Unmapped} 261} 262 263// PoolAllocationMode enumerates the values for pool allocation mode. 264type PoolAllocationMode string 265 266const ( 267 // BatchService ... 268 BatchService PoolAllocationMode = "BatchService" 269 // UserSubscription ... 270 UserSubscription PoolAllocationMode = "UserSubscription" 271) 272 273// PossiblePoolAllocationModeValues returns an array of possible values for the PoolAllocationMode const type. 274func PossiblePoolAllocationModeValues() []PoolAllocationMode { 275 return []PoolAllocationMode{BatchService, UserSubscription} 276} 277 278// PoolProvisioningState enumerates the values for pool provisioning state. 279type PoolProvisioningState string 280 281const ( 282 // PoolProvisioningStateDeleting ... 283 PoolProvisioningStateDeleting PoolProvisioningState = "Deleting" 284 // PoolProvisioningStateSucceeded ... 285 PoolProvisioningStateSucceeded PoolProvisioningState = "Succeeded" 286) 287 288// PossiblePoolProvisioningStateValues returns an array of possible values for the PoolProvisioningState const type. 289func PossiblePoolProvisioningStateValues() []PoolProvisioningState { 290 return []PoolProvisioningState{PoolProvisioningStateDeleting, PoolProvisioningStateSucceeded} 291} 292 293// ProvisioningState enumerates the values for provisioning state. 294type ProvisioningState string 295 296const ( 297 // ProvisioningStateCancelled ... 298 ProvisioningStateCancelled ProvisioningState = "Cancelled" 299 // ProvisioningStateCreating ... 300 ProvisioningStateCreating ProvisioningState = "Creating" 301 // ProvisioningStateDeleting ... 302 ProvisioningStateDeleting ProvisioningState = "Deleting" 303 // ProvisioningStateFailed ... 304 ProvisioningStateFailed ProvisioningState = "Failed" 305 // ProvisioningStateInvalid ... 306 ProvisioningStateInvalid ProvisioningState = "Invalid" 307 // ProvisioningStateSucceeded ... 308 ProvisioningStateSucceeded ProvisioningState = "Succeeded" 309) 310 311// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type. 312func PossibleProvisioningStateValues() []ProvisioningState { 313 return []ProvisioningState{ProvisioningStateCancelled, ProvisioningStateCreating, ProvisioningStateDeleting, ProvisioningStateFailed, ProvisioningStateInvalid, ProvisioningStateSucceeded} 314} 315 316// StorageAccountType enumerates the values for storage account type. 317type StorageAccountType string 318 319const ( 320 // PremiumLRS ... 321 PremiumLRS StorageAccountType = "Premium_LRS" 322 // StandardLRS ... 323 StandardLRS StorageAccountType = "Standard_LRS" 324) 325 326// PossibleStorageAccountTypeValues returns an array of possible values for the StorageAccountType const type. 327func PossibleStorageAccountTypeValues() []StorageAccountType { 328 return []StorageAccountType{PremiumLRS, StandardLRS} 329} 330