From 304e124ef8a33fac54eb7844c9db51ca1afb24cd Mon Sep 17 00:00:00 2001 From: Pranav Nair Date: Mon, 17 Jun 2024 13:44:11 -0700 Subject: [PATCH 1/5] Add new API version 2024-06-01 - clone of 2020-06-01 --- .../examples/PrivateZoneDelete.json | 19 + .../2024-06-01/examples/PrivateZoneGet.json | 31 + .../PrivateZoneListInResourceGroup.json | 51 + .../PrivateZoneListInSubscription.json | 50 + .../2024-06-01/examples/PrivateZonePatch.json | 43 + .../2024-06-01/examples/PrivateZonePut.json | 65 + .../examples/RecordSetAAAADelete.json | 14 + .../2024-06-01/examples/RecordSetAAAAGet.json | 33 + .../examples/RecordSetAAAAList.json | 53 + .../examples/RecordSetAAAAPatch.json | 40 + .../2024-06-01/examples/RecordSetAAAAPut.json | 67 + .../2024-06-01/examples/RecordSetADelete.json | 14 + .../2024-06-01/examples/RecordSetAGet.json | 33 + .../2024-06-01/examples/RecordSetALLList.json | 73 + .../2024-06-01/examples/RecordSetAList.json | 53 + .../2024-06-01/examples/RecordSetAPatch.json | 40 + .../2024-06-01/examples/RecordSetAPut.json | 67 + .../examples/RecordSetCNAMEDelete.json | 14 + .../examples/RecordSetCNAMEGet.json | 31 + .../examples/RecordSetCNAMEList.json | 34 + .../examples/RecordSetCNAMEPatch.json | 38 + .../examples/RecordSetCNAMEPut.json | 61 + .../examples/RecordSetMXDelete.json | 14 + .../2024-06-01/examples/RecordSetMXGet.json | 34 + .../2024-06-01/examples/RecordSetMXList.json | 55 + .../2024-06-01/examples/RecordSetMXPatch.json | 41 + .../2024-06-01/examples/RecordSetMXPut.json | 70 + .../examples/RecordSetPTRDelete.json | 14 + .../2024-06-01/examples/RecordSetPTRGet.json | 33 + .../2024-06-01/examples/RecordSetPTRList.json | 37 + .../examples/RecordSetPTRPatch.json | 40 + .../2024-06-01/examples/RecordSetPTRPut.json | 67 + .../2024-06-01/examples/RecordSetSOAGet.json | 37 + .../2024-06-01/examples/RecordSetSOAList.json | 40 + .../examples/RecordSetSOAPatch.json | 44 + .../2024-06-01/examples/RecordSetSOAPut.json | 79 + .../examples/RecordSetSRVDelete.json | 14 + .../2024-06-01/examples/RecordSetSRVGet.json | 36 + .../2024-06-01/examples/RecordSetSRVList.json | 40 + .../examples/RecordSetSRVPatch.json | 43 + .../2024-06-01/examples/RecordSetSRVPut.json | 76 + .../examples/RecordSetTXTDelete.json | 14 + .../2024-06-01/examples/RecordSetTXTGet.json | 36 + .../2024-06-01/examples/RecordSetTXTList.json | 40 + .../examples/RecordSetTXTPatch.json | 43 + .../2024-06-01/examples/RecordSetTXTPut.json | 76 + .../examples/VirtualNetworkLinkDelete.json | 20 + .../examples/VirtualNetworkLinkGet.json | 31 + .../examples/VirtualNetworkLinkList.json | 50 + .../examples/VirtualNetworkLinkPatch.json | 46 + .../examples/VirtualNetworkLinkPut.json | 70 + .../stable/2024-06-01/privatedns.json | 1937 +++++++++++++++++ 52 files changed, 4101 insertions(+) create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneDelete.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneGet.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneListInResourceGroup.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneListInSubscription.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZonePatch.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZonePut.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAADelete.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAGet.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAList.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAPatch.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAPut.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetADelete.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAGet.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetALLList.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAList.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAPatch.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAPut.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEDelete.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEGet.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEList.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEPatch.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEPut.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXDelete.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXGet.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXList.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXPatch.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXPut.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRDelete.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRGet.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRList.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRPatch.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRPut.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAGet.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAList.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAPatch.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAPut.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVDelete.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVGet.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVList.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVPatch.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVPut.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTDelete.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTGet.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTList.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTPatch.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTPut.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkDelete.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkGet.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkList.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPatch.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPut.json create mode 100644 specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/privatedns.json diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneDelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneDelete.json new file mode 100644 index 000000000000..bc794b59644e --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationResults/asyncOperationId?api-version=2020-06-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationStatuses/asyncOperationId?api-version=2020-06-01", + "Retry-After": "60" + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneGet.json new file mode 100644 index 000000000000..0b75ef89289d --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneGet.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com", + "name": "privatezone1.com", + "type": "Microsoft.Network/privateDnsZones", + "location": "global", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "maxNumberOfRecordSets": 5000, + "numberOfRecordSets": 1, + "maxNumberOfVirtualNetworkLinks": 100, + "numberOfVirtualNetworkLinks": 0, + "maxNumberOfVirtualNetworkLinksWithRegistration": 50, + "numberOfVirtualNetworkLinksWithRegistration": 0, + "provisioningState": "Succeeded" + }, + "tags": { + "key1": "value1" + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneListInResourceGroup.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneListInResourceGroup.json new file mode 100644 index 000000000000..8475aec688c1 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneListInResourceGroup.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones?api-version=2020-06-01&$skipToken=skipToken", + "value": [ + { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com", + "name": "privatezone1.com", + "type": "Microsoft.Network/privateDnsZones", + "location": "global", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "maxNumberOfRecordSets": 5000, + "numberOfRecordSets": 1, + "maxNumberOfVirtualNetworkLinks": 100, + "numberOfVirtualNetworkLinks": 0, + "maxNumberOfVirtualNetworkLinksWithRegistration": 50, + "numberOfVirtualNetworkLinksWithRegistration": 0, + "provisioningState": "Succeeded" + }, + "tags": { + "key1": "value1" + } + }, + { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone2.com", + "name": "privatezone2.com", + "type": "Microsoft.Network/privateDnsZones", + "location": "global", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "maxNumberOfRecordSets": 5000, + "numberOfRecordSets": 1, + "maxNumberOfVirtualNetworkLinks": 100, + "numberOfVirtualNetworkLinks": 0, + "maxNumberOfVirtualNetworkLinksWithRegistration": 50, + "numberOfVirtualNetworkLinksWithRegistration": 0, + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneListInSubscription.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneListInSubscription.json new file mode 100644 index 000000000000..07bf87c22cbe --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneListInSubscription.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.Network/privateDnsZones?api-version=2020-06-01&$skipToken=skipToken", + "value": [ + { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com", + "name": "privatezone1.com", + "type": "Microsoft.Network/privateDnsZones", + "location": "global", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "maxNumberOfRecordSets": 5000, + "numberOfRecordSets": 1, + "maxNumberOfVirtualNetworkLinks": 100, + "numberOfVirtualNetworkLinks": 0, + "maxNumberOfVirtualNetworkLinksWithRegistration": 50, + "numberOfVirtualNetworkLinksWithRegistration": 0, + "provisioningState": "Succeeded" + }, + "tags": { + "key1": "value1" + } + }, + { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup2/providers/Microsoft.Network/privateDnsZones/privatezone2.com", + "name": "privatezone2.com", + "type": "Microsoft.Network/privateDnsZones", + "location": "global", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "maxNumberOfRecordSets": 5000, + "numberOfRecordSets": 1, + "maxNumberOfVirtualNetworkLinks": 100, + "numberOfVirtualNetworkLinks": 0, + "maxNumberOfVirtualNetworkLinksWithRegistration": 50, + "numberOfVirtualNetworkLinksWithRegistration": 0, + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZonePatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZonePatch.json new file mode 100644 index 000000000000..089734d8f3f6 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZonePatch.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId", + "parameters": { + "tags": { + "key2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com", + "name": "privatezone1.com", + "type": "Microsoft.Network/privateDnsZones", + "location": "global", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "maxNumberOfRecordSets": 5000, + "numberOfRecordSets": 1, + "maxNumberOfVirtualNetworkLinks": 100, + "numberOfVirtualNetworkLinks": 0, + "maxNumberOfVirtualNetworkLinksWithRegistration": 50, + "numberOfVirtualNetworkLinksWithRegistration": 0, + "provisioningState": "Succeeded" + }, + "tags": { + "key2": "value2" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationResults/asyncOperationId?api-version=2020-06-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationStatuses/asyncOperationId?api-version=2020-06-01", + "Retry-After": "60" + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZonePut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZonePut.json new file mode 100644 index 000000000000..bce2853f3556 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZonePut.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId", + "parameters": { + "location": "Global", + "tags": { + "key1": "value1" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com", + "name": "privatezone1.com", + "type": "Microsoft.Network/privateDnsZones", + "location": "global", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "maxNumberOfRecordSets": 5000, + "numberOfRecordSets": 1, + "maxNumberOfVirtualNetworkLinks": 100, + "numberOfVirtualNetworkLinks": 0, + "maxNumberOfVirtualNetworkLinksWithRegistration": 50, + "numberOfVirtualNetworkLinksWithRegistration": 0, + "provisioningState": "Succeeded" + }, + "tags": { + "key1": "value1" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com", + "name": "privatezone1.com", + "type": "Microsoft.Network/privateDnsZones", + "location": "global", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "maxNumberOfRecordSets": 5000, + "numberOfRecordSets": 1, + "maxNumberOfVirtualNetworkLinks": 100, + "numberOfVirtualNetworkLinks": 0, + "maxNumberOfVirtualNetworkLinksWithRegistration": 50, + "numberOfVirtualNetworkLinksWithRegistration": 0, + "provisioningState": "Succeeded" + }, + "tags": { + "key1": "value1" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationResults/asyncOperationId?api-version=2020-06-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationStatuses/asyncOperationId?api-version=2020-06-01", + "Retry-After": "60" + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAADelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAADelete.json new file mode 100644 index 000000000000..21ad456fd007 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAADelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "AAAA", + "relativeRecordSetName": "recordAAAA", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAGet.json new file mode 100644 index 000000000000..7c7a8ce28468 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAGet.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "AAAA", + "relativeRecordSetName": "recordAAAA", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/AAAA/recordaaaa", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordaaaa", + "type": "Microsoft.Network/privateDnsZones/AAAA", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recordaaaa.privatezone1.com.", + "isAutoRegistered": false, + "aaaaRecords": [ + { + "ipv6Address": "::1" + } + ] + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAList.json new file mode 100644 index 000000000000..ef06d89e6257 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAList.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "AAAA", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/AAAA?api-version=2020-06-01&$skipToken=skipToken", + "value": [ + { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/AAAA/recordaaaa1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordaaaa1", + "type": "Microsoft.Network/privateDnsZones/AAAA", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recordaaaa1.privatezone1.com.", + "isAutoRegistered": false, + "aaaaRecords": [ + { + "ipv6Address": "::1" + } + ] + } + }, + { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/AAAA/recordaaaa2", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordaaaa2", + "type": "Microsoft.Network/privateDnsZones/AAAA", + "properties": { + "ttl": 3600, + "fqdn": "recordaaaa2.privatezone1.com.", + "isAutoRegistered": false, + "aaaaRecords": [ + { + "ipv6Address": "::1" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAPatch.json new file mode 100644 index 000000000000..40d41ab4509a --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAPatch.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "AAAA", + "relativeRecordSetName": "recordAAAA", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId", + "parameters": { + "properties": { + "metadata": { + "key2": "value2" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/AAAA/recordaaaa", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordaaaa", + "type": "Microsoft.Network/privateDnsZones/AAAA", + "properties": { + "metadata": { + "key2": "value2" + }, + "ttl": 3600, + "fqdn": "recordaaaa.privatezone1.com.", + "isAutoRegistered": false, + "aaaaRecords": [ + { + "ipv6Address": "::1" + } + ] + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAPut.json new file mode 100644 index 000000000000..a88aeaf1cbc0 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAPut.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "AAAA", + "relativeRecordSetName": "recordAAAA", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId", + "parameters": { + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "aaaaRecords": [ + { + "ipv6Address": "::1" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/AAAA/recordaaaa", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordaaaa", + "type": "Microsoft.Network/privateDnsZones/AAAA", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recordaaaa.privatezone1.com.", + "isAutoRegistered": false, + "aaaaRecords": [ + { + "ipv6Address": "::1" + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/AAAA/recordaaaa", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordaaaa", + "type": "Microsoft.Network/privateDnsZones/AAAA", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recordaaaa.privatezone1.com.", + "isAutoRegistered": false, + "aaaaRecords": [ + { + "ipv6Address": "::1" + } + ] + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetADelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetADelete.json new file mode 100644 index 000000000000..e08dec347f5e --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetADelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "A", + "relativeRecordSetName": "recordA", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAGet.json new file mode 100644 index 000000000000..1937250c3324 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAGet.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "A", + "relativeRecordSetName": "recordA", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/A/recorda", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recorda", + "type": "Microsoft.Network/privateDnsZones/A", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recorda.privatezone1.com.", + "isAutoRegistered": false, + "aRecords": [ + { + "ipv4Address": "1.2.3.4" + } + ] + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetALLList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetALLList.json new file mode 100644 index 000000000000..9fe3675a4520 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetALLList.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/ALL?api-version=2020-06-01&$skipToken=skipToken", + "value": [ + { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/A/recorda", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recorda", + "type": "Microsoft.Network/privateDnsZones/A", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recorda.privatezone1.com.", + "isAutoRegistered": false, + "aRecords": [ + { + "ipv4Address": "1.2.3.4" + } + ] + } + }, + { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/CNAME/recordcname", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordcname", + "type": "Microsoft.Network/privateDnsZones/CNAME", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recordcname.privatezone1.com.", + "isAutoRegistered": false, + "cnameRecord": { + "cname": "contoso.com" + } + } + }, + { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/MX/recordmx", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordmx", + "type": "Microsoft.Network/privateDnsZones/MX", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recordmx.privatezone1.com.", + "isAutoRegistered": false, + "mxRecords": [ + { + "preference": 0, + "exchange": "mail.contoso1.com" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAList.json new file mode 100644 index 000000000000..dcbf2738500e --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAList.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "A", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/A?api-version=2020-06-01&$skipToken=skipToken", + "value": [ + { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/A/recorda1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recorda1", + "type": "Microsoft.Network/privateDnsZones/A", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recorda1.privatezone1.com.", + "isAutoRegistered": false, + "aRecords": [ + { + "ipv4Address": "1.2.3.4" + } + ] + } + }, + { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/A/recorda2", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recorda2", + "type": "Microsoft.Network/privateDnsZones/A", + "properties": { + "ttl": 3600, + "fqdn": "recorda2.privatezone1.com.", + "isAutoRegistered": false, + "aRecords": [ + { + "ipv4Address": "5.6.7.8" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAPatch.json new file mode 100644 index 000000000000..ffdd63ab37ad --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAPatch.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "A", + "relativeRecordSetName": "recordA", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId", + "parameters": { + "properties": { + "metadata": { + "key2": "value2" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/A/recorda", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recorda", + "type": "Microsoft.Network/privateDnsZones/A", + "properties": { + "metadata": { + "key2": "value2" + }, + "ttl": 3600, + "fqdn": "recorda.privatezone1.com.", + "isAutoRegistered": false, + "aRecords": [ + { + "ipv4Address": "1.2.3.4" + } + ] + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAPut.json new file mode 100644 index 000000000000..62c1cd234a71 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAPut.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "A", + "relativeRecordSetName": "recordA", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId", + "parameters": { + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "aRecords": [ + { + "ipv4Address": "1.2.3.4" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/A/recorda", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recorda", + "type": "Microsoft.Network/privateDnsZones/A", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recorda.privatezone1.com.", + "isAutoRegistered": false, + "aRecords": [ + { + "ipv4Address": "1.2.3.4" + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/A/recorda", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recorda", + "type": "Microsoft.Network/privateDnsZones/A", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recorda.privatezone1.com.", + "isAutoRegistered": false, + "aRecords": [ + { + "ipv4Address": "1.2.3.4" + } + ] + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEDelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEDelete.json new file mode 100644 index 000000000000..34c4104e5d3b --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "CNAME", + "relativeRecordSetName": "recordCNAME", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEGet.json new file mode 100644 index 000000000000..2f2aab9e503e --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEGet.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "CNAME", + "relativeRecordSetName": "recordCNAME", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/CNAME/recordcname", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordcname", + "type": "Microsoft.Network/privateDnsZones/CNAME", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recordcname.privatezone1.com.", + "isAutoRegistered": false, + "cnameRecord": { + "cname": "contoso.com" + } + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEList.json new file mode 100644 index 000000000000..fecaa9bda1f7 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEList.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "CNAME", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/CNAME/recordcname", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordcname", + "type": "Microsoft.Network/privateDnsZones/CNAME", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recordcname.privatezone1.com.", + "isAutoRegistered": false, + "cnameRecord": { + "cname": "contoso.com" + } + } + } + ] + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEPatch.json new file mode 100644 index 000000000000..b09b528d4c7a --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEPatch.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "CNAME", + "relativeRecordSetName": "recordCNAME", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId", + "parameters": { + "properties": { + "metadata": { + "key2": "value2" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/CNAME/recordcname", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordcname", + "type": "Microsoft.Network/privateDnsZones/CNAME", + "properties": { + "metadata": { + "key2": "value2" + }, + "ttl": 3600, + "fqdn": "recordcname.privatezone1.com.", + "isAutoRegistered": false, + "cnameRecord": { + "cname": "contoso.com" + } + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEPut.json new file mode 100644 index 000000000000..f5ef59130006 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEPut.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "CNAME", + "relativeRecordSetName": "recordCNAME", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId", + "parameters": { + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "cnameRecord": { + "cname": "contoso.com" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/CNAME/recordcname", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordcname", + "type": "Microsoft.Network/privateDnsZones/CNAME", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recordcname.privatezone1.com.", + "isAutoRegistered": false, + "cnameRecord": { + "cname": "contoso.com" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/CNAME/recordcname", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordcname", + "type": "Microsoft.Network/privateDnsZones/CNAME", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recordcname.privatezone1.com.", + "isAutoRegistered": false, + "cnameRecord": { + "cname": "contoso.com" + } + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXDelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXDelete.json new file mode 100644 index 000000000000..ec67f25a160a --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "MX", + "relativeRecordSetName": "recordMX", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXGet.json new file mode 100644 index 000000000000..543147a500fc --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "MX", + "relativeRecordSetName": "recordMX", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/MX/recordmx", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordmx", + "type": "Microsoft.Network/privateDnsZones/MX", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recordmx.privatezone1.com.", + "isAutoRegistered": false, + "mxRecords": [ + { + "preference": 0, + "exchange": "mail.privatezone1.com" + } + ] + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXList.json new file mode 100644 index 000000000000..c2f295b6c41c --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXList.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "MX", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/MX?api-version=2020-06-01&$skipToken=skipToken", + "value": [ + { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/MX/recordmx1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordmx1", + "type": "Microsoft.Network/privateDnsZones/MX", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recordmx1.privatezone1.com.", + "isAutoRegistered": false, + "mxRecords": [ + { + "preference": 0, + "exchange": "mail.contoso1.com" + } + ] + } + }, + { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/MX/recordmx2", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordmx2", + "type": "Microsoft.Network/privateDnsZones/MX", + "properties": { + "ttl": 3600, + "fqdn": "recordmx2.privatezone1.com.", + "isAutoRegistered": false, + "mxRecords": [ + { + "preference": 0, + "exchange": "mail.contoso2.com" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXPatch.json new file mode 100644 index 000000000000..df1f6112bf44 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXPatch.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "MX", + "relativeRecordSetName": "recordMX", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId", + "parameters": { + "properties": { + "metadata": { + "key2": "value2" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/MX/recordmx", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordmx", + "type": "Microsoft.Network/privateDnsZones/MX", + "properties": { + "metadata": { + "key2": "value2" + }, + "ttl": 3600, + "fqdn": "recordmx.privatezone1.com.", + "isAutoRegistered": false, + "mxRecords": [ + { + "preference": 0, + "exchange": "mail.privatezone1.com" + } + ] + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXPut.json new file mode 100644 index 000000000000..58f7c136e5c7 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXPut.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "MX", + "relativeRecordSetName": "recordMX", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId", + "parameters": { + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "mxRecords": [ + { + "preference": 0, + "exchange": "mail.privatezone1.com" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/MX/recordmx", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordmx", + "type": "Microsoft.Network/privateDnsZones/MX", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recordmx.privatezone1.com.", + "isAutoRegistered": false, + "mxRecords": [ + { + "preference": 0, + "exchange": "mail.privatezone1.com" + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/MX/recordmx", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordmx", + "type": "Microsoft.Network/privateDnsZones/MX", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recordmx.privatezone1.com.", + "isAutoRegistered": false, + "mxRecords": [ + { + "preference": 0, + "exchange": "mail.privatezone1.com" + } + ] + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRDelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRDelete.json new file mode 100644 index 000000000000..b0c97091c99b --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "0.0.127.in-addr.arpa", + "recordType": "PTR", + "relativeRecordSetName": "1", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRGet.json new file mode 100644 index 000000000000..bde02bcfd892 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRGet.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "0.0.127.in-addr.arpa", + "recordType": "PTR", + "relativeRecordSetName": "1", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/0.0.127.in-addr.arpa/PTR/1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "1", + "type": "Microsoft.Network/privateDnsZones/PTR", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "1.0.0.127.in-addr.arpa.", + "isAutoRegistered": false, + "ptrRecords": [ + { + "ptrdname": "localhost" + } + ] + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRList.json new file mode 100644 index 000000000000..5bfb9e414a35 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRList.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "0.0.127.in-addr.arpa", + "recordType": "PTR", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/PTR?api-version=2020-06-01&$skipToken=skipToken", + "value": [ + { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/0.0.127.in-addr.arpa/PTR/1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "1", + "type": "Microsoft.Network/privateDnsZones/PTR", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "1.0.0.127.in-addr.arpa.", + "isAutoRegistered": false, + "ptrRecords": [ + { + "ptrdname": "localhost" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRPatch.json new file mode 100644 index 000000000000..ddaf32721870 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRPatch.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "0.0.127.in-addr.arpa", + "recordType": "PTR", + "relativeRecordSetName": "1", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId", + "parameters": { + "properties": { + "metadata": { + "key2": "value2" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/0.0.127.in-addr.arpa/PTR/1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "1", + "type": "Microsoft.Network/privateDnsZones/PTR", + "properties": { + "metadata": { + "key2": "value2" + }, + "ttl": 3600, + "fqdn": "1.0.0.127.in-addr.arpa.", + "isAutoRegistered": false, + "ptrRecords": [ + { + "ptrdname": "localhost" + } + ] + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRPut.json new file mode 100644 index 000000000000..ba134ce5e005 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRPut.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "0.0.127.in-addr.arpa", + "recordType": "PTR", + "relativeRecordSetName": "1", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId", + "parameters": { + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "ptrRecords": [ + { + "ptrdname": "localhost" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/0.0.127.in-addr.arpa/PTR/1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "1", + "type": "Microsoft.Network/privateDnsZones/PTR", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "1.0.0.127.in-addr.arpa.", + "isAutoRegistered": false, + "ptrRecords": [ + { + "ptrdname": "localhost" + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/0.0.127.in-addr.arpa/PTR/1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "1", + "type": "Microsoft.Network/privateDnsZones/PTR", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "1.0.0.127.in-addr.arpa.", + "isAutoRegistered": false, + "ptrRecords": [ + { + "ptrdname": "localhost" + } + ] + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAGet.json new file mode 100644 index 000000000000..d8689a8c114c --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "SOA", + "relativeRecordSetName": "@", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/SOA/@", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "@", + "type": "Microsoft.Network/privateDnsZones/SOA", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "privatezone1.com.", + "isAutoRegistered": false, + "soaRecord": { + "host": "azureprivatedns.net", + "email": "azureprivatedns-hostmaster.microsoft.com", + "serialNumber": 1, + "refreshTime": 3600, + "retryTime": 300, + "expireTime": 2419200, + "minimumTtl": 300 + } + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAList.json new file mode 100644 index 000000000000..8d246286ed5c --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAList.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "SOA", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/SOA/@", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "@", + "type": "Microsoft.Network/privateDnsZones/SOA", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "privatezone1.com.", + "isAutoRegistered": false, + "soaRecord": { + "host": "azureprivatedns.net", + "email": "azureprivatedns-hostmaster.microsoft.com", + "serialNumber": 1, + "refreshTime": 3600, + "retryTime": 300, + "expireTime": 2419200, + "minimumTtl": 300 + } + } + } + ] + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAPatch.json new file mode 100644 index 000000000000..10021dac0cfc --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAPatch.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "SOA", + "relativeRecordSetName": "@", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId", + "parameters": { + "properties": { + "metadata": { + "key2": "value2" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/SOA/@", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "@", + "type": "Microsoft.Network/privateDnsZones/SOA", + "properties": { + "metadata": { + "key2": "value2" + }, + "ttl": 3600, + "fqdn": "privatezone1.com.", + "isAutoRegistered": false, + "soaRecord": { + "host": "azureprivatedns.net", + "email": "azureprivatedns-hostmaster.microsoft.com", + "serialNumber": 1, + "refreshTime": 3600, + "retryTime": 300, + "expireTime": 2419200, + "minimumTtl": 300 + } + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAPut.json new file mode 100644 index 000000000000..0fc49f15c064 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAPut.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "SOA", + "relativeRecordSetName": "@", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId", + "parameters": { + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "soaRecord": { + "host": "azureprivatedns.net", + "email": "azureprivatedns-hostmaster.microsoft.com", + "serialNumber": 1, + "refreshTime": 3600, + "retryTime": 300, + "expireTime": 2419200, + "minimumTTL": 300 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/SOA/@", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "@", + "type": "Microsoft.Network/privateDnsZones/SOA", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "privatezone1.com.", + "isAutoRegistered": false, + "soaRecord": { + "host": "azureprivatedns.net", + "email": "azureprivatedns-hostmaster.microsoft.com", + "serialNumber": 1, + "refreshTime": 3600, + "retryTime": 300, + "expireTime": 2419200, + "minimumTTL": 300 + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/SOA/@", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "@", + "type": "Microsoft.Network/privateDnsZones/SOA", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "privatezone1.com.", + "isAutoRegistered": false, + "soaRecord": { + "host": "azureprivatedns.net", + "email": "azureprivatedns-hostmaster.microsoft.com", + "serialNumber": 1, + "refreshTime": 3600, + "retryTime": 300, + "expireTime": 2419200, + "minimumTtl": 300 + } + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVDelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVDelete.json new file mode 100644 index 000000000000..e7f74c3a2265 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "SRV", + "relativeRecordSetName": "recordSRV", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVGet.json new file mode 100644 index 000000000000..8b7bba8bf7a5 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVGet.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "SRV", + "relativeRecordSetName": "recordSRV", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/SRV/recordsrv", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordsrv", + "type": "Microsoft.Network/privateDnsZones/SRV", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recordsrv.privatezone1.com.", + "isAutoRegistered": false, + "srvRecords": [ + { + "priority": 0, + "weight": 10, + "port": 80, + "target": "contoso.com" + } + ] + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVList.json new file mode 100644 index 000000000000..5b73b31be8f6 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVList.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "SRV", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/SRV?api-version=2020-06-01&$skipToken=skipToken", + "value": [ + { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/SRV/recordsrv", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordsrv", + "type": "Microsoft.Network/privateDnsZones/SRV", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recordsrv.privatezone1.com.", + "isAutoRegistered": false, + "srvRecords": [ + { + "priority": 0, + "weight": 10, + "port": 80, + "target": "contoso.com" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVPatch.json new file mode 100644 index 000000000000..1e2adb8c5431 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVPatch.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "SRV", + "relativeRecordSetName": "recordSRV", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId", + "parameters": { + "properties": { + "metadata": { + "key2": "value2" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/SRV/recordsrv", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordsrv", + "type": "Microsoft.Network/privateDnsZones/SRV", + "properties": { + "metadata": { + "key2": "value2" + }, + "ttl": 3600, + "fqdn": "recordsrv.privatezone1.com.", + "isAutoRegistered": false, + "srvRecords": [ + { + "priority": 0, + "weight": 10, + "port": 80, + "target": "contoso.com" + } + ] + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVPut.json new file mode 100644 index 000000000000..1f3b1d10b8c9 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVPut.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "SRV", + "relativeRecordSetName": "recordSRV", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId", + "parameters": { + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "srvRecords": [ + { + "priority": 0, + "weight": 10, + "port": 80, + "target": "contoso.com" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/SRV/recordsrv", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordsrv", + "type": "Microsoft.Network/privateDnsZones/SRV", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recordsrv.privatezone1.com.", + "isAutoRegistered": false, + "srvRecords": [ + { + "priority": 0, + "weight": 10, + "port": 80, + "target": "contoso.com" + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/SRV/recordsrv", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordsrv", + "type": "Microsoft.Network/privateDnsZones/SRV", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recordsrv.privatezone1.com.", + "isAutoRegistered": false, + "srvRecords": [ + { + "priority": 0, + "weight": 10, + "port": 80, + "target": "contoso.com" + } + ] + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTDelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTDelete.json new file mode 100644 index 000000000000..53c203fac343 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "TXT", + "relativeRecordSetName": "recordTXT", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTGet.json new file mode 100644 index 000000000000..b56c97b01118 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTGet.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "TXT", + "relativeRecordSetName": "recordTXT", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/TXT/recordtxt", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordtxt", + "type": "Microsoft.Network/privateDnsZones/TXT", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recordtxt.privatezone1.com.", + "isAutoRegistered": false, + "txtRecords": [ + { + "value": [ + "string1", + "string2" + ] + } + ] + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTList.json new file mode 100644 index 000000000000..186432655ad4 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTList.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "TXT", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/TXT?api-version=2020-06-01&$skipToken=skipToken", + "value": [ + { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/TXT/recordtxt", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordtxt", + "type": "Microsoft.Network/privateDnsZones/TXT", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recordtxt.privatezone1.com.", + "isAutoRegistered": false, + "txtRecords": [ + { + "value": [ + "string1", + "string2" + ] + } + ] + } + } + ] + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTPatch.json new file mode 100644 index 000000000000..06d24e7bb703 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTPatch.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "TXT", + "relativeRecordSetName": "recordTXT", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId", + "parameters": { + "properties": { + "metadata": { + "key2": "value2" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/TXT/recordtxt", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordtxt", + "type": "Microsoft.Network/privateDnsZones/TXT", + "properties": { + "metadata": { + "key2": "value2" + }, + "ttl": 3600, + "fqdn": "recordtxt.privatezone1.com.", + "isAutoRegistered": false, + "txtRecords": [ + { + "value": [ + "string1", + "string2" + ] + } + ] + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTPut.json new file mode 100644 index 000000000000..b02e6a67306f --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTPut.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "recordType": "TXT", + "relativeRecordSetName": "recordTXT", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId", + "parameters": { + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "txtRecords": [ + { + "value": [ + "string1", + "string2" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/TXT/recordtxt", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordtxt", + "type": "Microsoft.Network/privateDnsZones/TXT", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recordtxt.privatezone1.com.", + "isAutoRegistered": false, + "txtRecords": [ + { + "value": [ + "string1", + "string2" + ] + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/TXT/recordtxt", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "recordtxt", + "type": "Microsoft.Network/privateDnsZones/TXT", + "properties": { + "metadata": { + "key1": "value1" + }, + "ttl": 3600, + "fqdn": "recordtxt.privatezone1.com.", + "isAutoRegistered": false, + "txtRecords": [ + { + "value": [ + "string1", + "string2" + ] + } + ] + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkDelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkDelete.json new file mode 100644 index 000000000000..576ed97f3cca --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "virtualNetworkLinkName": "virtualNetworkLink1", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationResults/asyncOperationId?api-version=2020-06-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationStatuses/asyncOperationId?api-version=2020-06-01", + "Retry-After": "60" + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkGet.json new file mode 100644 index 000000000000..50fee31d4cb4 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkGet.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "virtualNetworkLinkName": "virtualNetworkLink1", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/virtualNetworkLinks/virtualNetworkLink1", + "name": "virtualNetworkLink1", + "type": "Microsoft.Network/privateDnsZones/virtualNetworkLinks", + "location": "global", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "virtualNetwork": { + "id": "/subscriptions/virtualNetworkSubscriptionId/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/virtualNetworkName" + }, + "registrationEnabled": false, + "virtualNetworkLinkState": "Completed", + "provisioningState": "Succeeded" + }, + "tags": { + "key1": "value1" + } + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkList.json new file mode 100644 index 000000000000..6d6a050789f9 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkList.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/virtualNetworkLinks?api-version=2020-06-01&$skipToken=skipToken", + "value": [ + { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/virtualNetworkLinks/virtualNetworkLink1", + "name": "virtualNetworkLink1", + "type": "Microsoft.Network/privateDnsZones/virtualNetworkLinks", + "location": "global", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "virtualNetwork": { + "id": "/subscriptions/virtualNetworkSubscriptionId/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/virtualNetworkName" + }, + "registrationEnabled": false, + "virtualNetworkLinkState": "Completed", + "provisioningState": "Succeeded" + }, + "tags": { + "key1": "value1" + } + }, + { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/virtualNetworkLinks/virtualNetworkLink2", + "name": "virtualNetworkLink2", + "type": "Microsoft.Network/privateDnsZones/virtualNetworkLinks", + "location": "global", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "virtualNetwork": { + "id": "/subscriptions/virtualNetworkSubscriptionId/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/virtualNetworkName" + }, + "registrationEnabled": true, + "virtualNetworkLinkState": "InProgress", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPatch.json new file mode 100644 index 000000000000..9911bdac0d58 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPatch.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "virtualNetworkLinkName": "virtualNetworkLink1", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId", + "parameters": { + "tags": { + "key2": "value2" + }, + "properties": { + "registrationEnabled": true + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/virtualNetworkLinks/virtualNetworkLink1", + "name": "virtualNetworkLink1", + "type": "Microsoft.Network/privateDnsZones/virtualNetworkLinks", + "location": "global", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "virtualNetwork": { + "id": "/subscriptions/virtualNetworkSubscriptionId/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/virtualNetworkName" + }, + "registrationEnabled": true, + "virtualNetworkLinkState": "Completed", + "provisioningState": "Succeeded" + }, + "tags": { + "key2": "value2" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationResults/asyncOperationId?api-version=2020-06-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationStatuses/asyncOperationId?api-version=2020-06-01", + "Retry-After": "60" + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPut.json new file mode 100644 index 000000000000..feeedb9bf362 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPut.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "resourceGroupName": "resourceGroup1", + "privateZoneName": "privatezone1.com", + "virtualNetworkLinkName": "virtualNetworkLink1", + "api-version": "2020-06-01", + "subscriptionId": "subscriptionId", + "parameters": { + "location": "Global", + "tags": { + "key1": "value1" + }, + "properties": { + "virtualNetwork": { + "id": "/subscriptions/virtualNetworkSubscriptionId/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/virtualNetworkName" + }, + "registrationEnabled": false + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/virtualNetworkLinks/virtualNetworkLink1", + "name": "virtualNetworkLink1", + "type": "Microsoft.Network/privateDnsZones/virtualNetworkLinks", + "location": "global", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "virtualNetwork": { + "id": "/subscriptions/virtualNetworkSubscriptionId/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/virtualNetworkName" + }, + "registrationEnabled": false, + "virtualNetworkLinkState": "Completed", + "provisioningState": "Succeeded" + }, + "tags": { + "key1": "value1" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/virtualNetworkLinks/virtualNetworkLink1", + "name": "virtualNetworkLink1", + "type": "Microsoft.Network/privateDnsZones/virtualNetworkLinks", + "location": "global", + "etag": "00000000-0000-0000-0000-000000000000", + "properties": { + "virtualNetwork": { + "id": "/subscriptions/virtualNetworkSubscriptionId/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/virtualNetworkName" + }, + "registrationEnabled": false, + "virtualNetworkLinkState": "Completed", + "provisioningState": "Succeeded" + }, + "tags": { + "key1": "value1" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationResults/asyncOperationId?api-version=2020-06-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationStatuses/asyncOperationId?api-version=2020-06-01", + "Retry-After": "60" + } + } + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/privatedns.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/privatedns.json new file mode 100644 index 000000000000..2b90ca174d7c --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/privatedns.json @@ -0,0 +1,1937 @@ +{ + "swagger": "2.0", + "info": { + "title": "PrivateDnsManagementClient", + "description": "The Private DNS Management Client.", + "version": "2020-06-01" + }, + "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/privateDnsZones/{privateZoneName}": { + "put": { + "tags": [ + "PrivateZones" + ], + "operationId": "PrivateZones_CreateOrUpdate", + "description": "Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records within the zone.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "privateZoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Private DNS zone (without a terminating dot)." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateZone" + }, + "description": "Parameters supplied to the CreateOrUpdate operation." + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "x-ms-client-name": "IfMatch", + "description": "The ETag of the Private DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes." + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "x-ms-client-name": "IfNoneMatch", + "description": "Set to '*' to allow a new Private DNS zone to be created, but to prevent updating an existing zone. Other values will be ignored." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "The Private DNS zone has been created.", + "schema": { + "$ref": "#/definitions/PrivateZone" + } + }, + "200": { + "description": "The Private DNS zone has been updated.", + "schema": { + "$ref": "#/definitions/PrivateZone" + } + }, + "202": { + "description": "The Private DNS zone upsert operation 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": { + "PUT Private DNS Zone": { + "$ref": "./examples/PrivateZonePut.json" + } + } + }, + "patch": { + "tags": [ + "PrivateZones" + ], + "operationId": "PrivateZones_Update", + "description": "Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "privateZoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Private DNS zone (without a terminating dot)." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateZone" + }, + "description": "Parameters supplied to the Update operation." + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "x-ms-client-name": "IfMatch", + "description": "The ETag of the Private DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The Private DNS zone has been updated.", + "schema": { + "$ref": "#/definitions/PrivateZone" + } + }, + "202": { + "description": "The Private DNS zone update operation 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": { + "PATCH Private DNS Zone": { + "$ref": "./examples/PrivateZonePatch.json" + } + } + }, + "delete": { + "tags": [ + "PrivateZones" + ], + "operationId": "PrivateZones_Delete", + "description": "Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to it are removed.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "privateZoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Private DNS zone (without a terminating dot)." + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "x-ms-client-name": "IfMatch", + "description": "The ETag of the Private DNS zone. Omit this value to always delete the current zone. Specify the last-seen ETag value to prevent accidentally deleting any concurrent changes." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The Private DNS zone has been deleted." + }, + "202": { + "description": "The Private DNS zone delete operation has been accepted and will complete asynchronously." + }, + "204": { + "description": "The Private DNS zone 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 Private DNS Zone": { + "$ref": "./examples/PrivateZoneDelete.json" + } + } + }, + "get": { + "tags": [ + "PrivateZones" + ], + "operationId": "PrivateZones_Get", + "description": "Gets a Private DNS zone. Retrieves the zone properties, but not the virtual networks links or the record sets within the zone.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "privateZoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Private DNS zone (without a terminating dot)." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success.", + "schema": { + "$ref": "#/definitions/PrivateZone" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "GET Private DNS Zone": { + "$ref": "./examples/PrivateZoneGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateDnsZones": { + "get": { + "tags": [ + "PrivateZones" + ], + "operationId": "PrivateZones_List", + "description": "Lists the Private DNS zones in all resource groups in a subscription.", + "parameters": [ + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The maximum number of Private DNS zones to return. If not specified, returns up to 100 zones." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success.", + "schema": { + "$ref": "#/definitions/PrivateZoneListResult" + } + }, + "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": { + "GET Private DNS Zone by Subscription": { + "$ref": "./examples/PrivateZoneListInSubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones": { + "get": { + "tags": [ + "PrivateZones" + ], + "operationId": "PrivateZones_ListByResourceGroup", + "description": "Lists the Private DNS zones within a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The maximum number of record sets to return. If not specified, returns up to 100 record sets." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success.", + "schema": { + "$ref": "#/definitions/PrivateZoneListResult" + } + }, + "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": { + "GET Private DNS Zone by Resource Group": { + "$ref": "./examples/PrivateZoneListInResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/virtualNetworkLinks/{virtualNetworkLinkName}": { + "put": { + "tags": [ + "VirtualNetworkLinks" + ], + "operationId": "VirtualNetworkLinks_CreateOrUpdate", + "description": "Creates or updates a virtual network link to the specified Private DNS zone.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "privateZoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Private DNS zone (without a terminating dot)." + }, + { + "name": "virtualNetworkLinkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network link." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkLink" + }, + "description": "Parameters supplied to the CreateOrUpdate operation." + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "x-ms-client-name": "IfMatch", + "description": "The ETag of the virtual network link to the Private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes." + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "x-ms-client-name": "IfNoneMatch", + "description": "Set to '*' to allow a new virtual network link to the Private DNS zone to be created, but to prevent updating an existing link. Other values will be ignored." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "The virtual network link to the Private DNS zone has been created.", + "schema": { + "$ref": "#/definitions/VirtualNetworkLink" + } + }, + "200": { + "description": "The virtual network link to the Private DNS zone has been updated.", + "schema": { + "$ref": "#/definitions/VirtualNetworkLink" + } + }, + "202": { + "description": "The operation to upsert virtual network link to the Private DNS zone 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": { + "PUT Private DNS Zone Virtual Network Link": { + "$ref": "./examples/VirtualNetworkLinkPut.json" + } + } + }, + "patch": { + "tags": [ + "VirtualNetworkLinks" + ], + "operationId": "VirtualNetworkLinks_Update", + "description": "Updates a virtual network link to the specified Private DNS zone.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "privateZoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Private DNS zone (without a terminating dot)." + }, + { + "name": "virtualNetworkLinkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network link." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkLink" + }, + "description": "Parameters supplied to the Update operation." + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "x-ms-client-name": "IfMatch", + "description": "The ETag of the virtual network link to the Private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The virtual network link to the Private DNS zone has been updated.", + "schema": { + "$ref": "#/definitions/VirtualNetworkLink" + } + }, + "202": { + "description": "The operation to link virtual network link to Private DNS zone 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": { + "PATCH Private DNS Zone Virtual Network Link": { + "$ref": "./examples/VirtualNetworkLinkPatch.json" + } + } + }, + "delete": { + "tags": [ + "VirtualNetworkLinks" + ], + "operationId": "VirtualNetworkLinks_Delete", + "description": "Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration virtual network, all auto-registered DNS records in the zone for the virtual network will also be deleted. This operation cannot be undone.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "privateZoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Private DNS zone (without a terminating dot)." + }, + { + "name": "virtualNetworkLinkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network link." + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "x-ms-client-name": "IfMatch", + "description": "The ETag of the virtual network link to the Private DNS zone. Omit this value to always delete the current zone. Specify the last-seen ETag value to prevent accidentally deleting any concurrent changes." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The virtual network link to the Private DNS zone has been deleted." + }, + "202": { + "description": "The operation to delete virtual network link to the Private DNS zone has been accepted and will complete asynchronously." + }, + "204": { + "description": "The virtual network link to the Private DNS zone 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 Private DNS Zone Virtual Network Link": { + "$ref": "./examples/VirtualNetworkLinkDelete.json" + } + } + }, + "get": { + "tags": [ + "VirtualNetworkLinks" + ], + "operationId": "VirtualNetworkLinks_Get", + "description": "Gets a virtual network link to the specified Private DNS zone.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "privateZoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Private DNS zone (without a terminating dot)." + }, + { + "name": "virtualNetworkLinkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network link." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success.", + "schema": { + "$ref": "#/definitions/VirtualNetworkLink" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "GET Private DNS Zone Virtual Network Link": { + "$ref": "./examples/VirtualNetworkLinkGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/virtualNetworkLinks": { + "get": { + "tags": [ + "VirtualNetworkLinks" + ], + "operationId": "VirtualNetworkLinks_List", + "description": "Lists the virtual network links to the specified Private DNS zone.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "privateZoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Private DNS zone (without a terminating dot)." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The maximum number of virtual network links to return. If not specified, returns up to 100 virtual network links." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success.", + "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": { + "Get Private DNS Zone Virtual Network Links": { + "$ref": "./examples/VirtualNetworkLinkList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}/{relativeRecordSetName}": { + "put": { + "tags": [ + "RecordSets" + ], + "operationId": "RecordSets_CreateOrUpdate", + "description": "Creates or updates a record set within a Private DNS zone.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "privateZoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Private DNS zone (without a terminating dot)." + }, + { + "name": "recordType", + "in": "path", + "required": true, + "type": "string", + "description": "The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the Private DNS zone is created).", + "enum": [ + "A", + "AAAA", + "CNAME", + "MX", + "PTR", + "SOA", + "SRV", + "TXT" + ], + "x-ms-enum": { + "name": "RecordType", + "modelAsString": false + } + }, + { + "name": "relativeRecordSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the record set, relative to the name of the zone.", + "x-ms-skip-url-encoding": true + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RecordSet" + }, + "description": "Parameters supplied to the CreateOrUpdate operation." + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "x-ms-client-name": "IfMatch", + "description": "The ETag of the record set. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes." + }, + { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "x-ms-client-name": "IfNoneMatch", + "description": "Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will be ignored." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "The record set has been created.", + "schema": { + "$ref": "#/definitions/RecordSet" + } + }, + "200": { + "description": "The record set has been updated.", + "schema": { + "$ref": "#/definitions/RecordSet" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "PUT Private DNS Zone A Record Set": { + "$ref": "./examples/RecordSetAPut.json" + }, + "PUT Private DNS Zone AAAA Record Set": { + "$ref": "./examples/RecordSetAAAAPut.json" + }, + "PUT Private DNS Zone CNAME Record Set": { + "$ref": "./examples/RecordSetCNAMEPut.json" + }, + "PUT Private DNS Zone MX Record Set": { + "$ref": "./examples/RecordSetMXPut.json" + }, + "PUT Private DNS Zone PTR Record Set": { + "$ref": "./examples/RecordSetPTRPut.json" + }, + "PUT Private DNS Zone SOA Record Set": { + "$ref": "./examples/RecordSetSOAPut.json" + }, + "PUT Private DNS Zone SRV Record Set": { + "$ref": "./examples/RecordSetSRVPut.json" + }, + "PUT Private DNS Zone TXT Record Set": { + "$ref": "./examples/RecordSetTXTPut.json" + } + } + }, + "patch": { + "tags": [ + "RecordSets" + ], + "operationId": "RecordSets_Update", + "description": "Updates a record set within a Private DNS zone.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "privateZoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Private DNS zone (without a terminating dot)." + }, + { + "name": "recordType", + "in": "path", + "required": true, + "type": "string", + "description": "The type of DNS record in this record set.", + "enum": [ + "A", + "AAAA", + "CNAME", + "MX", + "PTR", + "SOA", + "SRV", + "TXT" + ], + "x-ms-enum": { + "name": "RecordType", + "modelAsString": false + } + }, + { + "name": "relativeRecordSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the record set, relative to the name of the zone.", + "x-ms-skip-url-encoding": true + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RecordSet" + }, + "description": "Parameters supplied to the Update operation." + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "x-ms-client-name": "IfMatch", + "description": "The ETag of the record set. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The record set has been updated.", + "schema": { + "$ref": "#/definitions/RecordSet" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "PATCH Private DNS Zone A Record Set": { + "$ref": "./examples/RecordSetAPatch.json" + }, + "PATCH Private DNS Zone AAAA Record Set": { + "$ref": "./examples/RecordSetAAAAPatch.json" + }, + "PATCH Private DNS Zone CNAME Record Set": { + "$ref": "./examples/RecordSetCNAMEPatch.json" + }, + "PATCH Private DNS Zone MX Record Set": { + "$ref": "./examples/RecordSetMXPatch.json" + }, + "PATCH Private DNS Zone PTR Record Set": { + "$ref": "./examples/RecordSetPTRPatch.json" + }, + "PATCH Private DNS Zone SOA Record Set": { + "$ref": "./examples/RecordSetSOAPatch.json" + }, + "PATCH Private DNS Zone SRV Record Set": { + "$ref": "./examples/RecordSetSRVPatch.json" + }, + "PATCH Private DNS Zone TXT Record Set": { + "$ref": "./examples/RecordSetTXTPatch.json" + } + } + }, + "delete": { + "tags": [ + "RecordSets" + ], + "operationId": "RecordSets_Delete", + "description": "Deletes a record set from a Private DNS zone. This operation cannot be undone.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "privateZoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Private DNS zone (without a terminating dot)." + }, + { + "name": "recordType", + "in": "path", + "required": true, + "type": "string", + "description": "The type of DNS record in this record set. Record sets of type SOA cannot be deleted (they are deleted when the Private DNS zone is deleted).", + "enum": [ + "A", + "AAAA", + "CNAME", + "MX", + "PTR", + "SOA", + "SRV", + "TXT" + ], + "x-ms-enum": { + "name": "RecordType", + "modelAsString": false + } + }, + { + "name": "relativeRecordSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the record set, relative to the name of the zone.", + "x-ms-skip-url-encoding": true + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "x-ms-client-name": "IfMatch", + "description": "The ETag of the record set. Omit this value to always delete the current record set. Specify the last-seen ETag value to prevent accidentally deleting any concurrent changes." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The record set has been deleted." + }, + "204": { + "description": "The record set was not found." + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "DELETE Private DNS Zone A Record Set": { + "$ref": "./examples/RecordSetADelete.json" + }, + "DELETE Private DNS Zone AAAA Record Set": { + "$ref": "./examples/RecordSetAAAADelete.json" + }, + "DELETE Private DNS Zone CNAME Record Set": { + "$ref": "./examples/RecordSetCNAMEDelete.json" + }, + "DELETE Private DNS Zone MX Record Set": { + "$ref": "./examples/RecordSetMXDelete.json" + }, + "DELETE Private DNS Zone PTR Record Set": { + "$ref": "./examples/RecordSetPTRDelete.json" + }, + "DELETE Private DNS Zone SRV Record Set": { + "$ref": "./examples/RecordSetSRVDelete.json" + }, + "DELETE Private DNS Zone TXT Record Set": { + "$ref": "./examples/RecordSetTXTDelete.json" + } + } + }, + "get": { + "tags": [ + "RecordSets" + ], + "operationId": "RecordSets_Get", + "description": "Gets a record set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "privateZoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Private DNS zone (without a terminating dot)." + }, + { + "name": "recordType", + "in": "path", + "required": true, + "type": "string", + "description": "The type of DNS record in this record set.", + "enum": [ + "A", + "AAAA", + "CNAME", + "MX", + "PTR", + "SOA", + "SRV", + "TXT" + ], + "x-ms-enum": { + "name": "RecordType", + "modelAsString": false + } + }, + { + "name": "relativeRecordSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the record set, relative to the name of the zone.", + "x-ms-skip-url-encoding": true + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success.", + "schema": { + "$ref": "#/definitions/RecordSet" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "GET Private DNS Zone A Record Set": { + "$ref": "./examples/RecordSetAGet.json" + }, + "GET Private DNS Zone AAAA Record Set": { + "$ref": "./examples/RecordSetAAAAGet.json" + }, + "GET Private DNS Zone CNAME Record Set": { + "$ref": "./examples/RecordSetCNAMEGet.json" + }, + "GET Private DNS Zone MX Record Set": { + "$ref": "./examples/RecordSetMXGet.json" + }, + "GET Private DNS Zone PTR Record Set": { + "$ref": "./examples/RecordSetPTRGet.json" + }, + "GET Private DNS Zone SOA Record Set": { + "$ref": "./examples/RecordSetSOAGet.json" + }, + "GET Private DNS Zone SRV Record Set": { + "$ref": "./examples/RecordSetSRVGet.json" + }, + "GET Private DNS Zone TXT Record Set": { + "$ref": "./examples/RecordSetTXTGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}": { + "get": { + "tags": [ + "RecordSets" + ], + "operationId": "RecordSets_ListByType", + "description": "Lists the record sets of a specified type in a Private DNS zone.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "privateZoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Private DNS zone (without a terminating dot)." + }, + { + "name": "recordType", + "in": "path", + "required": true, + "type": "string", + "description": "The type of record sets to enumerate.", + "enum": [ + "A", + "AAAA", + "CNAME", + "MX", + "PTR", + "SOA", + "SRV", + "TXT" + ], + "x-ms-enum": { + "name": "RecordType", + "modelAsString": false + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The maximum number of record sets to return. If not specified, returns up to 100 record sets." + }, + { + "name": "$recordsetnamesuffix", + "in": "query", + "required": false, + "type": "string", + "description": "The suffix label of the record set name to be used to filter the record set enumeration. If this parameter is specified, the returned enumeration will only contain records that end with \".\"." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success.", + "schema": { + "$ref": "#/definitions/RecordSetListResult" + } + }, + "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": { + "GET Private DNS Zone A Record Sets": { + "$ref": "./examples/RecordSetAList.json" + }, + "GET Private DNS Zone AAAA Record Sets": { + "$ref": "./examples/RecordSetAAAAList.json" + }, + "GET Private DNS Zone CNAME Record Sets": { + "$ref": "./examples/RecordSetCNAMEList.json" + }, + "GET Private DNS Zone MX Record Sets": { + "$ref": "./examples/RecordSetMXList.json" + }, + "GET Private DNS Zone PTR Record Sets": { + "$ref": "./examples/RecordSetPTRList.json" + }, + "GET Private DNS Zone SOA Record Sets": { + "$ref": "./examples/RecordSetSOAList.json" + }, + "GET Private DNS Zone SRV Record Sets": { + "$ref": "./examples/RecordSetSRVList.json" + }, + "GET Private DNS Zone TXT Record Sets": { + "$ref": "./examples/RecordSetTXTList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/ALL": { + "get": { + "tags": [ + "RecordSets" + ], + "operationId": "RecordSets_List", + "description": "Lists all record sets in a Private DNS zone.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "privateZoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Private DNS zone (without a terminating dot)." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The maximum number of record sets to return. If not specified, returns up to 100 record sets." + }, + { + "name": "$recordsetnamesuffix", + "in": "query", + "required": false, + "type": "string", + "description": "The suffix label of the record set name to be used to filter the record set enumeration. If this parameter is specified, the returned enumeration will only contain records that end with \".\"." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success.", + "schema": { + "$ref": "#/definitions/RecordSetListResult" + } + }, + "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": { + "GET Private DNS Zone ALL Record Sets": { + "$ref": "./examples/RecordSetALLList.json" + } + } + } + } + }, + "definitions": { + "PrivateZoneProperties": { + "properties": { + "maxNumberOfRecordSets": { + "type": "integer", + "format": "int64", + "description": "The maximum number of record sets that can be created in this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.", + "readOnly": true + }, + "numberOfRecordSets": { + "type": "integer", + "format": "int64", + "description": "The current number of record sets in this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.", + "readOnly": true + }, + "maxNumberOfVirtualNetworkLinks": { + "type": "integer", + "format": "int64", + "description": "The maximum number of virtual networks that can be linked to this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.", + "readOnly": true + }, + "numberOfVirtualNetworkLinks": { + "type": "integer", + "format": "int64", + "description": "The current number of virtual networks that are linked to this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.", + "readOnly": true + }, + "maxNumberOfVirtualNetworkLinksWithRegistration": { + "type": "integer", + "format": "int64", + "description": "The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled. This is a read-only property and any attempt to set this value will be ignored.", + "readOnly": true + }, + "numberOfVirtualNetworkLinksWithRegistration": { + "type": "integer", + "format": "int64", + "description": "The current number of virtual networks that are linked to this Private DNS zone with registration enabled. This is a read-only property and any attempt to set this value will be ignored.", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "description": "The provisioning state of the resource. This is a read-only property and any attempt to set this value will be ignored.", + "readOnly": true + }, + "internalId": { + "type": "string", + "description": "Private zone internal Id", + "readOnly": true + } + }, + "description": "Represents the properties of the Private DNS zone." + }, + "PrivateZone": { + "properties": { + "etag": { + "type": "string", + "description": "The ETag of the zone." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PrivateZoneProperties", + "description": "Properties of the Private DNS zone." + } + }, + "allOf": [ + { + "$ref": "#/definitions/TrackedResource" + } + ], + "description": "Describes a Private DNS zone." + }, + "PrivateZoneListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateZone" + }, + "description": "Information about the Private DNS zones." + }, + "nextLink": { + "type": "string", + "description": "The continuation token for the next page of results.", + "readOnly": true + } + }, + "description": "The response to a Private DNS zone list operation." + }, + "VirtualNetworkLinkProperties": { + "properties": { + "virtualNetwork": { + "$ref": "#/definitions/SubResource", + "description": "The reference of the virtual network." + }, + "registrationEnabled": { + "type": "boolean", + "description": "Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled?" + }, + "virtualNetworkLinkState": { + "type": "string", + "description": "The status of the virtual network link to the Private DNS zone. Possible values are 'InProgress' and 'Done'. This is a read-only property and any attempt to set this value will be ignored.", + "enum": [ + "InProgress", + "Completed" + ], + "x-ms-enum": { + "name": "VirtualNetworkLinkState", + "modelAsString": true + }, + "readOnly": true + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "description": "The provisioning state of the resource. This is a read-only property and any attempt to set this value will be ignored.", + "readOnly": true + } + }, + "description": "Represents the properties of the Private DNS zone." + }, + "VirtualNetworkLink": { + "properties": { + "etag": { + "type": "string", + "description": "The ETag of the virtual network link." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/VirtualNetworkLinkProperties", + "description": "Properties of the virtual network link to the Private DNS zone." + } + }, + "allOf": [ + { + "$ref": "#/definitions/TrackedResource" + } + ], + "description": "Describes a link to virtual network for a Private DNS zone." + }, + "VirtualNetworkLinkListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetworkLink" + }, + "description": "Information about the virtual network links to the Private DNS zones." + }, + "nextLink": { + "type": "string", + "description": "The continuation token for the next page of results.", + "readOnly": true + } + }, + "description": "The response to a list virtual network link to Private DNS zone operation." + }, + "ARecord": { + "properties": { + "ipv4Address": { + "type": "string", + "description": "The IPv4 address of this A record." + } + }, + "description": "An A record." + }, + "AaaaRecord": { + "properties": { + "ipv6Address": { + "type": "string", + "description": "The IPv6 address of this AAAA record." + } + }, + "description": "An AAAA record." + }, + "CnameRecord": { + "properties": { + "cname": { + "type": "string", + "description": "The canonical name for this CNAME record." + } + }, + "description": "A CNAME record." + }, + "MxRecord": { + "properties": { + "preference": { + "type": "integer", + "format": "int32", + "description": "The preference value for this MX record." + }, + "exchange": { + "type": "string", + "description": "The domain name of the mail host for this MX record." + } + }, + "description": "An MX record." + }, + "PtrRecord": { + "properties": { + "ptrdname": { + "type": "string", + "description": "The PTR target domain name for this PTR record." + } + }, + "description": "A PTR record." + }, + "SoaRecord": { + "properties": { + "host": { + "type": "string", + "description": "The domain name of the authoritative name server for this SOA record." + }, + "email": { + "type": "string", + "description": "The email contact for this SOA record." + }, + "serialNumber": { + "type": "integer", + "format": "int64", + "description": "The serial number for this SOA record." + }, + "refreshTime": { + "type": "integer", + "format": "int64", + "description": "The refresh value for this SOA record." + }, + "retryTime": { + "type": "integer", + "format": "int64", + "description": "The retry time for this SOA record." + }, + "expireTime": { + "type": "integer", + "format": "int64", + "description": "The expire time for this SOA record." + }, + "minimumTtl": { + "type": "integer", + "format": "int64", + "description": "The minimum value for this SOA record. By convention this is used to determine the negative caching duration." + } + }, + "description": "An SOA record." + }, + "SrvRecord": { + "properties": { + "priority": { + "type": "integer", + "format": "int32", + "description": "The priority value for this SRV record." + }, + "weight": { + "type": "integer", + "format": "int32", + "description": "The weight value for this SRV record." + }, + "port": { + "type": "integer", + "format": "int32", + "description": "The port value for this SRV record." + }, + "target": { + "type": "string", + "description": "The target domain name for this SRV record." + } + }, + "description": "An SRV record." + }, + "TxtRecord": { + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The text value of this TXT record." + } + }, + "description": "A TXT record." + }, + "RecordSetProperties": { + "properties": { + "metadata": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The metadata attached to the record set." + }, + "ttl": { + "type": "integer", + "format": "int64", + "description": "The TTL (time-to-live) of the records in the record set." + }, + "fqdn": { + "type": "string", + "description": "Fully qualified domain name of the record set.", + "readOnly": true + }, + "isAutoRegistered": { + "type": "boolean", + "description": "Is the record set auto-registered in the Private DNS zone through a virtual network link?", + "readOnly": true + }, + "aRecords": { + "type": "array", + "items": { + "$ref": "#/definitions/ARecord" + }, + "x-ms-identifiers": [ + "ipv4Address" + ], + "description": "The list of A records in the record set." + }, + "aaaaRecords": { + "type": "array", + "items": { + "$ref": "#/definitions/AaaaRecord" + }, + "x-ms-identifiers": [ + "ipv6Address" + ], + "description": "The list of AAAA records in the record set." + }, + "cnameRecord": { + "$ref": "#/definitions/CnameRecord", + "description": "The CNAME record in the record set." + }, + "mxRecords": { + "type": "array", + "items": { + "$ref": "#/definitions/MxRecord" + }, + "x-ms-identifiers": [], + "description": "The list of MX records in the record set." + }, + "ptrRecords": { + "type": "array", + "items": { + "$ref": "#/definitions/PtrRecord" + }, + "x-ms-identifiers": [], + "description": "The list of PTR records in the record set." + }, + "soaRecord": { + "$ref": "#/definitions/SoaRecord", + "description": "The SOA record in the record set." + }, + "srvRecords": { + "type": "array", + "items": { + "$ref": "#/definitions/SrvRecord" + }, + "x-ms-identifiers": [], + "description": "The list of SRV records in the record set." + }, + "txtRecords": { + "type": "array", + "items": { + "$ref": "#/definitions/TxtRecord" + }, + "x-ms-identifiers": [], + "description": "The list of TXT records in the record set." + } + }, + "description": "Represents the properties of the records in the record set." + }, + "RecordSet": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the record set.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The name of the record set.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "The type of the record set.", + "readOnly": true + }, + "etag": { + "type": "string", + "description": "The ETag of the record set." + }, + "properties": { + "$ref": "#/definitions/RecordSetProperties", + "x-ms-client-flatten": true, + "description": "The properties of the record set." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "description": "Describes a DNS record set (a collection of DNS records with the same name and type) in a Private DNS zone." + }, + "RecordSetListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RecordSet" + }, + "description": "Information about the record sets in the response." + }, + "nextLink": { + "type": "string", + "description": "The continuation token for the next page of results.", + "readOnly": true + } + }, + "description": "The response to a record set list operation." + }, + "Resource": { + "description": "The core properties of ARM resources", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the resource" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "The type of the resource. Example - 'Microsoft.Network/privateDnsZones'." + } + }, + "x-ms-azure-resource": true + }, + "TrackedResource": { + "description": "The resource model definition for a ARM tracked top level resource", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Resource tags." + }, + "location": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "The Azure Region where the resource lives" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "ProxyResource": { + "description": "The resource model definition for an ARM proxy resource.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "SubResource": { + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + } + }, + "description": "Reference to another subresource.", + "x-ms-azure-resource": true + }, + "CloudError": { + "type": "object", + "x-ms-external": true, + "properties": { + "error": { + "$ref": "#/definitions/CloudErrorBody", + "description": "Cloud error body." + } + }, + "description": "An error response from the service." + }, + "CloudErrorBody": { + "type": "object", + "x-ms-external": true, + "properties": { + "code": { + "type": "string", + "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." + }, + "message": { + "type": "string", + "description": "A message describing the error, intended to be suitable for display in a user interface." + }, + "target": { + "type": "string", + "description": "The target of the particular error. For example, the name of the property in error." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/CloudErrorBody" + }, + "x-ms-identifiers": [ + "code" + ], + "description": "A list of additional details about the error." + } + }, + "description": "An error response from the service." + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + } + } +} From 0ebdc78c9d2bf020990c4182f395a3cc99c3ead1 Mon Sep 17 00:00:00 2001 From: Pranav Nair Date: Mon, 17 Jun 2024 13:45:39 -0700 Subject: [PATCH 2/5] Replace 2020-06-01 with 2024-06-01 in cloned directory --- .../stable/2024-06-01/examples/PrivateZoneDelete.json | 6 +++--- .../stable/2024-06-01/examples/PrivateZoneGet.json | 2 +- .../2024-06-01/examples/PrivateZoneListInResourceGroup.json | 4 ++-- .../2024-06-01/examples/PrivateZoneListInSubscription.json | 4 ++-- .../stable/2024-06-01/examples/PrivateZonePatch.json | 6 +++--- .../stable/2024-06-01/examples/PrivateZonePut.json | 6 +++--- .../stable/2024-06-01/examples/RecordSetAAAADelete.json | 2 +- .../stable/2024-06-01/examples/RecordSetAAAAGet.json | 2 +- .../stable/2024-06-01/examples/RecordSetAAAAList.json | 4 ++-- .../stable/2024-06-01/examples/RecordSetAAAAPatch.json | 2 +- .../stable/2024-06-01/examples/RecordSetAAAAPut.json | 2 +- .../stable/2024-06-01/examples/RecordSetADelete.json | 2 +- .../stable/2024-06-01/examples/RecordSetAGet.json | 2 +- .../stable/2024-06-01/examples/RecordSetALLList.json | 4 ++-- .../stable/2024-06-01/examples/RecordSetAList.json | 4 ++-- .../stable/2024-06-01/examples/RecordSetAPatch.json | 2 +- .../stable/2024-06-01/examples/RecordSetAPut.json | 2 +- .../stable/2024-06-01/examples/RecordSetCNAMEDelete.json | 2 +- .../stable/2024-06-01/examples/RecordSetCNAMEGet.json | 2 +- .../stable/2024-06-01/examples/RecordSetCNAMEList.json | 2 +- .../stable/2024-06-01/examples/RecordSetCNAMEPatch.json | 2 +- .../stable/2024-06-01/examples/RecordSetCNAMEPut.json | 2 +- .../stable/2024-06-01/examples/RecordSetMXDelete.json | 2 +- .../stable/2024-06-01/examples/RecordSetMXGet.json | 2 +- .../stable/2024-06-01/examples/RecordSetMXList.json | 4 ++-- .../stable/2024-06-01/examples/RecordSetMXPatch.json | 2 +- .../stable/2024-06-01/examples/RecordSetMXPut.json | 2 +- .../stable/2024-06-01/examples/RecordSetPTRDelete.json | 2 +- .../stable/2024-06-01/examples/RecordSetPTRGet.json | 2 +- .../stable/2024-06-01/examples/RecordSetPTRList.json | 4 ++-- .../stable/2024-06-01/examples/RecordSetPTRPatch.json | 2 +- .../stable/2024-06-01/examples/RecordSetPTRPut.json | 2 +- .../stable/2024-06-01/examples/RecordSetSOAGet.json | 2 +- .../stable/2024-06-01/examples/RecordSetSOAList.json | 2 +- .../stable/2024-06-01/examples/RecordSetSOAPatch.json | 2 +- .../stable/2024-06-01/examples/RecordSetSOAPut.json | 2 +- .../stable/2024-06-01/examples/RecordSetSRVDelete.json | 2 +- .../stable/2024-06-01/examples/RecordSetSRVGet.json | 2 +- .../stable/2024-06-01/examples/RecordSetSRVList.json | 4 ++-- .../stable/2024-06-01/examples/RecordSetSRVPatch.json | 2 +- .../stable/2024-06-01/examples/RecordSetSRVPut.json | 2 +- .../stable/2024-06-01/examples/RecordSetTXTDelete.json | 2 +- .../stable/2024-06-01/examples/RecordSetTXTGet.json | 2 +- .../stable/2024-06-01/examples/RecordSetTXTList.json | 4 ++-- .../stable/2024-06-01/examples/RecordSetTXTPatch.json | 2 +- .../stable/2024-06-01/examples/RecordSetTXTPut.json | 2 +- .../2024-06-01/examples/VirtualNetworkLinkDelete.json | 6 +++--- .../stable/2024-06-01/examples/VirtualNetworkLinkGet.json | 2 +- .../stable/2024-06-01/examples/VirtualNetworkLinkList.json | 4 ++-- .../stable/2024-06-01/examples/VirtualNetworkLinkPatch.json | 6 +++--- .../stable/2024-06-01/examples/VirtualNetworkLinkPut.json | 6 +++--- .../Microsoft.Network/stable/2024-06-01/privatedns.json | 2 +- 52 files changed, 74 insertions(+), 74 deletions(-) diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneDelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneDelete.json index bc794b59644e..293b3da1fa54 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneDelete.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneDelete.json @@ -2,7 +2,7 @@ "parameters": { "resourceGroupName": "resourceGroup1", "privateZoneName": "privatezone1.com", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { @@ -10,8 +10,8 @@ "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationResults/asyncOperationId?api-version=2020-06-01", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationStatuses/asyncOperationId?api-version=2020-06-01", + "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationResults/asyncOperationId?api-version=2024-06-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationStatuses/asyncOperationId?api-version=2024-06-01", "Retry-After": "60" } } diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneGet.json index 0b75ef89289d..a17f37baf68c 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneGet.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneGet.json @@ -2,7 +2,7 @@ "parameters": { "resourceGroupName": "resourceGroup1", "privateZoneName": "privatezone1.com", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneListInResourceGroup.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneListInResourceGroup.json index 8475aec688c1..c078c96d3893 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneListInResourceGroup.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneListInResourceGroup.json @@ -1,13 +1,13 @@ { "parameters": { "resourceGroupName": "resourceGroup1", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones?api-version=2020-06-01&$skipToken=skipToken", + "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones?api-version=2024-06-01&$skipToken=skipToken", "value": [ { "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com", diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneListInSubscription.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneListInSubscription.json index 07bf87c22cbe..2d50019ad46d 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneListInSubscription.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZoneListInSubscription.json @@ -1,12 +1,12 @@ { "parameters": { - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.Network/privateDnsZones?api-version=2020-06-01&$skipToken=skipToken", + "nextLink": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.Network/privateDnsZones?api-version=2024-06-01&$skipToken=skipToken", "value": [ { "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com", diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZonePatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZonePatch.json index 089734d8f3f6..63d772233814 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZonePatch.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZonePatch.json @@ -2,7 +2,7 @@ "parameters": { "resourceGroupName": "resourceGroup1", "privateZoneName": "privatezone1.com", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId", "parameters": { "tags": { @@ -34,8 +34,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationResults/asyncOperationId?api-version=2020-06-01", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationStatuses/asyncOperationId?api-version=2020-06-01", + "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationResults/asyncOperationId?api-version=2024-06-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationStatuses/asyncOperationId?api-version=2024-06-01", "Retry-After": "60" } } diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZonePut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZonePut.json index bce2853f3556..00262b80d9e4 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZonePut.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/PrivateZonePut.json @@ -2,7 +2,7 @@ "parameters": { "resourceGroupName": "resourceGroup1", "privateZoneName": "privatezone1.com", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId", "parameters": { "location": "Global", @@ -56,8 +56,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationResults/asyncOperationId?api-version=2020-06-01", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationStatuses/asyncOperationId?api-version=2020-06-01", + "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationResults/asyncOperationId?api-version=2024-06-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationStatuses/asyncOperationId?api-version=2024-06-01", "Retry-After": "60" } } diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAADelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAADelete.json index 21ad456fd007..ac4526f77c52 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAADelete.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAADelete.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "AAAA", "relativeRecordSetName": "recordAAAA", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAGet.json index 7c7a8ce28468..c634d9dbfd16 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAGet.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAGet.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "AAAA", "relativeRecordSetName": "recordAAAA", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAList.json index ef06d89e6257..ca5f657beab5 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAList.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAList.json @@ -3,13 +3,13 @@ "resourceGroupName": "resourceGroup1", "privateZoneName": "privatezone1.com", "recordType": "AAAA", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/AAAA?api-version=2020-06-01&$skipToken=skipToken", + "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/AAAA?api-version=2024-06-01&$skipToken=skipToken", "value": [ { "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/AAAA/recordaaaa1", diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAPatch.json index 40d41ab4509a..a884ebaeef40 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAPatch.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAPatch.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "AAAA", "relativeRecordSetName": "recordAAAA", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId", "parameters": { "properties": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAPut.json index a88aeaf1cbc0..65221307b3f8 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAPut.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAAAAPut.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "AAAA", "relativeRecordSetName": "recordAAAA", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId", "parameters": { "properties": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetADelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetADelete.json index e08dec347f5e..fe40553dfbf5 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetADelete.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetADelete.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "A", "relativeRecordSetName": "recordA", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAGet.json index 1937250c3324..d79dac05d54c 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAGet.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAGet.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "A", "relativeRecordSetName": "recordA", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetALLList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetALLList.json index 9fe3675a4520..b7f9ab5fd704 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetALLList.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetALLList.json @@ -2,13 +2,13 @@ "parameters": { "resourceGroupName": "resourceGroup1", "privateZoneName": "privatezone1.com", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/ALL?api-version=2020-06-01&$skipToken=skipToken", + "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/ALL?api-version=2024-06-01&$skipToken=skipToken", "value": [ { "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/A/recorda", diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAList.json index dcbf2738500e..29aa487d5ea0 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAList.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAList.json @@ -3,13 +3,13 @@ "resourceGroupName": "resourceGroup1", "privateZoneName": "privatezone1.com", "recordType": "A", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/A?api-version=2020-06-01&$skipToken=skipToken", + "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/A?api-version=2024-06-01&$skipToken=skipToken", "value": [ { "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/A/recorda1", diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAPatch.json index ffdd63ab37ad..ecb5a9e7c6a0 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAPatch.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAPatch.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "A", "relativeRecordSetName": "recordA", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId", "parameters": { "properties": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAPut.json index 62c1cd234a71..0c23419d77f4 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAPut.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetAPut.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "A", "relativeRecordSetName": "recordA", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId", "parameters": { "properties": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEDelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEDelete.json index 34c4104e5d3b..f57b7524c7c0 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEDelete.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEDelete.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "CNAME", "relativeRecordSetName": "recordCNAME", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEGet.json index 2f2aab9e503e..2df8df7a4ba8 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEGet.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEGet.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "CNAME", "relativeRecordSetName": "recordCNAME", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEList.json index fecaa9bda1f7..170d3eb94b16 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEList.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEList.json @@ -3,7 +3,7 @@ "resourceGroupName": "resourceGroup1", "privateZoneName": "privatezone1.com", "recordType": "CNAME", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEPatch.json index b09b528d4c7a..bce3da0a9512 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEPatch.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEPatch.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "CNAME", "relativeRecordSetName": "recordCNAME", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId", "parameters": { "properties": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEPut.json index f5ef59130006..64ea5d4375ed 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEPut.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetCNAMEPut.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "CNAME", "relativeRecordSetName": "recordCNAME", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId", "parameters": { "properties": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXDelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXDelete.json index ec67f25a160a..2fe802130034 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXDelete.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXDelete.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "MX", "relativeRecordSetName": "recordMX", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXGet.json index 543147a500fc..38b48dc703e4 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXGet.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXGet.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "MX", "relativeRecordSetName": "recordMX", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXList.json index c2f295b6c41c..1400f59ae0be 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXList.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXList.json @@ -3,13 +3,13 @@ "resourceGroupName": "resourceGroup1", "privateZoneName": "privatezone1.com", "recordType": "MX", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/MX?api-version=2020-06-01&$skipToken=skipToken", + "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/MX?api-version=2024-06-01&$skipToken=skipToken", "value": [ { "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/MX/recordmx1", diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXPatch.json index df1f6112bf44..588fc80fa15d 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXPatch.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXPatch.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "MX", "relativeRecordSetName": "recordMX", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId", "parameters": { "properties": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXPut.json index 58f7c136e5c7..cea14eedec2a 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXPut.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetMXPut.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "MX", "relativeRecordSetName": "recordMX", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId", "parameters": { "properties": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRDelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRDelete.json index b0c97091c99b..acb596137da3 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRDelete.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRDelete.json @@ -4,7 +4,7 @@ "privateZoneName": "0.0.127.in-addr.arpa", "recordType": "PTR", "relativeRecordSetName": "1", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRGet.json index bde02bcfd892..ef8fd5f4e5a6 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRGet.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRGet.json @@ -4,7 +4,7 @@ "privateZoneName": "0.0.127.in-addr.arpa", "recordType": "PTR", "relativeRecordSetName": "1", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRList.json index 5bfb9e414a35..a2eb197968c6 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRList.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRList.json @@ -3,13 +3,13 @@ "resourceGroupName": "resourceGroup1", "privateZoneName": "0.0.127.in-addr.arpa", "recordType": "PTR", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/PTR?api-version=2020-06-01&$skipToken=skipToken", + "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/PTR?api-version=2024-06-01&$skipToken=skipToken", "value": [ { "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/0.0.127.in-addr.arpa/PTR/1", diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRPatch.json index ddaf32721870..69c9e435ed16 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRPatch.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRPatch.json @@ -4,7 +4,7 @@ "privateZoneName": "0.0.127.in-addr.arpa", "recordType": "PTR", "relativeRecordSetName": "1", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId", "parameters": { "properties": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRPut.json index ba134ce5e005..612453585f6b 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRPut.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetPTRPut.json @@ -4,7 +4,7 @@ "privateZoneName": "0.0.127.in-addr.arpa", "recordType": "PTR", "relativeRecordSetName": "1", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId", "parameters": { "properties": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAGet.json index d8689a8c114c..15419db68f02 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAGet.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAGet.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "SOA", "relativeRecordSetName": "@", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAList.json index 8d246286ed5c..c9123b755074 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAList.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAList.json @@ -3,7 +3,7 @@ "resourceGroupName": "resourceGroup1", "privateZoneName": "privatezone1.com", "recordType": "SOA", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAPatch.json index 10021dac0cfc..8159ae2e8d53 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAPatch.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAPatch.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "SOA", "relativeRecordSetName": "@", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId", "parameters": { "properties": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAPut.json index 0fc49f15c064..cbdfc6167e0e 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAPut.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAPut.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "SOA", "relativeRecordSetName": "@", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId", "parameters": { "properties": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVDelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVDelete.json index e7f74c3a2265..48d5e5e92f8d 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVDelete.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVDelete.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "SRV", "relativeRecordSetName": "recordSRV", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVGet.json index 8b7bba8bf7a5..0f2118490b0b 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVGet.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVGet.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "SRV", "relativeRecordSetName": "recordSRV", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVList.json index 5b73b31be8f6..6031c9ed75c8 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVList.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVList.json @@ -3,13 +3,13 @@ "resourceGroupName": "resourceGroup1", "privateZoneName": "privatezone1.com", "recordType": "SRV", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/SRV?api-version=2020-06-01&$skipToken=skipToken", + "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/SRV?api-version=2024-06-01&$skipToken=skipToken", "value": [ { "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/SRV/recordsrv", diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVPatch.json index 1e2adb8c5431..6bc99f37b1b2 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVPatch.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVPatch.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "SRV", "relativeRecordSetName": "recordSRV", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId", "parameters": { "properties": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVPut.json index 1f3b1d10b8c9..7df086e6153f 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVPut.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSRVPut.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "SRV", "relativeRecordSetName": "recordSRV", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId", "parameters": { "properties": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTDelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTDelete.json index 53c203fac343..9b976a8d6e0d 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTDelete.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTDelete.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "TXT", "relativeRecordSetName": "recordTXT", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTGet.json index b56c97b01118..74ed545530ad 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTGet.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTGet.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "TXT", "relativeRecordSetName": "recordTXT", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTList.json index 186432655ad4..7b2d4e4f0340 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTList.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTList.json @@ -3,13 +3,13 @@ "resourceGroupName": "resourceGroup1", "privateZoneName": "privatezone1.com", "recordType": "TXT", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/TXT?api-version=2020-06-01&$skipToken=skipToken", + "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/TXT?api-version=2024-06-01&$skipToken=skipToken", "value": [ { "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/TXT/recordtxt", diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTPatch.json index 06d24e7bb703..f9bfcad40248 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTPatch.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTPatch.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "TXT", "relativeRecordSetName": "recordTXT", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId", "parameters": { "properties": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTPut.json index b02e6a67306f..000b10b521fb 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTPut.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetTXTPut.json @@ -4,7 +4,7 @@ "privateZoneName": "privatezone1.com", "recordType": "TXT", "relativeRecordSetName": "recordTXT", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId", "parameters": { "properties": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkDelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkDelete.json index 576ed97f3cca..97d8f034483e 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkDelete.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkDelete.json @@ -3,7 +3,7 @@ "resourceGroupName": "resourceGroup1", "privateZoneName": "privatezone1.com", "virtualNetworkLinkName": "virtualNetworkLink1", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { @@ -11,8 +11,8 @@ "204": {}, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationResults/asyncOperationId?api-version=2020-06-01", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationStatuses/asyncOperationId?api-version=2020-06-01", + "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationResults/asyncOperationId?api-version=2024-06-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationStatuses/asyncOperationId?api-version=2024-06-01", "Retry-After": "60" } } diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkGet.json index 50fee31d4cb4..da23d99350d1 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkGet.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkGet.json @@ -3,7 +3,7 @@ "resourceGroupName": "resourceGroup1", "privateZoneName": "privatezone1.com", "virtualNetworkLinkName": "virtualNetworkLink1", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkList.json index 6d6a050789f9..13283ec34d47 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkList.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkList.json @@ -2,13 +2,13 @@ "parameters": { "resourceGroupName": "resourceGroup1", "privateZoneName": "privatezone1.com", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/virtualNetworkLinks?api-version=2020-06-01&$skipToken=skipToken", + "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/virtualNetworkLinks?api-version=2024-06-01&$skipToken=skipToken", "value": [ { "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/virtualNetworkLinks/virtualNetworkLink1", diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPatch.json index 9911bdac0d58..afe544f07d8a 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPatch.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPatch.json @@ -3,7 +3,7 @@ "resourceGroupName": "resourceGroup1", "privateZoneName": "privatezone1.com", "virtualNetworkLinkName": "virtualNetworkLink1", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId", "parameters": { "tags": { @@ -37,8 +37,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationResults/asyncOperationId?api-version=2020-06-01", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationStatuses/asyncOperationId?api-version=2020-06-01", + "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationResults/asyncOperationId?api-version=2024-06-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationStatuses/asyncOperationId?api-version=2024-06-01", "Retry-After": "60" } } diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPut.json index feeedb9bf362..45be026b032f 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPut.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPut.json @@ -3,7 +3,7 @@ "resourceGroupName": "resourceGroup1", "privateZoneName": "privatezone1.com", "virtualNetworkLinkName": "virtualNetworkLink1", - "api-version": "2020-06-01", + "api-version": "2024-06-01", "subscriptionId": "subscriptionId", "parameters": { "location": "Global", @@ -61,8 +61,8 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationResults/asyncOperationId?api-version=2020-06-01", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationStatuses/asyncOperationId?api-version=2020-06-01", + "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationResults/asyncOperationId?api-version=2024-06-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsOperationStatuses/asyncOperationId?api-version=2024-06-01", "Retry-After": "60" } } diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/privatedns.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/privatedns.json index 2b90ca174d7c..51620f235c5b 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/privatedns.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/privatedns.json @@ -3,7 +3,7 @@ "info": { "title": "PrivateDnsManagementClient", "description": "The Private DNS Management Client.", - "version": "2020-06-01" + "version": "2024-06-01" }, "host": "management.azure.com", "schemes": [ From 30eab91bb78cb39a7ce28e7bd33647484841094f Mon Sep 17 00:00:00 2001 From: Pranav Nair Date: Mon, 17 Jun 2024 13:47:55 -0700 Subject: [PATCH 3/5] Add nxdomainRedirect property to VirtualNetworkLink resource --- .../stable/2024-06-01/examples/VirtualNetworkLinkGet.json | 1 + .../stable/2024-06-01/examples/VirtualNetworkLinkList.json | 2 ++ .../stable/2024-06-01/examples/VirtualNetworkLinkPatch.json | 4 +++- .../stable/2024-06-01/examples/VirtualNetworkLinkPut.json | 5 ++++- .../Microsoft.Network/stable/2024-06-01/privatedns.json | 4 ++++ 5 files changed, 14 insertions(+), 2 deletions(-) diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkGet.json index da23d99350d1..0dc5d6a9104c 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkGet.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkGet.json @@ -19,6 +19,7 @@ "id": "/subscriptions/virtualNetworkSubscriptionId/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/virtualNetworkName" }, "registrationEnabled": false, + "nxdomainRedirect": false, "virtualNetworkLinkState": "Completed", "provisioningState": "Succeeded" }, diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkList.json index 13283ec34d47..e66e22da71da 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkList.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkList.json @@ -21,6 +21,7 @@ "id": "/subscriptions/virtualNetworkSubscriptionId/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/virtualNetworkName" }, "registrationEnabled": false, + "nxdomainRedirect": false, "virtualNetworkLinkState": "Completed", "provisioningState": "Succeeded" }, @@ -39,6 +40,7 @@ "id": "/subscriptions/virtualNetworkSubscriptionId/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/virtualNetworkName" }, "registrationEnabled": true, + "nxdomainRedirect": true, "virtualNetworkLinkState": "InProgress", "provisioningState": "Succeeded" } diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPatch.json index afe544f07d8a..cb7b6cef46b3 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPatch.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPatch.json @@ -10,7 +10,8 @@ "key2": "value2" }, "properties": { - "registrationEnabled": true + "registrationEnabled": true, + "nxdomainRedirect": false } } }, @@ -27,6 +28,7 @@ "id": "/subscriptions/virtualNetworkSubscriptionId/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/virtualNetworkName" }, "registrationEnabled": true, + "nxdomainRedirect": false, "virtualNetworkLinkState": "Completed", "provisioningState": "Succeeded" }, diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPut.json index 45be026b032f..2e1ba896fd3a 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPut.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPut.json @@ -14,7 +14,8 @@ "virtualNetwork": { "id": "/subscriptions/virtualNetworkSubscriptionId/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/virtualNetworkName" }, - "registrationEnabled": false + "registrationEnabled": false, + "nxdomainRedirect": false } } }, @@ -31,6 +32,7 @@ "id": "/subscriptions/virtualNetworkSubscriptionId/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/virtualNetworkName" }, "registrationEnabled": false, + "nxdomainRedirect": false, "virtualNetworkLinkState": "Completed", "provisioningState": "Succeeded" }, @@ -51,6 +53,7 @@ "id": "/subscriptions/virtualNetworkSubscriptionId/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/virtualNetworkName" }, "registrationEnabled": false, + "nxdomainRedirect": false, "virtualNetworkLinkState": "Completed", "provisioningState": "Succeeded" }, diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/privatedns.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/privatedns.json index 51620f235c5b..415132796073 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/privatedns.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/privatedns.json @@ -1477,6 +1477,10 @@ "type": "boolean", "description": "Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled?" }, + "nxdomainRedirect": { + "type": "boolean", + "description": "When enabled, falls back to public resolution if private dns query resolution for resources configured with privatelink results in non-existent domain response" + }, "virtualNetworkLinkState": { "type": "string", "description": "The status of the virtual network link to the Private DNS zone. Possible values are 'InProgress' and 'Done'. This is a read-only property and any attempt to set this value will be ignored.", From 4c4af2588ee76c4ba1f7fdbdf1173bbb7c851656 Mon Sep 17 00:00:00 2001 From: Pranav Nair Date: Mon, 17 Jun 2024 13:51:03 -0700 Subject: [PATCH 4/5] Updated readme files and fixed various warnings/errors --- .../2024-06-01/examples/RecordSetSOAPut.json | 4 +- .../privatedns/resource-manager/readme.go.md | 12 +++++- .../privatedns/resource-manager/readme.md | 37 +++++++++++++++++-- .../resource-manager/readme.nodejs.md | 14 +++++++ .../resource-manager/readme.python.md | 2 - .../resource-manager/readme.ruby.md | 13 ++++++- 6 files changed, 72 insertions(+), 10 deletions(-) create mode 100644 specification/privatedns/resource-manager/readme.nodejs.md diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAPut.json index cbdfc6167e0e..0a774dc7c39a 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAPut.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/RecordSetSOAPut.json @@ -19,7 +19,7 @@ "refreshTime": 3600, "retryTime": 300, "expireTime": 2419200, - "minimumTTL": 300 + "minimumTtl": 300 } } } @@ -45,7 +45,7 @@ "refreshTime": 3600, "retryTime": 300, "expireTime": 2419200, - "minimumTTL": 300 + "minimumTtl": 300 } } } diff --git a/specification/privatedns/resource-manager/readme.go.md b/specification/privatedns/resource-manager/readme.go.md index fda918b8f833..befe899c4cd3 100644 --- a/specification/privatedns/resource-manager/readme.go.md +++ b/specification/privatedns/resource-manager/readme.go.md @@ -19,11 +19,21 @@ azure-arm: true ### Go multi-api -``` yaml $(go) && $(multiapi) +``` yaml $(go) && $(multiapi) batch: + - tag: package-2024-06 - tag: package-2018-09 ``` +### Tag: package-2024-06 and go + +These settings apply only when `--tag=package-2024-06 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2024-06' && $(go) +output-folder: $(go-sdk-folder)/services/privatedns/mgmt/2024-06-01/privatedns +``` + ### Tag: package-2018-09 and go These settings apply only when `--tag=package-2018-09 --go` is specified on the command line. diff --git a/specification/privatedns/resource-manager/readme.md b/specification/privatedns/resource-manager/readme.md index 55eef147509e..616192417a2f 100644 --- a/specification/privatedns/resource-manager/readme.md +++ b/specification/privatedns/resource-manager/readme.md @@ -26,7 +26,7 @@ These are the global settings for the Private DNS API. ``` yaml openapi-type: arm -tag: package-2020-06 +tag: package-2024-06 ``` ### Tag: package-2018-09 @@ -56,6 +56,15 @@ input-file: - Microsoft.Network/stable/2020-06-01/privatedns.json ``` +### Tag: package-2024-06 + +These settings apply only when `--tag=package-2024-06` is specified on the command line. + +``` yaml $(tag) == 'package-2024-06' +input-file: + - Microsoft.Network/stable/2024-06-01/privatedns.json +``` + # Code Generation ## Swagger to SDK @@ -129,6 +138,11 @@ batch: - tag: package-2020-06 ``` +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2024-06 +``` + ### Tag: package-2018-09 and java These settings apply only when `--tag=package-2018-09 --java` is specified on the command line. @@ -171,6 +185,20 @@ generate-interface: true fconfig: '{"moduleName": "privatedns"}' ``` +### Tag: package-2024-06 and java + +These settings apply only when `--tag=package-2024-06 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2024-06' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.privatedns.v2024_06_01 + output-folder: $(azure-libraries-for-java-folder)/sdk/privatedns/mgmt-v2024_06_01 +regenerate-manager: true +generate-interface: true +fconfig: '{"moduleName": "privatedns"}' +``` + ## Suppression ``` yaml @@ -183,6 +211,10 @@ directive: from: privatedns.json suppress: EnumInsteadOfBoolean reason: Booleans are used to indicate binary states of the property, enum is not appropriate. + - where: $.definitions.VirtualNetworkLinkProperties.properties.nxdomainRedirect + from: privatedns.json + suppress: EnumInsteadOfBoolean + reason: Booleans are used to indicate binary states of the property, enum is not appropriate. - where: $.definitions.RecordSetProperties.properties.isAutoRegistered from: privatedns.json suppress: EnumInsteadOfBoolean @@ -196,6 +228,3 @@ directive: suppress: DescriptionAndTitleMissing reason: Common types warning. ``` - - - diff --git a/specification/privatedns/resource-manager/readme.nodejs.md b/specification/privatedns/resource-manager/readme.nodejs.md new file mode 100644 index 000000000000..19ed26788d52 --- /dev/null +++ b/specification/privatedns/resource-manager/readme.nodejs.md @@ -0,0 +1,14 @@ +## Node.js + +These settings apply only when `--nodejs` is specified on the command line. +Please also specify `--node-sdks-folder=`. + +``` yaml $(nodejs) +nodejs: + azure-arm: true + package-name: azure-arm-privatedns + output-folder: $(node-sdks-folder)/lib/services/privatednsManagement + generate-license-txt: true + generate-package-json: true + generate-readme-md: true +``` diff --git a/specification/privatedns/resource-manager/readme.python.md b/specification/privatedns/resource-manager/readme.python.md index 845e3cf448bb..752c68007741 100644 --- a/specification/privatedns/resource-manager/readme.python.md +++ b/specification/privatedns/resource-manager/readme.python.md @@ -4,7 +4,6 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. - ``` yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION @@ -18,4 +17,3 @@ clear-output-folder: true no-namespace-folders: true output-folder: $(python-sdks-folder)/network/azure-mgmt-privatedns/azure/mgmt/privatedns ``` - diff --git a/specification/privatedns/resource-manager/readme.ruby.md b/specification/privatedns/resource-manager/readme.ruby.md index 88b668230fc5..30bae7002192 100644 --- a/specification/privatedns/resource-manager/readme.ruby.md +++ b/specification/privatedns/resource-manager/readme.ruby.md @@ -4,7 +4,7 @@ These settings apply only when `--ruby` is specified on the command line. ``` yaml package-name: azure_mgmt_privatedns -package-version: "0.16.0" +package-version: "0.16.1" azure-arm: true ``` @@ -12,9 +12,20 @@ azure-arm: true ``` yaml $(ruby) && $(multiapi) batch: + - tag: package-2024-06 - tag: package-2018-09 ``` +### Tag: package-2024-06 and ruby + +These settings apply only when `--tag=package-2024-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-2024-06' && $(ruby) +namespace: "Azure::PrivateDns::Mgmt::V2024_06_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_privatedns/lib +``` + ### Tag: package-2018-09 and ruby These settings apply only when `--tag=package-2018-09 --ruby` is specified on the command line. From 7fedc663c3f20e267db3f1c4e6376e58249e0cc6 Mon Sep 17 00:00:00 2001 From: Pranav Nair Date: Tue, 25 Jun 2024 16:56:19 -0700 Subject: [PATCH 5/5] Addressing comment: Update new bool property to enum --- .../2024-06-01/examples/VirtualNetworkLinkGet.json | 1 - .../examples/VirtualNetworkLinkList.json | 10 +++++----- .../examples/VirtualNetworkLinkPatch.json | 8 ++++---- .../2024-06-01/examples/VirtualNetworkLinkPut.json | 5 +---- .../stable/2024-06-01/privatedns.json | 14 +++++++++++--- .../privatedns/resource-manager/readme.md | 4 ---- 6 files changed, 21 insertions(+), 21 deletions(-) diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkGet.json index 0dc5d6a9104c..da23d99350d1 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkGet.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkGet.json @@ -19,7 +19,6 @@ "id": "/subscriptions/virtualNetworkSubscriptionId/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/virtualNetworkName" }, "registrationEnabled": false, - "nxdomainRedirect": false, "virtualNetworkLinkState": "Completed", "provisioningState": "Succeeded" }, diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkList.json index e66e22da71da..a01c5a1e4851 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkList.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkList.json @@ -1,7 +1,7 @@ { "parameters": { "resourceGroupName": "resourceGroup1", - "privateZoneName": "privatezone1.com", + "privateZoneName": "privatelink.contoso.com", "api-version": "2024-06-01", "subscriptionId": "subscriptionId" }, @@ -11,7 +11,7 @@ "nextLink": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/virtualNetworkLinks?api-version=2024-06-01&$skipToken=skipToken", "value": [ { - "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/virtualNetworkLinks/virtualNetworkLink1", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatelink.contoso.com/virtualNetworkLinks/virtualNetworkLink1", "name": "virtualNetworkLink1", "type": "Microsoft.Network/privateDnsZones/virtualNetworkLinks", "location": "global", @@ -21,7 +21,7 @@ "id": "/subscriptions/virtualNetworkSubscriptionId/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/virtualNetworkName" }, "registrationEnabled": false, - "nxdomainRedirect": false, + "resolutionPolicy": "NxDomainRedirect", "virtualNetworkLinkState": "Completed", "provisioningState": "Succeeded" }, @@ -30,7 +30,7 @@ } }, { - "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/virtualNetworkLinks/virtualNetworkLink2", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatelink.contoso.com/virtualNetworkLinks/virtualNetworkLink2", "name": "virtualNetworkLink2", "type": "Microsoft.Network/privateDnsZones/virtualNetworkLinks", "location": "global", @@ -40,7 +40,7 @@ "id": "/subscriptions/virtualNetworkSubscriptionId/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/virtualNetworkName" }, "registrationEnabled": true, - "nxdomainRedirect": true, + "resolutionPolicy": "Default", "virtualNetworkLinkState": "InProgress", "provisioningState": "Succeeded" } diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPatch.json index cb7b6cef46b3..0000939541ae 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPatch.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPatch.json @@ -1,7 +1,7 @@ { "parameters": { "resourceGroupName": "resourceGroup1", - "privateZoneName": "privatezone1.com", + "privateZoneName": "privatelink.contoso.com", "virtualNetworkLinkName": "virtualNetworkLink1", "api-version": "2024-06-01", "subscriptionId": "subscriptionId", @@ -11,14 +11,14 @@ }, "properties": { "registrationEnabled": true, - "nxdomainRedirect": false + "resolutionPolicy": "NxDomainRedirect" } } }, "responses": { "200": { "body": { - "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatezone1.com/virtualNetworkLinks/virtualNetworkLink1", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup1/providers/Microsoft.Network/privateDnsZones/privatelink.contoso.com/virtualNetworkLinks/virtualNetworkLink1", "name": "virtualNetworkLink1", "type": "Microsoft.Network/privateDnsZones/virtualNetworkLinks", "location": "global", @@ -28,7 +28,7 @@ "id": "/subscriptions/virtualNetworkSubscriptionId/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/virtualNetworkName" }, "registrationEnabled": true, - "nxdomainRedirect": false, + "resolutionPolicy": "NxDomainRedirect", "virtualNetworkLinkState": "Completed", "provisioningState": "Succeeded" }, diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPut.json index 2e1ba896fd3a..45be026b032f 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPut.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/examples/VirtualNetworkLinkPut.json @@ -14,8 +14,7 @@ "virtualNetwork": { "id": "/subscriptions/virtualNetworkSubscriptionId/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/virtualNetworkName" }, - "registrationEnabled": false, - "nxdomainRedirect": false + "registrationEnabled": false } } }, @@ -32,7 +31,6 @@ "id": "/subscriptions/virtualNetworkSubscriptionId/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/virtualNetworkName" }, "registrationEnabled": false, - "nxdomainRedirect": false, "virtualNetworkLinkState": "Completed", "provisioningState": "Succeeded" }, @@ -53,7 +51,6 @@ "id": "/subscriptions/virtualNetworkSubscriptionId/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/virtualNetworkName" }, "registrationEnabled": false, - "nxdomainRedirect": false, "virtualNetworkLinkState": "Completed", "provisioningState": "Succeeded" }, diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/privatedns.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/privatedns.json index 415132796073..25e214a28caa 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/privatedns.json +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2024-06-01/privatedns.json @@ -1477,9 +1477,17 @@ "type": "boolean", "description": "Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled?" }, - "nxdomainRedirect": { - "type": "boolean", - "description": "When enabled, falls back to public resolution if private dns query resolution for resources configured with privatelink results in non-existent domain response" + "resolutionPolicy": { + "type": "string", + "description": "The resolution policy on the virtual network link. Only applicable for virtual network links to privatelink zones, and for A,AAAA,CNAME queries. When set to 'NxDomainRedirect', Azure DNS resolver falls back to public resolution if private dns query resolution results in non-existent domain response.", + "enum": [ + "Default", + "NxDomainRedirect" + ], + "x-ms-enum": { + "name": "resolutionPolicy", + "modelAsString": true + } }, "virtualNetworkLinkState": { "type": "string", diff --git a/specification/privatedns/resource-manager/readme.md b/specification/privatedns/resource-manager/readme.md index 616192417a2f..a55ac17b280a 100644 --- a/specification/privatedns/resource-manager/readme.md +++ b/specification/privatedns/resource-manager/readme.md @@ -211,10 +211,6 @@ directive: from: privatedns.json suppress: EnumInsteadOfBoolean reason: Booleans are used to indicate binary states of the property, enum is not appropriate. - - where: $.definitions.VirtualNetworkLinkProperties.properties.nxdomainRedirect - from: privatedns.json - suppress: EnumInsteadOfBoolean - reason: Booleans are used to indicate binary states of the property, enum is not appropriate. - where: $.definitions.RecordSetProperties.properties.isAutoRegistered from: privatedns.json suppress: EnumInsteadOfBoolean