forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 0
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-09-01 Swagger for CAA Record Support (Azure#1835)
- Loading branch information
1 parent
f8ce690
commit 11d3fee
Showing
13 changed files
with
1,814 additions
and
1 deletion.
There are no files selected for viewing
1,322 changes: 1,322 additions & 0 deletions
1,322
specification/dns/resource-manager/Microsoft.Network/2017-09-01/dns.json
Large diffs are not rendered by default.
Oops, something went wrong.
71 changes: 71 additions & 0 deletions
71
...ns/resource-manager/Microsoft.Network/2017-09-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-09-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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
60 changes: 60 additions & 0 deletions
60
...cation/dns/resource-manager/Microsoft.Network/2017-09-01/examples/CreateOrUpdateZone.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,60 @@ | ||
{ | ||
"parameters": { | ||
"zoneName": "zone1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2017-09-01", | ||
"subscriptionId": "subid", | ||
"parameters": { | ||
"location": "Global", | ||
"tags": { | ||
"key1": "value1" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1", | ||
"etag": "00000000-0000-0000-0000-000000000000", | ||
"location": "global", | ||
"name": "zone1", | ||
"type": "Microsoft.Network/dnsZones", | ||
"properties": { | ||
"maxNumberOfRecordSets": 5000, | ||
"numberOfRecordSets": 2, | ||
"nameServers": [ | ||
"ns1-01.azure-dns.com", | ||
"ns2-01.azure-dns.net", | ||
"ns3-01.azure-dns.org", | ||
"ns4-01.azure-dns.info" | ||
] | ||
}, | ||
"tags": { | ||
"key1": "value1" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1", | ||
"etag": "00000000-0000-0000-0000-000000000000", | ||
"location": "global", | ||
"name": "zone1", | ||
"type": "Microsoft.Network/dnsZones", | ||
"properties": { | ||
"maxNumberOfRecordSets": 5000, | ||
"numberOfRecordSets": 2, | ||
"nameServers": [ | ||
"ns1-01.azure-dns.com", | ||
"ns2-01.azure-dns.net", | ||
"ns3-01.azure-dns.org", | ||
"ns4-01.azure-dns.info" | ||
] | ||
}, | ||
"tags": { | ||
"key1": "value1" | ||
} | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...cation/dns/resource-manager/Microsoft.Network/2017-09-01/examples/DeleteCaaRecordset.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,14 @@ | ||
{ | ||
"parameters": { | ||
"zoneName": "zone1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2017-09-01", | ||
"subscriptionId": "subid", | ||
"relativeRecordSetName": "record1", | ||
"recordType": "CAA" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
specification/dns/resource-manager/Microsoft.Network/2017-09-01/examples/DeleteZone.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,17 @@ | ||
{ | ||
"parameters": { | ||
"zoneName": "zone1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2017-09-01", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://asyncoperationstatusurl" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...ification/dns/resource-manager/Microsoft.Network/2017-09-01/examples/GetCaaRecordset.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,34 @@ | ||
{ | ||
"parameters": { | ||
"zoneName": "zone1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2017-09-01", | ||
"subscriptionId": "subid", | ||
"relativeRecordSetName": "record1", | ||
"recordType": "CAA" | ||
}, | ||
"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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
specification/dns/resource-manager/Microsoft.Network/2017-09-01/examples/GetZone.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,32 @@ | ||
{ | ||
"parameters": { | ||
"zoneName": "zone1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2017-09-01", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1", | ||
"etag": "00000000-0000-0000-0000-000000000000", | ||
"location": "global", | ||
"name": "zone1", | ||
"type": "Microsoft.Network/dnsZones", | ||
"properties": { | ||
"maxNumberOfRecordSets": 5000, | ||
"numberOfRecordSets": 2, | ||
"nameServers": [ | ||
"ns1-01.azure-dns.com", | ||
"ns2-01.azure-dns.net", | ||
"ns3-01.azure-dns.org", | ||
"ns4-01.azure-dns.info" | ||
] | ||
}, | ||
"tags": { | ||
"key1": "value1" | ||
} | ||
} | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...fication/dns/resource-manager/Microsoft.Network/2017-09-01/examples/ListCaaRecordset.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,38 @@ | ||
{ | ||
"parameters": { | ||
"zoneName": "zone1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2017-09-01", | ||
"subscriptionId": "subid", | ||
"recordType": "CAA" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/CAA?api-version=2017-09-01&$skipToken=skipToken", | ||
"value": [ | ||
{ | ||
"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" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
71 changes: 71 additions & 0 deletions
71
...tion/dns/resource-manager/Microsoft.Network/2017-09-01/examples/ListRecordSetsByZone.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-09-01", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/CAA?api-version=2017-09-01&$skipToken=skipToken", | ||
"value": [ | ||
{ | ||
"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" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"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" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/CNAME/record2", | ||
"etag": "00000000-0000-0000-0000-000000000000", | ||
"name": "record2", | ||
"type": "Microsoft.Network/dnsZones/CNAME", | ||
"properties": { | ||
"metadata": { | ||
"key1": "value1" | ||
}, | ||
"TTL": 3600, | ||
"fqdn": "record2.zone1", | ||
"CNAMERecord": { | ||
"cname": "contoso.com" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.