Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR] cost-management/resource-manager #4500

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,9 @@

package costmanagementapi

import original "github.com/Azure/azure-sdk-for-go/services/costmanagement/mgmt/2018-05-31/costmanagement/costmanagementapi"
import original "github.com/Azure/azure-sdk-for-go/services/costmanagement/mgmt/2019-01-01/costmanagement/costmanagementapi"

type BaseClientAPI = original.BaseClientAPI
type BillingAccountDimensionsClientAPI = original.BillingAccountDimensionsClientAPI
type DimensionsClientAPI = original.DimensionsClientAPI
type ExportsClientAPI = original.ExportsClientAPI
type OperationsClientAPI = original.OperationsClientAPI
type ReportConfigClientAPI = original.ReportConfigClientAPI
type ResourceGroupDimensionsClientAPI = original.ResourceGroupDimensionsClientAPI
type SubscriptionDimensionsClientAPI = original.SubscriptionDimensionsClientAPI
type QueryClientAPI = original.QueryClientAPI
137 changes: 87 additions & 50 deletions profiles/latest/costmanagement/mgmt/costmanagement/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,32 @@ package costmanagement
import (
"context"

original "github.com/Azure/azure-sdk-for-go/services/costmanagement/mgmt/2018-05-31/costmanagement"
original "github.com/Azure/azure-sdk-for-go/services/costmanagement/mgmt/2019-01-01/costmanagement"
)

const (
DefaultBaseURI = original.DefaultBaseURI
)

type ExecutionStatus = original.ExecutionStatus

const (
Completed ExecutionStatus = original.Completed
DataNotAvailable ExecutionStatus = original.DataNotAvailable
Failed ExecutionStatus = original.Failed
InProgress ExecutionStatus = original.InProgress
NewDataNotAvailable ExecutionStatus = original.NewDataNotAvailable
Queued ExecutionStatus = original.Queued
Timeout ExecutionStatus = original.Timeout
)

type ExecutionType = original.ExecutionType

const (
OnDemand ExecutionType = original.OnDemand
Scheduled ExecutionType = original.Scheduled
)

type FormatType = original.FormatType

