...

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

Documentation: github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2021-01-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  // LocationType enumerates the values for location type.
    10  type LocationType string
    11  
    12  const (
    13  	// LocationTypeEdgeZone ...
    14  	LocationTypeEdgeZone LocationType = "EdgeZone"
    15  	// LocationTypeRegion ...
    16  	LocationTypeRegion LocationType = "Region"
    17  )
    18  
    19  // PossibleLocationTypeValues returns an array of possible values for the LocationType const type.
    20  func PossibleLocationTypeValues() []LocationType {
    21  	return []LocationType{LocationTypeEdgeZone, LocationTypeRegion}
    22  }
    23  
    24  // RegionCategory enumerates the values for region category.
    25  type RegionCategory string
    26  
    27  const (
    28  	// RegionCategoryExtended ...
    29  	RegionCategoryExtended RegionCategory = "Extended"
    30  	// RegionCategoryOther ...
    31  	RegionCategoryOther RegionCategory = "Other"
    32  	// RegionCategoryRecommended ...
    33  	RegionCategoryRecommended RegionCategory = "Recommended"
    34  )
    35  
    36  // PossibleRegionCategoryValues returns an array of possible values for the RegionCategory const type.
    37  func PossibleRegionCategoryValues() []RegionCategory {
    38  	return []RegionCategory{RegionCategoryExtended, RegionCategoryOther, RegionCategoryRecommended}
    39  }
    40  
    41  // RegionType enumerates the values for region type.
    42  type RegionType string
    43  
    44  const (
    45  	// RegionTypeLogical ...
    46  	RegionTypeLogical RegionType = "Logical"
    47  	// RegionTypePhysical ...
    48  	RegionTypePhysical RegionType = "Physical"
    49  )
    50  
    51  // PossibleRegionTypeValues returns an array of possible values for the RegionType const type.
    52  func PossibleRegionTypeValues() []RegionType {
    53  	return []RegionType{RegionTypeLogical, RegionTypePhysical}
    54  }
    55  
    56  // ResourceNameStatus enumerates the values for resource name status.
    57  type ResourceNameStatus string
    58  
    59  const (
    60  	// ResourceNameStatusAllowed ...
    61  	ResourceNameStatusAllowed ResourceNameStatus = "Allowed"
    62  	// ResourceNameStatusReserved ...
    63  	ResourceNameStatusReserved ResourceNameStatus = "Reserved"
    64  )
    65  
    66  // PossibleResourceNameStatusValues returns an array of possible values for the ResourceNameStatus const type.
    67  func PossibleResourceNameStatusValues() []ResourceNameStatus {
    68  	return []ResourceNameStatus{ResourceNameStatusAllowed, ResourceNameStatusReserved}
    69  }
    70  
    71  // SpendingLimit enumerates the values for spending limit.
    72  type SpendingLimit string
    73  
    74  const (
    75  	// SpendingLimitCurrentPeriodOff ...
    76  	SpendingLimitCurrentPeriodOff SpendingLimit = "CurrentPeriodOff"
    77  	// SpendingLimitOff ...
    78  	SpendingLimitOff SpendingLimit = "Off"
    79  	// SpendingLimitOn ...
    80  	SpendingLimitOn SpendingLimit = "On"
    81  )
    82  
    83  // PossibleSpendingLimitValues returns an array of possible values for the SpendingLimit const type.
    84  func PossibleSpendingLimitValues() []SpendingLimit {
    85  	return []SpendingLimit{SpendingLimitCurrentPeriodOff, SpendingLimitOff, SpendingLimitOn}
    86  }
    87  
    88  // State enumerates the values for state.
    89  type State string
    90  
    91  const (
    92  	// StateDeleted ...
    93  	StateDeleted State = "Deleted"
    94  	// StateDisabled ...
    95  	StateDisabled State = "Disabled"
    96  	// StateEnabled ...
    97  	StateEnabled State = "Enabled"
    98  	// StatePastDue ...
    99  	StatePastDue State = "PastDue"
   100  	// StateWarned ...
   101  	StateWarned State = "Warned"
   102  )
   103  
   104  // PossibleStateValues returns an array of possible values for the State const type.
   105  func PossibleStateValues() []State {
   106  	return []State{StateDeleted, StateDisabled, StateEnabled, StatePastDue, StateWarned}
   107  }
   108  
   109  // TenantCategory enumerates the values for tenant category.
   110  type TenantCategory string
   111  
   112  const (
   113  	// TenantCategoryHome ...
   114  	TenantCategoryHome TenantCategory = "Home"
   115  	// TenantCategoryManagedBy ...
   116  	TenantCategoryManagedBy TenantCategory = "ManagedBy"
   117  	// TenantCategoryProjectedBy ...
   118  	TenantCategoryProjectedBy TenantCategory = "ProjectedBy"
   119  )
   120  
   121  // PossibleTenantCategoryValues returns an array of possible values for the TenantCategory const type.
   122  func PossibleTenantCategoryValues() []TenantCategory {
   123  	return []TenantCategory{TenantCategoryHome, TenantCategoryManagedBy, TenantCategoryProjectedBy}
   124  }
   125  

View as plain text