This is the AutoRest configuration file for DNS resolver.
To build the SDK for DNS resolver, simply Install AutoRest and in this folder, run:
autorest
To see additional help and options, run:
autorest --help
These are the global settings for the DNS resolver API.
title: DnsResolverManagementClient
description: DNS Resolver Client
openapi-type: arm
tag: package-preview-2023-07
These settings apply only when --tag=package-preview-2023-07
is specified on the command line.
input-file:
- Microsoft.Network/preview/2023-07-01-preview/dnsresolver.json
- Microsoft.Network/preview/2023-07-01-preview/dnsresolverpolicy.json
These settings apply only when --tag=package-2022-07
is specified on the command line.
input-file:
- Microsoft.Network/stable/2022-07-01/dnsresolver.json
These settings apply only when --tag=package-2020-04-preview
is specified on the command line.
input-file:
- Microsoft.Network/preview/2020-04-01-preview/dnsresolver.json
This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself.
swagger-to-sdk:
- repo: azure-sdk-for-net-track2
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-go
- repo: azure-powershell
See configuration in readme.python.md
See configuration in readme.go.md
directive:
- where: $.paths
from: dnsresolver.json
suppress: OperationsAPIImplementation
reason: Operation APIs for Microsoft.Network are to be defined in Network swagger.
- suppress: TrackedResourceListByImmediateParent
reason: Another list API naming approach is used over the specs.
- where: $.definitions.Resource
from: types.json
suppress: DescriptionAndTitleMissing
reason: Common types warning.
- suppress: PreviewVersionOverOneYear
reason: Preview API version is carried over from limited preview timeframe back in 2021.
- suppress: PostOperationIdContainsUrlVerb
reason: A different convention is adopted for naming the POST operations.
AutoRest V3 generators require the use of --tag=all-api-versions
to select api files.
This block is updated by an automatic script. Edits may be lost!
# include the azure profile definitions from the standard location
# comment until the resolution steps are figured out here.
# require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
# input-file:
# - $(this-folder)/Microsoft.Network/preview/2020-04-01-preview/dnsresolver.json
If there are files that should not be in the all-api-versions
set,
uncomment the exclude-file
section below and add the file paths.
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json