...

Source file src/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/enums.go

Documentation: github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl

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

View as plain text