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 costmanagement 21 22import ( 23 "context" 24 25 original "github.com/Azure/azure-sdk-for-go/services/costmanagement/mgmt/2019-10-01/costmanagement" 26) 27 28const ( 29 DefaultBaseURI = original.DefaultBaseURI 30) 31 32type ExecutionStatus = original.ExecutionStatus 33 34const ( 35 Completed ExecutionStatus = original.Completed 36 DataNotAvailable ExecutionStatus = original.DataNotAvailable 37 Failed ExecutionStatus = original.Failed 38 InProgress ExecutionStatus = original.InProgress 39 NewDataNotAvailable ExecutionStatus = original.NewDataNotAvailable 40 Queued ExecutionStatus = original.Queued 41 Timeout ExecutionStatus = original.Timeout 42) 43 44type ExecutionType = original.ExecutionType 45 46const ( 47 OnDemand ExecutionType = original.OnDemand 48 Scheduled ExecutionType = original.Scheduled 49) 50 51type FormatType = original.FormatType 52 53const ( 54 Csv FormatType = original.Csv 55) 56 57type GranularityType = original.GranularityType 58 59const ( 60 Daily GranularityType = original.Daily 61 Hourly GranularityType = original.Hourly 62) 63 64type QueryColumnType = original.QueryColumnType 65 66const ( 67 QueryColumnTypeDimension QueryColumnType = original.QueryColumnTypeDimension 68 QueryColumnTypeTag QueryColumnType = original.QueryColumnTypeTag 69) 70 71type RecurrenceType = original.RecurrenceType 72 73const ( 74 RecurrenceTypeAnnually RecurrenceType = original.RecurrenceTypeAnnually 75 RecurrenceTypeDaily RecurrenceType = original.RecurrenceTypeDaily 76 RecurrenceTypeMonthly RecurrenceType = original.RecurrenceTypeMonthly 77 RecurrenceTypeWeekly RecurrenceType = original.RecurrenceTypeWeekly 78) 79 80type SortDirection = original.SortDirection 81 82const ( 83 Ascending SortDirection = original.Ascending 84 Descending SortDirection = original.Descending 85) 86 87type StatusType = original.StatusType 88 89const ( 90 Active StatusType = original.Active 91 Inactive StatusType = original.Inactive 92) 93 94type TimeframeType = original.TimeframeType 95 96const ( 97 Custom TimeframeType = original.Custom 98 MonthToDate TimeframeType = original.MonthToDate 99 TheLastMonth TimeframeType = original.TheLastMonth 100 TheLastWeek TimeframeType = original.TheLastWeek 101 TheLastYear TimeframeType = original.TheLastYear 102 WeekToDate TimeframeType = original.WeekToDate 103 YearToDate TimeframeType = original.YearToDate 104) 105 106type BaseClient = original.BaseClient 107type CommonExportProperties = original.CommonExportProperties 108type Dimension = original.Dimension 109type DimensionProperties = original.DimensionProperties 110type DimensionsClient = original.DimensionsClient 111type DimensionsListResult = original.DimensionsListResult 112type ErrorDetails = original.ErrorDetails 113type ErrorResponse = original.ErrorResponse 114type Export = original.Export 115type ExportDeliveryDestination = original.ExportDeliveryDestination 116type ExportDeliveryInfo = original.ExportDeliveryInfo 117type ExportExecution = original.ExportExecution 118type ExportExecutionListResult = original.ExportExecutionListResult 119type ExportExecutionProperties = original.ExportExecutionProperties 120type ExportListResult = original.ExportListResult 121type ExportProperties = original.ExportProperties 122type ExportRecurrencePeriod = original.ExportRecurrencePeriod 123type ExportSchedule = original.ExportSchedule 124type ExportsClient = original.ExportsClient 125type Operation = original.Operation 126type OperationDisplay = original.OperationDisplay 127type OperationListResult = original.OperationListResult 128type OperationListResultIterator = original.OperationListResultIterator 129type OperationListResultPage = original.OperationListResultPage 130type OperationsClient = original.OperationsClient 131type QueryAggregation = original.QueryAggregation 132type QueryClient = original.QueryClient 133type QueryColumn = original.QueryColumn 134type QueryComparisonExpression = original.QueryComparisonExpression 135type QueryDataset = original.QueryDataset 136type QueryDatasetConfiguration = original.QueryDatasetConfiguration 137type QueryDefinition = original.QueryDefinition 138type QueryFilter = original.QueryFilter 139type QueryGrouping = original.QueryGrouping 140type QueryProperties = original.QueryProperties 141type QueryResult = original.QueryResult 142type QuerySortingConfiguration = original.QuerySortingConfiguration 143type QueryTimePeriod = original.QueryTimePeriod 144type Resource = original.Resource 145 146func New(subscriptionID string) BaseClient { 147 return original.New(subscriptionID) 148} 149func NewDimensionsClient(subscriptionID string) DimensionsClient { 150 return original.NewDimensionsClient(subscriptionID) 151} 152func NewDimensionsClientWithBaseURI(baseURI string, subscriptionID string) DimensionsClient { 153 return original.NewDimensionsClientWithBaseURI(baseURI, subscriptionID) 154} 155func NewExportsClient(subscriptionID string) ExportsClient { 156 return original.NewExportsClient(subscriptionID) 157} 158func NewExportsClientWithBaseURI(baseURI string, subscriptionID string) ExportsClient { 159 return original.NewExportsClientWithBaseURI(baseURI, subscriptionID) 160} 161func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator { 162 return original.NewOperationListResultIterator(page) 163} 164func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage { 165 return original.NewOperationListResultPage(getNextPage) 166} 167func NewOperationsClient(subscriptionID string) OperationsClient { 168 return original.NewOperationsClient(subscriptionID) 169} 170func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient { 171 return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID) 172} 173func NewQueryClient(subscriptionID string) QueryClient { 174 return original.NewQueryClient(subscriptionID) 175} 176func NewQueryClientWithBaseURI(baseURI string, subscriptionID string) QueryClient { 177 return original.NewQueryClientWithBaseURI(baseURI, subscriptionID) 178} 179func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { 180 return original.NewWithBaseURI(baseURI, subscriptionID) 181} 182func PossibleExecutionStatusValues() []ExecutionStatus { 183 return original.PossibleExecutionStatusValues() 184} 185func PossibleExecutionTypeValues() []ExecutionType { 186 return original.PossibleExecutionTypeValues() 187} 188func PossibleFormatTypeValues() []FormatType { 189 return original.PossibleFormatTypeValues() 190} 191func PossibleGranularityTypeValues() []GranularityType { 192 return original.PossibleGranularityTypeValues() 193} 194func PossibleQueryColumnTypeValues() []QueryColumnType { 195 return original.PossibleQueryColumnTypeValues() 196} 197func PossibleRecurrenceTypeValues() []RecurrenceType { 198 return original.PossibleRecurrenceTypeValues() 199} 200func PossibleSortDirectionValues() []SortDirection { 201 return original.PossibleSortDirectionValues() 202} 203func PossibleStatusTypeValues() []StatusType { 204 return original.PossibleStatusTypeValues() 205} 206func PossibleTimeframeTypeValues() []TimeframeType { 207 return original.PossibleTimeframeTypeValues() 208} 209func UserAgent() string { 210 return original.UserAgent() + " profiles/preview" 211} 212func Version() string { 213 return original.Version() 214} 215