-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding changes to support Private DNS Public Preview (#2587)
* Copy 2017-10-01 DNS API version to 2018-03-01-preview * Add 2018-03-01-preview DNS API version * updating examples to version 2018-03-01-preview * Adding private zone example * removing the required property on zoneType also fixing example * Adding scoping to error suppressions
- Loading branch information
1 parent
6508d86
commit f6f1326
Showing
59 changed files
with
3,941 additions
and
1 deletion.
There are no files selected for viewing
1,611 changes: 1,611 additions & 0 deletions
1,611
specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/dns.json
Large diffs are not rendered by default.
Oops, something went wrong.
65 changes: 65 additions & 0 deletions
65
...er/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateAAAARecordset.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"parameters": { | ||
"zoneName": "zone1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2018-03-01-preview", | ||
"subscriptionId": "subid", | ||
"relativeRecordSetName": "record1", | ||
"recordType": "AAAA", | ||
"parameters": { | ||
"properties": { | ||
"metadata": { | ||
"key1": "value1" | ||
}, | ||
"TTL": 3600, | ||
"AAAARecords": [ | ||
{ | ||
"ipv6Address": "::1" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/AAAA/record1", | ||
"etag": "00000000-0000-0000-0000-000000000000", | ||
"name": "record1", | ||
"type": "Microsoft.Network/dnsZones/AAAA", | ||
"properties": { | ||
"metadata": { | ||
"key1": "value1" | ||
}, | ||
"TTL": 3600, | ||
"fqdn": "record1.zone1", | ||
"AAAARecords": [ | ||
{ | ||
"ipv6Address": "::1" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/AAAA/record1", | ||
"etag": "00000000-0000-0000-0000-000000000000", | ||
"name": "record1", | ||
"type": "Microsoft.Network/dnsZones/AAAA", | ||
"properties": { | ||
"metadata": { | ||
"key1": "value1" | ||
}, | ||
"TTL": 3600, | ||
"fqdn": "record1.zone1", | ||
"AAAARecords": [ | ||
{ | ||
"ipv6Address": "::1" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
65 changes: 65 additions & 0 deletions
65
...nager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateARecordset.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"parameters": { | ||
"zoneName": "zone1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2018-03-01-preview", | ||
"subscriptionId": "subid", | ||
"relativeRecordSetName": "record1", | ||
"recordType": "A", | ||
"parameters": { | ||
"properties": { | ||
"metadata": { | ||
"key1": "value1" | ||
}, | ||
"TTL": 3600, | ||
"ARecords": [ | ||
{ | ||
"ipv4Address": "127.0.0.1" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/A/record1", | ||
"etag": "00000000-0000-0000-0000-000000000000", | ||
"name": "record1", | ||
"type": "Microsoft.Network/dnsZones/A", | ||
"properties": { | ||
"metadata": { | ||
"key1": "value1" | ||
}, | ||
"TTL": 3600, | ||
"fqdn": "record1.zone1", | ||
"ARecords": [ | ||
{ | ||
"ipv4Address": "127.0.0.1" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/A/record1", | ||
"etag": "00000000-0000-0000-0000-000000000000", | ||
"name": "record1", | ||
"type": "Microsoft.Network/dnsZones/A", | ||
"properties": { | ||
"metadata": { | ||
"key1": "value1" | ||
}, | ||
"TTL": 3600, | ||
"fqdn": "record1.zone1", | ||
"ARecords": [ | ||
{ | ||
"ipv4Address": "127.0.0.1" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
...r/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateCNAMERecordset.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"parameters": { | ||
"zoneName": "zone1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2018-03-01-preview", | ||
"subscriptionId": "subid", | ||
"relativeRecordSetName": "record1", | ||
"recordType": "CNAME", | ||
"parameters": { | ||
"properties": { | ||
"metadata": { | ||
"key1": "value1" | ||
}, | ||
"TTL": 3600, | ||
"CNAMERecord": { | ||
"cname": "contoso.com" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/CNAME/record1", | ||
"etag": "00000000-0000-0000-0000-000000000000", | ||
"name": "record1", | ||
"type": "Microsoft.Network/dnsZones/CNAME", | ||
"properties": { | ||
"metadata": { | ||
"key1": "value1" | ||
}, | ||
"TTL": 3600, | ||
"fqdn": "record1.zone1", | ||
"CNAMERecord": { | ||
"cname": "contoso.com" | ||
} | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/CNAME/record1", | ||
"etag": "00000000-0000-0000-0000-000000000000", | ||
"name": "record1", | ||
"type": "Microsoft.Network/dnsZones/CNAME", | ||
"properties": { | ||
"metadata": { | ||
"key1": "value1" | ||
}, | ||
"TTL": 3600, | ||
"fqdn": "record1.zone1", | ||
"CNAMERecord": { | ||
"cname": "contoso.com" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
71 changes: 71 additions & 0 deletions
71
...ger/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateCaaRecordset.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"parameters": { | ||
"zoneName": "zone1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2018-03-01-preview", | ||
"subscriptionId": "subid", | ||
"relativeRecordSetName": "record1", | ||
"recordType": "CAA", | ||
"parameters": { | ||
"properties": { | ||
"metadata": { | ||
"key1": "value1" | ||
}, | ||
"TTL": 3600, | ||
"caaRecords": [ | ||
{ | ||
"flags": 0, | ||
"tag": "issue", | ||
"value": "ca.contoso.com" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/CAA/record1", | ||
"etag": "00000000-0000-0000-0000-000000000000", | ||
"name": "record1", | ||
"type": "Microsoft.Network/dnsZones/CAA", | ||
"properties": { | ||
"metadata": { | ||
"key1": "value1" | ||
}, | ||
"TTL": 3600, | ||
"fqdn": "record1.zone1", | ||
"caaRecords": [ | ||
{ | ||
"flags": 0, | ||
"tag": "issue", | ||
"value": "ca.contoso.com" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/CAA/record1", | ||
"etag": "00000000-0000-0000-0000-000000000000", | ||
"name": "record1", | ||
"type": "Microsoft.Network/dnsZones/CAA", | ||
"properties": { | ||
"metadata": { | ||
"key1": "value1" | ||
}, | ||
"TTL": 3600, | ||
"fqdn": "record1.zone1", | ||
"caaRecords": [ | ||
{ | ||
"flags": 0, | ||
"tag": "issue", | ||
"value": "ca.contoso.com" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
68 changes: 68 additions & 0 deletions
68
...ager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateMXRecordset.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
"parameters": { | ||
"zoneName": "zone1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2018-03-01-preview", | ||
"subscriptionId": "subid", | ||
"relativeRecordSetName": "record1", | ||
"recordType": "MX", | ||
"parameters": { | ||
"properties": { | ||
"metadata": { | ||
"key1": "value1" | ||
}, | ||
"TTL": 3600, | ||
"MXRecords": [ | ||
{ | ||
"preference": 0, | ||
"exchange": "mail.contoso.com" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/MX/record1", | ||
"etag": "00000000-0000-0000-0000-000000000000", | ||
"name": "record1", | ||
"type": "Microsoft.Network/dnsZones/MX", | ||
"properties": { | ||
"metadata": { | ||
"key1": "value1" | ||
}, | ||
"TTL": 3600, | ||
"fqdn": "record1.zone1", | ||
"MXRecords": [ | ||
{ | ||
"preference": 0, | ||
"exchange": "mail.contoso.com" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/MX/record1", | ||
"etag": "00000000-0000-0000-0000-000000000000", | ||
"name": "record1", | ||
"type": "Microsoft.Network/dnsZones/MX", | ||
"properties": { | ||
"metadata": { | ||
"key1": "value1" | ||
}, | ||
"TTL": 3600, | ||
"fqdn": "record1.zone1", | ||
"MXRecords": [ | ||
{ | ||
"preference": 0, | ||
"exchange": "mail.contoso.com" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.