Back to Azure Sdk For

Generated code configuration

sdk/changeanalysis/Azure.ResourceManager.ChangeAnalysis/src/autorest.md

2019-05-16T16-521.2 KB
Original Source

Generated code configuration

Run dotnet build /t:GenerateCode to generate code.

yaml

azure-arm: true
csharp: true
library-name: ChangeAnalysis
namespace: Azure.ResourceManager.ChangeAnalysis
require: https://github.com/Azure/azure-rest-api-specs/blob/80065490402157d0df0dd37ab347c651b22eb576/specification/changeanalysis/resource-manager/readme.md
output-folder: $(this-folder)/Generated
clear-output-folder: true
skip-csproj: true
modelerfour:
  flatten-payloads: false
use-model-reader-writer: true

override-operation-name:
  Changes_ListChangesByResourceGroup: GetChangesByResourceGroup
  Changes_ListChangesBySubscription: GetChangesBySubscription

format-by-name-rules:
  'tenantId': 'uuid'
  'ETag': 'etag'
  'location': 'azure-location'
  '*Uri': 'Uri'
  '*Uris': 'Uri'

acronym-mapping:
  CPU: Cpu
  CPUs: Cpus
  Os: OS
  Ip: IP
  Ips: IPs|ips
  ID: Id
  IDs: Ids
  VM: Vm
  VMs: Vms
  Vmos: VmOS
  VMScaleSet: VmScaleSet
  DNS: Dns
  VPN: Vpn
  NAT: Nat
  WAN: Wan
  Ipv4: IPv4|ipv4
  Ipv6: IPv6|ipv6
  Ipsec: IPsec|ipsec
  SSO: Sso
  URI: Uri
  Etag: ETag|etag

rename-mapping:
  Change: DetectedChangeData
  ChangeProperties.resourceId: -|arm-id
  ChangeProperties.timeStamp: ChangeDetectedOn
  Level: PropertyChangeLevel