...

Source file src/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2019-11-01/subscriptions/enums.go

Documentation: github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2019-11-01/subscriptions

     1  package subscriptions
     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  // RegionCategory enumerates the values for region category.
    10  type RegionCategory string
    11  
    12  const (
    13  	// Other ...
    14  	Other RegionCategory = "Other"
    15  	// Recommended ...
    16  	Recommended RegionCategory = "Recommended"
    17  )
    18  
    19  // PossibleRegionCategoryValues returns an array of possible values for the RegionCategory const type.
    20  func PossibleRegionCategoryValues() []RegionCategory {
    21  	return []RegionCategory{Other, Recommended}
    22  }
    23  
    24  // RegionType enumerates the values for region type.
    25  type RegionType string
    26  
    27  const (
    28  	// Logical ...
    29  	Logical RegionType = "Logical"
    30  	// Physical ...
    31  	Physical RegionType = "Physical"
    32  )
    33  
    34  // PossibleRegionTypeValues returns an array of possible values for the RegionType const type.
    35  func PossibleRegionTypeValues() []RegionType {
    36  	return []RegionType{Logical, Physical}
    37  }
    38  
    39  // ResourceNameStatus enumerates the values for resource name status.
    40  type ResourceNameStatus string
    41  
    42  const (
    43  	// Allowed ...
    44  	Allowed ResourceNameStatus = "Allowed"
    45  	// Reserved ...
    46  	Reserved ResourceNameStatus = "Reserved"
    47  )
    48  
    49  // PossibleResourceNameStatusValues returns an array of possible values for the ResourceNameStatus const type.
    50  func PossibleResourceNameStatusValues() []ResourceNameStatus {
    51  	return []ResourceNameStatus{Allowed, Reserved}
    52  }
    53  
    54  // SpendingLimit enumerates the values for spending limit.
    55  type SpendingLimit string
    56  
    57  const (
    58  	// CurrentPeriodOff ...
    59  	CurrentPeriodOff SpendingLimit = "CurrentPeriodOff"
    60  	// Off ...
    61  	Off SpendingLimit = "Off"
    62  	// On ...
    63  	On SpendingLimit = "On"
    64  )
    65  
    66  // PossibleSpendingLimitValues returns an array of possible values for the SpendingLimit const type.
    67  func PossibleSpendingLimitValues() []SpendingLimit {
    68  	return []SpendingLimit{CurrentPeriodOff, Off, On}
    69  }
    70  
    71  // State enumerates the values for state.
    72  type State string
    73  
    74  const (
    75  	// Deleted ...
    76  	Deleted State = "Deleted"
    77  	// Disabled ...
    78  	Disabled State = "Disabled"
    79  	// Enabled ...
    80  	Enabled State = "Enabled"
    81  	// PastDue ...
    82  	PastDue State = "PastDue"
    83  	// Warned ...
    84  	Warned State = "Warned"
    85  )
    86  
    87  // PossibleStateValues returns an array of possible values for the State const type.
    88  func PossibleStateValues() []State {
    89  	return []State{Deleted, Disabled, Enabled, PastDue, Warned}
    90  }
    91  
    92  // TenantCategory enumerates the values for tenant category.
    93  type TenantCategory string
    94  
    95  const (
    96  	// Home ...
    97  	Home TenantCategory = "Home"
    98  	// ManagedBy ...
    99  	ManagedBy TenantCategory = "ManagedBy"
   100  	// ProjectedBy ...
   101  	ProjectedBy TenantCategory = "ProjectedBy"
   102  )
   103  
   104  // PossibleTenantCategoryValues returns an array of possible values for the TenantCategory const type.
   105  func PossibleTenantCategoryValues() []TenantCategory {
   106  	return []TenantCategory{Home, ManagedBy, ProjectedBy}
   107  }
   108  

View as plain text