...

Source file src/github.com/Azure/azure-sdk-for-go/services/hybriddatamanager/mgmt/2016-06-01/hybriddata/enums.go

Documentation: github.com/Azure/azure-sdk-for-go/services/hybriddatamanager/mgmt/2016-06-01/hybriddata

     1  package hybriddata
     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  // IsJobCancellable enumerates the values for is job cancellable.
    10  type IsJobCancellable string
    11  
    12  const (
    13  	// Cancellable ...
    14  	Cancellable IsJobCancellable = "Cancellable"
    15  	// NotCancellable ...
    16  	NotCancellable IsJobCancellable = "NotCancellable"
    17  )
    18  
    19  // PossibleIsJobCancellableValues returns an array of possible values for the IsJobCancellable const type.
    20  func PossibleIsJobCancellableValues() []IsJobCancellable {
    21  	return []IsJobCancellable{Cancellable, NotCancellable}
    22  }
    23  
    24  // JobStatus enumerates the values for job status.
    25  type JobStatus string
    26  
    27  const (
    28  	// Cancelled ...
    29  	Cancelled JobStatus = "Cancelled"
    30  	// Cancelling ...
    31  	Cancelling JobStatus = "Cancelling"
    32  	// Failed ...
    33  	Failed JobStatus = "Failed"
    34  	// InProgress ...
    35  	InProgress JobStatus = "InProgress"
    36  	// None ...
    37  	None JobStatus = "None"
    38  	// Succeeded ...
    39  	Succeeded JobStatus = "Succeeded"
    40  	// WaitingForAction ...
    41  	WaitingForAction JobStatus = "WaitingForAction"
    42  )
    43  
    44  // PossibleJobStatusValues returns an array of possible values for the JobStatus const type.
    45  func PossibleJobStatusValues() []JobStatus {
    46  	return []JobStatus{Cancelled, Cancelling, Failed, InProgress, None, Succeeded, WaitingForAction}
    47  }
    48  
    49  // RunLocation enumerates the values for run location.
    50  type RunLocation string
    51  
    52  const (
    53  	// RunLocationAustraliaeast ...
    54  	RunLocationAustraliaeast RunLocation = "australiaeast"
    55  	// RunLocationAustraliasoutheast ...
    56  	RunLocationAustraliasoutheast RunLocation = "australiasoutheast"
    57  	// RunLocationBrazilsouth ...
    58  	RunLocationBrazilsouth RunLocation = "brazilsouth"
    59  	// RunLocationCanadacentral ...
    60  	RunLocationCanadacentral RunLocation = "canadacentral"
    61  	// RunLocationCanadaeast ...
    62  	RunLocationCanadaeast RunLocation = "canadaeast"
    63  	// RunLocationCentralindia ...
    64  	RunLocationCentralindia RunLocation = "centralindia"
    65  	// RunLocationCentralus ...
    66  	RunLocationCentralus RunLocation = "centralus"
    67  	// RunLocationEastasia ...
    68  	RunLocationEastasia RunLocation = "eastasia"
    69  	// RunLocationEastus ...
    70  	RunLocationEastus RunLocation = "eastus"
    71  	// RunLocationEastus2 ...
    72  	RunLocationEastus2 RunLocation = "eastus2"
    73  	// RunLocationJapaneast ...
    74  	RunLocationJapaneast RunLocation = "japaneast"
    75  	// RunLocationJapanwest ...
    76  	RunLocationJapanwest RunLocation = "japanwest"
    77  	// RunLocationKoreacentral ...
    78  	RunLocationKoreacentral RunLocation = "koreacentral"
    79  	// RunLocationKoreasouth ...
    80  	RunLocationKoreasouth RunLocation = "koreasouth"
    81  	// RunLocationNone ...
    82  	RunLocationNone RunLocation = "none"
    83  	// RunLocationNorthcentralus ...
    84  	RunLocationNorthcentralus RunLocation = "northcentralus"
    85  	// RunLocationNortheurope ...
    86  	RunLocationNortheurope RunLocation = "northeurope"
    87  	// RunLocationSouthcentralus ...
    88  	RunLocationSouthcentralus RunLocation = "southcentralus"
    89  	// RunLocationSoutheastasia ...
    90  	RunLocationSoutheastasia RunLocation = "southeastasia"
    91  	// RunLocationSouthindia ...
    92  	RunLocationSouthindia RunLocation = "southindia"
    93  	// RunLocationUksouth ...
    94  	RunLocationUksouth RunLocation = "uksouth"
    95  	// RunLocationUkwest ...
    96  	RunLocationUkwest RunLocation = "ukwest"
    97  	// RunLocationWestcentralus ...
    98  	RunLocationWestcentralus RunLocation = "westcentralus"
    99  	// RunLocationWesteurope ...
   100  	RunLocationWesteurope RunLocation = "westeurope"
   101  	// RunLocationWestindia ...
   102  	RunLocationWestindia RunLocation = "westindia"
   103  	// RunLocationWestus ...
   104  	RunLocationWestus RunLocation = "westus"
   105  	// RunLocationWestus2 ...
   106  	RunLocationWestus2 RunLocation = "westus2"
   107  )
   108  
   109  // PossibleRunLocationValues returns an array of possible values for the RunLocation const type.
   110  func PossibleRunLocationValues() []RunLocation {
   111  	return []RunLocation{RunLocationAustraliaeast, RunLocationAustraliasoutheast, RunLocationBrazilsouth, RunLocationCanadacentral, RunLocationCanadaeast, RunLocationCentralindia, RunLocationCentralus, RunLocationEastasia, RunLocationEastus, RunLocationEastus2, RunLocationJapaneast, RunLocationJapanwest, RunLocationKoreacentral, RunLocationKoreasouth, RunLocationNone, RunLocationNorthcentralus, RunLocationNortheurope, RunLocationSouthcentralus, RunLocationSoutheastasia, RunLocationSouthindia, RunLocationUksouth, RunLocationUkwest, RunLocationWestcentralus, RunLocationWesteurope, RunLocationWestindia, RunLocationWestus, RunLocationWestus2}
   112  }
   113  
   114  // State enumerates the values for state.
   115  type State string
   116  
   117  const (
   118  	// Disabled ...
   119  	Disabled State = "Disabled"
   120  	// Enabled ...
   121  	Enabled State = "Enabled"
   122  	// Supported ...
   123  	Supported State = "Supported"
   124  )
   125  
   126  // PossibleStateValues returns an array of possible values for the State const type.
   127  func PossibleStateValues() []State {
   128  	return []State{Disabled, Enabled, Supported}
   129  }
   130  
   131  // SupportedAlgorithm enumerates the values for supported algorithm.
   132  type SupportedAlgorithm string
   133  
   134  const (
   135  	// SupportedAlgorithmNone ...
   136  	SupportedAlgorithmNone SupportedAlgorithm = "None"
   137  	// SupportedAlgorithmPlainText ...
   138  	SupportedAlgorithmPlainText SupportedAlgorithm = "PlainText"
   139  	// SupportedAlgorithmRSA15 ...
   140  	SupportedAlgorithmRSA15 SupportedAlgorithm = "RSA1_5"
   141  	// SupportedAlgorithmRSAOAEP ...
   142  	SupportedAlgorithmRSAOAEP SupportedAlgorithm = "RSA_OAEP"
   143  )
   144  
   145  // PossibleSupportedAlgorithmValues returns an array of possible values for the SupportedAlgorithm const type.
   146  func PossibleSupportedAlgorithmValues() []SupportedAlgorithm {
   147  	return []SupportedAlgorithm{SupportedAlgorithmNone, SupportedAlgorithmPlainText, SupportedAlgorithmRSA15, SupportedAlgorithmRSAOAEP}
   148  }
   149  
   150  // UserConfirmation enumerates the values for user confirmation.
   151  type UserConfirmation string
   152  
   153  const (
   154  	// NotRequired ...
   155  	NotRequired UserConfirmation = "NotRequired"
   156  	// Required ...
   157  	Required UserConfirmation = "Required"
   158  )
   159  
   160  // PossibleUserConfirmationValues returns an array of possible values for the UserConfirmation const type.
   161  func PossibleUserConfirmationValues() []UserConfirmation {
   162  	return []UserConfirmation{NotRequired, Required}
   163  }
   164  

View as plain text