1// +build go1.9 2 3// Copyright 2019 Microsoft Corporation 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// 9// http://www.apache.org/licenses/LICENSE-2.0 10// 11// Unless required by applicable law or agreed to in writing, software 12// distributed under the License is distributed on an "AS IS" BASIS, 13// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14// See the License for the specific language governing permissions and 15// limitations under the License. 16 17// This code was auto-generated by: 18// github.com/Azure/azure-sdk-for-go/tools/profileBuilder 19 20package subscriptions 21 22import ( 23 "context" 24 25 original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-06-01/subscriptions" 26) 27 28const ( 29 DefaultBaseURI = original.DefaultBaseURI 30) 31 32type SpendingLimit = original.SpendingLimit 33 34const ( 35 CurrentPeriodOff SpendingLimit = original.CurrentPeriodOff 36 Off SpendingLimit = original.Off 37 On SpendingLimit = original.On 38) 39 40type State = original.State 41 42const ( 43 Deleted State = original.Deleted 44 Disabled State = original.Disabled 45 Enabled State = original.Enabled 46 PastDue State = original.PastDue 47 Warned State = original.Warned 48) 49 50type BaseClient = original.BaseClient 51type Client = original.Client 52type ListResult = original.ListResult 53type ListResultIterator = original.ListResultIterator 54type ListResultPage = original.ListResultPage 55type Location = original.Location 56type LocationListResult = original.LocationListResult 57type Operation = original.Operation 58type OperationDisplay = original.OperationDisplay 59type OperationListResult = original.OperationListResult 60type OperationListResultIterator = original.OperationListResultIterator 61type OperationListResultPage = original.OperationListResultPage 62type OperationsClient = original.OperationsClient 63type Policies = original.Policies 64type Subscription = original.Subscription 65type TenantIDDescription = original.TenantIDDescription 66type TenantListResult = original.TenantListResult 67type TenantListResultIterator = original.TenantListResultIterator 68type TenantListResultPage = original.TenantListResultPage 69type TenantsClient = original.TenantsClient 70 71func New() BaseClient { 72 return original.New() 73} 74func NewClient() Client { 75 return original.NewClient() 76} 77func NewClientWithBaseURI(baseURI string) Client { 78 return original.NewClientWithBaseURI(baseURI) 79} 80func NewListResultIterator(page ListResultPage) ListResultIterator { 81 return original.NewListResultIterator(page) 82} 83func NewListResultPage(getNextPage func(context.Context, ListResult) (ListResult, error)) ListResultPage { 84 return original.NewListResultPage(getNextPage) 85} 86func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator { 87 return original.NewOperationListResultIterator(page) 88} 89func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage { 90 return original.NewOperationListResultPage(getNextPage) 91} 92func NewOperationsClient() OperationsClient { 93 return original.NewOperationsClient() 94} 95func NewOperationsClientWithBaseURI(baseURI string) OperationsClient { 96 return original.NewOperationsClientWithBaseURI(baseURI) 97} 98func NewTenantListResultIterator(page TenantListResultPage) TenantListResultIterator { 99 return original.NewTenantListResultIterator(page) 100} 101func NewTenantListResultPage(getNextPage func(context.Context, TenantListResult) (TenantListResult, error)) TenantListResultPage { 102 return original.NewTenantListResultPage(getNextPage) 103} 104func NewTenantsClient() TenantsClient { 105 return original.NewTenantsClient() 106} 107func NewTenantsClientWithBaseURI(baseURI string) TenantsClient { 108 return original.NewTenantsClientWithBaseURI(baseURI) 109} 110func NewWithBaseURI(baseURI string) BaseClient { 111 return original.NewWithBaseURI(baseURI) 112} 113func PossibleSpendingLimitValues() []SpendingLimit { 114 return original.PossibleSpendingLimitValues() 115} 116func PossibleStateValues() []State { 117 return original.PossibleStateValues() 118} 119func UserAgent() string { 120 return original.UserAgent() + " profiles/2019-03-01" 121} 122func Version() string { 123 return original.Version() 124} 125