...

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

Documentation: github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2018-09-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  // EnvironmentPermission enumerates the values for environment permission.
    74  type EnvironmentPermission string
    75  
    76  const (
    77  	// Contributor ...
    78  	Contributor EnvironmentPermission = "Contributor"
    79  	// Reader ...
    80  	Reader EnvironmentPermission = "Reader"
    81  )
    82  
    83  // PossibleEnvironmentPermissionValues returns an array of possible values for the EnvironmentPermission const type.
    84  func PossibleEnvironmentPermissionValues() []EnvironmentPermission {
    85  	return []EnvironmentPermission{Contributor, Reader}
    86  }
    87  
    88  // FileUploadOptions enumerates the values for file upload options.
    89  type FileUploadOptions string
    90  
    91  const (
    92  	// FileUploadOptionsNone ...
    93  	FileUploadOptionsNone FileUploadOptions = "None"
    94  	// FileUploadOptionsUploadFilesAndGenerateSasTokens ...
    95  	FileUploadOptionsUploadFilesAndGenerateSasTokens FileUploadOptions = "UploadFilesAndGenerateSasTokens"
    96  )
    97  
    98  // PossibleFileUploadOptionsValues returns an array of possible values for the FileUploadOptions const type.
    99  func PossibleFileUploadOptionsValues() []FileUploadOptions {
   100  	return []FileUploadOptions{FileUploadOptionsNone, FileUploadOptionsUploadFilesAndGenerateSasTokens}
   101  }
   102  
   103  // HostCachingOptions enumerates the values for host caching options.
   104  type HostCachingOptions string
   105  
   106  const (
   107  	// HostCachingOptionsNone ...
   108  	HostCachingOptionsNone HostCachingOptions = "None"
   109  	// HostCachingOptionsReadOnly ...
   110  	HostCachingOptionsReadOnly HostCachingOptions = "ReadOnly"
   111  	// HostCachingOptionsReadWrite ...
   112  	HostCachingOptionsReadWrite HostCachingOptions = "ReadWrite"
   113  )
   114  
   115  // PossibleHostCachingOptionsValues returns an array of possible values for the HostCachingOptions const type.
   116  func PossibleHostCachingOptionsValues() []HostCachingOptions {
   117  	return []HostCachingOptions{HostCachingOptionsNone, HostCachingOptionsReadOnly, HostCachingOptionsReadWrite}
   118  }
   119  
   120  // HTTPStatusCode enumerates the values for http status code.
   121  type HTTPStatusCode string
   122  
   123  const (
   124  	// Accepted ...
   125  	Accepted HTTPStatusCode = "Accepted"
   126  	// BadGateway ...
   127  	BadGateway HTTPStatusCode = "BadGateway"
   128  	// BadRequest ...
   129  	BadRequest HTTPStatusCode = "BadRequest"
   130  	// Conflict ...
   131  	Conflict HTTPStatusCode = "Conflict"
   132  	// Continue ...
   133  	Continue HTTPStatusCode = "Continue"
   134  	// Created ...
   135  	Created HTTPStatusCode = "Created"
   136  	// ExpectationFailed ...
   137  	ExpectationFailed HTTPStatusCode = "ExpectationFailed"
   138  	// Forbidden ...
   139  	Forbidden HTTPStatusCode = "Forbidden"
   140  	// GatewayTimeout ...
   141  	GatewayTimeout HTTPStatusCode = "GatewayTimeout"
   142  	// Gone ...
   143  	Gone HTTPStatusCode = "Gone"
   144  	// HTTPVersionNotSupported ...
   145  	HTTPVersionNotSupported HTTPStatusCode = "HttpVersionNotSupported"
   146  	// InternalServerError ...
   147  	InternalServerError HTTPStatusCode = "InternalServerError"
   148  	// LengthRequired ...
   149  	LengthRequired HTTPStatusCode = "LengthRequired"
   150  	// MethodNotAllowed ...
   151  	MethodNotAllowed HTTPStatusCode = "MethodNotAllowed"
   152  	// MovedPermanently ...
   153  	MovedPermanently HTTPStatusCode = "MovedPermanently"
   154  	// MultipleChoices ...
   155  	MultipleChoices HTTPStatusCode = "MultipleChoices"
   156  	// NoContent ...
   157  	NoContent HTTPStatusCode = "NoContent"
   158  	// NonAuthoritativeInformation ...
   159  	NonAuthoritativeInformation HTTPStatusCode = "NonAuthoritativeInformation"
   160  	// NotAcceptable ...
   161  	NotAcceptable HTTPStatusCode = "NotAcceptable"
   162  	// NotFound ...
   163  	NotFound HTTPStatusCode = "NotFound"
   164  	// NotImplemented ...
   165  	NotImplemented HTTPStatusCode = "NotImplemented"
   166  	// NotModified ...
   167  	NotModified HTTPStatusCode = "NotModified"
   168  	// OK ...
   169  	OK HTTPStatusCode = "OK"
   170  	// PartialContent ...
   171  	PartialContent HTTPStatusCode = "PartialContent"
   172  	// PaymentRequired ...
   173  	PaymentRequired HTTPStatusCode = "PaymentRequired"
   174  	// PreconditionFailed ...
   175  	PreconditionFailed HTTPStatusCode = "PreconditionFailed"
   176  	// ProxyAuthenticationRequired ...
   177  	ProxyAuthenticationRequired HTTPStatusCode = "ProxyAuthenticationRequired"
   178  	// Redirect ...
   179  	Redirect HTTPStatusCode = "Redirect"
   180  	// RequestedRangeNotSatisfiable ...
   181  	RequestedRangeNotSatisfiable HTTPStatusCode = "RequestedRangeNotSatisfiable"
   182  	// RequestEntityTooLarge ...
   183  	RequestEntityTooLarge HTTPStatusCode = "RequestEntityTooLarge"
   184  	// RequestTimeout ...
   185  	RequestTimeout HTTPStatusCode = "RequestTimeout"
   186  	// RequestURITooLong ...
   187  	RequestURITooLong HTTPStatusCode = "RequestUriTooLong"
   188  	// ResetContent ...
   189  	ResetContent HTTPStatusCode = "ResetContent"
   190  	// SeeOther ...
   191  	SeeOther HTTPStatusCode = "SeeOther"
   192  	// ServiceUnavailable ...
   193  	ServiceUnavailable HTTPStatusCode = "ServiceUnavailable"
   194  	// SwitchingProtocols ...
   195  	SwitchingProtocols HTTPStatusCode = "SwitchingProtocols"
   196  	// TemporaryRedirect ...
   197  	TemporaryRedirect HTTPStatusCode = "TemporaryRedirect"
   198  	// Unauthorized ...
   199  	Unauthorized HTTPStatusCode = "Unauthorized"
   200  	// UnsupportedMediaType ...
   201  	UnsupportedMediaType HTTPStatusCode = "UnsupportedMediaType"
   202  	// Unused ...
   203  	Unused HTTPStatusCode = "Unused"
   204  	// UpgradeRequired ...
   205  	UpgradeRequired HTTPStatusCode = "UpgradeRequired"
   206  	// UseProxy ...
   207  	UseProxy HTTPStatusCode = "UseProxy"
   208  )
   209  
   210  // PossibleHTTPStatusCodeValues returns an array of possible values for the HTTPStatusCode const type.
   211  func PossibleHTTPStatusCodeValues() []HTTPStatusCode {
   212  	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}
   213  }
   214  
   215  // LinuxOsState enumerates the values for linux os state.
   216  type LinuxOsState string
   217  
   218  const (
   219  	// DeprovisionApplied ...
   220  	DeprovisionApplied LinuxOsState = "DeprovisionApplied"
   221  	// DeprovisionRequested ...
   222  	DeprovisionRequested LinuxOsState = "DeprovisionRequested"
   223  	// NonDeprovisioned ...
   224  	NonDeprovisioned LinuxOsState = "NonDeprovisioned"
   225  )
   226  
   227  // PossibleLinuxOsStateValues returns an array of possible values for the LinuxOsState const type.
   228  func PossibleLinuxOsStateValues() []LinuxOsState {
   229  	return []LinuxOsState{DeprovisionApplied, DeprovisionRequested, NonDeprovisioned}
   230  }
   231  
   232  // NotificationChannelEventType enumerates the values for notification channel event type.
   233  type NotificationChannelEventType string
   234  
   235  const (
   236  	// AutoShutdown ...
   237  	AutoShutdown NotificationChannelEventType = "AutoShutdown"
   238  	// Cost ...
   239  	Cost NotificationChannelEventType = "Cost"
   240  )
   241  
   242  // PossibleNotificationChannelEventTypeValues returns an array of possible values for the NotificationChannelEventType const type.
   243  func PossibleNotificationChannelEventTypeValues() []NotificationChannelEventType {
   244  	return []NotificationChannelEventType{AutoShutdown, Cost}
   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  	// PolicyFactNameEnvironmentTemplate ...
   267  	PolicyFactNameEnvironmentTemplate PolicyFactName = "EnvironmentTemplate"
   268  	// PolicyFactNameGalleryImage ...
   269  	PolicyFactNameGalleryImage PolicyFactName = "GalleryImage"
   270  	// PolicyFactNameLabPremiumVMCount ...
   271  	PolicyFactNameLabPremiumVMCount PolicyFactName = "LabPremiumVmCount"
   272  	// PolicyFactNameLabTargetCost ...
   273  	PolicyFactNameLabTargetCost PolicyFactName = "LabTargetCost"
   274  	// PolicyFactNameLabVMCount ...
   275  	PolicyFactNameLabVMCount PolicyFactName = "LabVmCount"
   276  	// PolicyFactNameLabVMSize ...
   277  	PolicyFactNameLabVMSize PolicyFactName = "LabVmSize"
   278  	// PolicyFactNameScheduleEditPermission ...
   279  	PolicyFactNameScheduleEditPermission PolicyFactName = "ScheduleEditPermission"
   280  	// PolicyFactNameUserOwnedLabPremiumVMCount ...
   281  	PolicyFactNameUserOwnedLabPremiumVMCount PolicyFactName = "UserOwnedLabPremiumVmCount"
   282  	// PolicyFactNameUserOwnedLabVMCount ...
   283  	PolicyFactNameUserOwnedLabVMCount PolicyFactName = "UserOwnedLabVmCount"
   284  	// PolicyFactNameUserOwnedLabVMCountInSubnet ...
   285  	PolicyFactNameUserOwnedLabVMCountInSubnet PolicyFactName = "UserOwnedLabVmCountInSubnet"
   286  )
   287  
   288  // PossiblePolicyFactNameValues returns an array of possible values for the PolicyFactName const type.
   289  func PossiblePolicyFactNameValues() []PolicyFactName {
   290  	return []PolicyFactName{PolicyFactNameEnvironmentTemplate, PolicyFactNameGalleryImage, PolicyFactNameLabPremiumVMCount, PolicyFactNameLabTargetCost, PolicyFactNameLabVMCount, PolicyFactNameLabVMSize, PolicyFactNameScheduleEditPermission, PolicyFactNameUserOwnedLabPremiumVMCount, PolicyFactNameUserOwnedLabVMCount, PolicyFactNameUserOwnedLabVMCountInSubnet}
   291  }
   292  
   293  // PolicyStatus enumerates the values for policy status.
   294  type PolicyStatus string
   295  
   296  const (
   297  	// PolicyStatusDisabled ...
   298  	PolicyStatusDisabled PolicyStatus = "Disabled"
   299  	// PolicyStatusEnabled ...
   300  	PolicyStatusEnabled PolicyStatus = "Enabled"
   301  )
   302  
   303  // PossiblePolicyStatusValues returns an array of possible values for the PolicyStatus const type.
   304  func PossiblePolicyStatusValues() []PolicyStatus {
   305  	return []PolicyStatus{PolicyStatusDisabled, PolicyStatusEnabled}
   306  }
   307  
   308  // PremiumDataDisk enumerates the values for premium data disk.
   309  type PremiumDataDisk string
   310  
   311  const (
   312  	// PremiumDataDiskDisabled ...
   313  	PremiumDataDiskDisabled PremiumDataDisk = "Disabled"
   314  	// PremiumDataDiskEnabled ...
   315  	PremiumDataDiskEnabled PremiumDataDisk = "Enabled"
   316  )
   317  
   318  // PossiblePremiumDataDiskValues returns an array of possible values for the PremiumDataDisk const type.
   319  func PossiblePremiumDataDiskValues() []PremiumDataDisk {
   320  	return []PremiumDataDisk{PremiumDataDiskDisabled, PremiumDataDiskEnabled}
   321  }
   322  
   323  // ReportingCycleType enumerates the values for reporting cycle type.
   324  type ReportingCycleType string
   325  
   326  const (
   327  	// CalendarMonth ...
   328  	CalendarMonth ReportingCycleType = "CalendarMonth"
   329  	// Custom ...
   330  	Custom ReportingCycleType = "Custom"
   331  )
   332  
   333  // PossibleReportingCycleTypeValues returns an array of possible values for the ReportingCycleType const type.
   334  func PossibleReportingCycleTypeValues() []ReportingCycleType {
   335  	return []ReportingCycleType{CalendarMonth, Custom}
   336  }
   337  
   338  // SourceControlType enumerates the values for source control type.
   339  type SourceControlType string
   340  
   341  const (
   342  	// GitHub ...
   343  	GitHub SourceControlType = "GitHub"
   344  	// VsoGit ...
   345  	VsoGit SourceControlType = "VsoGit"
   346  )
   347  
   348  // PossibleSourceControlTypeValues returns an array of possible values for the SourceControlType const type.
   349  func PossibleSourceControlTypeValues() []SourceControlType {
   350  	return []SourceControlType{GitHub, VsoGit}
   351  }
   352  
   353  // StorageType enumerates the values for storage type.
   354  type StorageType string
   355  
   356  const (
   357  	// Premium ...
   358  	Premium StorageType = "Premium"
   359  	// Standard ...
   360  	Standard StorageType = "Standard"
   361  	// StandardSSD ...
   362  	StandardSSD StorageType = "StandardSSD"
   363  )
   364  
   365  // PossibleStorageTypeValues returns an array of possible values for the StorageType const type.
   366  func PossibleStorageTypeValues() []StorageType {
   367  	return []StorageType{Premium, Standard, StandardSSD}
   368  }
   369  
   370  // TargetCostStatus enumerates the values for target cost status.
   371  type TargetCostStatus string
   372  
   373  const (
   374  	// TargetCostStatusDisabled ...
   375  	TargetCostStatusDisabled TargetCostStatus = "Disabled"
   376  	// TargetCostStatusEnabled ...
   377  	TargetCostStatusEnabled TargetCostStatus = "Enabled"
   378  )
   379  
   380  // PossibleTargetCostStatusValues returns an array of possible values for the TargetCostStatus const type.
   381  func PossibleTargetCostStatusValues() []TargetCostStatus {
   382  	return []TargetCostStatus{TargetCostStatusDisabled, TargetCostStatusEnabled}
   383  }
   384  
   385  // TransportProtocol enumerates the values for transport protocol.
   386  type TransportProtocol string
   387  
   388  const (
   389  	// TCP ...
   390  	TCP TransportProtocol = "Tcp"
   391  	// UDP ...
   392  	UDP TransportProtocol = "Udp"
   393  )
   394  
   395  // PossibleTransportProtocolValues returns an array of possible values for the TransportProtocol const type.
   396  func PossibleTransportProtocolValues() []TransportProtocol {
   397  	return []TransportProtocol{TCP, UDP}
   398  }
   399  
   400  // UsagePermissionType enumerates the values for usage permission type.
   401  type UsagePermissionType string
   402  
   403  const (
   404  	// Allow ...
   405  	Allow UsagePermissionType = "Allow"
   406  	// Default ...
   407  	Default UsagePermissionType = "Default"
   408  	// Deny ...
   409  	Deny UsagePermissionType = "Deny"
   410  )
   411  
   412  // PossibleUsagePermissionTypeValues returns an array of possible values for the UsagePermissionType const type.
   413  func PossibleUsagePermissionTypeValues() []UsagePermissionType {
   414  	return []UsagePermissionType{Allow, Default, Deny}
   415  }
   416  
   417  // VirtualMachineCreationSource enumerates the values for virtual machine creation source.
   418  type VirtualMachineCreationSource string
   419  
   420  const (
   421  	// FromCustomImage ...
   422  	FromCustomImage VirtualMachineCreationSource = "FromCustomImage"
   423  	// FromGalleryImage ...
   424  	FromGalleryImage VirtualMachineCreationSource = "FromGalleryImage"
   425  	// FromSharedGalleryImage ...
   426  	FromSharedGalleryImage VirtualMachineCreationSource = "FromSharedGalleryImage"
   427  )
   428  
   429  // PossibleVirtualMachineCreationSourceValues returns an array of possible values for the VirtualMachineCreationSource const type.
   430  func PossibleVirtualMachineCreationSourceValues() []VirtualMachineCreationSource {
   431  	return []VirtualMachineCreationSource{FromCustomImage, FromGalleryImage, FromSharedGalleryImage}
   432  }
   433  
   434  // WindowsOsState enumerates the values for windows os state.
   435  type WindowsOsState string
   436  
   437  const (
   438  	// NonSysprepped ...
   439  	NonSysprepped WindowsOsState = "NonSysprepped"
   440  	// SysprepApplied ...
   441  	SysprepApplied WindowsOsState = "SysprepApplied"
   442  	// SysprepRequested ...
   443  	SysprepRequested WindowsOsState = "SysprepRequested"
   444  )
   445  
   446  // PossibleWindowsOsStateValues returns an array of possible values for the WindowsOsState const type.
   447  func PossibleWindowsOsStateValues() []WindowsOsState {
   448  	return []WindowsOsState{NonSysprepped, SysprepApplied, SysprepRequested}
   449  }
   450  

View as plain text