...

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

Documentation: github.com/Azure/azure-sdk-for-go/services/datalake/analytics/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  // AADObjectType enumerates the values for aad object type.
    10  type AADObjectType string
    11  
    12  const (
    13  	// Group ...
    14  	Group AADObjectType = "Group"
    15  	// ServicePrincipal ...
    16  	ServicePrincipal AADObjectType = "ServicePrincipal"
    17  	// User ...
    18  	User AADObjectType = "User"
    19  )
    20  
    21  // PossibleAADObjectTypeValues returns an array of possible values for the AADObjectType const type.
    22  func PossibleAADObjectTypeValues() []AADObjectType {
    23  	return []AADObjectType{Group, ServicePrincipal, User}
    24  }
    25  
    26  // DataLakeAnalyticsAccountState enumerates the values for data lake analytics account state.
    27  type DataLakeAnalyticsAccountState string
    28  
    29  const (
    30  	// Active ...
    31  	Active DataLakeAnalyticsAccountState = "Active"
    32  	// Suspended ...
    33  	Suspended DataLakeAnalyticsAccountState = "Suspended"
    34  )
    35  
    36  // PossibleDataLakeAnalyticsAccountStateValues returns an array of possible values for the DataLakeAnalyticsAccountState const type.
    37  func PossibleDataLakeAnalyticsAccountStateValues() []DataLakeAnalyticsAccountState {
    38  	return []DataLakeAnalyticsAccountState{Active, Suspended}
    39  }
    40  
    41  // DataLakeAnalyticsAccountStatus enumerates the values for data lake analytics account status.
    42  type DataLakeAnalyticsAccountStatus string
    43  
    44  const (
    45  	// Canceled ...
    46  	Canceled DataLakeAnalyticsAccountStatus = "Canceled"
    47  	// Creating ...
    48  	Creating DataLakeAnalyticsAccountStatus = "Creating"
    49  	// Deleted ...
    50  	Deleted DataLakeAnalyticsAccountStatus = "Deleted"
    51  	// Deleting ...
    52  	Deleting DataLakeAnalyticsAccountStatus = "Deleting"
    53  	// Failed ...
    54  	Failed DataLakeAnalyticsAccountStatus = "Failed"
    55  	// Patching ...
    56  	Patching DataLakeAnalyticsAccountStatus = "Patching"
    57  	// Resuming ...
    58  	Resuming DataLakeAnalyticsAccountStatus = "Resuming"
    59  	// Running ...
    60  	Running DataLakeAnalyticsAccountStatus = "Running"
    61  	// Succeeded ...
    62  	Succeeded DataLakeAnalyticsAccountStatus = "Succeeded"
    63  	// Suspending ...
    64  	Suspending DataLakeAnalyticsAccountStatus = "Suspending"
    65  	// Undeleting ...
    66  	Undeleting DataLakeAnalyticsAccountStatus = "Undeleting"
    67  )
    68  
    69  // PossibleDataLakeAnalyticsAccountStatusValues returns an array of possible values for the DataLakeAnalyticsAccountStatus const type.
    70  func PossibleDataLakeAnalyticsAccountStatusValues() []DataLakeAnalyticsAccountStatus {
    71  	return []DataLakeAnalyticsAccountStatus{Canceled, Creating, Deleted, Deleting, Failed, Patching, Resuming, Running, Succeeded, Suspending, Undeleting}
    72  }
    73  
    74  // FirewallAllowAzureIpsState enumerates the values for firewall allow azure ips state.
    75  type FirewallAllowAzureIpsState string
    76  
    77  const (
    78  	// Disabled ...
    79  	Disabled FirewallAllowAzureIpsState = "Disabled"
    80  	// Enabled ...
    81  	Enabled FirewallAllowAzureIpsState = "Enabled"
    82  )
    83  
    84  // PossibleFirewallAllowAzureIpsStateValues returns an array of possible values for the FirewallAllowAzureIpsState const type.
    85  func PossibleFirewallAllowAzureIpsStateValues() []FirewallAllowAzureIpsState {
    86  	return []FirewallAllowAzureIpsState{Disabled, Enabled}
    87  }
    88  
    89  // FirewallState enumerates the values for firewall state.
    90  type FirewallState string
    91  
    92  const (
    93  	// FirewallStateDisabled ...
    94  	FirewallStateDisabled FirewallState = "Disabled"
    95  	// FirewallStateEnabled ...
    96  	FirewallStateEnabled FirewallState = "Enabled"
    97  )
    98  
    99  // PossibleFirewallStateValues returns an array of possible values for the FirewallState const type.
   100  func PossibleFirewallStateValues() []FirewallState {
   101  	return []FirewallState{FirewallStateDisabled, FirewallStateEnabled}
   102  }
   103  
   104  // OperationOrigin enumerates the values for operation origin.
   105  type OperationOrigin string
   106  
   107  const (
   108  	// OperationOriginSystem ...
   109  	OperationOriginSystem OperationOrigin = "system"
   110  	// OperationOriginUser ...
   111  	OperationOriginUser OperationOrigin = "user"
   112  	// OperationOriginUsersystem ...
   113  	OperationOriginUsersystem OperationOrigin = "user,system"
   114  )
   115  
   116  // PossibleOperationOriginValues returns an array of possible values for the OperationOrigin const type.
   117  func PossibleOperationOriginValues() []OperationOrigin {
   118  	return []OperationOrigin{OperationOriginSystem, OperationOriginUser, OperationOriginUsersystem}
   119  }
   120  
   121  // SubscriptionState enumerates the values for subscription state.
   122  type SubscriptionState string
   123  
   124  const (
   125  	// SubscriptionStateDeleted ...
   126  	SubscriptionStateDeleted SubscriptionState = "Deleted"
   127  	// SubscriptionStateRegistered ...
   128  	SubscriptionStateRegistered SubscriptionState = "Registered"
   129  	// SubscriptionStateSuspended ...
   130  	SubscriptionStateSuspended SubscriptionState = "Suspended"
   131  	// SubscriptionStateUnregistered ...
   132  	SubscriptionStateUnregistered SubscriptionState = "Unregistered"
   133  	// SubscriptionStateWarned ...
   134  	SubscriptionStateWarned SubscriptionState = "Warned"
   135  )
   136  
   137  // PossibleSubscriptionStateValues returns an array of possible values for the SubscriptionState const type.
   138  func PossibleSubscriptionStateValues() []SubscriptionState {
   139  	return []SubscriptionState{SubscriptionStateDeleted, SubscriptionStateRegistered, SubscriptionStateSuspended, SubscriptionStateUnregistered, SubscriptionStateWarned}
   140  }
   141  
   142  // TierType enumerates the values for tier type.
   143  type TierType string
   144  
   145  const (
   146  	// Commitment100000AUHours ...
   147  	Commitment100000AUHours TierType = "Commitment_100000AUHours"
   148  	// Commitment10000AUHours ...
   149  	Commitment10000AUHours TierType = "Commitment_10000AUHours"
   150  	// Commitment1000AUHours ...
   151  	Commitment1000AUHours TierType = "Commitment_1000AUHours"
   152  	// Commitment100AUHours ...
   153  	Commitment100AUHours TierType = "Commitment_100AUHours"
   154  	// Commitment500000AUHours ...
   155  	Commitment500000AUHours TierType = "Commitment_500000AUHours"
   156  	// Commitment50000AUHours ...
   157  	Commitment50000AUHours TierType = "Commitment_50000AUHours"
   158  	// Commitment5000AUHours ...
   159  	Commitment5000AUHours TierType = "Commitment_5000AUHours"
   160  	// Commitment500AUHours ...
   161  	Commitment500AUHours TierType = "Commitment_500AUHours"
   162  	// Consumption ...
   163  	Consumption TierType = "Consumption"
   164  )
   165  
   166  // PossibleTierTypeValues returns an array of possible values for the TierType const type.
   167  func PossibleTierTypeValues() []TierType {
   168  	return []TierType{Commitment100000AUHours, Commitment10000AUHours, Commitment1000AUHours, Commitment100AUHours, Commitment500000AUHours, Commitment50000AUHours, Commitment5000AUHours, Commitment500AUHours, Consumption}
   169  }
   170  

View as plain text