These settings apply only when --go
is specified on the command line.
go:
license-header: MICROSOFT_MIT_NO_VERSION
namespace: costmanagement
clear-output-folder: true
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/resourcemanager/costmanagement/armcostmanagement
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
modelerfour:
lenient-model-deduplication: true
directive:
- rename-model:
from: 'CostManagementOperation'
to: 'OperationForCostManagement'
- rename-model:
from: 'CostManagementProxyResource'
to: 'ProxyResourceForCostManagement'
- from: costmanagement.json
where:
- $.definitions.View.allOf[0]
- $.definitions.Alert.allOf[0]
transform: >
$['$ref'] = "common-types.json#/definitions/ProxyResourceForCostManagement";
- from: costmanagement.exports.json
where:
- $.definitions.Export.allOf[0]
- $.definitions.ExportRun.allOf[0]
transform: >
$['$ref'] = "common-types.json#/definitions/ProxyResourceForCostManagement";
- rename-model:
from: 'CostManagementResource'
to: 'ResourceForCostManagement'
batch:
- tag: package-2018-05
- tag: package-2018-08-preview
- tag: package-2019-01
- tag: package-preview-2019-03
- tag: package-2019-10
- tag: package-2019-11
- tag: package-2020-06
- tag: package-2021-01
These settings apply only when --tag=package-2018-05 --go
is specified on the command line.
Please also specify --go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>
.
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2018-05-31/$(namespace)
These settings apply only when --tag=package-2018-08-preview --go
is specified on the command line.
Please also specify --go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>
.
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-08-01-preview/$(namespace)
These settings apply only when --tag=package-2019-01 --go
is specified on the command line.
Please also specify --go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>
.
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-01-01/$(namespace)
These settings apply only when --tag=package-preview-2019-03 --go
is specified on the command line.
Please also specify --go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>
.
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-03-01/$(namespace)
These settings apply only when --tag=package-2019-10 --go
is specified on the command line.
Please also specify --go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>
.
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-10-01/$(namespace)
These settings apply only when --tag=package-2019-11 --go
is specified on the command line.
Please also specify --go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>
.
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-11-01/$(namespace)
These settings apply only when --tag=package-2020-06 --go
is specified on the command line.
Please also specify --go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>
.
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-06-01/$(namespace)
These settings apply only when --tag=package-2021-01 --go
is specified on the command line.
Please also specify --go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>
.
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2021-01-01/$(namespace)