...

Source file src/github.com/Azure/azure-sdk-for-go/services/preview/datalake/store/mgmt/2015-10-01-preview/account/enums.go

Documentation: github.com/Azure/azure-sdk-for-go/services/preview/datalake/store/mgmt/2015-10-01-preview/account

     1  package account
     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  // DataLakeStoreAccountState enumerates the values for data lake store account state.
    10  type DataLakeStoreAccountState string
    11  
    12  const (
    13  	// Active ...
    14  	Active DataLakeStoreAccountState = "active"
    15  	// Suspended ...
    16  	Suspended DataLakeStoreAccountState = "suspended"
    17  )
    18  
    19  // PossibleDataLakeStoreAccountStateValues returns an array of possible values for the DataLakeStoreAccountState const type.
    20  func PossibleDataLakeStoreAccountStateValues() []DataLakeStoreAccountState {
    21  	return []DataLakeStoreAccountState{Active, Suspended}
    22  }
    23  
    24  // DataLakeStoreAccountStatus enumerates the values for data lake store account status.
    25  type DataLakeStoreAccountStatus string
    26  
    27  const (
    28  	// Creating ...
    29  	Creating DataLakeStoreAccountStatus = "Creating"
    30  	// Deleted ...
    31  	Deleted DataLakeStoreAccountStatus = "Deleted"
    32  	// Deleting ...
    33  	Deleting DataLakeStoreAccountStatus = "Deleting"
    34  	// Failed ...
    35  	Failed DataLakeStoreAccountStatus = "Failed"
    36  	// Patching ...
    37  	Patching DataLakeStoreAccountStatus = "Patching"
    38  	// Resuming ...
    39  	Resuming DataLakeStoreAccountStatus = "Resuming"
    40  	// Running ...
    41  	Running DataLakeStoreAccountStatus = "Running"
    42  	// Succeeded ...
    43  	Succeeded DataLakeStoreAccountStatus = "Succeeded"
    44  	// Suspending ...
    45  	Suspending DataLakeStoreAccountStatus = "Suspending"
    46  )
    47  
    48  // PossibleDataLakeStoreAccountStatusValues returns an array of possible values for the DataLakeStoreAccountStatus const type.
    49  func PossibleDataLakeStoreAccountStatusValues() []DataLakeStoreAccountStatus {
    50  	return []DataLakeStoreAccountStatus{Creating, Deleted, Deleting, Failed, Patching, Resuming, Running, Succeeded, Suspending}
    51  }
    52  
    53  // EncryptionConfigType enumerates the values for encryption config type.
    54  type EncryptionConfigType string
    55  
    56  const (
    57  	// ServiceManaged ...
    58  	ServiceManaged EncryptionConfigType = "ServiceManaged"
    59  	// UserManaged ...
    60  	UserManaged EncryptionConfigType = "UserManaged"
    61  )
    62  
    63  // PossibleEncryptionConfigTypeValues returns an array of possible values for the EncryptionConfigType const type.
    64  func PossibleEncryptionConfigTypeValues() []EncryptionConfigType {
    65  	return []EncryptionConfigType{ServiceManaged, UserManaged}
    66  }
    67  
    68  // EncryptionIdentityType enumerates the values for encryption identity type.
    69  type EncryptionIdentityType string
    70  
    71  const (
    72  	// SystemAssigned ...
    73  	SystemAssigned EncryptionIdentityType = "SystemAssigned"
    74  )
    75  
    76  // PossibleEncryptionIdentityTypeValues returns an array of possible values for the EncryptionIdentityType const type.
    77  func PossibleEncryptionIdentityTypeValues() []EncryptionIdentityType {
    78  	return []EncryptionIdentityType{SystemAssigned}
    79  }
    80  
    81  // EncryptionProvisioningState enumerates the values for encryption provisioning state.
    82  type EncryptionProvisioningState string
    83  
    84  const (
    85  	// EncryptionProvisioningStateCreating ...
    86  	EncryptionProvisioningStateCreating EncryptionProvisioningState = "Creating"
    87  	// EncryptionProvisioningStateSucceeded ...
    88  	EncryptionProvisioningStateSucceeded EncryptionProvisioningState = "Succeeded"
    89  )
    90  
    91  // PossibleEncryptionProvisioningStateValues returns an array of possible values for the EncryptionProvisioningState const type.
    92  func PossibleEncryptionProvisioningStateValues() []EncryptionProvisioningState {
    93  	return []EncryptionProvisioningState{EncryptionProvisioningStateCreating, EncryptionProvisioningStateSucceeded}
    94  }
    95  
    96  // EncryptionState enumerates the values for encryption state.
    97  type EncryptionState string
    98  
    99  const (
   100  	// Disabled ...
   101  	Disabled EncryptionState = "Disabled"
   102  	// Enabled ...
   103  	Enabled EncryptionState = "Enabled"
   104  )
   105  
   106  // PossibleEncryptionStateValues returns an array of possible values for the EncryptionState const type.
   107  func PossibleEncryptionStateValues() []EncryptionState {
   108  	return []EncryptionState{Disabled, Enabled}
   109  }
   110  
   111  // OperationStatus enumerates the values for operation status.
   112  type OperationStatus string
   113  
   114  const (
   115  	// OperationStatusFailed ...
   116  	OperationStatusFailed OperationStatus = "Failed"
   117  	// OperationStatusInProgress ...
   118  	OperationStatusInProgress OperationStatus = "InProgress"
   119  	// OperationStatusSucceeded ...
   120  	OperationStatusSucceeded OperationStatus = "Succeeded"
   121  )
   122  
   123  // PossibleOperationStatusValues returns an array of possible values for the OperationStatus const type.
   124  func PossibleOperationStatusValues() []OperationStatus {
   125  	return []OperationStatus{OperationStatusFailed, OperationStatusInProgress, OperationStatusSucceeded}
   126  }
   127  

View as plain text