This is the AutoRest configuration file for Network.
To build the SDK for FrontDoor, 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 FrontDoor API.
title: FrontDoorManagementClient
description: FrontDoor Client
openapi-type: arm
tag: package-2024-02
These settings apply only when --tag=package-2024-02
is specified on the command line.
input-file:
- Microsoft.Network/stable/2024-02-01/network.json
- Microsoft.Network/stable/2024-02-01/webapplicationfirewall.json
- Microsoft.Network/stable/2021-06-01/frontdoor.json
- Microsoft.Network/stable/2019-11-01/networkexperiment.json
These settings apply only when --tag=package-2022-05
is specified on the command line.
input-file:
- Microsoft.Network/stable/2022-05-01/network.json
- Microsoft.Network/stable/2022-05-01/webapplicationfirewall.json
- Microsoft.Network/stable/2021-06-01/frontdoor.json
- Microsoft.Network/stable/2019-11-01/networkexperiment.json
These settings apply only when --tag=package-2021-06
is specified on the command line.
input-file:
- Microsoft.Network/stable/2021-06-01/frontdoor.json
- Microsoft.Network/stable/2021-06-01/webapplicationfirewall.json
- Microsoft.Network/stable/2021-06-01/network.json
- Microsoft.Network/stable/2019-11-01/networkexperiment.json
directive:
- where:
- $.paths
suppress:
- OperationsAPIImplementation
These settings apply only when --tag=package-2020-11
is specified on the command line.
input-file:
- Microsoft.Network/stable/2020-11-01/network.json
- Microsoft.Network/stable/2019-11-01/networkexperiment.json
- Microsoft.Network/stable/2020-05-01/frontdoor.json
- Microsoft.Network/stable/2020-11-01/webapplicationfirewall.json
These settings apply only when --tag=package-2020-05
is specified on the command line.
input-file:
- Microsoft.Network/stable/2020-05-01/network.json
- Microsoft.Network/stable/2019-11-01/networkexperiment.json
- Microsoft.Network/stable/2020-05-01/frontdoor.json
- Microsoft.Network/stable/2020-04-01/webapplicationfirewall.json
directive:
- where:
- $.paths
suppress:
- OperationsAPIImplementation
These settings apply only when --tag=package-2020-04
is specified on the command line.
input-file:
- Microsoft.Network/stable/2020-04-01/network.json
- Microsoft.Network/stable/2019-11-01/networkexperiment.json
- Microsoft.Network/stable/2020-04-01/frontdoor.json
- Microsoft.Network/stable/2020-04-01/webapplicationfirewall.json
directive:
- where:
- $.paths
suppress:
- OperationsAPIImplementation
These settings apply only when --tag=package-2020-01
is specified on the command line.
input-file:
- Microsoft.Network/stable/2020-01-01/network.json
- Microsoft.Network/stable/2019-11-01/networkexperiment.json
- Microsoft.Network/stable/2020-01-01/frontdoor.json
- Microsoft.Network/stable/2019-10-01/webapplicationfirewall.json
directive:
- where:
- $.paths
suppress:
- OperationsAPIImplementation
These settings apply only when --tag=package-2019-11
is specified on the command line.
input-file:
- Microsoft.Network/stable/2019-11-01/network.json
- Microsoft.Network/stable/2019-11-01/networkexperiment.json
- Microsoft.Network/stable/2019-05-01/frontdoor.json
- Microsoft.Network/stable/2019-10-01/webapplicationfirewall.json
directive:
- where:
- $.paths
suppress:
- OperationsAPIImplementation
These settings apply only when --tag=package-2019-10
is specified on the command line.
input-file:
- Microsoft.Network/stable/2019-05-01/frontdoor.json
- Microsoft.Network/stable/2019-05-01/network.json
- Microsoft.Network/stable/2019-10-01/webapplicationfirewall.json
directive:
- where:
- $.paths
suppress:
- OperationsAPIImplementation
These settings apply only when --tag=package-2019-05
is specified on the command line.
input-file:
- Microsoft.Network/stable/2019-05-01/frontdoor.json
- Microsoft.Network/stable/2019-05-01/network.json
- Microsoft.Network/stable/2019-03-01/webapplicationfirewall.json
directive:
- where:
- $.paths
suppress:
- OperationsAPIImplementation
These settings apply only when --tag=package-2019-04
is specified on the command line.
input-file:
- Microsoft.Network/stable/2019-04-01/frontdoor.json
- Microsoft.Network/stable/2019-04-01/network.json
- Microsoft.Network/stable/2019-03-01/webapplicationfirewall.json
directive:
- where:
- $.paths
suppress:
- OperationsAPIImplementation
These settings apply only when --tag=package-2019-03-preview
is specified on the command line.
input-file:
- Microsoft.Network/preview/2018-08-01-preview/frontdoor.json
- Microsoft.Network/preview/2018-08-01-preview/network.json
- Microsoft.Network/preview/2019-03-01-preview/webapplicationfirewall.json
directive:
- where:
- $.paths
suppress:
- OperationsAPIImplementation
These settings apply only when --tag=package-2018-08-preview
is specified on the command line.
input-file:
- Microsoft.Network/preview/2018-08-01-preview/frontdoor.json
- Microsoft.Network/preview/2018-08-01-preview/network.json
- Microsoft.Network/preview/2018-08-01-preview/webapplicationfirewall.json
directive:
- where:
- $.paths
suppress:
- OperationsAPIImplementation
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
- repo: azure-libraries-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
- repo: azure-resource-manager-schemas
See configuration in readme.go.md
See configuration in readme.cli.md
See configuration in readme.python.md
See configuration in readme.java.md
directive:
- from: frontdoor.json
where: [$.paths]
suppress: OperationsAPIImplementation
reason: Networking resource operations defined elsewhere.
- from: frontdoor.json
where: [$.definitions.Frontdoor,$.definitions.RoutingRule,$.definitions.FrontendEndpoint,$.definitions.BackendPool,$.definitions.LoadBalancingSettingsModel,$.definitions.HealthProbeSettingsModel]
suppress: RequiredPropertiesMissingInResourceModel
reason: Networking resource id is not readonly.
- from: frontdoor.json
where: [$.definitions.ValidateCustomDomainOutput.properties.customDomainValidated]
suppress: EnumInsteadOfBoolean
reason: Direct copy of ValidateCustomDomain API in CDN Resource Provider.
directive:
- suppress: TopLevelResourcesListBySubscription
where: $.definitions.WebApplicationFirewallPolicy
from: webapplicationfirewall.json
reason: 'We don''t have Top Level list resource by subscription api yet. '
- suppress: PathResourceTypeNameCamelCase
where: '$.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/{policyName}"]'
from: webapplicationfirewall.json
reason: The resource type name FrontDoorWebApplicationFirewallPolicies was already defined for all the versions.
- suppress: INVALID_TYPE
where: $.definitions.Resource.properties.tags.additionalProperties
from: network.json
reason: 'Same as version in 2020-11-01, will not change since it will involves breaking change. '
- suppress: RequiredSystemDataInNewApiVersions
where: '$.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/{policyName}"].get'
from: webapplicationfirewall.json
reason: 'Same as the old versions. '
- suppress: RequiredSystemDataInNewApiVersions
where: '$.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/{policyName}"].get'
from: webapplicationfirewall.json
reason: 'Same as old versions. '
- suppress: RequiredSystemDataInNewApiVersions
where: '$.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/{policyName}"].get'
from: webapplicationfirewall.json
reason: 'same as old versions. '
- suppress: DefaultErrorResponseSchema
where: '$.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/NetworkExperimentProfiles/{profileName}"].put.responses.default'
from: networkexperiment.json
reason: 'same as old versions. '
- suppress: RequiredSystemDataInNewApiVersions
where: '$.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/{policyName}"].get'
from: webapplicationfirewall.json
reason: Same as old versions.
- suppress: RequiredSystemDataInNewApiVersions
where: '$.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/{policyName}"].put'
from: webapplicationfirewall.json
reason: Same as old versions.
- suppress: RequiredSystemDataInNewApiVersions
where: '$.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/{policyName}"].get'
from: webapplicationfirewall.json
reason: same as old versions.
- suppress: R4007
from: webapplicationfirewall.json
reason: we will be Implementing in new API version