1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441
|
package dtl
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// CostThresholdStatus enumerates the values for cost threshold status.
type CostThresholdStatus string
const (
// Disabled ...
Disabled CostThresholdStatus = "Disabled"
// Enabled ...
Enabled CostThresholdStatus = "Enabled"
)
// PossibleCostThresholdStatusValues returns an array of possible values for the CostThresholdStatus const type.
func PossibleCostThresholdStatusValues() []CostThresholdStatus {
return []CostThresholdStatus{Disabled, Enabled}
}
// CostType enumerates the values for cost type.
type CostType string
const (
// Projected ...
Projected CostType = "Projected"
// Reported ...
Reported CostType = "Reported"
// Unavailable ...
Unavailable CostType = "Unavailable"
)
// PossibleCostTypeValues returns an array of possible values for the CostType const type.
func PossibleCostTypeValues() []CostType {
return []CostType{Projected, Reported, Unavailable}
}
// CustomImageOsType enumerates the values for custom image os type.
type CustomImageOsType string
const (
// Linux ...
Linux CustomImageOsType = "Linux"
// None ...
None CustomImageOsType = "None"
// Windows ...
Windows CustomImageOsType = "Windows"
)
// PossibleCustomImageOsTypeValues returns an array of possible values for the CustomImageOsType const type.
func PossibleCustomImageOsTypeValues() []CustomImageOsType {
return []CustomImageOsType{Linux, None, Windows}
}
// EnableStatus enumerates the values for enable status.
type EnableStatus string
const (
// EnableStatusDisabled ...
EnableStatusDisabled EnableStatus = "Disabled"
// EnableStatusEnabled ...
EnableStatusEnabled EnableStatus = "Enabled"
)
// PossibleEnableStatusValues returns an array of possible values for the EnableStatus const type.
func PossibleEnableStatusValues() []EnableStatus {
return []EnableStatus{EnableStatusDisabled, EnableStatusEnabled}
}
// FileUploadOptions enumerates the values for file upload options.
type FileUploadOptions string
const (
// FileUploadOptionsNone ...
FileUploadOptionsNone FileUploadOptions = "None"
// FileUploadOptionsUploadFilesAndGenerateSasTokens ...
FileUploadOptionsUploadFilesAndGenerateSasTokens FileUploadOptions = "UploadFilesAndGenerateSasTokens"
)
// PossibleFileUploadOptionsValues returns an array of possible values for the FileUploadOptions const type.
func PossibleFileUploadOptionsValues() []FileUploadOptions {
return []FileUploadOptions{FileUploadOptionsNone, FileUploadOptionsUploadFilesAndGenerateSasTokens}
}
// HostCachingOptions enumerates the values for host caching options.
type HostCachingOptions string
const (
// HostCachingOptionsNone ...
HostCachingOptionsNone HostCachingOptions = "None"
// HostCachingOptionsReadOnly ...
HostCachingOptionsReadOnly HostCachingOptions = "ReadOnly"
// HostCachingOptionsReadWrite ...
HostCachingOptionsReadWrite HostCachingOptions = "ReadWrite"
)
// PossibleHostCachingOptionsValues returns an array of possible values for the HostCachingOptions const type.
func PossibleHostCachingOptionsValues() []HostCachingOptions {
return []HostCachingOptions{HostCachingOptionsNone, HostCachingOptionsReadOnly, HostCachingOptionsReadWrite}
}
// HTTPStatusCode enumerates the values for http status code.
type HTTPStatusCode string
const (
// Accepted ...
Accepted HTTPStatusCode = "Accepted"
// BadGateway ...
BadGateway HTTPStatusCode = "BadGateway"
// BadRequest ...
BadRequest HTTPStatusCode = "BadRequest"
// Conflict ...
Conflict HTTPStatusCode = "Conflict"
// Continue ...
Continue HTTPStatusCode = "Continue"
// Created ...
Created HTTPStatusCode = "Created"
// ExpectationFailed ...
ExpectationFailed HTTPStatusCode = "ExpectationFailed"
// Forbidden ...
Forbidden HTTPStatusCode = "Forbidden"
// GatewayTimeout ...
GatewayTimeout HTTPStatusCode = "GatewayTimeout"
// Gone ...
Gone HTTPStatusCode = "Gone"
// HTTPVersionNotSupported ...
HTTPVersionNotSupported HTTPStatusCode = "HttpVersionNotSupported"
// InternalServerError ...
InternalServerError HTTPStatusCode = "InternalServerError"
// LengthRequired ...
LengthRequired HTTPStatusCode = "LengthRequired"
// MethodNotAllowed ...
MethodNotAllowed HTTPStatusCode = "MethodNotAllowed"
// MovedPermanently ...
MovedPermanently HTTPStatusCode = "MovedPermanently"
// MultipleChoices ...
MultipleChoices HTTPStatusCode = "MultipleChoices"
// NoContent ...
NoContent HTTPStatusCode = "NoContent"
// NonAuthoritativeInformation ...
NonAuthoritativeInformation HTTPStatusCode = "NonAuthoritativeInformation"
// NotAcceptable ...
NotAcceptable HTTPStatusCode = "NotAcceptable"
// NotFound ...
NotFound HTTPStatusCode = "NotFound"
// NotImplemented ...
NotImplemented HTTPStatusCode = "NotImplemented"
// NotModified ...
NotModified HTTPStatusCode = "NotModified"
// OK ...
OK HTTPStatusCode = "OK"
// PartialContent ...
PartialContent HTTPStatusCode = "PartialContent"
// PaymentRequired ...
PaymentRequired HTTPStatusCode = "PaymentRequired"
// PreconditionFailed ...
PreconditionFailed HTTPStatusCode = "PreconditionFailed"
// ProxyAuthenticationRequired ...
ProxyAuthenticationRequired HTTPStatusCode = "ProxyAuthenticationRequired"
// Redirect ...
Redirect HTTPStatusCode = "Redirect"
// RequestedRangeNotSatisfiable ...
RequestedRangeNotSatisfiable HTTPStatusCode = "RequestedRangeNotSatisfiable"
// RequestEntityTooLarge ...
RequestEntityTooLarge HTTPStatusCode = "RequestEntityTooLarge"
// RequestTimeout ...
RequestTimeout HTTPStatusCode = "RequestTimeout"
// RequestURITooLong ...
RequestURITooLong HTTPStatusCode = "RequestUriTooLong"
// ResetContent ...
ResetContent HTTPStatusCode = "ResetContent"
// SeeOther ...
SeeOther HTTPStatusCode = "SeeOther"
// ServiceUnavailable ...
ServiceUnavailable HTTPStatusCode = "ServiceUnavailable"
// SwitchingProtocols ...
SwitchingProtocols HTTPStatusCode = "SwitchingProtocols"
// TemporaryRedirect ...
TemporaryRedirect HTTPStatusCode = "TemporaryRedirect"
// Unauthorized ...
Unauthorized HTTPStatusCode = "Unauthorized"
// UnsupportedMediaType ...
UnsupportedMediaType HTTPStatusCode = "UnsupportedMediaType"
// Unused ...
Unused HTTPStatusCode = "Unused"
// UpgradeRequired ...
UpgradeRequired HTTPStatusCode = "UpgradeRequired"
// UseProxy ...
UseProxy HTTPStatusCode = "UseProxy"
)
// PossibleHTTPStatusCodeValues returns an array of possible values for the HTTPStatusCode const type.
func PossibleHTTPStatusCodeValues() []HTTPStatusCode {
return []HTTPStatusCode{Accepted, BadGateway, BadRequest, Conflict, Continue, Created, ExpectationFailed, Forbidden, GatewayTimeout, Gone, HTTPVersionNotSupported, InternalServerError, LengthRequired, MethodNotAllowed, MovedPermanently, MultipleChoices, NoContent, NonAuthoritativeInformation, NotAcceptable, NotFound, NotImplemented, NotModified, OK, PartialContent, PaymentRequired, PreconditionFailed, ProxyAuthenticationRequired, Redirect, RequestedRangeNotSatisfiable, RequestEntityTooLarge, RequestTimeout, RequestURITooLong, ResetContent, SeeOther, ServiceUnavailable, SwitchingProtocols, TemporaryRedirect, Unauthorized, UnsupportedMediaType, Unused, UpgradeRequired, UseProxy}
}
// LinuxOsState enumerates the values for linux os state.
type LinuxOsState string
const (
// DeprovisionApplied ...
DeprovisionApplied LinuxOsState = "DeprovisionApplied"
// DeprovisionRequested ...
DeprovisionRequested LinuxOsState = "DeprovisionRequested"
// NonDeprovisioned ...
NonDeprovisioned LinuxOsState = "NonDeprovisioned"
)
// PossibleLinuxOsStateValues returns an array of possible values for the LinuxOsState const type.
func PossibleLinuxOsStateValues() []LinuxOsState {
return []LinuxOsState{DeprovisionApplied, DeprovisionRequested, NonDeprovisioned}
}
// NotificationChannelEventType enumerates the values for notification channel event type.
type NotificationChannelEventType string
const (
// AutoShutdown ...
AutoShutdown NotificationChannelEventType = "AutoShutdown"
// Cost ...
Cost NotificationChannelEventType = "Cost"
)
// PossibleNotificationChannelEventTypeValues returns an array of possible values for the NotificationChannelEventType const type.
func PossibleNotificationChannelEventTypeValues() []NotificationChannelEventType {
return []NotificationChannelEventType{AutoShutdown, Cost}
}
// NotificationStatus enumerates the values for notification status.
type NotificationStatus string
const (
// NotificationStatusDisabled ...
NotificationStatusDisabled NotificationStatus = "Disabled"
// NotificationStatusEnabled ...
NotificationStatusEnabled NotificationStatus = "Enabled"
)
// PossibleNotificationStatusValues returns an array of possible values for the NotificationStatus const type.
func PossibleNotificationStatusValues() []NotificationStatus {
return []NotificationStatus{NotificationStatusDisabled, NotificationStatusEnabled}
}
// PolicyEvaluatorType enumerates the values for policy evaluator type.
type PolicyEvaluatorType string
const (
// AllowedValuesPolicy ...
AllowedValuesPolicy PolicyEvaluatorType = "AllowedValuesPolicy"
// MaxValuePolicy ...
MaxValuePolicy PolicyEvaluatorType = "MaxValuePolicy"
)
// PossiblePolicyEvaluatorTypeValues returns an array of possible values for the PolicyEvaluatorType const type.
func PossiblePolicyEvaluatorTypeValues() []PolicyEvaluatorType {
return []PolicyEvaluatorType{AllowedValuesPolicy, MaxValuePolicy}
}
// PolicyFactName enumerates the values for policy fact name.
type PolicyFactName string
const (
// PolicyFactNameGalleryImage ...
PolicyFactNameGalleryImage PolicyFactName = "GalleryImage"
// PolicyFactNameLabPremiumVMCount ...
PolicyFactNameLabPremiumVMCount PolicyFactName = "LabPremiumVmCount"
// PolicyFactNameLabTargetCost ...
PolicyFactNameLabTargetCost PolicyFactName = "LabTargetCost"
// PolicyFactNameLabVMCount ...
PolicyFactNameLabVMCount PolicyFactName = "LabVmCount"
// PolicyFactNameLabVMSize ...
PolicyFactNameLabVMSize PolicyFactName = "LabVmSize"
// PolicyFactNameUserOwnedLabPremiumVMCount ...
PolicyFactNameUserOwnedLabPremiumVMCount PolicyFactName = "UserOwnedLabPremiumVmCount"
// PolicyFactNameUserOwnedLabVMCount ...
PolicyFactNameUserOwnedLabVMCount PolicyFactName = "UserOwnedLabVmCount"
// PolicyFactNameUserOwnedLabVMCountInSubnet ...
PolicyFactNameUserOwnedLabVMCountInSubnet PolicyFactName = "UserOwnedLabVmCountInSubnet"
)
// PossiblePolicyFactNameValues returns an array of possible values for the PolicyFactName const type.
func PossiblePolicyFactNameValues() []PolicyFactName {
return []PolicyFactName{PolicyFactNameGalleryImage, PolicyFactNameLabPremiumVMCount, PolicyFactNameLabTargetCost, PolicyFactNameLabVMCount, PolicyFactNameLabVMSize, PolicyFactNameUserOwnedLabPremiumVMCount, PolicyFactNameUserOwnedLabVMCount, PolicyFactNameUserOwnedLabVMCountInSubnet}
}
// PolicyStatus enumerates the values for policy status.
type PolicyStatus string
const (
// PolicyStatusDisabled ...
PolicyStatusDisabled PolicyStatus = "Disabled"
// PolicyStatusEnabled ...
PolicyStatusEnabled PolicyStatus = "Enabled"
)
// PossiblePolicyStatusValues returns an array of possible values for the PolicyStatus const type.
func PossiblePolicyStatusValues() []PolicyStatus {
return []PolicyStatus{PolicyStatusDisabled, PolicyStatusEnabled}
}
// PremiumDataDisk enumerates the values for premium data disk.
type PremiumDataDisk string
const (
// PremiumDataDiskDisabled ...
PremiumDataDiskDisabled PremiumDataDisk = "Disabled"
// PremiumDataDiskEnabled ...
PremiumDataDiskEnabled PremiumDataDisk = "Enabled"
)
// PossiblePremiumDataDiskValues returns an array of possible values for the PremiumDataDisk const type.
func PossiblePremiumDataDiskValues() []PremiumDataDisk {
return []PremiumDataDisk{PremiumDataDiskDisabled, PremiumDataDiskEnabled}
}
// ReportingCycleType enumerates the values for reporting cycle type.
type ReportingCycleType string
const (
// CalendarMonth ...
CalendarMonth ReportingCycleType = "CalendarMonth"
// Custom ...
Custom ReportingCycleType = "Custom"
)
// PossibleReportingCycleTypeValues returns an array of possible values for the ReportingCycleType const type.
func PossibleReportingCycleTypeValues() []ReportingCycleType {
return []ReportingCycleType{CalendarMonth, Custom}
}
// SourceControlType enumerates the values for source control type.
type SourceControlType string
const (
// GitHub ...
GitHub SourceControlType = "GitHub"
// VsoGit ...
VsoGit SourceControlType = "VsoGit"
)
// PossibleSourceControlTypeValues returns an array of possible values for the SourceControlType const type.
func PossibleSourceControlTypeValues() []SourceControlType {
return []SourceControlType{GitHub, VsoGit}
}
// StorageType enumerates the values for storage type.
type StorageType string
const (
// Premium ...
Premium StorageType = "Premium"
// Standard ...
Standard StorageType = "Standard"
)
// PossibleStorageTypeValues returns an array of possible values for the StorageType const type.
func PossibleStorageTypeValues() []StorageType {
return []StorageType{Premium, Standard}
}
// TargetCostStatus enumerates the values for target cost status.
type TargetCostStatus string
const (
// TargetCostStatusDisabled ...
TargetCostStatusDisabled TargetCostStatus = "Disabled"
// TargetCostStatusEnabled ...
TargetCostStatusEnabled TargetCostStatus = "Enabled"
)
// PossibleTargetCostStatusValues returns an array of possible values for the TargetCostStatus const type.
func PossibleTargetCostStatusValues() []TargetCostStatus {
return []TargetCostStatus{TargetCostStatusDisabled, TargetCostStatusEnabled}
}
// TransportProtocol enumerates the values for transport protocol.
type TransportProtocol string
const (
// TCP ...
TCP TransportProtocol = "Tcp"
// UDP ...
UDP TransportProtocol = "Udp"
)
// PossibleTransportProtocolValues returns an array of possible values for the TransportProtocol const type.
func PossibleTransportProtocolValues() []TransportProtocol {
return []TransportProtocol{TCP, UDP}
}
// UsagePermissionType enumerates the values for usage permission type.
type UsagePermissionType string
const (
// Allow ...
Allow UsagePermissionType = "Allow"
// Default ...
Default UsagePermissionType = "Default"
// Deny ...
Deny UsagePermissionType = "Deny"
)
// PossibleUsagePermissionTypeValues returns an array of possible values for the UsagePermissionType const type.
func PossibleUsagePermissionTypeValues() []UsagePermissionType {
return []UsagePermissionType{Allow, Default, Deny}
}
// VirtualMachineCreationSource enumerates the values for virtual machine creation source.
type VirtualMachineCreationSource string
const (
// FromCustomImage ...
FromCustomImage VirtualMachineCreationSource = "FromCustomImage"
// FromGalleryImage ...
FromGalleryImage VirtualMachineCreationSource = "FromGalleryImage"
)
// PossibleVirtualMachineCreationSourceValues returns an array of possible values for the VirtualMachineCreationSource const type.
func PossibleVirtualMachineCreationSourceValues() []VirtualMachineCreationSource {
return []VirtualMachineCreationSource{FromCustomImage, FromGalleryImage}
}
// WindowsOsState enumerates the values for windows os state.
type WindowsOsState string
const (
// NonSysprepped ...
NonSysprepped WindowsOsState = "NonSysprepped"
// SysprepApplied ...
SysprepApplied WindowsOsState = "SysprepApplied"
// SysprepRequested ...
SysprepRequested WindowsOsState = "SysprepRequested"
)
// PossibleWindowsOsStateValues returns an array of possible values for the WindowsOsState const type.
func PossibleWindowsOsStateValues() []WindowsOsState {
return []WindowsOsState{NonSysprepped, SysprepApplied, SysprepRequested}
}
|