1package subscription 2 3// Copyright (c) Microsoft and contributors. All rights reserved. 4// 5// Licensed under the Apache License, Version 2.0 (the "License"); 6// you may not use this file except in compliance with the License. 7// You may obtain a copy of the License at 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// 14// See the License for the specific language governing permissions and 15// limitations under the License. 16// 17// Code generated by Microsoft (R) AutoRest Code Generator. 18// Changes may cause incorrect behavior and will be lost if the code is regenerated. 19 20// ProvisioningState enumerates the values for provisioning state. 21type ProvisioningState string 22 23const ( 24 // Accepted ... 25 Accepted ProvisioningState = "Accepted" 26 // Failed ... 27 Failed ProvisioningState = "Failed" 28 // Succeeded ... 29 Succeeded ProvisioningState = "Succeeded" 30) 31 32// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type. 33func PossibleProvisioningStateValues() []ProvisioningState { 34 return []ProvisioningState{Accepted, Failed, Succeeded} 35} 36 37// SpendingLimit enumerates the values for spending limit. 38type SpendingLimit string 39 40const ( 41 // CurrentPeriodOff ... 42 CurrentPeriodOff SpendingLimit = "CurrentPeriodOff" 43 // Off ... 44 Off SpendingLimit = "Off" 45 // On ... 46 On SpendingLimit = "On" 47) 48 49// PossibleSpendingLimitValues returns an array of possible values for the SpendingLimit const type. 50func PossibleSpendingLimitValues() []SpendingLimit { 51 return []SpendingLimit{CurrentPeriodOff, Off, On} 52} 53 54// State enumerates the values for state. 55type State string 56 57const ( 58 // Deleted ... 59 Deleted State = "Deleted" 60 // Disabled ... 61 Disabled State = "Disabled" 62 // Enabled ... 63 Enabled State = "Enabled" 64 // PastDue ... 65 PastDue State = "PastDue" 66 // Warned ... 67 Warned State = "Warned" 68) 69 70// PossibleStateValues returns an array of possible values for the State const type. 71func PossibleStateValues() []State { 72 return []State{Deleted, Disabled, Enabled, PastDue, Warned} 73} 74 75// Workload enumerates the values for workload. 76type Workload string 77 78const ( 79 // DevTest ... 80 DevTest Workload = "DevTest" 81 // Production ... 82 Production Workload = "Production" 83) 84 85// PossibleWorkloadValues returns an array of possible values for the Workload const type. 86func PossibleWorkloadValues() []Workload { 87 return []Workload{DevTest, Production} 88} 89