const (
Expand All @@ -38,7 +57,15 @@ const (
type GranularityType = original.GranularityType

const (
Daily GranularityType = original.Daily
Daily GranularityType = original.Daily
Hourly GranularityType = original.Hourly
)

type QueryColumnType = original.QueryColumnType

const (
QueryColumnTypeDimension QueryColumnType = original.QueryColumnTypeDimension
QueryColumnTypeTag QueryColumnType = original.QueryColumnTypeTag
)

type RecurrenceType = original.RecurrenceType
Expand All @@ -50,11 +77,11 @@ const (
RecurrenceTypeWeekly RecurrenceType = original.RecurrenceTypeWeekly
)

type ReportConfigColumnType = original.ReportConfigColumnType
type SortDirection = original.SortDirection

const (
ReportConfigColumnTypeDimension ReportConfigColumnType = original.ReportConfigColumnTypeDimension
ReportConfigColumnTypeTag ReportConfigColumnType = original.ReportConfigColumnTypeTag
Ascending SortDirection = original.Ascending
Descending SortDirection = original.Descending
)

type StatusType = original.StatusType
Expand All @@ -67,57 +94,70 @@ const (
type TimeframeType = original.TimeframeType

const (
Custom TimeframeType = original.Custom
MonthToDate TimeframeType = original.MonthToDate
WeekToDate TimeframeType = original.WeekToDate
YearToDate TimeframeType = original.YearToDate
Custom TimeframeType = original.Custom
MonthToDate TimeframeType = original.MonthToDate
TheLastMonth TimeframeType = original.TheLastMonth
TheLastWeek TimeframeType = original.TheLastWeek
TheLastYear TimeframeType = original.TheLastYear
WeekToDate TimeframeType = original.WeekToDate
YearToDate TimeframeType = original.YearToDate
)

type BaseClient = original.BaseClient
type BillingAccountDimensionsClient = original.BillingAccountDimensionsClient
type CommonExportProperties = original.CommonExportProperties
type Dimension = original.Dimension
type DimensionProperties = original.DimensionProperties
type DimensionsClient = original.DimensionsClient
type DimensionsListResult = original.DimensionsListResult
type ErrorDetails = original.ErrorDetails
type ErrorResponse = original.ErrorResponse
type Export = original.Export
type ExportDeliveryDestination = original.ExportDeliveryDestination
type ExportDeliveryInfo = original.ExportDeliveryInfo
type ExportExecution = original.ExportExecution
type ExportExecutionListResult = original.ExportExecutionListResult
type ExportExecutionProperties = original.ExportExecutionProperties
type ExportListResult = original.ExportListResult
type ExportProperties = original.ExportProperties
type ExportRecurrencePeriod = original.ExportRecurrencePeriod
type ExportSchedule = original.ExportSchedule
type ExportsClient = original.ExportsClient
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type OperationsClient = original.OperationsClient
type Query = original.Query
type QueryAggregation = original.QueryAggregation
type QueryClient = original.QueryClient
type QueryColumn = original.QueryColumn
type QueryComparisonExpression = original.QueryComparisonExpression
type QueryDataset = original.QueryDataset
type QueryDatasetConfiguration = original.QueryDatasetConfiguration
type QueryDefinition = original.QueryDefinition
type QueryFilter = original.QueryFilter
type QueryGrouping = original.QueryGrouping
type QueryProperties = original.QueryProperties
type QueryResult = original.QueryResult
type ReportConfig = original.ReportConfig
type ReportConfigAggregation = original.ReportConfigAggregation
type ReportConfigClient = original.ReportConfigClient
type ReportConfigComparisonExpression = original.ReportConfigComparisonExpression
type ReportConfigDataset = original.ReportConfigDataset
type ReportConfigDatasetConfiguration = original.ReportConfigDatasetConfiguration
type ReportConfigDefinition = original.ReportConfigDefinition
type ReportConfigDeliveryDestination = original.ReportConfigDeliveryDestination
type ReportConfigDeliveryInfo = original.ReportConfigDeliveryInfo
type ReportConfigFilter = original.ReportConfigFilter
type ReportConfigGrouping = original.ReportConfigGrouping
type ReportConfigListResult = original.ReportConfigListResult
type ReportConfigProperties = original.ReportConfigProperties
type ReportConfigRecurrencePeriod = original.ReportConfigRecurrencePeriod
type ReportConfigSchedule = original.ReportConfigSchedule
type ReportConfigTimePeriod = original.ReportConfigTimePeriod
type QuerySortingConfiguration = original.QuerySortingConfiguration
type QueryTimePeriod = original.QueryTimePeriod
type Resource = original.Resource
type ResourceGroupDimensionsClient = original.ResourceGroupDimensionsClient
type SubscriptionDimensionsClient = original.SubscriptionDimensionsClient

func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewBillingAccountDimensionsClient(subscriptionID string) BillingAccountDimensionsClient {
return original.NewBillingAccountDimensionsClient(subscriptionID)
func NewDimensionsClient(subscriptionID string) DimensionsClient {
return original.NewDimensionsClient(subscriptionID)
}
func NewDimensionsClientWithBaseURI(baseURI string, subscriptionID string) DimensionsClient {
return original.NewDimensionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewExportsClient(subscriptionID string) ExportsClient {
return original.NewExportsClient(subscriptionID)
}
func NewBillingAccountDimensionsClientWithBaseURI(baseURI string, subscriptionID string) BillingAccountDimensionsClient {
return original.NewBillingAccountDimensionsClientWithBaseURI(baseURI, subscriptionID)
func NewExportsClientWithBaseURI(baseURI string, subscriptionID string) ExportsClient {
return original.NewExportsClientWithBaseURI(baseURI, subscriptionID)
}
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator {
return original.NewOperationListResultIterator(page)
Expand All @@ -131,38 +171,35 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewReportConfigClient(subscriptionID string) ReportConfigClient {
return original.NewReportConfigClient(subscriptionID)
}
func NewReportConfigClientWithBaseURI(baseURI string, subscriptionID string) ReportConfigClient {
return original.NewReportConfigClientWithBaseURI(baseURI, subscriptionID)
}
func NewResourceGroupDimensionsClient(subscriptionID string) ResourceGroupDimensionsClient {
return original.NewResourceGroupDimensionsClient(subscriptionID)
func NewQueryClient(subscriptionID string) QueryClient {
return original.NewQueryClient(subscriptionID)
}
func NewResourceGroupDimensionsClientWithBaseURI(baseURI string, subscriptionID string) ResourceGroupDimensionsClient {
return original.NewResourceGroupDimensionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewSubscriptionDimensionsClient(subscriptionID string) SubscriptionDimensionsClient {
return original.NewSubscriptionDimensionsClient(subscriptionID)
}
func NewSubscriptionDimensionsClientWithBaseURI(baseURI string, subscriptionID string) SubscriptionDimensionsClient {
return original.NewSubscriptionDimensionsClientWithBaseURI(baseURI, subscriptionID)
func NewQueryClientWithBaseURI(baseURI string, subscriptionID string) QueryClient {
return original.NewQueryClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleExecutionStatusValues() []ExecutionStatus {
return original.PossibleExecutionStatusValues()
}
func PossibleExecutionTypeValues() []ExecutionType {
return original.PossibleExecutionTypeValues()
}
func PossibleFormatTypeValues() []FormatType {
return original.PossibleFormatTypeValues()
}
func PossibleGranularityTypeValues() []GranularityType {
return original.PossibleGranularityTypeValues()
}
func PossibleQueryColumnTypeValues() []QueryColumnType {
return original.PossibleQueryColumnTypeValues()
}
func PossibleRecurrenceTypeValues() []RecurrenceType {
return original.PossibleRecurrenceTypeValues()
}
func PossibleReportConfigColumnTypeValues() []ReportConfigColumnType {
return original.PossibleReportConfigColumnTypeValues()
func PossibleSortDirectionValues() []SortDirection {
return original.PossibleSortDirectionValues()
}
func PossibleStatusTypeValues() []StatusType {
return original.PossibleStatusTypeValues()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,9 @@

package costmanagementapi

import original "github.com/Azure/azure-sdk-for-go/services/costmanagement/mgmt/2018-05-31/costmanagement/costmanagementapi"
import original "github.com/Azure/azure-sdk-for-go/services/costmanagement/mgmt/2019-01-01/costmanagement/costmanagementapi"

type BaseClientAPI = original.BaseClientAPI
type BillingAccountDimensionsClientAPI = original.BillingAccountDimensionsClientAPI
type DimensionsClientAPI = original.DimensionsClientAPI
type ExportsClientAPI = original.ExportsClientAPI
type OperationsClientAPI = original.OperationsClientAPI
type ReportConfigClientAPI = original.ReportConfigClientAPI
type ResourceGroupDimensionsClientAPI = original.ResourceGroupDimensionsClientAPI
type SubscriptionDimensionsClientAPI = original.SubscriptionDimensionsClientAPI
type QueryClientAPI = original.QueryClientAPI
Loading