1package dtl 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// CostPropertyType enumerates the values for cost property type. 10type CostPropertyType string 11 12const ( 13 // Projected ... 14 Projected CostPropertyType = "Projected" 15 // Reported ... 16 Reported CostPropertyType = "Reported" 17 // Unavailable ... 18 Unavailable CostPropertyType = "Unavailable" 19) 20 21// PossibleCostPropertyTypeValues returns an array of possible values for the CostPropertyType const type. 22func PossibleCostPropertyTypeValues() []CostPropertyType { 23 return []CostPropertyType{Projected, Reported, Unavailable} 24} 25 26// CustomImageOsType enumerates the values for custom image os type. 27type CustomImageOsType string 28 29const ( 30 // Linux ... 31 Linux CustomImageOsType = "Linux" 32 // None ... 33 None CustomImageOsType = "None" 34 // Windows ... 35 Windows CustomImageOsType = "Windows" 36) 37 38// PossibleCustomImageOsTypeValues returns an array of possible values for the CustomImageOsType const type. 39func PossibleCustomImageOsTypeValues() []CustomImageOsType { 40 return []CustomImageOsType{Linux, None, Windows} 41} 42 43// EnableStatus enumerates the values for enable status. 44type EnableStatus string 45 46const ( 47 // Disabled ... 48 Disabled EnableStatus = "Disabled" 49 // Enabled ... 50 Enabled EnableStatus = "Enabled" 51) 52 53// PossibleEnableStatusValues returns an array of possible values for the EnableStatus const type. 54func PossibleEnableStatusValues() []EnableStatus { 55 return []EnableStatus{Disabled, Enabled} 56} 57 58// LabStorageType enumerates the values for lab storage type. 59type LabStorageType string 60 61const ( 62 // Premium ... 63 Premium LabStorageType = "Premium" 64 // Standard ... 65 Standard LabStorageType = "Standard" 66) 67 68// PossibleLabStorageTypeValues returns an array of possible values for the LabStorageType const type. 69func PossibleLabStorageTypeValues() []LabStorageType { 70 return []LabStorageType{Premium, Standard} 71} 72 73// LinuxOsState enumerates the values for linux os state. 74type LinuxOsState string 75 76const ( 77 // DeprovisionApplied ... 78 DeprovisionApplied LinuxOsState = "DeprovisionApplied" 79 // DeprovisionRequested ... 80 DeprovisionRequested LinuxOsState = "DeprovisionRequested" 81 // NonDeprovisioned ... 82 NonDeprovisioned LinuxOsState = "NonDeprovisioned" 83) 84 85// PossibleLinuxOsStateValues returns an array of possible values for the LinuxOsState const type. 86func PossibleLinuxOsStateValues() []LinuxOsState { 87 return []LinuxOsState{DeprovisionApplied, DeprovisionRequested, NonDeprovisioned} 88} 89 90// PolicyEvaluatorType enumerates the values for policy evaluator type. 91type PolicyEvaluatorType string 92 93const ( 94 // AllowedValuesPolicy ... 95 AllowedValuesPolicy PolicyEvaluatorType = "AllowedValuesPolicy" 96 // MaxValuePolicy ... 97 MaxValuePolicy PolicyEvaluatorType = "MaxValuePolicy" 98) 99 100// PossiblePolicyEvaluatorTypeValues returns an array of possible values for the PolicyEvaluatorType const type. 101func PossiblePolicyEvaluatorTypeValues() []PolicyEvaluatorType { 102 return []PolicyEvaluatorType{AllowedValuesPolicy, MaxValuePolicy} 103} 104 105// PolicyFactName enumerates the values for policy fact name. 106type PolicyFactName string 107 108const ( 109 // PolicyFactNameGalleryImage ... 110 PolicyFactNameGalleryImage PolicyFactName = "GalleryImage" 111 // PolicyFactNameLabVMCount ... 112 PolicyFactNameLabVMCount PolicyFactName = "LabVmCount" 113 // PolicyFactNameLabVMSize ... 114 PolicyFactNameLabVMSize PolicyFactName = "LabVmSize" 115 // PolicyFactNameUserOwnedLabVMCount ... 116 PolicyFactNameUserOwnedLabVMCount PolicyFactName = "UserOwnedLabVmCount" 117 // PolicyFactNameUserOwnedLabVMCountInSubnet ... 118 PolicyFactNameUserOwnedLabVMCountInSubnet PolicyFactName = "UserOwnedLabVmCountInSubnet" 119) 120 121// PossiblePolicyFactNameValues returns an array of possible values for the PolicyFactName const type. 122func PossiblePolicyFactNameValues() []PolicyFactName { 123 return []PolicyFactName{PolicyFactNameGalleryImage, PolicyFactNameLabVMCount, PolicyFactNameLabVMSize, PolicyFactNameUserOwnedLabVMCount, PolicyFactNameUserOwnedLabVMCountInSubnet} 124} 125 126// PolicyStatus enumerates the values for policy status. 127type PolicyStatus string 128 129const ( 130 // PolicyStatusDisabled ... 131 PolicyStatusDisabled PolicyStatus = "Disabled" 132 // PolicyStatusEnabled ... 133 PolicyStatusEnabled PolicyStatus = "Enabled" 134) 135 136// PossiblePolicyStatusValues returns an array of possible values for the PolicyStatus const type. 137func PossiblePolicyStatusValues() []PolicyStatus { 138 return []PolicyStatus{PolicyStatusDisabled, PolicyStatusEnabled} 139} 140 141// SourceControlType enumerates the values for source control type. 142type SourceControlType string 143 144const ( 145 // GitHub ... 146 GitHub SourceControlType = "GitHub" 147 // VsoGit ... 148 VsoGit SourceControlType = "VsoGit" 149) 150 151// PossibleSourceControlTypeValues returns an array of possible values for the SourceControlType const type. 152func PossibleSourceControlTypeValues() []SourceControlType { 153 return []SourceControlType{GitHub, VsoGit} 154} 155 156// SubscriptionNotificationState enumerates the values for subscription notification state. 157type SubscriptionNotificationState string 158 159const ( 160 // Deleted ... 161 Deleted SubscriptionNotificationState = "Deleted" 162 // NotDefined ... 163 NotDefined SubscriptionNotificationState = "NotDefined" 164 // Registered ... 165 Registered SubscriptionNotificationState = "Registered" 166 // Suspended ... 167 Suspended SubscriptionNotificationState = "Suspended" 168 // Unregistered ... 169 Unregistered SubscriptionNotificationState = "Unregistered" 170 // Warned ... 171 Warned SubscriptionNotificationState = "Warned" 172) 173 174// PossibleSubscriptionNotificationStateValues returns an array of possible values for the SubscriptionNotificationState const type. 175func PossibleSubscriptionNotificationStateValues() []SubscriptionNotificationState { 176 return []SubscriptionNotificationState{Deleted, NotDefined, Registered, Suspended, Unregistered, Warned} 177} 178 179// TaskType enumerates the values for task type. 180type TaskType string 181 182const ( 183 // LabBillingTask ... 184 LabBillingTask TaskType = "LabBillingTask" 185 // LabVmsShutdownTask ... 186 LabVmsShutdownTask TaskType = "LabVmsShutdownTask" 187 // LabVmsStartupTask ... 188 LabVmsStartupTask TaskType = "LabVmsStartupTask" 189) 190 191// PossibleTaskTypeValues returns an array of possible values for the TaskType const type. 192func PossibleTaskTypeValues() []TaskType { 193 return []TaskType{LabBillingTask, LabVmsShutdownTask, LabVmsStartupTask} 194} 195 196// UsagePermissionType enumerates the values for usage permission type. 197type UsagePermissionType string 198 199const ( 200 // Allow ... 201 Allow UsagePermissionType = "Allow" 202 // Default ... 203 Default UsagePermissionType = "Default" 204 // Deny ... 205 Deny UsagePermissionType = "Deny" 206) 207 208// PossibleUsagePermissionTypeValues returns an array of possible values for the UsagePermissionType const type. 209func PossibleUsagePermissionTypeValues() []UsagePermissionType { 210 return []UsagePermissionType{Allow, Default, Deny} 211} 212 213// WindowsOsState enumerates the values for windows os state. 214type WindowsOsState string 215 216const ( 217 // NonSysprepped ... 218 NonSysprepped WindowsOsState = "NonSysprepped" 219 // SysprepApplied ... 220 SysprepApplied WindowsOsState = "SysprepApplied" 221 // SysprepRequested ... 222 SysprepRequested WindowsOsState = "SysprepRequested" 223) 224 225// PossibleWindowsOsStateValues returns an array of possible values for the WindowsOsState const type. 226func PossibleWindowsOsStateValues() []WindowsOsState { 227 return []WindowsOsState{NonSysprepped, SysprepApplied, SysprepRequested} 228} 229