...

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

Documentation: github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/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  	// Canceled ...
    29  	Canceled DataLakeStoreAccountStatus = "Canceled"
    30  	// Creating ...
    31  	Creating DataLakeStoreAccountStatus = "Creating"
    32  	// Deleted ...
    33  	Deleted DataLakeStoreAccountStatus = "Deleted"
    34  	// Deleting ...
    35  	Deleting DataLakeStoreAccountStatus = "Deleting"
    36  	// Failed ...
    37  	Failed DataLakeStoreAccountStatus = "Failed"
    38  	// Patching ...
    39  	Patching DataLakeStoreAccountStatus = "Patching"
    40  	// Resuming ...
    41  	Resuming DataLakeStoreAccountStatus = "Resuming"
    42  	// Running ...
    43  	Running DataLakeStoreAccountStatus = "Running"
    44  	// Succeeded ...
    45  	Succeeded DataLakeStoreAccountStatus = "Succeeded"
    46  	// Suspending ...
    47  	Suspending DataLakeStoreAccountStatus = "Suspending"
    48  	// Undeleting ...
    49  	Undeleting DataLakeStoreAccountStatus = "Undeleting"
    50  )
    51  
    52  // PossibleDataLakeStoreAccountStatusValues returns an array of possible values for the DataLakeStoreAccountStatus const type.
    53  func PossibleDataLakeStoreAccountStatusValues() []DataLakeStoreAccountStatus {
    54  	return []DataLakeStoreAccountStatus{Canceled, Creating, Deleted, Deleting, Failed, Patching, Resuming, Running, Succeeded, Suspending, Undeleting}
    55  }
    56  
    57  // EncryptionConfigType enumerates the values for encryption config type.
    58  type EncryptionConfigType string
    59  
    60  const (
    61  	// ServiceManaged ...
    62  	ServiceManaged EncryptionConfigType = "ServiceManaged"
    63  	// UserManaged ...
    64  	UserManaged EncryptionConfigType = "UserManaged"
    65  )
    66  
    67  // PossibleEncryptionConfigTypeValues returns an array of possible values for the EncryptionConfigType const type.
    68  func PossibleEncryptionConfigTypeValues() []EncryptionConfigType {
    69  	return []EncryptionConfigType{ServiceManaged, UserManaged}
    70  }
    71  
    72  // EncryptionProvisioningState enumerates the values for encryption provisioning state.
    73  type EncryptionProvisioningState string
    74  
    75  const (
    76  	// EncryptionProvisioningStateCreating ...
    77  	EncryptionProvisioningStateCreating EncryptionProvisioningState = "Creating"
    78  	// EncryptionProvisioningStateSucceeded ...
    79  	EncryptionProvisioningStateSucceeded EncryptionProvisioningState = "Succeeded"
    80  )
    81  
    82  // PossibleEncryptionProvisioningStateValues returns an array of possible values for the EncryptionProvisioningState const type.
    83  func PossibleEncryptionProvisioningStateValues() []EncryptionProvisioningState {
    84  	return []EncryptionProvisioningState{EncryptionProvisioningStateCreating, EncryptionProvisioningStateSucceeded}
    85  }
    86  
    87  // EncryptionState enumerates the values for encryption state.
    88  type EncryptionState string
    89  
    90  const (
    91  	// Disabled ...
    92  	Disabled EncryptionState = "Disabled"
    93  	// Enabled ...
    94  	Enabled EncryptionState = "Enabled"
    95  )
    96  
    97  // PossibleEncryptionStateValues returns an array of possible values for the EncryptionState const type.
    98  func PossibleEncryptionStateValues() []EncryptionState {
    99  	return []EncryptionState{Disabled, Enabled}
   100  }
   101  
   102  // FirewallAllowAzureIpsState enumerates the values for firewall allow azure ips state.
   103  type FirewallAllowAzureIpsState string
   104  
   105  const (
   106  	// FirewallAllowAzureIpsStateDisabled ...
   107  	FirewallAllowAzureIpsStateDisabled FirewallAllowAzureIpsState = "Disabled"
   108  	// FirewallAllowAzureIpsStateEnabled ...
   109  	FirewallAllowAzureIpsStateEnabled FirewallAllowAzureIpsState = "Enabled"
   110  )
   111  
   112  // PossibleFirewallAllowAzureIpsStateValues returns an array of possible values for the FirewallAllowAzureIpsState const type.
   113  func PossibleFirewallAllowAzureIpsStateValues() []FirewallAllowAzureIpsState {
   114  	return []FirewallAllowAzureIpsState{FirewallAllowAzureIpsStateDisabled, FirewallAllowAzureIpsStateEnabled}
   115  }
   116  
   117  // FirewallState enumerates the values for firewall state.
   118  type FirewallState string
   119  
   120  const (
   121  	// FirewallStateDisabled ...
   122  	FirewallStateDisabled FirewallState = "Disabled"
   123  	// FirewallStateEnabled ...
   124  	FirewallStateEnabled FirewallState = "Enabled"
   125  )
   126  
   127  // PossibleFirewallStateValues returns an array of possible values for the FirewallState const type.
   128  func PossibleFirewallStateValues() []FirewallState {
   129  	return []FirewallState{FirewallStateDisabled, FirewallStateEnabled}
   130  }
   131  
   132  // OperationOrigin enumerates the values for operation origin.
   133  type OperationOrigin string
   134  
   135  const (
   136  	// System ...
   137  	System OperationOrigin = "system"
   138  	// User ...
   139  	User OperationOrigin = "user"
   140  	// Usersystem ...
   141  	Usersystem OperationOrigin = "user,system"
   142  )
   143  
   144  // PossibleOperationOriginValues returns an array of possible values for the OperationOrigin const type.
   145  func PossibleOperationOriginValues() []OperationOrigin {
   146  	return []OperationOrigin{System, User, Usersystem}
   147  }
   148  
   149  // SubscriptionState enumerates the values for subscription state.
   150  type SubscriptionState string
   151  
   152  const (
   153  	// SubscriptionStateDeleted ...
   154  	SubscriptionStateDeleted SubscriptionState = "Deleted"
   155  	// SubscriptionStateRegistered ...
   156  	SubscriptionStateRegistered SubscriptionState = "Registered"
   157  	// SubscriptionStateSuspended ...
   158  	SubscriptionStateSuspended SubscriptionState = "Suspended"
   159  	// SubscriptionStateUnregistered ...
   160  	SubscriptionStateUnregistered SubscriptionState = "Unregistered"
   161  	// SubscriptionStateWarned ...
   162  	SubscriptionStateWarned SubscriptionState = "Warned"
   163  )
   164  
   165  // PossibleSubscriptionStateValues returns an array of possible values for the SubscriptionState const type.
   166  func PossibleSubscriptionStateValues() []SubscriptionState {
   167  	return []SubscriptionState{SubscriptionStateDeleted, SubscriptionStateRegistered, SubscriptionStateSuspended, SubscriptionStateUnregistered, SubscriptionStateWarned}
   168  }
   169  
   170  // TierType enumerates the values for tier type.
   171  type TierType string
   172  
   173  const (
   174  	// Commitment100TB ...
   175  	Commitment100TB TierType = "Commitment_100TB"
   176  	// Commitment10TB ...
   177  	Commitment10TB TierType = "Commitment_10TB"
   178  	// Commitment1PB ...
   179  	Commitment1PB TierType = "Commitment_1PB"
   180  	// Commitment1TB ...
   181  	Commitment1TB TierType = "Commitment_1TB"
   182  	// Commitment500TB ...
   183  	Commitment500TB TierType = "Commitment_500TB"
   184  	// Commitment5PB ...
   185  	Commitment5PB TierType = "Commitment_5PB"
   186  	// Consumption ...
   187  	Consumption TierType = "Consumption"
   188  )
   189  
   190  // PossibleTierTypeValues returns an array of possible values for the TierType const type.
   191  func PossibleTierTypeValues() []TierType {
   192  	return []TierType{Commitment100TB, Commitment10TB, Commitment1PB, Commitment1TB, Commitment500TB, Commitment5PB, Consumption}
   193  }
   194  
   195  // TrustedIDProviderState enumerates the values for trusted id provider state.
   196  type TrustedIDProviderState string
   197  
   198  const (
   199  	// TrustedIDProviderStateDisabled ...
   200  	TrustedIDProviderStateDisabled TrustedIDProviderState = "Disabled"
   201  	// TrustedIDProviderStateEnabled ...
   202  	TrustedIDProviderStateEnabled TrustedIDProviderState = "Enabled"
   203  )
   204  
   205  // PossibleTrustedIDProviderStateValues returns an array of possible values for the TrustedIDProviderState const type.
   206  func PossibleTrustedIDProviderStateValues() []TrustedIDProviderState {
   207  	return []TrustedIDProviderState{TrustedIDProviderStateDisabled, TrustedIDProviderStateEnabled}
   208  }
   209  
   210  // UsageUnit enumerates the values for usage unit.
   211  type UsageUnit string
   212  
   213  const (
   214  	// Bytes ...
   215  	Bytes UsageUnit = "Bytes"
   216  	// BytesPerSecond ...
   217  	BytesPerSecond UsageUnit = "BytesPerSecond"
   218  	// Count ...
   219  	Count UsageUnit = "Count"
   220  	// CountsPerSecond ...
   221  	CountsPerSecond UsageUnit = "CountsPerSecond"
   222  	// Percent ...
   223  	Percent UsageUnit = "Percent"
   224  	// Seconds ...
   225  	Seconds UsageUnit = "Seconds"
   226  )
   227  
   228  // PossibleUsageUnitValues returns an array of possible values for the UsageUnit const type.
   229  func PossibleUsageUnitValues() []UsageUnit {
   230  	return []UsageUnit{Bytes, BytesPerSecond, Count, CountsPerSecond, Percent, Seconds}
   231  }
   232  

View as plain text