From f126396304cd1acb49569809db3d3fe4ef0ac29c Mon Sep 17 00:00:00 2001 From: Arpit Gagneja Date: Tue, 21 Jun 2022 15:06:11 -0700 Subject: [PATCH 1/5] Added stable version for managed resolver --- .../stable/2022-06-21/dnsresolver.json | 2675 +++++++++++++++++ .../examples/DnsForwardingRuleset_Delete.json | 18 + .../examples/DnsForwardingRuleset_Get.json | 40 + ...ForwardingRuleset_ListByResourceGroup.json | 72 + ...sForwardingRuleset_ListBySubscription.json | 71 + ...orwardingRuleset_ListByVirtualNetwork.json | 25 + .../examples/DnsForwardingRuleset_Patch.json | 51 + .../examples/DnsForwardingRuleset_Put.json | 92 + .../examples/DnsResolver_Delete.json | 18 + .../2022-06-21/examples/DnsResolver_Get.json | 36 + .../DnsResolver_ListByResourceGroup.json | 64 + .../DnsResolver_ListBySubscription.json | 63 + .../DnsResolver_ListByVirtualNetwork.json | 20 + .../examples/DnsResolver_Patch.json | 47 + .../2022-06-21/examples/DnsResolver_Put.json | 73 + .../examples/ForwardingRule_Delete.json | 13 + .../examples/ForwardingRule_Get.json | 43 + .../examples/ForwardingRule_List.json | 77 + .../examples/ForwardingRule_Patch.json | 51 + .../examples/ForwardingRule_Put.json | 94 + .../examples/InboundEndpoint_Delete.json | 19 + .../examples/InboundEndpoint_Get.json | 42 + .../examples/InboundEndpoint_List.json | 75 + .../examples/InboundEndpoint_Patch.json | 53 + .../examples/InboundEndpoint_Put.json | 96 + .../examples/OutboundEndpoint_Delete.json | 19 + .../examples/OutboundEndpoint_Get.json | 36 + .../examples/OutboundEndpoint_List.json | 63 + .../examples/OutboundEndpoint_Patch.json | 47 + .../examples/OutboundEndpoint_Put.json | 77 + .../examples/VirtualNetworkLink_Delete.json | 19 + .../examples/VirtualNetworkLink_Get.json | 34 + .../examples/VirtualNetworkLink_List.json | 38 + .../examples/VirtualNetworkLink_Patch.json | 47 + .../examples/VirtualNetworkLink_Put.json | 73 + .../dnsresolver/resource-manager/readme.md | 11 +- 36 files changed, 4391 insertions(+), 1 deletion(-) create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/dnsresolver.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Delete.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Get.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByResourceGroup.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListBySubscription.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByVirtualNetwork.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Patch.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Put.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Delete.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Get.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByResourceGroup.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListBySubscription.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByVirtualNetwork.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Patch.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Put.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Delete.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Get.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_List.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Patch.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Put.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Delete.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Get.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_List.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Patch.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Put.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Delete.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Get.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_List.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Patch.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Put.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Delete.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Get.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_List.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Patch.json create mode 100644 specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Put.json diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/dnsresolver.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/dnsresolver.json new file mode 100644 index 000000000000..5a1f3beea3c7 --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/dnsresolver.json @@ -0,0 +1,2675 @@ +{ + "swagger": "2.0", + "info": { + "title": "DnsResolverManagementClient", + "description": "The DNS Resolver Management Client.", + "version": "2022-06-21" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}": { + "put": { + "tags": [ + "DnsResolvers" + ], + "operationId": "DnsResolvers_CreateOrUpdate", + "description": "Creates or updates a DNS resolver.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsResolverNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DnsResolver" + }, + "description": "Parameters supplied to the CreateOrUpdate operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + }, + { + "$ref": "#/parameters/IfNoneMatchParameter" + } + ], + "responses": { + "201": { + "description": "The DNS resolver has been created.", + "schema": { + "$ref": "#/definitions/DnsResolver" + } + }, + "200": { + "description": "The DNS resolver has been updated.", + "schema": { + "$ref": "#/definitions/DnsResolver" + } + }, + "202": { + "description": "The operation to upsert DNS resolver has been accepted and will complete asynchronously." + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Upsert DNS resolver": { + "$ref": "./examples/DnsResolver_Put.json" + } + } + }, + "patch": { + "tags": [ + "DnsResolvers" + ], + "operationId": "DnsResolvers_Update", + "description": "Updates a DNS resolver.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsResolverNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DnsResolverPatch" + }, + "description": "Parameters supplied to the Update operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + } + ], + "responses": { + "200": { + "description": "The DNS resolver has been updated.", + "schema": { + "$ref": "#/definitions/DnsResolver" + } + }, + "202": { + "description": "The operation to update DNS resolver has been accepted and will complete asynchronously." + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update DNS resolver": { + "$ref": "./examples/DnsResolver_Patch.json" + } + } + }, + "delete": { + "tags": [ + "DnsResolvers" + ], + "operationId": "DnsResolvers_Delete", + "description": "Deletes a DNS resolver. WARNING: This operation cannot be undone.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsResolverNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + } + ], + "responses": { + "200": { + "description": "The DNS resolver has been deleted." + }, + "202": { + "description": "The operation to delete DNS resolver has been accepted and will complete asynchronously." + }, + "204": { + "description": "The DNS resolver was not found." + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete DNS resolver": { + "$ref": "./examples/DnsResolver_Delete.json" + } + } + }, + "get": { + "tags": [ + "DnsResolvers" + ], + "operationId": "DnsResolvers_Get", + "description": "Gets properties of a DNS resolver.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsResolverNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The DNS resolver was found.", + "schema": { + "$ref": "#/definitions/DnsResolver" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Retrieve DNS resolver": { + "$ref": "./examples/DnsResolver_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers": { + "get": { + "tags": [ + "DnsResolvers" + ], + "operationId": "DnsResolvers_ListByResourceGroup", + "description": "Lists DNS resolvers within a resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "List of DNS resolvers in the resource group.", + "schema": { + "$ref": "#/definitions/DnsResolverListResult" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List DNS resolvers by resource group": { + "$ref": "./examples/DnsResolver_ListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnsResolvers": { + "get": { + "tags": [ + "DnsResolvers" + ], + "operationId": "DnsResolvers_List", + "description": "Lists DNS resolvers in all resource groups of a subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "List of DNS resolvers in the subscription.", + "schema": { + "$ref": "#/definitions/DnsResolverListResult" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List DNS resolvers by subscription": { + "$ref": "./examples/DnsResolver_ListBySubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}/inboundEndpoints/{inboundEndpointName}": { + "put": { + "tags": [ + "InboundEndpoints" + ], + "operationId": "InboundEndpoints_CreateOrUpdate", + "description": "Creates or updates an inbound endpoint for a DNS resolver.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsResolverNameParameter" + }, + { + "$ref": "#/parameters/InboundEndpointNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/InboundEndpoint" + }, + "description": "Parameters supplied to the CreateOrUpdate operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + }, + { + "$ref": "#/parameters/IfNoneMatchParameter" + } + ], + "responses": { + "201": { + "description": "The inbound endpoint for the DNS resolver has been created.", + "schema": { + "$ref": "#/definitions/InboundEndpoint" + } + }, + "200": { + "description": "The inbound endpoint for the DNS resolver has been updated.", + "schema": { + "$ref": "#/definitions/InboundEndpoint" + } + }, + "202": { + "description": "The operation to upsert inbound endpoint for the DNS resolver has been accepted and will complete asynchronously." + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Upsert inbound endpoint for DNS resolver": { + "$ref": "./examples/InboundEndpoint_Put.json" + } + } + }, + "patch": { + "tags": [ + "InboundEndpoints" + ], + "operationId": "InboundEndpoints_Update", + "description": "Updates an inbound endpoint for a DNS resolver.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsResolverNameParameter" + }, + { + "$ref": "#/parameters/InboundEndpointNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/InboundEndpointPatch" + }, + "description": "Parameters supplied to the Update operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + } + ], + "responses": { + "200": { + "description": "The inbound endpoint for the DNS resolver has been updated.", + "schema": { + "$ref": "#/definitions/InboundEndpoint" + } + }, + "202": { + "description": "The operation to update inbound endpoint for the DNS resolver has been accepted and will complete asynchronously." + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update inbound endpoint for DNS resolver": { + "$ref": "./examples/InboundEndpoint_Patch.json" + } + } + }, + "delete": { + "tags": [ + "InboundEndpoints" + ], + "operationId": "InboundEndpoints_Delete", + "description": "Deletes an inbound endpoint for a DNS resolver. WARNING: This operation cannot be undone.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsResolverNameParameter" + }, + { + "$ref": "#/parameters/InboundEndpointNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + } + ], + "responses": { + "200": { + "description": "The inbound endpoint for the DNS resolver has been deleted." + }, + "202": { + "description": "The operation to delete inbound endpoint for the DNS resolver has been accepted and will complete asynchronously." + }, + "204": { + "description": "The inbound endpoint for the DNS resolver was not found." + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete inbound endpoint for DNS resolver": { + "$ref": "./examples/InboundEndpoint_Delete.json" + } + } + }, + "get": { + "tags": [ + "InboundEndpoints" + ], + "operationId": "InboundEndpoints_Get", + "description": "Gets properties of an inbound endpoint for a DNS resolver.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsResolverNameParameter" + }, + { + "$ref": "#/parameters/InboundEndpointNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The inbound endpoint for the DNS resolver was found.", + "schema": { + "$ref": "#/definitions/InboundEndpoint" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Retrieve inbound endpoint for DNS resolver": { + "$ref": "./examples/InboundEndpoint_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}/inboundEndpoints": { + "get": { + "tags": [ + "InboundEndpoints" + ], + "operationId": "InboundEndpoints_List", + "description": "Lists inbound endpoints for a DNS resolver.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsResolverNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "List of inbound endpoints for the DNS resolver.", + "schema": { + "$ref": "#/definitions/InboundEndpointListResult" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List inbound endpoints by DNS resolver": { + "$ref": "./examples/InboundEndpoint_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}/outboundEndpoints/{outboundEndpointName}": { + "put": { + "tags": [ + "OutboundEndpoints" + ], + "operationId": "OutboundEndpoints_CreateOrUpdate", + "description": "Creates or updates an outbound endpoint for a DNS resolver.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsResolverNameParameter" + }, + { + "$ref": "#/parameters/OutboundEndpointNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/OutboundEndpoint" + }, + "description": "Parameters supplied to the CreateOrUpdate operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + }, + { + "$ref": "#/parameters/IfNoneMatchParameter" + } + ], + "responses": { + "201": { + "description": "The outbound endpoint for the DNS resolver has been created.", + "schema": { + "$ref": "#/definitions/OutboundEndpoint" + } + }, + "200": { + "description": "The outbound endpoint for the DNS resolver has been updated.", + "schema": { + "$ref": "#/definitions/OutboundEndpoint" + } + }, + "202": { + "description": "The operation to upsert outbound endpoint for the DNS resolver has been accepted and will complete asynchronously." + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Upsert outbound endpoint for DNS resolver": { + "$ref": "./examples/OutboundEndpoint_Put.json" + } + } + }, + "patch": { + "tags": [ + "OutboundEndpoints" + ], + "operationId": "OutboundEndpoints_Update", + "description": "Updates an outbound endpoint for a DNS resolver.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsResolverNameParameter" + }, + { + "$ref": "#/parameters/OutboundEndpointNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/OutboundEndpointPatch" + }, + "description": "Parameters supplied to the Update operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + } + ], + "responses": { + "200": { + "description": "The outbound endpoint for the DNS resolver has been updated.", + "schema": { + "$ref": "#/definitions/OutboundEndpoint" + } + }, + "202": { + "description": "The operation to update outbound endpoint for the DNS resolver has been accepted and will complete asynchronously." + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update outbound endpoint for DNS resolver": { + "$ref": "./examples/OutboundEndpoint_Patch.json" + } + } + }, + "delete": { + "tags": [ + "OutboundEndpoints" + ], + "operationId": "OutboundEndpoints_Delete", + "description": "Deletes an outbound endpoint for a DNS resolver. WARNING: This operation cannot be undone.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsResolverNameParameter" + }, + { + "$ref": "#/parameters/OutboundEndpointNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + } + ], + "responses": { + "200": { + "description": "The outbound endpoint for the DNS resolver has been deleted." + }, + "202": { + "description": "The operation to delete outbound endpoint for the DNS resolver has been accepted and will complete asynchronously." + }, + "204": { + "description": "The outbound endpoint for the DNS resolver was not found." + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete outbound endpoint for DNS resolver": { + "$ref": "./examples/OutboundEndpoint_Delete.json" + } + } + }, + "get": { + "tags": [ + "OutboundEndpoints" + ], + "operationId": "OutboundEndpoints_Get", + "description": "Gets properties of an outbound endpoint for a DNS resolver.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsResolverNameParameter" + }, + { + "$ref": "#/parameters/OutboundEndpointNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The outbound endpoint for the DNS resolver was found.", + "schema": { + "$ref": "#/definitions/OutboundEndpoint" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Retrieve outbound endpoint for DNS resolver": { + "$ref": "./examples/OutboundEndpoint_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}/outboundEndpoints": { + "get": { + "tags": [ + "OutboundEndpoints" + ], + "operationId": "OutboundEndpoints_List", + "description": "Lists outbound endpoints for a DNS resolver.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsResolverNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "List of outbound endpoints for the DNS resolver.", + "schema": { + "$ref": "#/definitions/OutboundEndpointListResult" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List outbound endpoints by DNS resolver": { + "$ref": "./examples/OutboundEndpoint_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}": { + "put": { + "tags": [ + "DnsForwardingRulesets" + ], + "operationId": "DnsForwardingRulesets_CreateOrUpdate", + "description": "Creates or updates a DNS forwarding ruleset.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsForwardingRulesetNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DnsForwardingRuleset" + }, + "description": "Parameters supplied to the CreateOrUpdate operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + }, + { + "$ref": "#/parameters/IfNoneMatchParameter" + } + ], + "responses": { + "201": { + "description": "The DNS forwarding ruleset has been created.", + "schema": { + "$ref": "#/definitions/DnsForwardingRuleset" + } + }, + "200": { + "description": "The DNS forwarding ruleset has been updated.", + "schema": { + "$ref": "#/definitions/DnsForwardingRuleset" + } + }, + "202": { + "description": "The operation to upsert DNS forwarding ruleset has been accepted and will complete asynchronously." + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Upsert DNS forwarding ruleset": { + "$ref": "./examples/DnsForwardingRuleset_Put.json" + } + } + }, + "patch": { + "tags": [ + "DnsForwardingRulesets" + ], + "operationId": "DnsForwardingRulesets_Update", + "description": "Updates a DNS forwarding ruleset.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsForwardingRulesetNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DnsForwardingRulesetPatch" + }, + "description": "Parameters supplied to the Update operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + } + ], + "responses": { + "200": { + "description": "The DNS forwarding ruleset has been updated.", + "schema": { + "$ref": "#/definitions/DnsForwardingRuleset" + } + }, + "202": { + "description": "The operation to update DNS forwarding ruleset has been accepted and will complete asynchronously." + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update DNS forwarding ruleset": { + "$ref": "./examples/DnsForwardingRuleset_Patch.json" + } + } + }, + "delete": { + "tags": [ + "DnsForwardingRulesets" + ], + "operationId": "DnsForwardingRulesets_Delete", + "description": "Deletes a DNS forwarding ruleset. WARNING: This operation cannot be undone. All forwarding rules within the ruleset will be deleted.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsForwardingRulesetNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + } + ], + "responses": { + "200": { + "description": "The DNS forwarding ruleset has been deleted." + }, + "202": { + "description": "The operation to delete DNS forwarding ruleset has been accepted and will complete asynchronously." + }, + "204": { + "description": "The DNS forwarding ruleset was not found." + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete DNS forwarding ruleset": { + "$ref": "./examples/DnsForwardingRuleset_Delete.json" + } + } + }, + "get": { + "tags": [ + "DnsForwardingRulesets" + ], + "operationId": "DnsForwardingRulesets_Get", + "description": "Gets a DNS forwarding ruleset properties.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsForwardingRulesetNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The DNS forwarding ruleset was found.", + "schema": { + "$ref": "#/definitions/DnsForwardingRuleset" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Retrieve DNS forwarding ruleset": { + "$ref": "./examples/DnsForwardingRuleset_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets": { + "get": { + "tags": [ + "DnsForwardingRulesets" + ], + "operationId": "DnsForwardingRulesets_ListByResourceGroup", + "description": "Lists DNS forwarding rulesets within a resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "List of DNS forwarding rulesets in the resource group.", + "schema": { + "$ref": "#/definitions/DnsForwardingRulesetListResult" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List DNS forwarding rulesets by resource group": { + "$ref": "./examples/DnsForwardingRuleset_ListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnsForwardingRulesets": { + "get": { + "tags": [ + "DnsForwardingRulesets" + ], + "operationId": "DnsForwardingRulesets_List", + "description": "Lists DNS forwarding rulesets in all resource groups of a subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "List of DNS forwarding rulesets in the subscription.", + "schema": { + "$ref": "#/definitions/DnsForwardingRulesetListResult" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List DNS forwarding rulesets by subscription": { + "$ref": "./examples/DnsForwardingRuleset_ListBySubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/forwardingRules/{forwardingRuleName}": { + "put": { + "tags": [ + "ForwardingRules" + ], + "operationId": "ForwardingRules_CreateOrUpdate", + "description": "Creates or updates a forwarding rule in a DNS forwarding ruleset.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsForwardingRulesetNameParameter" + }, + { + "$ref": "#/parameters/ForwardingRuleNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ForwardingRule" + }, + "description": "Parameters supplied to the CreateOrUpdate operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + }, + { + "$ref": "#/parameters/IfNoneMatchParameter" + } + ], + "responses": { + "201": { + "description": "The forwarding rule has been created.", + "schema": { + "$ref": "#/definitions/ForwardingRule" + } + }, + "200": { + "description": "The forwarding rule has been updated.", + "schema": { + "$ref": "#/definitions/ForwardingRule" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Upsert forwarding rule in a DNS forwarding ruleset": { + "$ref": "./examples/ForwardingRule_Put.json" + } + } + }, + "patch": { + "tags": [ + "ForwardingRules" + ], + "operationId": "ForwardingRules_Update", + "description": "Updates a forwarding rule in a DNS forwarding ruleset.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsForwardingRulesetNameParameter" + }, + { + "$ref": "#/parameters/ForwardingRuleNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ForwardingRulePatch" + }, + "description": "Parameters supplied to the Update operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + } + ], + "responses": { + "200": { + "description": "The forwarding rule has been updated.", + "schema": { + "$ref": "#/definitions/ForwardingRule" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Update forwarding rule in a DNS forwarding ruleset": { + "$ref": "./examples/ForwardingRule_Patch.json" + } + } + }, + "delete": { + "tags": [ + "ForwardingRules" + ], + "operationId": "ForwardingRules_Delete", + "description": "Deletes a forwarding rule in a DNS forwarding ruleset. WARNING: This operation cannot be undone.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsForwardingRulesetNameParameter" + }, + { + "$ref": "#/parameters/ForwardingRuleNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + } + ], + "responses": { + "200": { + "description": "The forwarding rule has been deleted." + }, + "204": { + "description": "The forwarding rule was not found." + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Delete forwarding rule in a DNS forwarding ruleset": { + "$ref": "./examples/ForwardingRule_Delete.json" + } + } + }, + "get": { + "tags": [ + "ForwardingRules" + ], + "operationId": "ForwardingRules_Get", + "description": "Gets properties of a forwarding rule in a DNS forwarding ruleset.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsForwardingRulesetNameParameter" + }, + { + "$ref": "#/parameters/ForwardingRuleNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The forwarding rule was found.", + "schema": { + "$ref": "#/definitions/ForwardingRule" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Retrieve forwarding rule in a DNS forwarding ruleset": { + "$ref": "./examples/ForwardingRule_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/forwardingRules": { + "get": { + "tags": [ + "ForwardingRules" + ], + "operationId": "ForwardingRules_List", + "description": "Lists forwarding rules in a DNS forwarding ruleset.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsForwardingRulesetNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "List of forwarding rules in the DNS forwarding ruleset.", + "schema": { + "$ref": "#/definitions/ForwardingRuleListResult" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List forwarding rules in a DNS forwarding ruleset": { + "$ref": "./examples/ForwardingRule_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/virtualNetworkLinks/{virtualNetworkLinkName}": { + "put": { + "tags": [ + "VirtualNetworkLinks" + ], + "operationId": "VirtualNetworkLinks_CreateOrUpdate", + "description": "Creates or updates a virtual network link to a DNS forwarding ruleset.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsForwardingRulesetNameParameter" + }, + { + "$ref": "#/parameters/VirtualNetworkLinkNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkLink" + }, + "description": "Parameters supplied to the CreateOrUpdate operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + }, + { + "$ref": "#/parameters/IfNoneMatchParameter" + } + ], + "responses": { + "201": { + "description": "The virtual network link to the DNS forwarding ruleset has been created.", + "schema": { + "$ref": "#/definitions/VirtualNetworkLink" + } + }, + "200": { + "description": "The virtual network link to the DNS forwarding ruleset has been updated.", + "schema": { + "$ref": "#/definitions/VirtualNetworkLink" + } + }, + "202": { + "description": "The operation to upsert virtual network link to the DNS forwarding ruleset has been accepted and will complete asynchronously." + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Upsert virtual network link to a DNS forwarding ruleset": { + "$ref": "./examples/VirtualNetworkLink_Put.json" + } + } + }, + "patch": { + "tags": [ + "VirtualNetworkLinks" + ], + "operationId": "VirtualNetworkLinks_Update", + "description": "Updates a virtual network link to a DNS forwarding ruleset.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsForwardingRulesetNameParameter" + }, + { + "$ref": "#/parameters/VirtualNetworkLinkNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkLinkPatch" + }, + "description": "Parameters supplied to the Update operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + } + ], + "responses": { + "200": { + "description": "The virtual network link to the DNS forwarding ruleset has been updated.", + "schema": { + "$ref": "#/definitions/VirtualNetworkLink" + } + }, + "202": { + "description": "The operation to update virtual network link to the DNS forwarding ruleset has been accepted and will complete asynchronously." + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update virtual network link to a DNS forwarding ruleset": { + "$ref": "./examples/VirtualNetworkLink_Patch.json" + } + } + }, + "delete": { + "tags": [ + "VirtualNetworkLinks" + ], + "operationId": "VirtualNetworkLinks_Delete", + "description": "Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsForwardingRulesetNameParameter" + }, + { + "$ref": "#/parameters/VirtualNetworkLinkNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + } + ], + "responses": { + "200": { + "description": "The virtual network link to the DNS forwarding ruleset has been deleted." + }, + "202": { + "description": "The operation to delete virtual network link to the DNS forwarding ruleset has been accepted and will complete asynchronously." + }, + "204": { + "description": "The virtual network link to the DNS forwarding ruleset was not found." + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete virtual network link to a DNS forwarding ruleset": { + "$ref": "./examples/VirtualNetworkLink_Delete.json" + } + } + }, + "get": { + "tags": [ + "VirtualNetworkLinks" + ], + "operationId": "VirtualNetworkLinks_Get", + "description": "Gets properties of a virtual network link to a DNS forwarding ruleset.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsForwardingRulesetNameParameter" + }, + { + "$ref": "#/parameters/VirtualNetworkLinkNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The virtual network link to DNS forwarding ruleset was found.", + "schema": { + "$ref": "#/definitions/VirtualNetworkLink" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Retrieve virtual network link to a DNS forwarding ruleset": { + "$ref": "./examples/VirtualNetworkLink_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/virtualNetworkLinks": { + "get": { + "tags": [ + "VirtualNetworkLinks" + ], + "operationId": "VirtualNetworkLinks_List", + "description": "Lists virtual network links to a DNS forwarding ruleset.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DnsForwardingRulesetNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "List of virtual network links to a DNS forwarding ruleset.", + "schema": { + "$ref": "#/definitions/VirtualNetworkLinkListResult" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List virtual network links to a DNS forwarding ruleset": { + "$ref": "./examples/VirtualNetworkLink_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listDnsResolvers": { + "post": { + "tags": [ + "DnsResolvers" + ], + "operationId": "DnsResolvers_ListByVirtualNetwork", + "description": "Lists DNS resolver resource IDs linked to a virtual network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VirtualNetworkNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "List of DNS resolver resource IDs linked to the virtual network.", + "schema": { + "$ref": "#/definitions/SubResourceListResult" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List DNS resolvers by virtual network": { + "$ref": "./examples/DnsResolver_ListByVirtualNetwork.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listDnsForwardingRulesets": { + "post": { + "tags": [ + "DnsForwardingRulesets" + ], + "operationId": "DnsForwardingRulesets_ListByVirtualNetwork", + "description": "Lists DNS forwarding ruleset resource IDs attached to a virtual network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VirtualNetworkNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "List of DNS forwarding ruleset resource IDs and virtual network link resource IDs attached to the virtual network.", + "schema": { + "$ref": "#/definitions/VirtualNetworkDnsForwardingRulesetListResult" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List DNS forwarding rulesets by virtual network": { + "$ref": "./examples/DnsForwardingRuleset_ListByVirtualNetwork.json" + } + } + } + } + }, + "definitions": { + "DnsResolverProperties": { + "description": "Represents the properties of a DNS resolver.", + "type": "object", + "required": [ + "virtualNetwork" + ], + "properties": { + "virtualNetwork": { + "description": "The reference to the virtual network. This cannot be changed after creation.", + "x-ms-mutability": [ + "read", + "create" + ], + "$ref": "#/definitions/SubResource" + }, + "dnsResolverState": { + "description": "The current status of the DNS resolver. This is a read-only property and any attempt to set this value will be ignored.", + "type": "string", + "enum": [ + "Connected", + "Disconnected" + ], + "x-ms-enum": { + "name": "DnsResolverState", + "modelAsString": true + }, + "readOnly": true + }, + "provisioningState": { + "description": "The current provisioning state of the DNS resolver. This is a read-only property and any attempt to set this value will be ignored.", + "readOnly": true, + "$ref": "#/definitions/ProvisioningState" + }, + "resourceGuid": { + "description": "The resourceGuid property of the DNS resolver resource.", + "readOnly": true, + "$ref": "#/definitions/ResourceGuid" + } + } + }, + "DnsResolver": { + "description": "Describes a DNS resolver.", + "type": "object", + "required": [ + "properties" + ], + "properties": { + "etag": { + "description": "ETag of the DNS resolver.", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Properties of the DNS resolver.", + "$ref": "#/definitions/DnsResolverProperties", + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "Metadata pertaining to creation and last modification of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ] + }, + "DnsResolverPatch": { + "description": "Describes a DNS resolver for PATCH operation.", + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Tags for DNS Resolver." + } + } + }, + "DnsResolverListResult": { + "description": "The response to an enumeration operation on DNS resolvers.", + "type": "object", + "properties": { + "value": { + "description": "Enumeration of the DNS resolvers.", + "type": "array", + "items": { + "$ref": "#/definitions/DnsResolver" + } + }, + "nextLink": { + "description": "The continuation token for the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "InboundEndpointProperties": { + "description": "Represents the properties of an inbound endpoint for a DNS resolver.", + "type": "object", + "required": [ + "ipConfigurations" + ], + "properties": { + "ipConfigurations": { + "description": "IP configurations for the inbound endpoint.", + "type": "array", + "items": { + "$ref": "#/definitions/IpConfiguration" + }, + "x-ms-identifiers": [] + }, + "provisioningState": { + "description": "The current provisioning state of the inbound endpoint. This is a read-only property and any attempt to set this value will be ignored.", + "readOnly": true, + "$ref": "#/definitions/ProvisioningState" + }, + "resourceGuid": { + "description": "The resourceGuid property of the inbound endpoint resource.", + "readOnly": true, + "$ref": "#/definitions/ResourceGuid" + } + } + }, + "InboundEndpoint": { + "description": "Describes an inbound endpoint for a DNS resolver.", + "type": "object", + "required": [ + "properties" + ], + "properties": { + "etag": { + "description": "ETag of the inbound endpoint.", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Properties of the inbound endpoint.", + "$ref": "#/definitions/InboundEndpointProperties", + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "Metadata pertaining to creation and last modification of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ] + }, + "InboundEndpointPatch": { + "description": "Describes an inbound endpoint for a DNS resolver for PATCH operation.", + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Tags for inbound endpoint." + } + } + }, + "InboundEndpointListResult": { + "description": "The response to an enumeration operation on inbound endpoints for a DNS resolver.", + "type": "object", + "properties": { + "value": { + "description": "Enumeration of the inbound endpoints for a DNS resolver.", + "type": "array", + "items": { + "$ref": "#/definitions/InboundEndpoint" + } + }, + "nextLink": { + "description": "The continuation token for the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "OutboundEndpointProperties": { + "description": "Represents the properties of an outbound endpoint for a DNS resolver.", + "type": "object", + "required": [ + "subnet" + ], + "properties": { + "subnet": { + "description": "The reference to the subnet used for the outbound endpoint.", + "$ref": "#/definitions/SubResource" + }, + "provisioningState": { + "description": "The current provisioning state of the outbound endpoint. This is a read-only property and any attempt to set this value will be ignored.", + "$ref": "#/definitions/ProvisioningState", + "readOnly": true + }, + "resourceGuid": { + "description": "The resourceGuid property of the outbound endpoint resource.", + "readOnly": true, + "$ref": "#/definitions/ResourceGuid" + } + } + }, + "OutboundEndpoint": { + "description": "Describes an outbound endpoint for a DNS resolver.", + "type": "object", + "required": [ + "properties" + ], + "properties": { + "etag": { + "description": "ETag of the outbound endpoint.", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Properties of the outbound endpoint.", + "$ref": "#/definitions/OutboundEndpointProperties", + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "Metadata pertaining to creation and last modification of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ] + }, + "OutboundEndpointPatch": { + "description": "Describes an outbound endpoint for a DNS resolver for PATCH operation.", + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Tags for outbound endpoint." + } + } + }, + "OutboundEndpointListResult": { + "description": "The response to an enumeration operation on outbound endpoints for a DNS resolver.", + "type": "object", + "properties": { + "value": { + "description": "Enumeration of the outbound endpoints for a DNS resolver.", + "type": "array", + "items": { + "$ref": "#/definitions/OutboundEndpoint" + } + }, + "nextLink": { + "description": "The continuation token for the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "DnsForwardingRulesetProperties": { + "description": "Represents the properties of a DNS forwarding ruleset.", + "type": "object", + "required": [ + "dnsResolverOutboundEndpoints" + ], + "properties": { + "dnsResolverOutboundEndpoints": { + "description": "The reference to the DNS resolver outbound endpoints that are used to route DNS queries matching the forwarding rules in the ruleset to the target DNS servers.", + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + "provisioningState": { + "description": "The current provisioning state of the DNS forwarding ruleset. This is a read-only property and any attempt to set this value will be ignored.", + "$ref": "#/definitions/ProvisioningState", + "readOnly": true + }, + "resourceGuid": { + "description": "The resourceGuid for the DNS forwarding ruleset.", + "type": "string", + "readOnly": true + } + } + }, + "DnsForwardingRuleset": { + "description": "Describes a DNS forwarding ruleset.", + "type": "object", + "required": [ + "properties" + ], + "properties": { + "etag": { + "description": "ETag of the DNS forwarding ruleset.", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Properties of the DNS forwarding ruleset.", + "$ref": "#/definitions/DnsForwardingRulesetProperties", + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "Metadata pertaining to creation and last modification of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ] + }, + "DnsForwardingRulesetPatch": { + "description": "Describes a DNS forwarding ruleset PATCH operation.", + "type": "object", + "properties": { + "dnsResolverOutboundEndpoints": { + "description": "The reference to the DNS resolver outbound endpoints that are used to route DNS queries matching the forwarding rules in the ruleset to the target DNS servers.", + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Tags for DNS Resolver." + } + } + }, + "DnsForwardingRulesetListResult": { + "description": "The response to an enumeration operation on DNS forwarding rulesets.", + "type": "object", + "properties": { + "value": { + "description": "Enumeration of the DNS forwarding rulesets.", + "type": "array", + "items": { + "$ref": "#/definitions/DnsForwardingRuleset" + } + }, + "nextLink": { + "description": "The continuation token for the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "ForwardingRuleProperties": { + "description": "Represents the properties of a forwarding rule within a DNS forwarding ruleset.", + "type": "object", + "required": [ + "domainName", + "targetDnsServers" + ], + "properties": { + "domainName": { + "description": "The domain name for the forwarding rule.", + "type": "string" + }, + "targetDnsServers": { + "description": "DNS servers to forward the DNS query to.", + "type": "array", + "items": { + "$ref": "#/definitions/TargetDnsServer" + }, + "x-ms-identifiers": [] + }, + "metadata": { + "description": "Metadata attached to the forwarding rule.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "forwardingRuleState": { + "type": "string", + "description": "The state of forwarding rule.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ForwardingRuleState", + "modelAsString": true + } + }, + "provisioningState": { + "description": "The current provisioning state of the forwarding rule. This is a read-only property and any attempt to set this value will be ignored.", + "$ref": "#/definitions/ProvisioningState", + "readOnly": true + } + } + }, + "ForwardingRule": { + "description": "Describes a forwarding rule within a DNS forwarding ruleset.", + "type": "object", + "required": [ + "properties" + ], + "properties": { + "etag": { + "description": "ETag of the forwarding rule.", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Properties of the forwarding rule.", + "$ref": "#/definitions/ForwardingRuleProperties", + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "Metadata pertaining to creation and last modification of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + } + ] + }, + "ForwardingRulePatchProperties": { + "description": "Represents the updatable properties of a forwarding rule within a DNS forwarding ruleset.", + "type": "object", + "properties": { + "targetDnsServers": { + "description": "DNS servers to forward the DNS query to.", + "type": "array", + "items": { + "$ref": "#/definitions/TargetDnsServer" + }, + "x-ms-identifiers": [] + }, + "metadata": { + "description": "Metadata attached to the forwarding rule.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "forwardingRuleState": { + "type": "string", + "description": "The state of forwarding rule.", + "enum": [ + "Enabled", + "Disabled" + ], + "default": "Enabled", + "x-ms-enum": { + "name": "ForwardingRuleState", + "modelAsString": true + } + } + } + }, + "ForwardingRulePatch": { + "description": "Describes a forwarding rule for PATCH operation.", + "type": "object", + "properties": { + "properties": { + "description": "Updatable properties of the forwarding rule.", + "$ref": "#/definitions/ForwardingRulePatchProperties", + "x-ms-client-flatten": true + } + } + }, + "ForwardingRuleListResult": { + "description": "The response to an enumeration operation on forwarding rules within a DNS forwarding ruleset.", + "type": "object", + "properties": { + "value": { + "description": "Enumeration of the forwarding rules.", + "type": "array", + "items": { + "$ref": "#/definitions/ForwardingRule" + } + }, + "nextLink": { + "description": "The continuation token for the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "VirtualNetworkLinkProperties": { + "description": "Represents the properties of a virtual network link.", + "type": "object", + "required": [ + "virtualNetwork" + ], + "properties": { + "virtualNetwork": { + "description": "The reference to the virtual network. This cannot be changed after creation.", + "$ref": "#/definitions/SubResource" + }, + "metadata": { + "description": "Metadata attached to the virtual network link.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "provisioningState": { + "description": "The current provisioning state of the virtual network link. This is a read-only property and any attempt to set this value will be ignored.", + "$ref": "#/definitions/ProvisioningState", + "readOnly": true + } + } + }, + "VirtualNetworkLink": { + "description": "Describes a virtual network link.", + "type": "object", + "required": [ + "properties" + ], + "properties": { + "etag": { + "description": "ETag of the virtual network link.", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Properties of the virtual network link.", + "$ref": "#/definitions/VirtualNetworkLinkProperties", + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "Metadata pertaining to creation and last modification of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + } + ] + }, + "VirtualNetworkLinkPatchProperties": { + "description": "Represents the updatable properties of the virtual network link.", + "type": "object", + "properties": { + "metadata": { + "description": "Metadata attached to the virtual network link.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "VirtualNetworkLinkPatch": { + "description": "Describes a virtual network link for PATCH operation.", + "type": "object", + "properties": { + "properties": { + "description": "Updatable properties of the virtual network link.", + "$ref": "#/definitions/VirtualNetworkLinkPatchProperties", + "x-ms-client-flatten": true + } + } + }, + "VirtualNetworkLinkListResult": { + "description": "The response to an enumeration operation on virtual network links.", + "type": "object", + "properties": { + "value": { + "description": "Enumeration of the virtual network links.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetworkLink" + } + }, + "nextLink": { + "description": "The continuation token for the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "IpConfiguration": { + "description": "IP configuration.", + "type": "object", + "required": [ + "subnet" + ], + "properties": { + "subnet": { + "description": "The reference to the subnet bound to the IP configuration.", + "$ref": "#/definitions/SubResource" + }, + "privateIpAddress": { + "description": "Private IP address of the IP configuration.", + "type": "string" + }, + "privateIpAllocationMethod": { + "description": "Private IP address allocation method.", + "type": "string", + "enum": [ + "Static", + "Dynamic" + ], + "default": "Dynamic", + "x-ms-enum": { + "name": "IpAllocationMethod", + "modelAsString": true + } + } + } + }, + "TargetDnsServer": { + "description": "Describes a server to forward the DNS queries to.", + "type": "object", + "required": [ + "ipAddress" + ], + "properties": { + "ipAddress": { + "description": "DNS server IP address.", + "type": "string" + }, + "port": { + "description": "DNS server port.", + "type": "integer", + "format": "int32", + "default": 53 + } + } + }, + "ProvisioningState": { + "description": "The current provisioning state of the resource.", + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "ResourceGuid": { + "type": "string", + "description": "The Guid property of the resource." + }, + "SubResourceListResult": { + "description": "The response to an enumeration operation on sub-resources.", + "type": "object", + "properties": { + "value": { + "description": "Enumeration of the sub-resources.", + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + "nextLink": { + "description": "The continuation token for the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "SubResource": { + "description": "Reference to another ARM resource.", + "type": "object", + "required": [ + "id" + ], + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + } + }, + "x-ms-azure-resource": true + }, + "VirtualNetworkDnsForwardingRulesetListResult": { + "description": "The response to an enumeration operation on Virtual Network DNS Forwarding Ruleset.", + "type": "object", + "properties": { + "value": { + "description": "Enumeration of the Virtual Network DNS Forwarding Ruleset.", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetworkDnsForwardingRuleset" + } + }, + "nextLink": { + "description": "The continuation token for the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "VirtualNetworkLinkSubResourceProperties": { + "description": "The reference to the virtual network link that associates between the DNS forwarding ruleset and virtual network.", + "type": "object", + "properties": { + "virtualNetworkLink": { + "description": "The reference to the virtual network link.", + "$ref": "#/definitions/SubResource" + } + } + }, + "VirtualNetworkDnsForwardingRuleset": { + "description": "Reference to DNS forwarding ruleset and associated virtual network link.", + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "DNS Forwarding Ruleset Resource ID." + }, + "properties": { + "description": "Properties of the virtual network link sub-resource reference.", + "$ref": "#/definitions/VirtualNetworkLinkSubResourceProperties", + "x-ms-client-flatten": true + } + } + }, + "CloudError": { + "description": "An error message", + "type": "object", + "properties": { + "error": { + "description": "The error message body", + "$ref": "#/definitions/CloudErrorBody" + } + }, + "x-ms-external": true + }, + "CloudErrorBody": { + "description": "The body of an error message", + "type": "object", + "properties": { + "code": { + "description": "The error code", + "type": "string" + }, + "message": { + "description": "A description of what caused the error", + "type": "string" + }, + "target": { + "description": "The target resource of the error message", + "type": "string" + }, + "details": { + "description": "Extra error information", + "type": "array", + "items": { + "$ref": "#/definitions/CloudErrorBody" + }, + "x-ms-identifiers": [] + } + }, + "x-ms-external": true + } + }, + "parameters": { + "DnsResolverNameParameter": { + "name": "dnsResolverName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the DNS resolver.", + "x-ms-parameter-location": "method" + }, + "InboundEndpointNameParameter": { + "name": "inboundEndpointName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the inbound endpoint for the DNS resolver.", + "x-ms-parameter-location": "method" + }, + "VirtualNetworkNameParameter": { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network.", + "x-ms-parameter-location": "method" + }, + "OutboundEndpointNameParameter": { + "name": "outboundEndpointName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the outbound endpoint for the DNS resolver.", + "x-ms-parameter-location": "method" + }, + "DnsForwardingRulesetNameParameter": { + "name": "dnsForwardingRulesetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the DNS forwarding ruleset.", + "x-ms-parameter-location": "method" + }, + "ForwardingRuleNameParameter": { + "name": "forwardingRuleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the forwarding rule.", + "x-ms-parameter-location": "method" + }, + "VirtualNetworkLinkNameParameter": { + "name": "virtualNetworkLinkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network link.", + "x-ms-parameter-location": "method" + }, + "TopParameter": { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The maximum number of results to return. If not specified, returns up to 100 results.", + "x-ms-parameter-location": "method" + }, + "IfMatchParameter": { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "x-ms-client-name": "IfMatch", + "description": "ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.", + "x-ms-parameter-location": "method" + }, + "IfNoneMatchParameter": { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "x-ms-client-name": "IfNoneMatch", + "description": "Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Delete.json new file mode 100644 index 000000000000..8829dcecf52d --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsForwardingRulesetName": "samplednsForwardingRulesetName", + "api-version": "2022-06-21" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Get.json new file mode 100644 index 000000000000..ad16462bbdbc --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Get.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", + "api-version": "2022-06-21" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", + "name": "sampleDnsForwardingRuleset", + "type": "Microsoft.Network/dnsForwardingRulesets", + "tags": { + "key1": "value1" + }, + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-03T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "dnsResolverOutboundEndpoints": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint0" + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint1" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + } + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByResourceGroup.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByResourceGroup.json new file mode 100644 index 000000000000..611d4fcbc40d --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByResourceGroup.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "api-version": "2022-06-21" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", + "name": "sampleDnsForwardingRuleset", + "type": "Microsoft.Network/dnsForwardingRulesets", + "tags": { + "key1": "value1" + }, + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-03T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "dnsResolverOutboundEndpoints": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint0" + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint1" + } + ], + "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset1", + "name": "sampleDnsForwardingRuleset", + "type": "Microsoft.Network/dnsForwardingRulesets", + "tags": { + "key1": "value1" + }, + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-04T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-05T02:03:01.1974346Z" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "dnsResolverOutboundEndpoints": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint2" + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint3" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "c2aed17a-708d-48d1-89c3-d6a9b648d222" + } + } + ], + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets?$skipToken=skipToken&api-version=2022-06-21" + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListBySubscription.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListBySubscription.json new file mode 100644 index 000000000000..5719d4b9248e --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListBySubscription.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "api-version": "2022-06-21" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", + "name": "sampleDnsForwardingRuleset", + "type": "Microsoft.Network/dnsForwardingRulesets", + "tags": { + "key1": "value1" + }, + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-03T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "dnsResolverOutboundEndpoints": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint0" + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint1" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + } + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset1", + "name": "sampleDnsForwardingRuleset", + "type": "Microsoft.Network/dnsForwardingRulesets", + "tags": { + "key1": "value1" + }, + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-04T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-05T02:03:01.1974346Z" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "dnsResolverOutboundEndpoints": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint2" + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint3" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + } + } + ], + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsForwardingRulesets?$skipToken=skipToken&api-version=2022-06-21" + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByVirtualNetwork.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByVirtualNetwork.json new file mode 100644 index 000000000000..3d7b02755832 --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByVirtualNetwork.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "virtualNetworkName": "sampleVirtualNetwork", + "api-version": "2022-06-21" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", + "properties": { + "virtualNetworkLink": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRuleset/sampleDnsForwardingRuleset/virtualNetworkLinks/sampleVirtualNetworkLink" + } + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Patch.json new file mode 100644 index 000000000000..0b959a4dad8f --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Patch.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", + "api-version": "2022-06-21", + "parameters": { + "tags": { + "key1": "value1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", + "name": "sampleDnsForwardingRuleset", + "type": "Microsoft.Network/dnsForwardingRulesets", + "tags": { + "key1": "value1" + }, + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-03T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "dnsResolverOutboundEndpoints": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint0" + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint1" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Put.json new file mode 100644 index 000000000000..8679198cf201 --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Put.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsForwardingRulesetName": "samplednsForwardingRuleset", + "api-version": "2022-06-21", + "parameters": { + "tags": { + "key1": "value1" + }, + "location": "westus2", + "properties": { + "dnsResolverOutboundEndpoints": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint0" + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint1" + } + ] + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", + "name": "sampleDnsForwardingRuleset", + "type": "Microsoft.Network/dnsForwardingRulesets", + "tags": { + "key1": "value1" + }, + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-03T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "dnsResolverOutboundEndpoints": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint0" + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint1" + } + ], + "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8", + "provisioningState": "Succeeded" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset", + "name": "sampleDnsForwardingRuleset", + "type": "Microsoft.Network/dnsForwardingRulesets", + "tags": { + "key1": "value1" + }, + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-03T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "dnsResolverOutboundEndpoints": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint0" + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint1" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Delete.json new file mode 100644 index 000000000000..deb351fdfdc4 --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsResolverName": "sampleDnsResolver", + "api-version": "2022-06-21" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Get.json new file mode 100644 index 000000000000..b11770fcebaf --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Get.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsResolverName": "sampleDnsResolver", + "api-version": "2022-06-21" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver", + "name": "sampleDnsResolver", + "type": "Microsoft.Network/dnsResolvers", + "tags": { + "key1": "value1" + }, + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-03T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + }, + "dnsResolverState": "Connected", + "provisioningState": "Succeeded", + "resourceGuid": "a7e1a32c-498c-401c-a805-5bc3518257b8" + } + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByResourceGroup.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByResourceGroup.json new file mode 100644 index 000000000000..496682715428 --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByResourceGroup.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "api-version": "2022-06-21" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver1", + "name": "sampleDnsResolver1", + "type": "Microsoft.Network/dnsResolvers", + "tags": { + "key1": "value1" + }, + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork1" + }, + "dnsResolverState": "Connected", + "provisioningState": "Succeeded", + "resourceGuid": "ad9c8da4-3bb2-4821-a878-c2cb07b01fb6" + } + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver2", + "name": "sampleDnsResolver2", + "type": "Microsoft.Network/dnsResolvers", + "tags": { + "key1": "value1" + }, + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-03T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-04T02:03:01.1974346Z" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork2" + }, + "dnsResolverState": "Connected", + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + } + } + ], + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers?$skipToken=skipToken&api-version=2022-06-21" + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListBySubscription.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListBySubscription.json new file mode 100644 index 000000000000..e5f82135674c --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListBySubscription.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "api-version": "2022-06-21" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver1", + "name": "sampleDnsResolver1", + "type": "Microsoft.Network/dnsResolvers", + "tags": { + "key1": "value1" + }, + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork1" + }, + "dnsResolverState": "Connected", + "provisioningState": "Succeeded", + "resourceGuid": "ad9c8da4-3bb2-4821-a878-c2cb07b01fb6" + } + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver2", + "name": "sampleDnsResolver2", + "type": "Microsoft.Network/dnsResolvers", + "tags": { + "key1": "value1" + }, + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork2" + }, + "dnsResolverState": "Connected", + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + } + } + ], + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsResolvers?$skipToken=skipToken&api-version=2022-06-21" + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByVirtualNetwork.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByVirtualNetwork.json new file mode 100644 index 000000000000..4ce6e00bfc43 --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByVirtualNetwork.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "virtualNetworkName": "sampleVirtualNetwork", + "api-version": "2022-06-21" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver1" + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Patch.json new file mode 100644 index 000000000000..ac9cd2434d32 --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Patch.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsResolverName": "sampleDnsResolver", + "api-version": "2022-06-21", + "parameters": { + "tags": { + "key1": "value1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver", + "name": "sampleDnsResolver", + "type": "Microsoft.Network/dnsResolvers", + "tags": { + "key1": "value1" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "properties": { + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + }, + "dnsResolverState": "Connected", + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Put.json new file mode 100644 index 000000000000..08259efcd054 --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Put.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsResolverName": "sampleDnsResolver", + "api-version": "2022-06-21", + "parameters": { + "tags": { + "key1": "value1" + }, + "location": "westus2", + "properties": { + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + } + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver", + "name": "sampleDnsResolver", + "type": "Microsoft.Network/dnsResolvers", + "tags": { + "key1": "value1" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + }, + "dnsResolverState": "Connected", + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver", + "name": "sampleDnsResolver", + "type": "Microsoft.Network/dnsResolvers", + "tags": { + "key1": "value1" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "properties": { + "virtualNetwork": { + "id": "/subscriptions/cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + }, + "dnsResolverState": "Connected", + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Delete.json new file mode 100644 index 000000000000..d5a056c57f3a --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", + "forwardingRuleName": "sampleForwardingRule", + "api-version": "2022-06-21" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Get.json new file mode 100644 index 000000000000..825d04ba9d98 --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Get.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", + "forwardingRuleName": "sampleForwardingRule", + "api-version": "2022-06-21" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset/forwardingRules/sampleForwardingRule", + "name": "sampleForwardingRule", + "type": "Microsoft.Network/dnsForwardingRulesets/forwardingRules", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "properties": { + "domainName": "contoso.com.", + "targetDnsServers": [ + { + "ipAddress": "10.0.0.1", + "port": 53 + }, + { + "ipAddress": "10.0.0.2", + "port": 53 + } + ], + "metadata": { + "additionalProp1": "value1" + }, + "forwardingRuleState": "Enabled", + "provisioningState": "Succecced" + } + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_List.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_List.json new file mode 100644 index 000000000000..071a102fa627 --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_List.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", + "api-version": "2022-06-21" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset/forwardingRules/sampleForwardingRule", + "name": "sampleForwardingRule", + "type": "Microsoft.Network/dnsForwardingRulesets/forwardingRules", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "properties": { + "domainName": "contoso.com.", + "targetDnsServers": [ + { + "ipAddress": "10.0.0.1", + "port": 53 + }, + { + "ipAddress": "10.0.0.2", + "port": 53 + } + ], + "metadata": { + "additionalProp1": "value1" + }, + "forwardingRuleState": "Enabled", + "provisioningState": "Succecced" + } + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset/forwardingRules/sampleForwardingRule1", + "name": "sampleForwardingRule1", + "type": "Microsoft.Network/dnsForwardingRulesets/forwardingRules", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "properties": { + "domainName": "foobar.com.", + "targetDnsServers": [ + { + "ipAddress": "10.0.0.3", + "port": 53 + }, + { + "ipAddress": "10.0.0.4", + "port": 53 + } + ], + "metadata": { + "additionalProp1": "value1" + }, + "forwardingRuleState": "Enabled", + "provisioningState": "Succecced" + } + } + ], + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/forwardingRules?$skipToken=skipToken&api-version=2022-06-21" + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Patch.json new file mode 100644 index 000000000000..3b1e277ea603 --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Patch.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", + "forwardingRuleName": "sampleForwardingRule", + "parameters": { + "properties": { + "forwardingRuleState": "Disabled", + "metadata": { + "additionalProp2": "value2" + } + } + }, + "api-version": "2022-06-21" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset/forwardingRules/sampleForwardingRule", + "name": "sampleForwardingRule", + "type": "Microsoft.Network/dnsForwardingRulesets/forwardingRules", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "properties": { + "domainName": "contoso.com.", + "targetDnsServers": [ + { + "ipAddress": "10.0.0.1", + "port": 53 + }, + { + "ipAddress": "10.0.0.2", + "port": 53 + } + ], + "metadata": { + "additionalProp2": "value2" + }, + "forwardingRuleState": "Disabled", + "provisioningState": "Succecced" + } + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Put.json new file mode 100644 index 000000000000..84ac07f9024e --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Put.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", + "forwardingRuleName": "sampleForwardingRule", + "parameters": { + "properties": { + "domainName": "contoso.com.", + "targetDnsServers": [ + { + "ipAddress": "10.0.0.1", + "port": 53 + }, + { + "ipAddress": "10.0.0.2", + "port": 53 + } + ], + "forwardingRuleState": "Enabled", + "metadata": { + "additionalProp1": "value1" + } + } + }, + "api-version": "2022-06-21" + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset/forwardingRules/sampleForwardingRule", + "name": "sampleForwardingRule", + "type": "Microsoft.Network/dnsForwardingRulesets/forwardingRules", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "properties": { + "domainName": "contoso.com.", + "targetDnsServers": [ + { + "ipAddress": "10.0.0.1", + "port": 53 + }, + { + "ipAddress": "10.0.0.2", + "port": 53 + } + ], + "metadata": { + "additionalProp1": "value1" + }, + "forwardingRuleState": "Enabled", + "provisioningState": "Succecced" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets/sampleDnsForwardingRuleset/forwardingRules/sampleForwardingRule", + "name": "sampleForwardingRule", + "type": "Microsoft.Network/dnsForwardingRulesets/forwardingRules", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "properties": { + "domainName": "contoso.com.", + "targetDnsServers": [ + { + "ipAddress": "10.0.0.1", + "port": 53 + }, + { + "ipAddress": "10.0.0.2", + "port": 53 + } + ], + "metadata": { + "additionalProp1": "value1" + }, + "forwardingRuleState": "Enabled", + "provisioningState": "Succecced" + } + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Delete.json new file mode 100644 index 000000000000..f7733867ee74 --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsResolverName": "sampleDnsResolver", + "inboundEndpointName": "sampleInboundEndpoint", + "api-version": "2022-06-21" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Get.json new file mode 100644 index 000000000000..b41b3dc131f1 --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Get.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsResolverName": "sampleDnsResolver", + "inboundEndpointName": "sampleInboundEndpoint", + "api-version": "2022-06-21" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint", + "name": "sampleInboundEndpoint", + "type": "Microsoft.Network/dnsResolvers/inboundEndpoints", + "tags": { + "key1": "value1" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "properties": { + "ipConfigurations": [ + { + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" + }, + "privateIpAddress": "255.255.255.255", + "privateIpAllocationMethod": "Static" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + } + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_List.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_List.json new file mode 100644 index 000000000000..d5d5d09ffb2e --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_List.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsResolverName": "sampleDnsResolver", + "api-version": "2022-06-21" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint1", + "name": "sampleInboundEndpoint1", + "type": "Microsoft.Network/dnsResolvers/inboundEndpoints", + "tags": { + "key1": "value1" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "properties": { + "ipConfigurations": [ + { + "subnet": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet1" + }, + "privateIpAddress": "255.1.255.1", + "privateIpAllocationMethod": "Static" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + } + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint2", + "name": "sampleInboundEndpoint2", + "type": "Microsoft.Network/dnsResolvers/inboundEndpoints", + "tags": { + "key1": "value1" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-02T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-03T02:03:01.1974346Z" + }, + "properties": { + "ipConfigurations": [ + { + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet1" + }, + "privateIpAddress": "1.1.255.1", + "privateIpAllocationMethod": "Static" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "87b3e20a-5833-4c40-8ad7-c5160bb1c5bd" + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Patch.json new file mode 100644 index 000000000000..1f5173880919 --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Patch.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsResolverName": "sampleDnsResolver", + "inboundEndpointName": "sampleInboundEndpoint", + "parameters": { + "tags": { + "key1": "value1" + } + }, + "api-version": "2022-06-21" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint", + "name": "sampleInboundEndpoint", + "type": "Microsoft.Network/dnsResolvers/inboundEndpoints", + "tags": { + "key1": "value1" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "properties": { + "ipConfigurations": [ + { + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" + }, + "privateIpAddress": "255.255.255.255", + "privateIpAllocationMethod": "Static" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "87b3e20a-5833-4c40-8ad7-c5160bb1c5bd" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Put.json new file mode 100644 index 000000000000..588f2f359644 --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Put.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsResolverName": "sampleDnsResolver", + "inboundEndpointName": "sampleInboundEndpoint", + "parameters": { + "tags": { + "key1": "value1" + }, + "location": "westus2", + "properties": { + "ipConfigurations": [ + { + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" + }, + "privateIpAddress": "255.255.255.255", + "privateIpAllocationMethod": "Static" + } + ] + } + }, + "api-version": "2022-06-21" + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint", + "name": "sampleInboundEndpoint", + "type": "Microsoft.Network/dnsResolvers/inboundEndpoints", + "tags": { + "key1": "value1" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "properties": { + "ipConfigurations": [ + { + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" + }, + "privateIpAddress": "255.255.255.255", + "privateIpAllocationMethod": "Static" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "b6b2d964-8588-4e3a-a7fe-8a5b7fe8eca5" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/inboundEndpoints/sampleInboundEndpoint", + "name": "sampleInboundEndpoint", + "type": "Microsoft.Network/dnsResolvers/inboundEndpoints", + "tags": { + "key1": "value1" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "properties": { + "ipConfigurations": [ + { + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" + }, + "privateIpAddress": "255.255.255.255", + "privateIpAllocationMethod": "Static" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "87b3e20a-5833-4c40-8ad7-c5160bb1c5bd" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Delete.json new file mode 100644 index 000000000000..3fda368717a5 --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsResolverName": "sampleDnsResolver", + "outboundEndpointName": "sampleOutboundEndpoint", + "api-version": "2022-06-21" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Get.json new file mode 100644 index 000000000000..ff65aa25cf22 --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Get.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsResolverName": "sampleDnsResolver", + "outboundEndpointName": "sampleOutboundEndpoint", + "api-version": "2022-06-21" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints/sampleOutboundEndpoint", + "name": "sampleOutboundEndpoint", + "type": "Microsoft.Network/dnsResolvers/outboundEndpoints", + "tags": { + "key1": "value1" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "properties": { + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" + }, + "provisioningState": "Succecced", + "resourceGuid": "b4d35f41-0c70-4ec7-bb3e-0cd9f8b7e4be" + } + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_List.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_List.json new file mode 100644 index 000000000000..9724f90e7cbc --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_List.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsResolverName": "sampleDnsResolver", + "api-version": "2022-06-21" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints/sampleOutboundEndpoint", + "name": "sampleOutboundEndpoint", + "type": "Microsoft.Network/dnsResolvers/outboundEndpoints", + "tags": { + "key1": "value1" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "properties": { + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" + }, + "provisioningState": "Succeeded", + "resourceGuid": "b4d35f41-0c70-4ec7-bb3e-0cd9f8b7e4be" + } + }, + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints/sampleOutboundEndpoint1", + "name": "sampleOutboundEndpoint1", + "type": "Microsoft.Network/dnsResolvers/outboundEndpoints", + "tags": { + "key1": "value1" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "properties": { + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet1" + }, + "provisioningState": "Succecced", + "resourceGuid": "b4d35f41-0c70-4ec7-bb3e-0cd9f8b7e4be" + } + } + ], + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints?$skipToken=skipToken&api-version=2022-06-21" + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Patch.json new file mode 100644 index 000000000000..1bf0d918e50d --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Patch.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsResolverName": "sampleDnsResolver", + "outboundEndpointName": "sampleOutboundEndpoint", + "parameters": { + "tags": { + "key1": "value1" + } + }, + "api-version": "2022-06-21" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints/sampleOutboundEndpoint", + "name": "sampleOutboundEndpoint", + "type": "Microsoft.Network/dnsResolvers/outboundEndpoints", + "tags": { + "key1": "value1" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "properties": { + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" + }, + "provisioningState": "Succecced", + "resourceGuid": "b4d35f41-0c70-4ec7-bb3e-0cd9f8b7e4be" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Put.json new file mode 100644 index 000000000000..4702666d53c7 --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Put.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsResolverName": "sampleDnsResolver", + "outboundEndpointName": "sampleOutboundEndpoint", + "parameters": { + "tags": { + "key1": "value1" + }, + "location": "westus2", + "properties": { + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" + } + } + }, + "api-version": "2022-06-21" + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints/sampleOutboundEndpoint", + "name": "sampleOutboundEndpoint", + "type": "Microsoft.Network/dnsResolvers/outboundEndpoints", + "tags": { + "key1": "value1" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "properties": { + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" + }, + "provisioningState": "Succeeded" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints/sampleOutboundEndpoint", + "name": "sampleOutboundEndpoint", + "type": "Microsoft.Network/dnsResolvers/outboundEndpoints", + "tags": { + "key1": "value1" + }, + "location": "westus2", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "properties": { + "subnet": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork/subnets/sampleSubnet" + }, + "provisioningState": "Succeeded", + "resourceGuid": "87b3e20a-5833-4c40-8ad7-c5160bb1c5bd" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Delete.json new file mode 100644 index 000000000000..e13a7711b517 --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", + "virtualNetworkLinkName": "sampleVirtualNetworkLink", + "api-version": "2022-06-21" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Get.json new file mode 100644 index 000000000000..7d9ff3355764 --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Get.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", + "virtualNetworkLinkName": "sampleVirtualNetworkLink", + "api-version": "2022-06-21" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRuleset/sampleDnsForwardingRuleset/virtualNetworkLinks/sampleVirtualNetworkLink", + "name": "sampleVirtualNetworkLink", + "type": "Microsoft.Network/dnsForwardingRulesets/virtualNetworkLinks", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "properties": { + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + }, + "metadata": { + "additionalProp1": "value1" + }, + "provisioningState": "Succecced" + } + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_List.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_List.json new file mode 100644 index 000000000000..527d14a64fdf --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_List.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", + "api-version": "2022-06-21" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRuleset/sampleDnsForwardingRuleset/virtualNetworkLinks/sampleVirtualNetworkLink", + "name": "sampleVirtualNetworkLink", + "type": "Microsoft.Network/dnsForwardingRulesets/virtualNetworkLinks", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "properties": { + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + }, + "metadata": { + "additionalProp1": "value1" + }, + "provisioningState": "Succecced" + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Patch.json new file mode 100644 index 000000000000..8ce522ece1ac --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Patch.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", + "virtualNetworkLinkName": "sampleVirtualNetworkLink", + "parameters": { + "properties": { + "metadata": { + "additionalProp1": "value1" + } + } + }, + "api-version": "2022-06-21" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRuleset/sampleDnsForwardingRuleset/virtualNetworkLinks/sampleVirtualNetworkLink", + "name": "sampleVirtualNetworkLink", + "type": "Microsoft.Network/dnsForwardingRulesets/virtualNetworkLinks", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "properties": { + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + }, + "metadata": { + "additionalProp1": "value1" + }, + "provisioningState": "Succecced" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Put.json new file mode 100644 index 000000000000..4a30c6159fc6 --- /dev/null +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Put.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", + "resourceGroupName": "sampleResourceGroup", + "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", + "virtualNetworkLinkName": "sampleVirtualNetworkLink", + "parameters": { + "properties": { + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + }, + "metadata": { + "additionalProp1": "value1" + } + } + }, + "api-version": "2022-06-21" + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRuleset/sampleDnsForwardingRuleset/virtualNetworkLinks/sampleVirtualNetworkLink", + "name": "sampleVirtualNetworkLink", + "type": "Microsoft.Network/dnsForwardingRulesets/virtualNetworkLinks", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "properties": { + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + }, + "metadata": { + "additionalProp1": "value1" + }, + "provisioningState": "Succecced" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRuleset/sampleDnsForwardingRuleset/virtualNetworkLinks/sampleVirtualNetworkLink", + "name": "sampleVirtualNetworkLink", + "type": "Microsoft.Network/dnsForwardingRulesets/virtualNetworkLinks", + "etag": "00000000-0000-0000-0000-000000000000", + "systemData": { + "createdByType": "Application", + "createdAt": "2021-04-01T01:01:01.1075056Z", + "lastModifiedByType": "Application", + "lastModifiedAt": "2021-04-02T02:03:01.1974346Z" + }, + "properties": { + "virtualNetwork": { + "id": "/subscriptions/0403cfa9-9659-4f33-9f30-1f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNetworks/sampleVirtualNetwork" + }, + "metadata": { + "additionalProp1": "value1" + }, + "provisioningState": "Succecced" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + } + } + } +} diff --git a/specification/dnsresolver/resource-manager/readme.md b/specification/dnsresolver/resource-manager/readme.md index 60d03679ece9..e1355b0b68cf 100644 --- a/specification/dnsresolver/resource-manager/readme.md +++ b/specification/dnsresolver/resource-manager/readme.md @@ -26,7 +26,16 @@ These are the global settings for the DNS resolver API. ``` yaml openapi-type: arm -tag: package-2020-04-preview +tag: package-2022-06 +``` + +### Tag: package-2022-06 + +These settings apply only when `--tag=package-2022-06` is specified on the command line. + +``` yaml $(tag) == 'package-2022-06' +input-file: + - Microsoft.Network/stable/2022-06-21/dnsresolver.json ``` ### Tag: package-2020-04-preview From 7ce9c574385df538883e418b6e0c98a4bd114e83 Mon Sep 17 00:00:00 2001 From: Arpit Gagneja Date: Tue, 21 Jun 2022 20:01:03 -0700 Subject: [PATCH 2/5] Same changes as preview swagger --- .../stable/2022-06-21/dnsresolver.json | 48 +------------------ .../examples/DnsForwardingRuleset_Delete.json | 6 +-- .../examples/DnsForwardingRuleset_Get.json | 2 +- ...ForwardingRuleset_ListByResourceGroup.json | 4 +- ...sForwardingRuleset_ListBySubscription.json | 4 +- ...orwardingRuleset_ListByVirtualNetwork.json | 2 +- .../examples/DnsForwardingRuleset_Patch.json | 6 +-- .../examples/DnsForwardingRuleset_Put.json | 6 +-- .../examples/DnsResolver_Delete.json | 6 +-- .../2022-06-21/examples/DnsResolver_Get.json | 2 +- .../DnsResolver_ListByResourceGroup.json | 4 +- .../DnsResolver_ListBySubscription.json | 4 +- .../DnsResolver_ListByVirtualNetwork.json | 2 +- .../examples/DnsResolver_Patch.json | 6 +-- .../2022-06-21/examples/DnsResolver_Put.json | 6 +-- .../examples/ForwardingRule_Delete.json | 2 +- .../examples/ForwardingRule_Get.json | 2 +- .../examples/ForwardingRule_List.json | 4 +- .../examples/ForwardingRule_Patch.json | 2 +- .../examples/ForwardingRule_Put.json | 2 +- .../examples/InboundEndpoint_Delete.json | 6 +-- .../examples/InboundEndpoint_Get.json | 2 +- .../examples/InboundEndpoint_List.json | 2 +- .../examples/InboundEndpoint_Patch.json | 6 +-- .../examples/InboundEndpoint_Put.json | 6 +-- .../examples/OutboundEndpoint_Delete.json | 6 +-- .../examples/OutboundEndpoint_Get.json | 2 +- .../examples/OutboundEndpoint_List.json | 4 +- .../examples/OutboundEndpoint_Patch.json | 6 +-- .../examples/OutboundEndpoint_Put.json | 6 +-- .../examples/VirtualNetworkLink_Delete.json | 6 +-- .../examples/VirtualNetworkLink_Get.json | 2 +- .../examples/VirtualNetworkLink_List.json | 2 +- .../examples/VirtualNetworkLink_Patch.json | 6 +-- .../examples/VirtualNetworkLink_Put.json | 6 +-- .../dnsresolver/resource-manager/readme.md | 12 +---- 36 files changed, 72 insertions(+), 128 deletions(-) diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/dnsresolver.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/dnsresolver.json index 5a1f3beea3c7..752bba35675d 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/dnsresolver.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/dnsresolver.json @@ -3,7 +3,7 @@ "info": { "title": "DnsResolverManagementClient", "description": "The DNS Resolver Management Client.", - "version": "2022-06-21" + "version": "2020-04-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -1830,9 +1830,6 @@ "DnsResolver": { "description": "Describes a DNS resolver.", "type": "object", - "required": [ - "properties" - ], "properties": { "etag": { "description": "ETag of the DNS resolver.", @@ -1895,9 +1892,6 @@ "InboundEndpointProperties": { "description": "Represents the properties of an inbound endpoint for a DNS resolver.", "type": "object", - "required": [ - "ipConfigurations" - ], "properties": { "ipConfigurations": { "description": "IP configurations for the inbound endpoint.", @@ -1922,9 +1916,6 @@ "InboundEndpoint": { "description": "Describes an inbound endpoint for a DNS resolver.", "type": "object", - "required": [ - "properties" - ], "properties": { "etag": { "description": "ETag of the inbound endpoint.", @@ -1987,9 +1978,6 @@ "OutboundEndpointProperties": { "description": "Represents the properties of an outbound endpoint for a DNS resolver.", "type": "object", - "required": [ - "subnet" - ], "properties": { "subnet": { "description": "The reference to the subnet used for the outbound endpoint.", @@ -2010,9 +1998,6 @@ "OutboundEndpoint": { "description": "Describes an outbound endpoint for a DNS resolver.", "type": "object", - "required": [ - "properties" - ], "properties": { "etag": { "description": "ETag of the outbound endpoint.", @@ -2075,9 +2060,6 @@ "DnsForwardingRulesetProperties": { "description": "Represents the properties of a DNS forwarding ruleset.", "type": "object", - "required": [ - "dnsResolverOutboundEndpoints" - ], "properties": { "dnsResolverOutboundEndpoints": { "description": "The reference to the DNS resolver outbound endpoints that are used to route DNS queries matching the forwarding rules in the ruleset to the target DNS servers.", @@ -2101,9 +2083,6 @@ "DnsForwardingRuleset": { "description": "Describes a DNS forwarding ruleset.", "type": "object", - "required": [ - "properties" - ], "properties": { "etag": { "description": "ETag of the DNS forwarding ruleset.", @@ -2131,13 +2110,6 @@ "description": "Describes a DNS forwarding ruleset PATCH operation.", "type": "object", "properties": { - "dnsResolverOutboundEndpoints": { - "description": "The reference to the DNS resolver outbound endpoints that are used to route DNS queries matching the forwarding rules in the ruleset to the target DNS servers.", - "type": "array", - "items": { - "$ref": "#/definitions/SubResource" - } - }, "tags": { "type": "object", "additionalProperties": { @@ -2219,9 +2191,6 @@ "ForwardingRule": { "description": "Describes a forwarding rule within a DNS forwarding ruleset.", "type": "object", - "required": [ - "properties" - ], "properties": { "etag": { "description": "ETag of the forwarding rule.", @@ -2311,9 +2280,6 @@ "VirtualNetworkLinkProperties": { "description": "Represents the properties of a virtual network link.", "type": "object", - "required": [ - "virtualNetwork" - ], "properties": { "virtualNetwork": { "description": "The reference to the virtual network. This cannot be changed after creation.", @@ -2336,9 +2302,6 @@ "VirtualNetworkLink": { "description": "Describes a virtual network link.", "type": "object", - "required": [ - "properties" - ], "properties": { "etag": { "description": "ETag of the virtual network link.", @@ -2407,9 +2370,6 @@ "IpConfiguration": { "description": "IP configuration.", "type": "object", - "required": [ - "subnet" - ], "properties": { "subnet": { "description": "The reference to the subnet bound to the IP configuration.", @@ -2437,9 +2397,6 @@ "TargetDnsServer": { "description": "Describes a server to forward the DNS queries to.", "type": "object", - "required": [ - "ipAddress" - ], "properties": { "ipAddress": { "description": "DNS server IP address.", @@ -2494,9 +2451,6 @@ "SubResource": { "description": "Reference to another ARM resource.", "type": "object", - "required": [ - "id" - ], "properties": { "id": { "type": "string", diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Delete.json index 8829dcecf52d..1d6e028183b9 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Delete.json @@ -3,15 +3,15 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "samplednsForwardingRulesetName", - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": {}, "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Get.json index ad16462bbdbc..6c69ebfdde76 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Get.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByResourceGroup.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByResourceGroup.json index 611d4fcbc40d..2b5039d40909 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByResourceGroup.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": { @@ -65,7 +65,7 @@ } } ], - "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets?$skipToken=skipToken&api-version=2022-06-21" + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets?$skipToken=skipToken&api-version=2020-04-01-preview" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListBySubscription.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListBySubscription.json index 5719d4b9248e..7b08bb3c841d 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListBySubscription.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListBySubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": { @@ -64,7 +64,7 @@ } } ], - "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsForwardingRulesets?$skipToken=skipToken&api-version=2022-06-21" + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsForwardingRulesets?$skipToken=skipToken&api-version=2020-04-01-preview" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByVirtualNetwork.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByVirtualNetwork.json index 3d7b02755832..835f99981303 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByVirtualNetwork.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByVirtualNetwork.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "virtualNetworkName": "sampleVirtualNetwork", - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Patch.json index 0b959a4dad8f..5bc5abe1e4c2 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Patch.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", - "api-version": "2022-06-21", + "api-version": "2020-04-01-preview", "parameters": { "tags": { "key1": "value1" @@ -43,8 +43,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Put.json index 8679198cf201..2ab65a1a338c 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Put.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "samplednsForwardingRuleset", - "api-version": "2022-06-21", + "api-version": "2020-04-01-preview", "parameters": { "tags": { "key1": "value1" @@ -84,8 +84,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Delete.json index deb351fdfdc4..fe64eee8bd77 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Delete.json @@ -3,15 +3,15 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": {}, "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Get.json index b11770fcebaf..90daca93bd23 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Get.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByResourceGroup.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByResourceGroup.json index 496682715428..efe62eae01ae 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByResourceGroup.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": { @@ -57,7 +57,7 @@ } } ], - "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers?$skipToken=skipToken&api-version=2022-06-21" + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers?$skipToken=skipToken&api-version=2020-04-01-preview" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListBySubscription.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListBySubscription.json index e5f82135674c..37c4b869e593 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListBySubscription.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListBySubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": { @@ -56,7 +56,7 @@ } } ], - "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsResolvers?$skipToken=skipToken&api-version=2022-06-21" + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsResolvers?$skipToken=skipToken&api-version=2020-04-01-preview" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByVirtualNetwork.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByVirtualNetwork.json index 4ce6e00bfc43..611a7f2fbb5c 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByVirtualNetwork.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByVirtualNetwork.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "virtualNetworkName": "sampleVirtualNetwork", - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Patch.json index ac9cd2434d32..70844ba6bd98 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Patch.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", - "api-version": "2022-06-21", + "api-version": "2020-04-01-preview", "parameters": { "tags": { "key1": "value1" @@ -39,8 +39,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Put.json index 08259efcd054..286e7a36cdcb 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Put.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", - "api-version": "2022-06-21", + "api-version": "2020-04-01-preview", "parameters": { "tags": { "key1": "value1" @@ -65,8 +65,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Delete.json index d5a056c57f3a..7b776191e490 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Delete.json @@ -4,7 +4,7 @@ "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", "forwardingRuleName": "sampleForwardingRule", - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": {}, diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Get.json index 825d04ba9d98..eabd6cec42a0 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Get.json @@ -4,7 +4,7 @@ "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", "forwardingRuleName": "sampleForwardingRule", - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_List.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_List.json index 071a102fa627..e1d9a6e2c5d2 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_List.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_List.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": { @@ -70,7 +70,7 @@ } } ], - "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/forwardingRules?$skipToken=skipToken&api-version=2022-06-21" + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/forwardingRules?$skipToken=skipToken&api-version=2020-04-01-preview" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Patch.json index 3b1e277ea603..944c1b04dea6 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Patch.json @@ -12,7 +12,7 @@ } } }, - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Put.json index 84ac07f9024e..d5ae0248ff53 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Put.json @@ -23,7 +23,7 @@ } } }, - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "201": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Delete.json index f7733867ee74..9807c1035d13 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Delete.json @@ -4,15 +4,15 @@ "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", "inboundEndpointName": "sampleInboundEndpoint", - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": {}, "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Get.json index b41b3dc131f1..b4e0f65763a8 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Get.json @@ -4,7 +4,7 @@ "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", "inboundEndpointName": "sampleInboundEndpoint", - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_List.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_List.json index d5d5d09ffb2e..10d0e7c013e0 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_List.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_List.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Patch.json index 1f5173880919..9dfae3f3e1ab 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Patch.json @@ -9,7 +9,7 @@ "key1": "value1" } }, - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": { @@ -45,8 +45,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Put.json index 588f2f359644..1df3b400e118 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Put.json @@ -21,7 +21,7 @@ ] } }, - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "201": { @@ -88,8 +88,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Delete.json index 3fda368717a5..b1a0fab554c9 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Delete.json @@ -4,15 +4,15 @@ "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", "outboundEndpointName": "sampleOutboundEndpoint", - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": {}, "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Get.json index ff65aa25cf22..db04ea043be9 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Get.json @@ -4,7 +4,7 @@ "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", "outboundEndpointName": "sampleOutboundEndpoint", - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_List.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_List.json index 9724f90e7cbc..4ccc1df7f543 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_List.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_List.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": { @@ -56,7 +56,7 @@ } } ], - "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints?$skipToken=skipToken&api-version=2022-06-21" + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints?$skipToken=skipToken&api-version=2020-04-01-preview" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Patch.json index 1bf0d918e50d..63b0cc60090c 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Patch.json @@ -9,7 +9,7 @@ "key1": "value1" } }, - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": { @@ -39,8 +39,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Put.json index 4702666d53c7..b536ac6e402f 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Put.json @@ -15,7 +15,7 @@ } } }, - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "201": { @@ -69,8 +69,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Delete.json index e13a7711b517..a3d9eccd84aa 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Delete.json @@ -4,15 +4,15 @@ "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", "virtualNetworkLinkName": "sampleVirtualNetworkLink", - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": {}, "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Get.json index 7d9ff3355764..5ac4d67acdd0 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Get.json @@ -4,7 +4,7 @@ "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", "virtualNetworkLinkName": "sampleVirtualNetworkLink", - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_List.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_List.json index 527d14a64fdf..7cce6bd0de94 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_List.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_List.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Patch.json index 8ce522ece1ac..6d037919a58f 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Patch.json @@ -11,7 +11,7 @@ } } }, - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "200": { @@ -39,8 +39,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Put.json index 4a30c6159fc6..43b265572e9b 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Put.json @@ -14,7 +14,7 @@ } } }, - "api-version": "2022-06-21" + "api-version": "2020-04-01-preview" }, "responses": { "201": { @@ -65,8 +65,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" } } } diff --git a/specification/dnsresolver/resource-manager/readme.md b/specification/dnsresolver/resource-manager/readme.md index e1355b0b68cf..e3426d6e07af 100644 --- a/specification/dnsresolver/resource-manager/readme.md +++ b/specification/dnsresolver/resource-manager/readme.md @@ -26,16 +26,7 @@ These are the global settings for the DNS resolver API. ``` yaml openapi-type: arm -tag: package-2022-06 -``` - -### Tag: package-2022-06 - -These settings apply only when `--tag=package-2022-06` is specified on the command line. - -``` yaml $(tag) == 'package-2022-06' -input-file: - - Microsoft.Network/stable/2022-06-21/dnsresolver.json +tag: package-2020-04-preview ``` ### Tag: package-2020-04-preview @@ -129,4 +120,3 @@ uncomment the `exclude-file` section below and add the file paths. #exclude-file: # - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json ``` - From bef8302b871c461efac6833036b093842bfba927 Mon Sep 17 00:00:00 2001 From: Arpit Gagneja Date: Tue, 21 Jun 2022 20:15:25 -0700 Subject: [PATCH 3/5] Revert "Same changes as preview swagger" This reverts commit 7ce9c574385df538883e418b6e0c98a4bd114e83. --- .../stable/2022-06-21/dnsresolver.json | 48 ++++++++++++++++++- .../examples/DnsForwardingRuleset_Delete.json | 6 +-- .../examples/DnsForwardingRuleset_Get.json | 2 +- ...ForwardingRuleset_ListByResourceGroup.json | 4 +- ...sForwardingRuleset_ListBySubscription.json | 4 +- ...orwardingRuleset_ListByVirtualNetwork.json | 2 +- .../examples/DnsForwardingRuleset_Patch.json | 6 +-- .../examples/DnsForwardingRuleset_Put.json | 6 +-- .../examples/DnsResolver_Delete.json | 6 +-- .../2022-06-21/examples/DnsResolver_Get.json | 2 +- .../DnsResolver_ListByResourceGroup.json | 4 +- .../DnsResolver_ListBySubscription.json | 4 +- .../DnsResolver_ListByVirtualNetwork.json | 2 +- .../examples/DnsResolver_Patch.json | 6 +-- .../2022-06-21/examples/DnsResolver_Put.json | 6 +-- .../examples/ForwardingRule_Delete.json | 2 +- .../examples/ForwardingRule_Get.json | 2 +- .../examples/ForwardingRule_List.json | 4 +- .../examples/ForwardingRule_Patch.json | 2 +- .../examples/ForwardingRule_Put.json | 2 +- .../examples/InboundEndpoint_Delete.json | 6 +-- .../examples/InboundEndpoint_Get.json | 2 +- .../examples/InboundEndpoint_List.json | 2 +- .../examples/InboundEndpoint_Patch.json | 6 +-- .../examples/InboundEndpoint_Put.json | 6 +-- .../examples/OutboundEndpoint_Delete.json | 6 +-- .../examples/OutboundEndpoint_Get.json | 2 +- .../examples/OutboundEndpoint_List.json | 4 +- .../examples/OutboundEndpoint_Patch.json | 6 +-- .../examples/OutboundEndpoint_Put.json | 6 +-- .../examples/VirtualNetworkLink_Delete.json | 6 +-- .../examples/VirtualNetworkLink_Get.json | 2 +- .../examples/VirtualNetworkLink_List.json | 2 +- .../examples/VirtualNetworkLink_Patch.json | 6 +-- .../examples/VirtualNetworkLink_Put.json | 6 +-- .../dnsresolver/resource-manager/readme.md | 12 ++++- 36 files changed, 128 insertions(+), 72 deletions(-) diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/dnsresolver.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/dnsresolver.json index 752bba35675d..5a1f3beea3c7 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/dnsresolver.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/dnsresolver.json @@ -3,7 +3,7 @@ "info": { "title": "DnsResolverManagementClient", "description": "The DNS Resolver Management Client.", - "version": "2020-04-01-preview" + "version": "2022-06-21" }, "host": "management.azure.com", "schemes": [ @@ -1830,6 +1830,9 @@ "DnsResolver": { "description": "Describes a DNS resolver.", "type": "object", + "required": [ + "properties" + ], "properties": { "etag": { "description": "ETag of the DNS resolver.", @@ -1892,6 +1895,9 @@ "InboundEndpointProperties": { "description": "Represents the properties of an inbound endpoint for a DNS resolver.", "type": "object", + "required": [ + "ipConfigurations" + ], "properties": { "ipConfigurations": { "description": "IP configurations for the inbound endpoint.", @@ -1916,6 +1922,9 @@ "InboundEndpoint": { "description": "Describes an inbound endpoint for a DNS resolver.", "type": "object", + "required": [ + "properties" + ], "properties": { "etag": { "description": "ETag of the inbound endpoint.", @@ -1978,6 +1987,9 @@ "OutboundEndpointProperties": { "description": "Represents the properties of an outbound endpoint for a DNS resolver.", "type": "object", + "required": [ + "subnet" + ], "properties": { "subnet": { "description": "The reference to the subnet used for the outbound endpoint.", @@ -1998,6 +2010,9 @@ "OutboundEndpoint": { "description": "Describes an outbound endpoint for a DNS resolver.", "type": "object", + "required": [ + "properties" + ], "properties": { "etag": { "description": "ETag of the outbound endpoint.", @@ -2060,6 +2075,9 @@ "DnsForwardingRulesetProperties": { "description": "Represents the properties of a DNS forwarding ruleset.", "type": "object", + "required": [ + "dnsResolverOutboundEndpoints" + ], "properties": { "dnsResolverOutboundEndpoints": { "description": "The reference to the DNS resolver outbound endpoints that are used to route DNS queries matching the forwarding rules in the ruleset to the target DNS servers.", @@ -2083,6 +2101,9 @@ "DnsForwardingRuleset": { "description": "Describes a DNS forwarding ruleset.", "type": "object", + "required": [ + "properties" + ], "properties": { "etag": { "description": "ETag of the DNS forwarding ruleset.", @@ -2110,6 +2131,13 @@ "description": "Describes a DNS forwarding ruleset PATCH operation.", "type": "object", "properties": { + "dnsResolverOutboundEndpoints": { + "description": "The reference to the DNS resolver outbound endpoints that are used to route DNS queries matching the forwarding rules in the ruleset to the target DNS servers.", + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, "tags": { "type": "object", "additionalProperties": { @@ -2191,6 +2219,9 @@ "ForwardingRule": { "description": "Describes a forwarding rule within a DNS forwarding ruleset.", "type": "object", + "required": [ + "properties" + ], "properties": { "etag": { "description": "ETag of the forwarding rule.", @@ -2280,6 +2311,9 @@ "VirtualNetworkLinkProperties": { "description": "Represents the properties of a virtual network link.", "type": "object", + "required": [ + "virtualNetwork" + ], "properties": { "virtualNetwork": { "description": "The reference to the virtual network. This cannot be changed after creation.", @@ -2302,6 +2336,9 @@ "VirtualNetworkLink": { "description": "Describes a virtual network link.", "type": "object", + "required": [ + "properties" + ], "properties": { "etag": { "description": "ETag of the virtual network link.", @@ -2370,6 +2407,9 @@ "IpConfiguration": { "description": "IP configuration.", "type": "object", + "required": [ + "subnet" + ], "properties": { "subnet": { "description": "The reference to the subnet bound to the IP configuration.", @@ -2397,6 +2437,9 @@ "TargetDnsServer": { "description": "Describes a server to forward the DNS queries to.", "type": "object", + "required": [ + "ipAddress" + ], "properties": { "ipAddress": { "description": "DNS server IP address.", @@ -2451,6 +2494,9 @@ "SubResource": { "description": "Reference to another ARM resource.", "type": "object", + "required": [ + "id" + ], "properties": { "id": { "type": "string", diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Delete.json index 1d6e028183b9..8829dcecf52d 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Delete.json @@ -3,15 +3,15 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "samplednsForwardingRulesetName", - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": {}, "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Get.json index 6c69ebfdde76..ad16462bbdbc 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Get.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByResourceGroup.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByResourceGroup.json index 2b5039d40909..611d4fcbc40d 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByResourceGroup.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": { @@ -65,7 +65,7 @@ } } ], - "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets?$skipToken=skipToken&api-version=2020-04-01-preview" + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets?$skipToken=skipToken&api-version=2022-06-21" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListBySubscription.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListBySubscription.json index 7b08bb3c841d..5719d4b9248e 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListBySubscription.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListBySubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": { @@ -64,7 +64,7 @@ } } ], - "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsForwardingRulesets?$skipToken=skipToken&api-version=2020-04-01-preview" + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsForwardingRulesets?$skipToken=skipToken&api-version=2022-06-21" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByVirtualNetwork.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByVirtualNetwork.json index 835f99981303..3d7b02755832 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByVirtualNetwork.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByVirtualNetwork.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "virtualNetworkName": "sampleVirtualNetwork", - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Patch.json index 5bc5abe1e4c2..0b959a4dad8f 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Patch.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", - "api-version": "2020-04-01-preview", + "api-version": "2022-06-21", "parameters": { "tags": { "key1": "value1" @@ -43,8 +43,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Put.json index 2ab65a1a338c..8679198cf201 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Put.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "samplednsForwardingRuleset", - "api-version": "2020-04-01-preview", + "api-version": "2022-06-21", "parameters": { "tags": { "key1": "value1" @@ -84,8 +84,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Delete.json index fe64eee8bd77..deb351fdfdc4 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Delete.json @@ -3,15 +3,15 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": {}, "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Get.json index 90daca93bd23..b11770fcebaf 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Get.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByResourceGroup.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByResourceGroup.json index efe62eae01ae..496682715428 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByResourceGroup.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": { @@ -57,7 +57,7 @@ } } ], - "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers?$skipToken=skipToken&api-version=2020-04-01-preview" + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers?$skipToken=skipToken&api-version=2022-06-21" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListBySubscription.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListBySubscription.json index 37c4b869e593..e5f82135674c 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListBySubscription.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListBySubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": { @@ -56,7 +56,7 @@ } } ], - "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsResolvers?$skipToken=skipToken&api-version=2020-04-01-preview" + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsResolvers?$skipToken=skipToken&api-version=2022-06-21" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByVirtualNetwork.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByVirtualNetwork.json index 611a7f2fbb5c..4ce6e00bfc43 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByVirtualNetwork.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByVirtualNetwork.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "virtualNetworkName": "sampleVirtualNetwork", - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Patch.json index 70844ba6bd98..ac9cd2434d32 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Patch.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", - "api-version": "2020-04-01-preview", + "api-version": "2022-06-21", "parameters": { "tags": { "key1": "value1" @@ -39,8 +39,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Put.json index 286e7a36cdcb..08259efcd054 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Put.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", - "api-version": "2020-04-01-preview", + "api-version": "2022-06-21", "parameters": { "tags": { "key1": "value1" @@ -65,8 +65,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Delete.json index 7b776191e490..d5a056c57f3a 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Delete.json @@ -4,7 +4,7 @@ "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", "forwardingRuleName": "sampleForwardingRule", - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": {}, diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Get.json index eabd6cec42a0..825d04ba9d98 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Get.json @@ -4,7 +4,7 @@ "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", "forwardingRuleName": "sampleForwardingRule", - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_List.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_List.json index e1d9a6e2c5d2..071a102fa627 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_List.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_List.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": { @@ -70,7 +70,7 @@ } } ], - "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/forwardingRules?$skipToken=skipToken&api-version=2020-04-01-preview" + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/forwardingRules?$skipToken=skipToken&api-version=2022-06-21" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Patch.json index 944c1b04dea6..3b1e277ea603 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Patch.json @@ -12,7 +12,7 @@ } } }, - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Put.json index d5ae0248ff53..84ac07f9024e 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Put.json @@ -23,7 +23,7 @@ } } }, - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "201": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Delete.json index 9807c1035d13..f7733867ee74 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Delete.json @@ -4,15 +4,15 @@ "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", "inboundEndpointName": "sampleInboundEndpoint", - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": {}, "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Get.json index b4e0f65763a8..b41b3dc131f1 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Get.json @@ -4,7 +4,7 @@ "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", "inboundEndpointName": "sampleInboundEndpoint", - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_List.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_List.json index 10d0e7c013e0..d5d5d09ffb2e 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_List.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_List.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Patch.json index 9dfae3f3e1ab..1f5173880919 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Patch.json @@ -9,7 +9,7 @@ "key1": "value1" } }, - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": { @@ -45,8 +45,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Put.json index 1df3b400e118..588f2f359644 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Put.json @@ -21,7 +21,7 @@ ] } }, - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "201": { @@ -88,8 +88,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Delete.json index b1a0fab554c9..3fda368717a5 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Delete.json @@ -4,15 +4,15 @@ "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", "outboundEndpointName": "sampleOutboundEndpoint", - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": {}, "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Get.json index db04ea043be9..ff65aa25cf22 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Get.json @@ -4,7 +4,7 @@ "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", "outboundEndpointName": "sampleOutboundEndpoint", - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_List.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_List.json index 4ccc1df7f543..9724f90e7cbc 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_List.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_List.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": { @@ -56,7 +56,7 @@ } } ], - "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints?$skipToken=skipToken&api-version=2020-04-01-preview" + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints?$skipToken=skipToken&api-version=2022-06-21" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Patch.json index 63b0cc60090c..1bf0d918e50d 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Patch.json @@ -9,7 +9,7 @@ "key1": "value1" } }, - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": { @@ -39,8 +39,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Put.json index b536ac6e402f..4702666d53c7 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Put.json @@ -15,7 +15,7 @@ } } }, - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "201": { @@ -69,8 +69,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Delete.json index a3d9eccd84aa..e13a7711b517 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Delete.json @@ -4,15 +4,15 @@ "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", "virtualNetworkLinkName": "sampleVirtualNetworkLink", - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": {}, "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Get.json index 5ac4d67acdd0..7d9ff3355764 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Get.json @@ -4,7 +4,7 @@ "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", "virtualNetworkLinkName": "sampleVirtualNetworkLink", - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_List.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_List.json index 7cce6bd0de94..527d14a64fdf 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_List.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_List.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Patch.json index 6d037919a58f..8ce522ece1ac 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Patch.json @@ -11,7 +11,7 @@ } } }, - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "200": { @@ -39,8 +39,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Put.json index 43b265572e9b..4a30c6159fc6 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Put.json @@ -14,7 +14,7 @@ } } }, - "api-version": "2020-04-01-preview" + "api-version": "2022-06-21" }, "responses": { "201": { @@ -65,8 +65,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2020-04-01-preview", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2020-04-01-preview" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" } } } diff --git a/specification/dnsresolver/resource-manager/readme.md b/specification/dnsresolver/resource-manager/readme.md index e3426d6e07af..e1355b0b68cf 100644 --- a/specification/dnsresolver/resource-manager/readme.md +++ b/specification/dnsresolver/resource-manager/readme.md @@ -26,7 +26,16 @@ These are the global settings for the DNS resolver API. ``` yaml openapi-type: arm -tag: package-2020-04-preview +tag: package-2022-06 +``` + +### Tag: package-2022-06 + +These settings apply only when `--tag=package-2022-06` is specified on the command line. + +``` yaml $(tag) == 'package-2022-06' +input-file: + - Microsoft.Network/stable/2022-06-21/dnsresolver.json ``` ### Tag: package-2020-04-preview @@ -120,3 +129,4 @@ uncomment the `exclude-file` section below and add the file paths. #exclude-file: # - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json ``` + From 06ccab602488d31e749a6a6f4ec1dca0a7f733c9 Mon Sep 17 00:00:00 2001 From: Arpit Gagneja Date: Wed, 22 Jun 2022 09:44:57 -0700 Subject: [PATCH 4/5] Fix prettier checks --- .../stable/2022-06-21/dnsresolver.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/dnsresolver.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/dnsresolver.json index 5a1f3beea3c7..cb5950449425 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/dnsresolver.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/dnsresolver.json @@ -1830,7 +1830,7 @@ "DnsResolver": { "description": "Describes a DNS resolver.", "type": "object", - "required": [ + "required": [ "properties" ], "properties": { @@ -2131,12 +2131,12 @@ "description": "Describes a DNS forwarding ruleset PATCH operation.", "type": "object", "properties": { - "dnsResolverOutboundEndpoints": { - "description": "The reference to the DNS resolver outbound endpoints that are used to route DNS queries matching the forwarding rules in the ruleset to the target DNS servers.", - "type": "array", - "items": { - "$ref": "#/definitions/SubResource" - } + "dnsResolverOutboundEndpoints": { + "description": "The reference to the DNS resolver outbound endpoints that are used to route DNS queries matching the forwarding rules in the ruleset to the target DNS servers.", + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } }, "tags": { "type": "object", @@ -2439,7 +2439,7 @@ "type": "object", "required": [ "ipAddress" - ], + ], "properties": { "ipAddress": { "description": "DNS server IP address.", From 37072829f795ce840b8085035e8adf4721602f34 Mon Sep 17 00:00:00 2001 From: Arpit Gagneja Date: Wed, 22 Jun 2022 15:07:42 -0700 Subject: [PATCH 5/5] Renamed the API version to 2022-07-01 --- .../stable/{2022-06-21 => 2022-07-01}/dnsresolver.json | 2 +- .../examples/DnsForwardingRuleset_Delete.json | 6 +++--- .../examples/DnsForwardingRuleset_Get.json | 2 +- .../DnsForwardingRuleset_ListByResourceGroup.json | 4 ++-- .../DnsForwardingRuleset_ListBySubscription.json | 4 ++-- .../DnsForwardingRuleset_ListByVirtualNetwork.json | 2 +- .../examples/DnsForwardingRuleset_Patch.json | 6 +++--- .../examples/DnsForwardingRuleset_Put.json | 6 +++--- .../examples/DnsResolver_Delete.json | 6 +++--- .../examples/DnsResolver_Get.json | 2 +- .../examples/DnsResolver_ListByResourceGroup.json | 4 ++-- .../examples/DnsResolver_ListBySubscription.json | 4 ++-- .../examples/DnsResolver_ListByVirtualNetwork.json | 2 +- .../examples/DnsResolver_Patch.json | 6 +++--- .../examples/DnsResolver_Put.json | 6 +++--- .../examples/ForwardingRule_Delete.json | 2 +- .../examples/ForwardingRule_Get.json | 2 +- .../examples/ForwardingRule_List.json | 4 ++-- .../examples/ForwardingRule_Patch.json | 2 +- .../examples/ForwardingRule_Put.json | 2 +- .../examples/InboundEndpoint_Delete.json | 6 +++--- .../examples/InboundEndpoint_Get.json | 2 +- .../examples/InboundEndpoint_List.json | 2 +- .../examples/InboundEndpoint_Patch.json | 6 +++--- .../examples/InboundEndpoint_Put.json | 6 +++--- .../examples/OutboundEndpoint_Delete.json | 6 +++--- .../examples/OutboundEndpoint_Get.json | 2 +- .../examples/OutboundEndpoint_List.json | 4 ++-- .../examples/OutboundEndpoint_Patch.json | 6 +++--- .../examples/OutboundEndpoint_Put.json | 6 +++--- .../examples/VirtualNetworkLink_Delete.json | 6 +++--- .../examples/VirtualNetworkLink_Get.json | 2 +- .../examples/VirtualNetworkLink_List.json | 2 +- .../examples/VirtualNetworkLink_Patch.json | 6 +++--- .../examples/VirtualNetworkLink_Put.json | 6 +++--- specification/dnsresolver/resource-manager/readme.md | 10 +++++----- 36 files changed, 76 insertions(+), 76 deletions(-) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/dnsresolver.json (99%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/DnsForwardingRuleset_Delete.json (92%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/DnsForwardingRuleset_Get.json (98%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/DnsForwardingRuleset_ListByResourceGroup.json (97%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/DnsForwardingRuleset_ListBySubscription.json (98%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/DnsForwardingRuleset_ListByVirtualNetwork.json (96%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/DnsForwardingRuleset_Patch.json (97%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/DnsForwardingRuleset_Put.json (98%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/DnsResolver_Delete.json (92%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/DnsResolver_Get.json (97%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/DnsResolver_ListByResourceGroup.json (97%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/DnsResolver_ListBySubscription.json (98%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/DnsResolver_ListByVirtualNetwork.json (93%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/DnsResolver_Patch.json (96%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/DnsResolver_Put.json (97%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/ForwardingRule_Delete.json (90%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/ForwardingRule_Get.json (97%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/ForwardingRule_List.json (97%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/ForwardingRule_Patch.json (98%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/ForwardingRule_Put.json (98%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/InboundEndpoint_Delete.json (92%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/InboundEndpoint_Get.json (97%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/InboundEndpoint_List.json (98%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/InboundEndpoint_Patch.json (97%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/InboundEndpoint_Put.json (98%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/OutboundEndpoint_Delete.json (92%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/OutboundEndpoint_Get.json (97%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/OutboundEndpoint_List.json (97%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/OutboundEndpoint_Patch.json (96%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/OutboundEndpoint_Put.json (98%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/VirtualNetworkLink_Delete.json (93%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/VirtualNetworkLink_Get.json (97%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/VirtualNetworkLink_List.json (97%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/VirtualNetworkLink_Patch.json (96%) rename specification/dnsresolver/resource-manager/Microsoft.Network/stable/{2022-06-21 => 2022-07-01}/examples/VirtualNetworkLink_Put.json (98%) diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/dnsresolver.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/dnsresolver.json similarity index 99% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/dnsresolver.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/dnsresolver.json index cb5950449425..f7d576aaab85 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/dnsresolver.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/dnsresolver.json @@ -3,7 +3,7 @@ "info": { "title": "DnsResolverManagementClient", "description": "The DNS Resolver Management Client.", - "version": "2022-06-21" + "version": "2022-07-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsForwardingRuleset_Delete.json similarity index 92% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Delete.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsForwardingRuleset_Delete.json index 8829dcecf52d..a40d52844a93 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsForwardingRuleset_Delete.json @@ -3,15 +3,15 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "samplednsForwardingRulesetName", - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": {}, "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-07-01", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-07-01" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsForwardingRuleset_Get.json similarity index 98% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Get.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsForwardingRuleset_Get.json index ad16462bbdbc..860b65315d51 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsForwardingRuleset_Get.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByResourceGroup.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsForwardingRuleset_ListByResourceGroup.json similarity index 97% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByResourceGroup.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsForwardingRuleset_ListByResourceGroup.json index 611d4fcbc40d..05d4ec85c09e 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByResourceGroup.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsForwardingRuleset_ListByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": { @@ -65,7 +65,7 @@ } } ], - "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets?$skipToken=skipToken&api-version=2022-06-21" + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsForwardingRulesets?$skipToken=skipToken&api-version=2022-07-01" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListBySubscription.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsForwardingRuleset_ListBySubscription.json similarity index 98% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListBySubscription.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsForwardingRuleset_ListBySubscription.json index 5719d4b9248e..94935de7c4eb 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListBySubscription.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsForwardingRuleset_ListBySubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": { @@ -64,7 +64,7 @@ } } ], - "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsForwardingRulesets?$skipToken=skipToken&api-version=2022-06-21" + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsForwardingRulesets?$skipToken=skipToken&api-version=2022-07-01" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByVirtualNetwork.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsForwardingRuleset_ListByVirtualNetwork.json similarity index 96% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByVirtualNetwork.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsForwardingRuleset_ListByVirtualNetwork.json index 3d7b02755832..9c2a466aca9d 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_ListByVirtualNetwork.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsForwardingRuleset_ListByVirtualNetwork.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "virtualNetworkName": "sampleVirtualNetwork", - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsForwardingRuleset_Patch.json similarity index 97% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Patch.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsForwardingRuleset_Patch.json index 0b959a4dad8f..a88a7695d051 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsForwardingRuleset_Patch.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", - "api-version": "2022-06-21", + "api-version": "2022-07-01", "parameters": { "tags": { "key1": "value1" @@ -43,8 +43,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-07-01", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-07-01" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsForwardingRuleset_Put.json similarity index 98% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Put.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsForwardingRuleset_Put.json index 8679198cf201..41c3d5f792b7 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsForwardingRuleset_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsForwardingRuleset_Put.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "samplednsForwardingRuleset", - "api-version": "2022-06-21", + "api-version": "2022-07-01", "parameters": { "tags": { "key1": "value1" @@ -84,8 +84,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-07-01", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-07-01" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsResolver_Delete.json similarity index 92% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Delete.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsResolver_Delete.json index deb351fdfdc4..14b03eb07887 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsResolver_Delete.json @@ -3,15 +3,15 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": {}, "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-07-01", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-07-01" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsResolver_Get.json similarity index 97% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Get.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsResolver_Get.json index b11770fcebaf..fdf56aa1692a 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsResolver_Get.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByResourceGroup.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsResolver_ListByResourceGroup.json similarity index 97% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByResourceGroup.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsResolver_ListByResourceGroup.json index 496682715428..fb35a3f104e5 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByResourceGroup.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsResolver_ListByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": { @@ -57,7 +57,7 @@ } } ], - "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers?$skipToken=skipToken&api-version=2022-06-21" + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers?$skipToken=skipToken&api-version=2022-07-01" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListBySubscription.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsResolver_ListBySubscription.json similarity index 98% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListBySubscription.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsResolver_ListBySubscription.json index e5f82135674c..1a85997bfda7 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListBySubscription.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsResolver_ListBySubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": { @@ -56,7 +56,7 @@ } } ], - "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsResolvers?$skipToken=skipToken&api-version=2022-06-21" + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/providers/Microsoft.Network/dnsResolvers?$skipToken=skipToken&api-version=2022-07-01" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByVirtualNetwork.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsResolver_ListByVirtualNetwork.json similarity index 93% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByVirtualNetwork.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsResolver_ListByVirtualNetwork.json index 4ce6e00bfc43..57077dd6d5e0 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_ListByVirtualNetwork.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsResolver_ListByVirtualNetwork.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "virtualNetworkName": "sampleVirtualNetwork", - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsResolver_Patch.json similarity index 96% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Patch.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsResolver_Patch.json index ac9cd2434d32..41c3072f9a33 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsResolver_Patch.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", - "api-version": "2022-06-21", + "api-version": "2022-07-01", "parameters": { "tags": { "key1": "value1" @@ -39,8 +39,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-07-01", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-07-01" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsResolver_Put.json similarity index 97% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Put.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsResolver_Put.json index 08259efcd054..9c4355405c43 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/DnsResolver_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/DnsResolver_Put.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", - "api-version": "2022-06-21", + "api-version": "2022-07-01", "parameters": { "tags": { "key1": "value1" @@ -65,8 +65,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-07-01", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-07-01" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/ForwardingRule_Delete.json similarity index 90% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Delete.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/ForwardingRule_Delete.json index d5a056c57f3a..3d4c03cc5914 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/ForwardingRule_Delete.json @@ -4,7 +4,7 @@ "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", "forwardingRuleName": "sampleForwardingRule", - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": {}, diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/ForwardingRule_Get.json similarity index 97% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Get.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/ForwardingRule_Get.json index 825d04ba9d98..46f2513b91bf 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/ForwardingRule_Get.json @@ -4,7 +4,7 @@ "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", "forwardingRuleName": "sampleForwardingRule", - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_List.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/ForwardingRule_List.json similarity index 97% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_List.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/ForwardingRule_List.json index 071a102fa627..29163d4552c2 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_List.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/ForwardingRule_List.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": { @@ -70,7 +70,7 @@ } } ], - "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/forwardingRules?$skipToken=skipToken&api-version=2022-06-21" + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/forwardingRules?$skipToken=skipToken&api-version=2022-07-01" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/ForwardingRule_Patch.json similarity index 98% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Patch.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/ForwardingRule_Patch.json index 3b1e277ea603..16feb848a482 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/ForwardingRule_Patch.json @@ -12,7 +12,7 @@ } } }, - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/ForwardingRule_Put.json similarity index 98% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Put.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/ForwardingRule_Put.json index 84ac07f9024e..e927b90d97ac 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/ForwardingRule_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/ForwardingRule_Put.json @@ -23,7 +23,7 @@ } } }, - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "201": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/InboundEndpoint_Delete.json similarity index 92% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Delete.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/InboundEndpoint_Delete.json index f7733867ee74..3349e6ad17ba 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/InboundEndpoint_Delete.json @@ -4,15 +4,15 @@ "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", "inboundEndpointName": "sampleInboundEndpoint", - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": {}, "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-07-01", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-07-01" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/InboundEndpoint_Get.json similarity index 97% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Get.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/InboundEndpoint_Get.json index b41b3dc131f1..27e0f22088dc 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/InboundEndpoint_Get.json @@ -4,7 +4,7 @@ "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", "inboundEndpointName": "sampleInboundEndpoint", - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_List.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/InboundEndpoint_List.json similarity index 98% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_List.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/InboundEndpoint_List.json index d5d5d09ffb2e..ed411d4d5cb4 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_List.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/InboundEndpoint_List.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/InboundEndpoint_Patch.json similarity index 97% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Patch.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/InboundEndpoint_Patch.json index 1f5173880919..f98663ac7630 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/InboundEndpoint_Patch.json @@ -9,7 +9,7 @@ "key1": "value1" } }, - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": { @@ -45,8 +45,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-07-01", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-07-01" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/InboundEndpoint_Put.json similarity index 98% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Put.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/InboundEndpoint_Put.json index 588f2f359644..b9e90ce1d3af 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/InboundEndpoint_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/InboundEndpoint_Put.json @@ -21,7 +21,7 @@ ] } }, - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "201": { @@ -88,8 +88,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-07-01", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-07-01" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/OutboundEndpoint_Delete.json similarity index 92% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Delete.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/OutboundEndpoint_Delete.json index 3fda368717a5..888272513032 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/OutboundEndpoint_Delete.json @@ -4,15 +4,15 @@ "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", "outboundEndpointName": "sampleOutboundEndpoint", - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": {}, "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-07-01", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-07-01" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/OutboundEndpoint_Get.json similarity index 97% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Get.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/OutboundEndpoint_Get.json index ff65aa25cf22..b6559e6f018d 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/OutboundEndpoint_Get.json @@ -4,7 +4,7 @@ "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", "outboundEndpointName": "sampleOutboundEndpoint", - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_List.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/OutboundEndpoint_List.json similarity index 97% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_List.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/OutboundEndpoint_List.json index 9724f90e7cbc..9757cf021c47 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_List.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/OutboundEndpoint_List.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsResolverName": "sampleDnsResolver", - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": { @@ -56,7 +56,7 @@ } } ], - "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints?$skipToken=skipToken&api-version=2022-06-21" + "nextLink": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/outboundEndpoints?$skipToken=skipToken&api-version=2022-07-01" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/OutboundEndpoint_Patch.json similarity index 96% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Patch.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/OutboundEndpoint_Patch.json index 1bf0d918e50d..2660a2e970d1 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/OutboundEndpoint_Patch.json @@ -9,7 +9,7 @@ "key1": "value1" } }, - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": { @@ -39,8 +39,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-07-01", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-07-01" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/OutboundEndpoint_Put.json similarity index 98% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Put.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/OutboundEndpoint_Put.json index 4702666d53c7..6ad170604ef6 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/OutboundEndpoint_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/OutboundEndpoint_Put.json @@ -15,7 +15,7 @@ } } }, - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "201": { @@ -69,8 +69,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-07-01", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-07-01" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Delete.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/VirtualNetworkLink_Delete.json similarity index 93% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Delete.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/VirtualNetworkLink_Delete.json index e13a7711b517..224ee2353cbd 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Delete.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/VirtualNetworkLink_Delete.json @@ -4,15 +4,15 @@ "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", "virtualNetworkLinkName": "sampleVirtualNetworkLink", - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": {}, "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-07-01", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-07-01" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Get.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/VirtualNetworkLink_Get.json similarity index 97% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Get.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/VirtualNetworkLink_Get.json index 7d9ff3355764..f4c599d3434f 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Get.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/VirtualNetworkLink_Get.json @@ -4,7 +4,7 @@ "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", "virtualNetworkLinkName": "sampleVirtualNetworkLink", - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_List.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/VirtualNetworkLink_List.json similarity index 97% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_List.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/VirtualNetworkLink_List.json index 527d14a64fdf..6e814e7a051f 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_List.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/VirtualNetworkLink_List.json @@ -3,7 +3,7 @@ "subscriptionId": "abdd4249-9f34-4cc6-8e42-c2e32110603e", "resourceGroupName": "sampleResourceGroup", "dnsForwardingRulesetName": "sampleDnsForwardingRuleset", - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": { diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Patch.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/VirtualNetworkLink_Patch.json similarity index 96% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Patch.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/VirtualNetworkLink_Patch.json index 8ce522ece1ac..37a012ad46e6 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Patch.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/VirtualNetworkLink_Patch.json @@ -11,7 +11,7 @@ } } }, - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "200": { @@ -39,8 +39,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-07-01", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-07-01" } } } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Put.json b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/VirtualNetworkLink_Put.json similarity index 98% rename from specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Put.json rename to specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/VirtualNetworkLink_Put.json index 4a30c6159fc6..7b829beb169b 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-06-21/examples/VirtualNetworkLink_Put.json +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/stable/2022-07-01/examples/VirtualNetworkLink_Put.json @@ -14,7 +14,7 @@ } } }, - "api-version": "2022-06-21" + "api-version": "2022-07-01" }, "responses": { "201": { @@ -65,8 +65,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-06-21", - "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-06-21" + "Location": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationResults/asyncOperationId?api-version=2022-07-01", + "Azure-AsyncOperation": "https://management.azure.com/api/mresolver/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/locations/westus2/dnsResolverOperationStatuses/asyncOperationId?api-version=2022-07-01" } } } diff --git a/specification/dnsresolver/resource-manager/readme.md b/specification/dnsresolver/resource-manager/readme.md index e1355b0b68cf..cebb1284154d 100644 --- a/specification/dnsresolver/resource-manager/readme.md +++ b/specification/dnsresolver/resource-manager/readme.md @@ -26,16 +26,16 @@ These are the global settings for the DNS resolver API. ``` yaml openapi-type: arm -tag: package-2022-06 +tag: package-2022-07 ``` -### Tag: package-2022-06 +### Tag: package-2022-07 -These settings apply only when `--tag=package-2022-06` is specified on the command line. +These settings apply only when `--tag=package-2022-07` is specified on the command line. -``` yaml $(tag) == 'package-2022-06' +``` yaml $(tag) == 'package-2022-07' input-file: - - Microsoft.Network/stable/2022-06-21/dnsresolver.json + - Microsoft.Network/stable/2022-07-01/dnsresolver.json ``` ### Tag: package-2020-04-preview