1package subscription 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// ProvisioningState enumerates the values for provisioning state. 10type ProvisioningState string 11 12const ( 13 // Accepted ... 14 Accepted ProvisioningState = "Accepted" 15 // Failed ... 16 Failed ProvisioningState = "Failed" 17 // Succeeded ... 18 Succeeded ProvisioningState = "Succeeded" 19) 20 21// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type. 22func PossibleProvisioningStateValues() []ProvisioningState { 23 return []ProvisioningState{Accepted, Failed, Succeeded} 24} 25 26// SpendingLimit enumerates the values for spending limit. 27type SpendingLimit string 28 29const ( 30 // CurrentPeriodOff ... 31 CurrentPeriodOff SpendingLimit = "CurrentPeriodOff" 32 // Off ... 33 Off SpendingLimit = "Off" 34 // On ... 35 On SpendingLimit = "On" 36) 37 38// PossibleSpendingLimitValues returns an array of possible values for the SpendingLimit const type. 39func PossibleSpendingLimitValues() []SpendingLimit { 40 return []SpendingLimit{CurrentPeriodOff, Off, On} 41} 42 43// State enumerates the values for state. 44type State string 45 46const ( 47 // Deleted ... 48 Deleted State = "Deleted" 49 // Disabled ... 50 Disabled State = "Disabled" 51 // Enabled ... 52 Enabled State = "Enabled" 53 // PastDue ... 54 PastDue State = "PastDue" 55 // Warned ... 56 Warned State = "Warned" 57) 58 59// PossibleStateValues returns an array of possible values for the State const type. 60func PossibleStateValues() []State { 61 return []State{Deleted, Disabled, Enabled, PastDue, Warned} 62} 63 64// Workload enumerates the values for workload. 65type Workload string 66 67const ( 68 // DevTest ... 69 DevTest Workload = "DevTest" 70 // Production ... 71 Production Workload = "Production" 72) 73 74// PossibleWorkloadValues returns an array of possible values for the Workload const type. 75func PossibleWorkloadValues() []Workload { 76 return []Workload{DevTest, Production} 77} 78