-
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.
Add DNS 2017-10-01 API version (#2558)
* Add DNS 2017-10-01 API version * Copy 2017-09-01 DNS API version to 2017-10-01 * Add 2017-10-01 DNS API version * Add x-ms-client-name for recordsetnamesuffix for RecordSets_ListAllByDnsZone
- Loading branch information
Showing
58 changed files
with
3,822 additions
and
1 deletion.
There are no files selected for viewing
1,585 changes: 1,585 additions & 0 deletions
1,585
specification/dns/resource-manager/Microsoft.Network/stable/2017-10-01/dns.json
Large diffs are not rendered by default.
Oops, something went wrong.
65 changes: 65 additions & 0 deletions
65
...rce-manager/Microsoft.Network/stable/2017-10-01/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": "2017-09-01", | ||
"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
...source-manager/Microsoft.Network/stable/2017-10-01/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": "2017-10-01", | ||
"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
...ce-manager/Microsoft.Network/stable/2017-10-01/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": "2017-10-01", | ||
"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
...urce-manager/Microsoft.Network/stable/2017-10-01/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": "2017-10-01", | ||
"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
...ource-manager/Microsoft.Network/stable/2017-10-01/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": "2017-10-01", | ||
"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.