...

Source file src/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2017-09-01/skus/enums.go

Documentation: github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2017-09-01/skus

     1  package skus
     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  // ResourceSkuCapacityScaleType enumerates the values for resource sku capacity scale type.
    10  type ResourceSkuCapacityScaleType string
    11  
    12  const (
    13  	// Automatic ...
    14  	Automatic ResourceSkuCapacityScaleType = "Automatic"
    15  	// Manual ...
    16  	Manual ResourceSkuCapacityScaleType = "Manual"
    17  	// None ...
    18  	None ResourceSkuCapacityScaleType = "None"
    19  )
    20  
    21  // PossibleResourceSkuCapacityScaleTypeValues returns an array of possible values for the ResourceSkuCapacityScaleType const type.
    22  func PossibleResourceSkuCapacityScaleTypeValues() []ResourceSkuCapacityScaleType {
    23  	return []ResourceSkuCapacityScaleType{Automatic, Manual, None}
    24  }
    25  
    26  // ResourceSkuRestrictionsReasonCode enumerates the values for resource sku restrictions reason code.
    27  type ResourceSkuRestrictionsReasonCode string
    28  
    29  const (
    30  	// NotAvailableForSubscription ...
    31  	NotAvailableForSubscription ResourceSkuRestrictionsReasonCode = "NotAvailableForSubscription"
    32  	// QuotaID ...
    33  	QuotaID ResourceSkuRestrictionsReasonCode = "QuotaId"
    34  )
    35  
    36  // PossibleResourceSkuRestrictionsReasonCodeValues returns an array of possible values for the ResourceSkuRestrictionsReasonCode const type.
    37  func PossibleResourceSkuRestrictionsReasonCodeValues() []ResourceSkuRestrictionsReasonCode {
    38  	return []ResourceSkuRestrictionsReasonCode{NotAvailableForSubscription, QuotaID}
    39  }
    40  
    41  // ResourceSkuRestrictionsType enumerates the values for resource sku restrictions type.
    42  type ResourceSkuRestrictionsType string
    43  
    44  const (
    45  	// Location ...
    46  	Location ResourceSkuRestrictionsType = "Location"
    47  	// Zone ...
    48  	Zone ResourceSkuRestrictionsType = "Zone"
    49  )
    50  
    51  // PossibleResourceSkuRestrictionsTypeValues returns an array of possible values for the ResourceSkuRestrictionsType const type.
    52  func PossibleResourceSkuRestrictionsTypeValues() []ResourceSkuRestrictionsType {
    53  	return []ResourceSkuRestrictionsType{Location, Zone}
    54  }
    55  

View as plain text