Skip to content

Latest commit

 

History

History
124 lines (104 loc) · 4.54 KB

File metadata and controls

124 lines (104 loc) · 4.54 KB

Go

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";
- from: costmanagement.budgets.json
  where: 
    - $.definitions.Budget.allOf[0]
  transform: > 
    $['$ref'] = "common-types.json#/definitions/ProxyResourceForCostManagement";
- rename-model:
    from: 'CostManagementResource'
    to: 'ResourceForCostManagement'

Go multi-api

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

Tag: package-2018-05 and go

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)

Tag: package-2018-08-preview and go

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)

Tag: package-2019-01 and go

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)

Tag: package-preview-2019-03 and go

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)

Tag: package-2019-10 and go

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)

Tag: package-2019-11 and go

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)

Tag: package-2020-06 and go

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)

Tag: package-2021-01 and go

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)