Skip to content

Commit

Permalink
CodeGen from PR 20218 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 3951c2b58d1ad03c38d43934db2616ac54440e81 into 7a6ec0f1e66aac22421f9338c00cbb2d1c97547d
  • Loading branch information
SDKAuto committed Sep 26, 2022
1 parent 4171384 commit c8277eb
Show file tree
Hide file tree
Showing 33 changed files with 3,832 additions and 1,809 deletions.
72 changes: 72 additions & 0 deletions sdk/resourcemanager/costmanagement/armcostmanagement/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,77 @@
# Release History

## 2.0.0 (2022-09-26)
### Breaking Changes

- Type of `ForecastDefinition.Timeframe` has been changed from `*ForecastTimeframeType` to `*ForecastTimeframe`
- Type of `ForecastDefinition.TimePeriod` has been changed from `*QueryTimePeriod` to `*ForecastTimePeriod`
- Type of `ForecastDataset.Filter` has been changed from `*QueryFilter` to `*ForecastFilter`
- Type of `ForecastDataset.Aggregation` has been changed from `map[string]*QueryAggregation` to `map[string]*ForecastAggregation`
- Type of `ForecastDataset.Configuration` has been changed from `*QueryDatasetConfiguration` to `*ForecastDatasetConfiguration`
- Const `ForecastTimeframeTypeWeekToDate` has been removed
- Const `ForecastTimeframeTypeTheLastMonth` has been removed
- Const `ForecastTimeframeTypeCustom` has been removed
- Const `ForecastTimeframeTypeMonthToDate` has been removed
- Const `ForecastTimeframeTypeBillingMonthToDate` has been removed
- Const `ForecastTimeframeTypeTheLastBillingMonth` has been removed
- Type alias `ForecastTimeframeType` has been removed
- Function `PossibleForecastTimeframeTypeValues` has been removed
- Field `QueryResult` of struct `ForecastClientExternalCloudProviderUsageResponse` has been removed
- Field `QueryResult` of struct `ForecastClientUsageResponse` has been removed

### Features Added

- New const `CostDetailsMetricTypeActualCostCostDetailsMetricType`
- New const `CostDetailsMetricTypeAmortizedCostCostDetailsMetricType`
- New const `FunctionNameCostUSD`
- New const `CostDetailsStatusTypeCompletedCostDetailsStatusType`
- New const `ForecastOperatorTypeIn`
- New const `ForecastTimeframeCustom`
- New const `CostDetailsStatusTypeNoDataFoundCostDetailsStatusType`
- New const `FunctionNamePreTaxCostUSD`
- New const `FunctionNameCost`
- New const `FunctionNamePreTaxCost`
- New const `CostDetailsStatusTypeFailedCostDetailsStatusType`
- New const `CostDetailsDataFormatCSVCostDetailsDataFormat`
- New type alias `ForecastTimeframe`
- New type alias `CostDetailsMetricType`
- New type alias `CostDetailsStatusType`
- New type alias `ForecastOperatorType`
- New type alias `CostDetailsDataFormat`
- New type alias `FunctionName`
- New function `PossibleCostDetailsDataFormatValues() []CostDetailsDataFormat`
- New function `*GenerateCostDetailsReportClient.BeginCreateOperation(context.Context, string, GenerateCostDetailsReportRequestDefinition, *GenerateCostDetailsReportClientBeginCreateOperationOptions) (*runtime.Poller[GenerateCostDetailsReportClientCreateOperationResponse], error)`
- New function `PossibleForecastOperatorTypeValues() []ForecastOperatorType`
- New function `PossibleFunctionNameValues() []FunctionName`
- New function `*GenerateCostDetailsReportClient.BeginGetOperationResults(context.Context, string, string, *GenerateCostDetailsReportClientBeginGetOperationResultsOptions) (*runtime.Poller[GenerateCostDetailsReportClientGetOperationResultsResponse], error)`
- New function `PossibleCostDetailsMetricTypeValues() []CostDetailsMetricType`
- New function `NewGenerateCostDetailsReportClient(azcore.TokenCredential, *arm.ClientOptions) (*GenerateCostDetailsReportClient, error)`
- New function `PossibleForecastTimeframeValues() []ForecastTimeframe`
- New function `PossibleCostDetailsStatusTypeValues() []CostDetailsStatusType`
- New struct `BlobInfo`
- New struct `CostDetailsOperationResults`
- New struct `CostDetailsTimePeriod`
- New struct `ForecastAggregation`
- New struct `ForecastColumn`
- New struct `ForecastComparisonExpression`
- New struct `ForecastDatasetConfiguration`
- New struct `ForecastFilter`
- New struct `ForecastProperties`
- New struct `ForecastResult`
- New struct `ForecastTimePeriod`
- New struct `GenerateCostDetailsReportClient`
- New struct `GenerateCostDetailsReportClientBeginCreateOperationOptions`
- New struct `GenerateCostDetailsReportClientBeginGetOperationResultsOptions`
- New struct `GenerateCostDetailsReportClientCreateOperationResponse`
- New struct `GenerateCostDetailsReportClientGetOperationResultsResponse`
- New struct `GenerateCostDetailsReportErrorResponse`
- New struct `GenerateCostDetailsReportRequestDefinition`
- New struct `ReportManifest`
- New struct `RequestContext`
- New anonymous field `ForecastResult` in struct `ForecastClientUsageResponse`
- New anonymous field `ForecastResult` in struct `ForecastClientExternalCloudProviderUsageResponse`


## 1.0.0 (2022-05-18)

The package of `github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/costmanagement/armcostmanagement` is using our [next generation design principles](https://azure.github.io/azure-sdk/general_introduction.html) since version 1.0.0, which contains breaking changes.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
``` yaml
azure-arm: true
require:
- https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/cost-management/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/cost-management/resource-manager/readme.go.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/cost-management/resource-manager/readme.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/cost-management/resource-manager/readme.go.md
license-header: MICROSOFT_MIT_NO_VERSION
module-version: 1.0.0
module-version: 2.0.0
```

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c8277eb

Please sign in to comment.