...

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

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

View as plain text