From 83abece16847894bf0bbb2e592b395886e5d18db Mon Sep 17 00:00:00 2001 From: Korede Owolabi Date: Fri, 2 Mar 2018 15:46:23 -0800 Subject: [PATCH 1/6] Copy 2017-10-01 DNS API version to 2018-03-01-preview --- .../preview/2018-03-01-preview/dns.json | 1585 +++++++++++++++++ .../examples/CreateOrUpdateAAAARecordset.json | 65 + .../examples/CreateOrUpdateARecordset.json | 65 + .../CreateOrUpdateCNAMERecordset.json | 59 + .../examples/CreateOrUpdateCaaRecordset.json | 71 + .../examples/CreateOrUpdateMXRecordset.json | 68 + .../examples/CreateOrUpdateNSRecordset.json | 65 + .../examples/CreateOrUpdatePTRRecordset.json | 65 + .../examples/CreateOrUpdateSOARecordset.json | 77 + .../examples/CreateOrUpdateSRVRecordset.json | 74 + .../examples/CreateOrUpdateTXTRecordset.json | 65 + .../examples/CreateOrUpdateZone.json | 60 + .../examples/DeleteAAAARecordset.json | 14 + .../examples/DeleteARecordset.json | 14 + .../examples/DeleteCNAMERecordset.json | 14 + .../examples/DeleteCaaRecordset.json | 14 + .../examples/DeleteMXRecordset.json | 14 + .../examples/DeleteNSRecordset.json | 14 + .../examples/DeletePTRRecordset.json | 14 + .../examples/DeleteSRVRecordset.json | 14 + .../examples/DeleteTXTRecordset.json | 14 + .../examples/DeleteZone.json | 17 + .../examples/GetAAAARecordset.json | 32 + .../examples/GetARecordset.json | 32 + .../examples/GetCNAMERecordset.json | 30 + .../examples/GetCaaRecordset.json | 34 + .../examples/GetMXRecordset.json | 33 + .../examples/GetNSRecordset.json | 32 + .../examples/GetPTRRecordset.json | 32 + .../examples/GetSOARecordset.json | 36 + .../examples/GetSRVRecordset.json | 35 + .../examples/GetTXTRecordset.json | 32 + .../2018-03-01-preview/examples/GetZone.json | 32 + .../examples/ListAAAARecordset.json | 36 + .../examples/ListARecordset.json | 36 + .../examples/ListCNAMERecordset.json | 34 + .../examples/ListCaaRecordset.json | 38 + .../examples/ListMXRecordset.json | 37 + .../examples/ListNSRecordset.json | 36 + .../examples/ListPTRRecordset.json | 36 + .../examples/ListRecordSetsByZone.json | 71 + .../examples/ListSOARecordset.json | 40 + .../examples/ListSRVRecordset.json | 39 + .../examples/ListTXTRecordset.json | 36 + .../examples/ListZonesByResourceGroup.json | 53 + .../examples/ListZonesBySubscription.json | 52 + .../examples/PatchAAAARecordset.json | 39 + .../examples/PatchARecordset.json | 39 + .../examples/PatchCNAMERecordset.json | 37 + .../examples/PatchCaaRecordset.json | 41 + .../examples/PatchMXRecordset.json | 40 + .../examples/PatchNSRecordset.json | 39 + .../examples/PatchPTRRecordset.json | 39 + .../examples/PatchSOARecordset.json | 43 + .../examples/PatchSRVRecordset.json | 42 + .../examples/PatchTXTRecordset.json | 39 + .../examples/PatchZone.json | 38 + 57 files changed, 3802 insertions(+) create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/dns.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateAAAARecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateARecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateCNAMERecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateCaaRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateMXRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateNSRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdatePTRRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateSOARecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateSRVRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateTXTRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateZone.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteAAAARecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteARecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteCNAMERecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteCaaRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteMXRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteNSRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeletePTRRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteSRVRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteTXTRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteZone.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetAAAARecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetARecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetCNAMERecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetCaaRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetMXRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetNSRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetPTRRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetSOARecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetSRVRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetTXTRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetZone.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListAAAARecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListARecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListCNAMERecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListCaaRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListMXRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListNSRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListPTRRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListRecordSetsByZone.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListSOARecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListSRVRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListTXTRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListZonesByResourceGroup.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListZonesBySubscription.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchAAAARecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchARecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchCNAMERecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchCaaRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchMXRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchNSRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchPTRRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchSOARecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchSRVRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchTXTRecordset.json create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchZone.json diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/dns.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/dns.json new file mode 100644 index 000000000000..fa33b9a79c2d --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/dns.json @@ -0,0 +1,1585 @@ +{ + "swagger": "2.0", + "info": { + "title": "DnsManagementClient", + "description": "The DNS Management Client.", + "version": "2017-10-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/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}": { + "patch": { + "tags": [ + "RecordSets" + ], + "operationId": "RecordSets_Update", + "description": "Updates a record set within a DNS zone.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "zoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the DNS zone (without a terminating dot)." + }, + { + "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": "recordType", + "in": "path", + "required": true, + "type": "string", + "description": "The type of DNS record in this record set.", + "enum": [ + "A", + "AAAA", + "CAA", + "CNAME", + "MX", + "NS", + "PTR", + "SOA", + "SRV", + "TXT" + ], + "x-ms-enum": { + "name": "RecordType", + "modelAsString": false + } + }, + { + "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 overwritting 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 A recordset": { + "$ref": "./examples/PatchARecordset.json" + }, + "Patch AAAA recordset": { + "$ref": "./examples/PatchAAAARecordset.json" + }, + "Patch CAA recordset": { + "$ref": "./examples/PatchCaaRecordset.json" + }, + "Patch CNAME recordset": { + "$ref": "./examples/PatchCNAMERecordset.json" + }, + "Patch MX recordset": { + "$ref": "./examples/PatchMXRecordset.json" + }, + "Patch NS recordset": { + "$ref": "./examples/PatchNSRecordset.json" + }, + "Patch PTR recordset": { + "$ref": "./examples/PatchPTRRecordset.json" + }, + "Patch SOA recordset": { + "$ref": "./examples/PatchSOARecordset.json" + }, + "Patch SRV recordset": { + "$ref": "./examples/PatchSRVRecordset.json" + }, + "Patch TXT recordset": { + "$ref": "./examples/PatchTXTRecordset.json" + } + } + }, + "put": { + "tags": [ + "RecordSets" + ], + "operationId": "RecordSets_CreateOrUpdate", + "description": "Creates or updates a record set within a DNS zone.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "zoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the DNS zone (without a terminating dot)." + }, + { + "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": "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 DNS zone is created).", + "enum": [ + "A", + "AAAA", + "CAA", + "CNAME", + "MX", + "NS", + "PTR", + "SOA", + "SRV", + "TXT" + ], + "x-ms-enum": { + "name": "RecordType", + "modelAsString": false + } + }, + { + "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 overwritting 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": { + "Create A recordset": { + "$ref": "./examples/CreateOrUpdateARecordset.json" + }, + "Create AAAA recordset": { + "$ref": "./examples/CreateOrUpdateAAAARecordset.json" + }, + "Create CAA recordset": { + "$ref": "./examples/CreateOrUpdateCaaRecordset.json" + }, + "Create CNAME recordset": { + "$ref": "./examples/CreateOrUpdateCNAMERecordset.json" + }, + "Create MX recordset": { + "$ref": "./examples/CreateOrUpdateMXRecordset.json" + }, + "Create NS recordset": { + "$ref": "./examples/CreateOrUpdateNSRecordset.json" + }, + "Create PTR recordset": { + "$ref": "./examples/CreateOrUpdatePTRRecordset.json" + }, + "Create SOA recordset": { + "$ref": "./examples/CreateOrUpdateSOARecordset.json" + }, + "Create SRV recordset": { + "$ref": "./examples/CreateOrUpdateSRVRecordset.json" + }, + "Create TXT recordset": { + "$ref": "./examples/CreateOrUpdateTXTRecordset.json" + } + } + }, + "delete": { + "tags": [ + "RecordSets" + ], + "operationId": "RecordSets_Delete", + "description": "Deletes a record set from a DNS zone. This operation cannot be undone.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "zoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the DNS zone (without a terminating dot)." + }, + { + "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": "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 DNS zone is deleted).", + "enum": [ + "A", + "AAAA", + "CAA", + "CNAME", + "MX", + "NS", + "PTR", + "SOA", + "SRV", + "TXT" + ], + "x-ms-enum": { + "name": "RecordType", + "modelAsString": false + } + }, + { + "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": { + "204": { + "description": "The record set was not found." + }, + "200": { + "description": "The record set has been deleted." + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Delete A recordset": { + "$ref": "./examples/DeleteARecordset.json" + }, + "Delete AAAA recordset": { + "$ref": "./examples/DeleteAAAARecordset.json" + }, + "Delete CAA recordset": { + "$ref": "./examples/DeleteCaaRecordset.json" + }, + "Delete CNAME recordset": { + "$ref": "./examples/DeleteARecordset.json" + }, + "Delete MX recordset": { + "$ref": "./examples/DeleteARecordset.json" + }, + "Delete NS recordset": { + "$ref": "./examples/DeleteARecordset.json" + }, + "Delete PTR recordset": { + "$ref": "./examples/DeletePTRRecordset.json" + }, + "Delete SRV recordset": { + "$ref": "./examples/DeleteSRVRecordset.json" + }, + "Delete TXT recordset": { + "$ref": "./examples/DeleteTXTRecordset.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": "zoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the DNS zone (without a terminating dot)." + }, + { + "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": "recordType", + "in": "path", + "required": true, + "type": "string", + "description": "The type of DNS record in this record set.", + "enum": [ + "A", + "AAAA", + "CAA", + "CNAME", + "MX", + "NS", + "PTR", + "SOA", + "SRV", + "TXT" + ], + "x-ms-enum": { + "name": "RecordType", + "modelAsString": false + } + }, + { + "$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 A recordset": { + "$ref": "./examples/GetARecordset.json" + }, + "Get AAAA recordset": { + "$ref": "./examples/GetAAAARecordset.json" + }, + "Get CAA recordset": { + "$ref": "./examples/GetCaaRecordset.json" + }, + "Get CNAME recordset": { + "$ref": "./examples/GetCNAMERecordset.json" + }, + "Get MX recordset": { + "$ref": "./examples/GetMXRecordset.json" + }, + "Get NS recordset": { + "$ref": "./examples/GetNSRecordset.json" + }, + "Get PTR recordset": { + "$ref": "./examples/GetPTRRecordset.json" + }, + "Get SOA recordset": { + "$ref": "./examples/GetSOARecordset.json" + }, + "Get SRV recordset": { + "$ref": "./examples/GetSRVRecordset.json" + }, + "Get TXT recordset": { + "$ref": "./examples/GetTXTRecordset.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}": { + "get": { + "tags": [ + "RecordSets" + ], + "operationId": "RecordSets_ListByType", + "description": "Lists the record sets of a specified type in a DNS zone.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "zoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the 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", + "CAA", + "CNAME", + "MX", + "NS", + "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 that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will return only 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": { + "List A recordsets": { + "$ref": "./examples/ListARecordset.json" + }, + "List AAAA recordsets": { + "$ref": "./examples/ListAAAARecordset.json" + }, + "List CAA recordsets": { + "$ref": "./examples/ListCaaRecordset.json" + }, + "List CNAME recordsets": { + "$ref": "./examples/ListCNAMERecordset.json" + }, + "List MX recordsets": { + "$ref": "./examples/ListMXRecordset.json" + }, + "List NS recordsets": { + "$ref": "./examples/ListNSRecordset.json" + }, + "List PTR recordsets": { + "$ref": "./examples/ListPTRRecordset.json" + }, + "List SOA recordsets": { + "$ref": "./examples/ListSOARecordset.json" + }, + "List SRV recordsets": { + "$ref": "./examples/ListSRVRecordset.json" + }, + "List TXT recordsets": { + "$ref": "./examples/ListTXTRecordset.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/recordsets": { + "get": { + "tags": [ + "RecordSets" + ], + "operationId": "RecordSets_ListByDnsZone", + "description": "Lists all record sets in a DNS zone.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "zoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the 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 that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will return only 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": { + "List recordsets by zone": { + "$ref": "./examples/ListRecordSetsByZone.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/all": { + "get": { + "tags": [ + "RecordSets" + ], + "operationId": "RecordSets_ListAllByDnsZone", + "description": "Lists all record sets in a DNS zone.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "zoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the 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 that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will return only records that end with .", + "x-ms-client-name": "recordSetNameSuffix" + }, + { + "$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": { + "List recordsets by zone": { + "$ref": "./examples/ListRecordSetsByZone.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}": { + "put": { + "tags": [ + "Zones" + ], + "operationId": "Zones_CreateOrUpdate", + "description": "Creates or updates a DNS zone. Does not modify DNS records within the zone.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "zoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the DNS zone (without a terminating dot)." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Zone" + }, + "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 DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen etag value to prevent accidentally overwritting 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 DNS zone to be created, but to prevent updating an existing zone. Other values will be ignored." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The DNS zone has been updated.", + "schema": { + "$ref": "#/definitions/Zone" + } + }, + "201": { + "description": "The DNS zone has been created.", + "schema": { + "$ref": "#/definitions/Zone" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Create zone": { + "$ref": "./examples/CreateOrUpdateZone.json" + } + } + }, + "delete": { + "tags": [ + "Zones" + ], + "operationId": "Zones_Delete", + "description": "Deletes a DNS zone. WARNING: All DNS records in the zone 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": "zoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the 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 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": { + "204": { + "description": "The DNS zone was not found." + }, + "202": { + "description": "The DNS zone delete operation has been accepted and will complete asynchronously." + }, + "200": { + "description": "The DNS zone has been deleted." + }, + "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 zone": { + "$ref": "./examples/DeleteZone.json" + } + } + }, + "get": { + "tags": [ + "Zones" + ], + "operationId": "Zones_Get", + "description": "Gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "zoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the DNS zone (without a terminating dot)." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success.", + "schema": { + "$ref": "#/definitions/Zone" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get zone": { + "$ref": "./examples/GetZone.json" + } + } + }, + "patch": { + "tags": [ + "Zones" + ], + "operationId": "Zones_Update", + "description": "Updates a DNS zone. Does not modify DNS records within the zone.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "zoneName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the DNS zone (without a terminating dot)." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Zone" + }, + "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 DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen etag value to prevent accidentally overwritting any concurrent changes." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The DNS zone has been updated.", + "schema": { + "$ref": "#/definitions/Zone" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Patch zone": { + "$ref": "./examples/PatchZone.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones": { + "get": { + "tags": [ + "Zones" + ], + "operationId": "Zones_ListByResourceGroup", + "description": "Lists the 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/ZoneListResult" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List zones by resource group": { + "$ref": "./examples/ListZonesByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnszones": { + "get": { + "tags": [ + "Zones" + ], + "operationId": "Zones_List", + "description": "Lists the 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 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/ZoneListResult" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List zones by subscription": { + "$ref": "./examples/ListZonesBySubscription.json" + } + } + } + } + }, + "definitions": { + "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." + }, + "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." + }, + "NsRecord": { + "properties": { + "nsdname": { + "type": "string", + "description": "The name server name for this NS record." + } + }, + "description": "An NS record." + }, + "PtrRecord": { + "properties": { + "ptrdname": { + "type": "string", + "description": "The PTR target domain name for this PTR record." + } + }, + "description": "A PTR 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." + }, + "CnameRecord": { + "properties": { + "cname": { + "type": "string", + "description": "The canonical name for this CNAME record." + } + }, + "description": "A CNAME 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", + "x-ms-client-name": "minimumTtl", + "description": "The minimum value for this SOA record. By convention this is used to determine the negative caching duration." + } + }, + "description": "An SOA record." + }, + "CaaRecord": { + "properties": { + "flags": { + "type": "integer", + "format": "int32", + "description": "The flags for this CAA record as an integer between 0 and 255." + }, + "tag": { + "type": "string", + "description": "The tag for this CAA record." + }, + "value": { + "type": "string", + "description": "The value for this CAA record." + } + }, + "description": "A CAA 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 + }, + "ARecords": { + "type": "array", + "items": { + "$ref": "#/definitions/ARecord" + }, + "description": "The list of A records in the record set." + }, + "AAAARecords": { + "type": "array", + "x-ms-client-name": "AaaaRecords", + "items": { + "$ref": "#/definitions/AaaaRecord" + }, + "description": "The list of AAAA records in the record set." + }, + "MXRecords": { + "type": "array", + "x-ms-client-name": "MxRecords", + "items": { + "$ref": "#/definitions/MxRecord" + }, + "description": "The list of MX records in the record set." + }, + "NSRecords": { + "type": "array", + "x-ms-client-name": "NsRecords", + "items": { + "$ref": "#/definitions/NsRecord" + }, + "description": "The list of NS records in the record set." + }, + "PTRRecords": { + "type": "array", + "x-ms-client-name": "PtrRecords", + "items": { + "$ref": "#/definitions/PtrRecord" + }, + "description": "The list of PTR records in the record set." + }, + "SRVRecords": { + "type": "array", + "x-ms-client-name": "SrvRecords", + "items": { + "$ref": "#/definitions/SrvRecord" + }, + "description": "The list of SRV records in the record set." + }, + "TXTRecords": { + "type": "array", + "x-ms-client-name": "TxtRecords", + "items": { + "$ref": "#/definitions/TxtRecord" + }, + "description": "The list of TXT records in the record set." + }, + "CNAMERecord": { + "$ref": "#/definitions/CnameRecord", + "x-ms-client-name": "CnameRecord", + "description": "The CNAME record in the record set." + }, + "SOARecord": { + "$ref": "#/definitions/SoaRecord", + "x-ms-client-name": "SoaRecord", + "description": "The SOA record in the record set." + }, + "caaRecords": { + "type": "array", + "x-ms-client-name": "CaaRecords", + "items": { + "$ref": "#/definitions/CaaRecord" + }, + "description": "The list of CAA 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." + } + }, + "description": "Describes a DNS record set (a collection of DNS records with the same name and type).", + "x-ms-azure-resource": true + }, + "RecordSetUpdateParameters": { + "properties": { + "RecordSet": { + "$ref": "#/definitions/RecordSet", + "description": "Specifies information about the record set being updated." + } + }, + "description": "Parameters supplied to update a record set." + }, + "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." + }, + "ZoneProperties": { + "properties": { + "maxNumberOfRecordSets": { + "type": "integer", + "format": "int64", + "description": "The maximum number of record sets that can be created in this 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 DNS zone. This is a read-only property and any attempt to set this value will be ignored.", + "readOnly": true + }, + "nameServers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The name servers for this DNS zone. This is a read-only property and any attempt to set this value will be ignored.", + "readOnly": true + } + }, + "description": "Represents the properties of the zone." + }, + "Zone": { + "properties": { + "etag": { + "type": "string", + "description": "The etag of the zone." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ZoneProperties", + "description": "The properties of the zone." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "Describes a DNS zone." + }, + "ZoneListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Zone" + }, + "description": "Information about the DNS zones." + }, + "nextLink": { + "type": "string", + "description": "The continuation token for the next page of results.", + "readOnly": true + } + }, + "description": "The response to a Zone List or ListAll operation." + }, + "Resource": { + "x-ms-azure-resource": true, + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource ID." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + }, + "location": { + "type": "string", + "description": "Resource location.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + }, + "description": "Common properties of an Azure Resource Manager resource" + }, + "SubResource": { + "properties": { + "id": { + "type": "string", + "description": "Resource Id." + } + }, + "x-ms-external": true, + "description": "A reference to a another resource" + }, + "CloudError": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/CloudErrorBody", + "description": "The error message body" + } + }, + "x-ms-external": true, + "description": "An error message" + }, + "CloudErrorBody": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "The error code" + }, + "message": { + "type": "string", + "description": "A description of what caused the error" + }, + "target": { + "type": "string", + "description": "The target resource of the error message" + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/CloudErrorBody" + }, + "description": "Extra error information" + } + }, + "x-ms-external": true, + "description": "The body of an error message" + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Specifies the Azure subscription ID, which uniquely identifies the Microsoft Azure subscription." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Specifies the API version." + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateAAAARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateAAAARecordset.json new file mode 100644 index 000000000000..f6e67fffa943 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateAAAARecordset.json @@ -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" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateARecordset.json new file mode 100644 index 000000000000..a88c76ff27cf --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateARecordset.json @@ -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" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateCNAMERecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateCNAMERecordset.json new file mode 100644 index 000000000000..9f94f6697129 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateCNAMERecordset.json @@ -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" + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateCaaRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateCaaRecordset.json new file mode 100644 index 000000000000..95856bd4ac32 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateCaaRecordset.json @@ -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" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateMXRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateMXRecordset.json new file mode 100644 index 000000000000..66641c3dc630 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateMXRecordset.json @@ -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" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateNSRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateNSRecordset.json new file mode 100644 index 000000000000..340725021f88 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateNSRecordset.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "NS", + "parameters": { + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "NSRecords": [ + { + "nsdname": "ns1.contoso.com" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/NS/record1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "record1", + "type": "Microsoft.Network/dnsZones/NS", + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "fqdn": "record1.zone1", + "NSRecords": [ + { + "nsdname": "ns1.contoso.com" + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/NS/record1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "record1", + "type": "Microsoft.Network/dnsZones/NS", + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "fqdn": "record1.zone1", + "NSRecords": [ + { + "nsdname": "ns1.contoso.com" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdatePTRRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdatePTRRecordset.json new file mode 100644 index 000000000000..00e51df90693 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdatePTRRecordset.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "zoneName": "0.0.127.in-addr.arpa", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "1", + "recordType": "PTR", + "parameters": { + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "PTRRecords": [ + { + "ptrdname": "localhost" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/0.0.127.in-addr.arpa/PTR/1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "1", + "type": "Microsoft.Network/dnsZones/PTR", + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "fqdn": "1.0.0.127.in-addr.arpa", + "PTRRecords": [ + { + "ptrdname": "localhost" + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/0.0.127.in-addr.arpa/PTR/1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "1", + "type": "Microsoft.Network/dnsZones/PTR", + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "fqdn": "1.0.0.127.in-addr.arpa", + "PTRRecords": [ + { + "ptrdname": "localhost" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateSOARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateSOARecordset.json new file mode 100644 index 000000000000..1a6e8f6caa1d --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateSOARecordset.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "@", + "recordType": "SOA", + "parameters": { + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "SOARecord": { + "host": "ns1.contoso.com", + "email": "hostmaster.contoso.com", + "serialNumber": 1, + "refreshTime": 3600, + "retryTime": 300, + "expireTime": 2419200, + "minimumTTL": 300 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/SOA/@", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "@", + "type": "Microsoft.Network/dnsZones/SOA", + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "fqdn": "zone1", + "SOARecord": { + "host": "ns1.contoso.com", + "email": "hostmaster.contoso.com", + "serialNumber": 1, + "refreshTime": 3600, + "retryTime": 300, + "expireTime": 2419200, + "minimumTTL": 300 + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/SOA/@", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "@", + "type": "Microsoft.Network/dnsZones/SOA", + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "fqdn": "zone1", + "SOARecord": { + "host": "ns1.contoso.com", + "email": "hostmaster.contoso.com", + "serialNumber": 1, + "refreshTime": 3600, + "retryTime": 300, + "expireTime": 2419200, + "minimumTTL": 300 + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateSRVRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateSRVRecordset.json new file mode 100644 index 000000000000..af735af91933 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateSRVRecordset.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "SRV", + "parameters": { + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "SRVRecords": [ + { + "priority": 0, + "weight": 10, + "port": 80, + "target": "contoso.com" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/SRV/record1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "record1", + "type": "Microsoft.Network/dnsZones/SRV", + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "fqdn": "record1.zone1", + "SRVRecords": [ + { + "priority": 0, + "weight": 10, + "port": 80, + "target": "contoso.com" + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/SRV/record1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "record1", + "type": "Microsoft.Network/dnsZones/SRV", + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "fqdn": "record1.zone1", + "SRVRecords": [ + { + "priority": 0, + "weight": 10, + "port": 80, + "target": "contoso.com" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateTXTRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateTXTRecordset.json new file mode 100644 index 000000000000..0aedd2e22689 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateTXTRecordset.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "TXT", + "parameters": { + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "TXTRecords": [ + { + "value": [ "string1", "string2" ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/TXT/record1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "record1", + "type": "Microsoft.Network/dnsZones/TXT", + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "fqdn": "record1.zone1", + "TXTRecords": [ + { + "value": [ "string1", "string2" ] + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/TXT/record1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "record1", + "type": "Microsoft.Network/dnsZones/TXT", + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "fqdn": "record1.zone1", + "TXTRecords": [ + { + "value": [ "string1", "string2" ] + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateZone.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateZone.json new file mode 100644 index 000000000000..1ee58adbfd42 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateZone.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-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" + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteAAAARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteAAAARecordset.json new file mode 100644 index 000000000000..4c93a1905418 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteAAAARecordset.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "AAAA" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteARecordset.json new file mode 100644 index 000000000000..ad3dd481d00b --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteARecordset.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "A" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteCNAMERecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteCNAMERecordset.json new file mode 100644 index 000000000000..b4dd1f9166f4 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteCNAMERecordset.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "CNAME" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteCaaRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteCaaRecordset.json new file mode 100644 index 000000000000..639f98c22fee --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteCaaRecordset.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "CAA" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteMXRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteMXRecordset.json new file mode 100644 index 000000000000..ab132a3df38d --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteMXRecordset.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "MX" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteNSRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteNSRecordset.json new file mode 100644 index 000000000000..823f75608f70 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteNSRecordset.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "NS" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeletePTRRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeletePTRRecordset.json new file mode 100644 index 000000000000..f9df501bf4f2 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeletePTRRecordset.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "zoneName": "0.0.127.in-addr.arpa", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "1", + "recordType": "PTR" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteSRVRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteSRVRecordset.json new file mode 100644 index 000000000000..9af6262230fc --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteSRVRecordset.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "SRV" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteTXTRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteTXTRecordset.json new file mode 100644 index 000000000000..011b051d9f8d --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteTXTRecordset.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "TXT" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteZone.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteZone.json new file mode 100644 index 000000000000..23857faee2f6 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteZone.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://asyncoperationstatusurl" + } + }, + "204": {} + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetAAAARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetAAAARecordset.json new file mode 100644 index 000000000000..2baf90fa80ec --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetAAAARecordset.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "AAAA" + }, + "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" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetARecordset.json new file mode 100644 index 000000000000..f398f24fe452 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetARecordset.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "A" + }, + "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" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetCNAMERecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetCNAMERecordset.json new file mode 100644 index 000000000000..ceb34558602b --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetCNAMERecordset.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "CNAME" + }, + "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" + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetCaaRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetCaaRecordset.json new file mode 100644 index 000000000000..3446e63cbb72 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetCaaRecordset.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-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" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetMXRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetMXRecordset.json new file mode 100644 index 000000000000..58e0fa7fbd5e --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetMXRecordset.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "MX" + }, + "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" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetNSRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetNSRecordset.json new file mode 100644 index 000000000000..20658800c869 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetNSRecordset.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "NS" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/NS/record1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "record1", + "type": "Microsoft.Network/dnsZones/NS", + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "fqdn": "record1.zone1", + "NSRecords": [ + { + "nsdname": "ns1.contoso.com" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetPTRRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetPTRRecordset.json new file mode 100644 index 000000000000..9b64d5f0cdfa --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetPTRRecordset.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "zoneName": "0.0.127.in-addr.arpa", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "1", + "recordType": "PTR" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/0.0.127.in-addr.arpa/PTR/1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "1", + "type": "Microsoft.Network/dnsZones/PTR", + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "fqdn": "1.0.0.127.in-addr.arpa", + "PTRRecords": [ + { + "ptrdname": "localhost" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetSOARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetSOARecordset.json new file mode 100644 index 000000000000..7f8f1588a3c1 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetSOARecordset.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "@", + "recordType": "SOA" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/SOA/@", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "@", + "type": "Microsoft.Network/dnsZones/SOA", + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "fqdn": "zone1", + "SOARecord": { + "host": "ns1.contoso.com", + "email": "hostmaster.contoso.com", + "serialNumber": 1, + "refreshTime": 3600, + "retryTime": 300, + "expireTime": 2419200, + "minimumTTL": 300 + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetSRVRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetSRVRecordset.json new file mode 100644 index 000000000000..08f05fe6b00a --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetSRVRecordset.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "SRV" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/SRV/record1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "record1", + "type": "Microsoft.Network/dnsZones/SRV", + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "fqdn": "record1.zone1", + "SRVRecords": [ + { + "priority": 0, + "weight": 10, + "port": 80, + "target": "contoso.com" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetTXTRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetTXTRecordset.json new file mode 100644 index 000000000000..561eedd38ad6 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetTXTRecordset.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "TXT" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/TXT/record1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "record1", + "type": "Microsoft.Network/dnsZones/TXT", + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "fqdn": "record1.zone1", + "TXTRecords": [ + { + "value": [ "string1", "string2" ] + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetZone.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetZone.json new file mode 100644 index 000000000000..b84f7a69eac5 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetZone.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-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" + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListAAAARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListAAAARecordset.json new file mode 100644 index 000000000000..e43aca35aa89 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListAAAARecordset.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "recordType": "AAAA" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/AAAA?api-version=2017-10-01&$skipToken=skipToken", + "value": [ + { + "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" + } + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListARecordset.json new file mode 100644 index 000000000000..a68653cf5c30 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListARecordset.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "recordType": "A" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/A?api-version=2017-10-01&$skipToken=skipToken", + "value": [ + { + "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" + } + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListCNAMERecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListCNAMERecordset.json new file mode 100644 index 000000000000..dbcbd813729a --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListCNAMERecordset.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "recordType": "CNAME" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/CNAME?api-version=2017-10-01&$skipToken=skipToken", + "value": [ + { + "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" + } + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListCaaRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListCaaRecordset.json new file mode 100644 index 000000000000..b6667b683600 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListCaaRecordset.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "recordType": "CAA" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/CAA?api-version=2017-10-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" + } + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListMXRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListMXRecordset.json new file mode 100644 index 000000000000..c4ec665a6455 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListMXRecordset.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "recordType": "MX" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/MX?api-version=2017-10-01&$skipToken=skipToken", + "value": [ + { + "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" + } + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListNSRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListNSRecordset.json new file mode 100644 index 000000000000..fc6bb7100c6d --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListNSRecordset.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "recordType": "NS" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/NS?api-version=2017-10-01&$skipToken=skipToken", + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/NS/record1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "record1", + "type": "Microsoft.Network/dnsZones/NS", + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "fqdn": "record1.zone1", + "NSRecords": [ + { + "nsdname": "ns1.contoso.com" + } + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListPTRRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListPTRRecordset.json new file mode 100644 index 000000000000..81dcea969f37 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListPTRRecordset.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "zoneName": "0.0.127.in-addr.arpa", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "recordType": "PTR" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/0.0.127.in-addr.arpa/PTR?api-version=2017-10-01&$skipToken=skipToken", + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/0.0.127.in-addr.arpa/PTR/1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "1", + "type": "Microsoft.Network/dnsZones/PTR", + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "fqdn": "1.0.0.127.in-addr.arpa", + "PTRRecords": [ + { + "ptrdname": "localhost" + } + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListRecordSetsByZone.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListRecordSetsByZone.json new file mode 100644 index 000000000000..2036c8a8c49a --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListRecordSetsByZone.json @@ -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" + } + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListSOARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListSOARecordset.json new file mode 100644 index 000000000000..04e530a4c1e0 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListSOARecordset.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "recordType": "SOA" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/SOA?api-version=2017-10-01&$skipToken=skipToken", + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/SOA/@", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "@", + "type": "Microsoft.Network/dnsZones/SOA", + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "fqdn": "zone1", + "SOARecord": { + "host": "ns1.contoso.com", + "email": "hostmaster.contoso.com", + "serialNumber": 1, + "refreshTime": 3600, + "retryTime": 300, + "expireTime": 2419200, + "minimumTTL": 300 + } + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListSRVRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListSRVRecordset.json new file mode 100644 index 000000000000..405a414bd140 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListSRVRecordset.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "recordType": "SRV" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/SRV?api-version=2017-10-01&$skipToken=skipToken", + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/SRV/record1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "record1", + "type": "Microsoft.Network/dnsZones/SRV", + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "fqdn": "record1.zone1", + "SRVRecords": [ + { + "priority": 0, + "weight": 10, + "port": 80, + "target": "contoso.com" + } + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListTXTRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListTXTRecordset.json new file mode 100644 index 000000000000..57428d42ab27 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListTXTRecordset.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "recordType": "TXT" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/TXT?api-version=2017-10-01&$skipToken=skipToken", + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/TXT/record1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "record1", + "type": "Microsoft.Network/dnsZones/TXT", + "properties": { + "metadata": { + "key1": "value1" + }, + "TTL": 3600, + "fqdn": "record1.zone1", + "TXTRecords": [ + { + "value": [ "string1", "string2" ] + } + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListZonesByResourceGroup.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListZonesByResourceGroup.json new file mode 100644 index 000000000000..61ee5130eb06 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListZonesByResourceGroup.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones?api-version=2017-10-01&$skipToken=skipToken", + "value": [ + { + "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" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone2", + "etag": "00000000-0000-0000-0000-000000000000", + "location": "global", + "name": "zone2", + "type": "Microsoft.Network/dnsZones", + "properties": { + "maxNumberOfRecordSets": 5000, + "numberOfRecordSets": 300, + "nameServers": [ + "ns1-02.azure-dns.com", + "ns2-02.azure-dns.net", + "ns3-02.azure-dns.org", + "ns4-02.azure-dns.info" + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListZonesBySubscription.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListZonesBySubscription.json new file mode 100644 index 000000000000..2e79c1003e77 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListZonesBySubscription.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2017-10-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://servicehost/subscriptions/subid/providers/Microsoft.Network/dnsZones?api-version=2017-10-01&$skipToken=skipToken", + "value": [ + { + "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" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/dnsZones/zone2", + "etag": "00000000-0000-0000-0000-000000000000", + "location": "global", + "name": "zone2", + "type": "Microsoft.Network/dnsZones", + "properties": { + "maxNumberOfRecordSets": 5000, + "numberOfRecordSets": 300, + "nameServers": [ + "ns1-02.azure-dns.com", + "ns2-02.azure-dns.net", + "ns3-02.azure-dns.org", + "ns4-02.azure-dns.info" + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchAAAARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchAAAARecordset.json new file mode 100644 index 000000000000..827364a19e33 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchAAAARecordset.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "AAAA", + "parameters": { + "properties": { + "metadata": { + "key2": "value2" + } + } + } + }, + "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": { + "key2": "value2" + }, + "TTL": 3600, + "fqdn": "record1.zone1", + "AAAARecords": [ + { + "ipv6Address": "::1" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchARecordset.json new file mode 100644 index 000000000000..201a2b18e206 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchARecordset.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "A", + "parameters": { + "properties": { + "metadata": { + "key2": "value2" + } + } + } + }, + "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": { + "key2": "value2" + }, + "TTL": 3600, + "fqdn": "record1.zone1", + "ARecords": [ + { + "ipv4Address": "127.0.0.1" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchCNAMERecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchCNAMERecordset.json new file mode 100644 index 000000000000..9084b361a87b --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchCNAMERecordset.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "CNAME", + "parameters": { + "properties": { + "metadata": { + "key2": "value2" + } + } + } + }, + "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": { + "key2": "value2" + }, + "TTL": 3600, + "fqdn": "record1.zone1", + "CNAMERecord": { + "cname": "contoso.com" + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchCaaRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchCaaRecordset.json new file mode 100644 index 000000000000..63beabe4032d --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchCaaRecordset.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "CAA", + "parameters": { + "properties": { + "metadata": { + "key2": "value2" + } + } + } + }, + "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": { + "key2": "value2" + }, + "TTL": 3600, + "fqdn": "record1.zone1", + "caaRecords": [ + { + "flags": 0, + "tag": "issue", + "value": "ca.contoso.com" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchMXRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchMXRecordset.json new file mode 100644 index 000000000000..cb924d351c80 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchMXRecordset.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "MX", + "parameters": { + "properties": { + "metadata": { + "key2": "value2" + } + } + } + }, + "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": { + "key2": "value2" + }, + "TTL": 3600, + "fqdn": "record1.zone1", + "MXRecords": [ + { + "preference": 0, + "exchange": "mail.contoso.com" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchNSRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchNSRecordset.json new file mode 100644 index 000000000000..0af8cf4172eb --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchNSRecordset.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "NS", + "parameters": { + "properties": { + "metadata": { + "key2": "value2" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/NS/record1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "record1", + "type": "Microsoft.Network/dnsZones/NS", + "properties": { + "metadata": { + "key2": "value2" + }, + "TTL": 3600, + "fqdn": "record1.zone1", + "NSRecords": [ + { + "nsdname": "ns1.contoso.com" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchPTRRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchPTRRecordset.json new file mode 100644 index 000000000000..a7f141eab4cb --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchPTRRecordset.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "zoneName": "0.0.127.in-addr.arpa", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "1", + "recordType": "PTR", + "parameters": { + "properties": { + "metadata": { + "key2": "value2" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/0.0.127.in-addr.arpa/PTR/1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "1", + "type": "Microsoft.Network/dnsZones/PTR", + "properties": { + "metadata": { + "key2": "value2" + }, + "TTL": 3600, + "fqdn": "1.0.0.127.in-addr.arpa", + "PTRRecords": [ + { + "ptrdname": "localhost" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchSOARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchSOARecordset.json new file mode 100644 index 000000000000..375bbf9c0cae --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchSOARecordset.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "@", + "recordType": "SOA", + "parameters": { + "properties": { + "metadata": { + "key2": "value2" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/SOA/@", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "@", + "type": "Microsoft.Network/dnsZones/SOA", + "properties": { + "metadata": { + "key2": "value2" + }, + "TTL": 3600, + "fqdn": "zone1", + "SOARecord": { + "host": "ns1.contoso.com", + "email": "hostmaster.contoso.com", + "serialNumber": 1, + "refreshTime": 3600, + "retryTime": 300, + "expireTime": 2419200, + "minimumTTL": 300 + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchSRVRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchSRVRecordset.json new file mode 100644 index 000000000000..c02849c71c5f --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchSRVRecordset.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "SRV", + "parameters": { + "properties": { + "metadata": { + "key2": "value2" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/SRV/record1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "record1", + "type": "Microsoft.Network/dnsZones/SRV", + "properties": { + "metadata": { + "key2": "value2" + }, + "TTL": 3600, + "fqdn": "record1.zone1", + "SRVRecords": [ + { + "priority": 0, + "weight": 10, + "port": 80, + "target": "contoso.com" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchTXTRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchTXTRecordset.json new file mode 100644 index 000000000000..451e0d51bebd --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchTXTRecordset.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "relativeRecordSetName": "record1", + "recordType": "TXT", + "parameters": { + "properties": { + "metadata": { + "key2": "value2" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/TXT/record1", + "etag": "00000000-0000-0000-0000-000000000000", + "name": "record1", + "type": "Microsoft.Network/dnsZones/TXT", + "properties": { + "metadata": { + "key2": "value2" + }, + "TTL": 3600, + "fqdn": "record1.zone1", + "TXTRecords": [ + { + "value": [ "string1", "string2" ] + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchZone.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchZone.json new file mode 100644 index 000000000000..e00d22fa53d8 --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchZone.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2017-10-01", + "subscriptionId": "subid", + "parameters": { + "location": "Global", + "tags": { + "key2": "value2" + } + } + }, + "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": { + "key2": "value2" + } + } + } + } +} \ No newline at end of file From 6e09463bd08c1a82ed09f6640a2f6e174b9beb1e Mon Sep 17 00:00:00 2001 From: Korede Owolabi Date: Fri, 2 Mar 2018 16:34:53 -0800 Subject: [PATCH 2/6] Add 2018-03-01-preview DNS API version --- .../preview/2018-03-01-preview/dns.json | 33 +++++++++++++++++-- specification/dns/resource-manager/readme.md | 21 +++++++++++- 2 files changed, 51 insertions(+), 3 deletions(-) diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/dns.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/dns.json index fa33b9a79c2d..8b5ffa567c1b 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/dns.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/dns.json @@ -3,7 +3,7 @@ "info": { "title": "DnsManagementClient", "description": "The DNS Management Client.", - "version": "2017-10-01" + "version": "2018-03-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -1442,8 +1442,38 @@ }, "description": "The name servers for this DNS zone. This is a read-only property and any attempt to set this value will be ignored.", "readOnly": true + }, + "zoneType": { + "type": "string", + "enum": [ + "Public", + "Private" + ], + "x-ms-enum": { + "name": "ZoneType", + "modelAsString": false + }, + "default": "Public", + "description": "The type of this DNS zone (Public or Private)." + }, + "registrationVirtualNetworks": { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + }, + "description": "A list of references to virtual networks that register hostnames in this DNS zone. This is a only when ZoneType is Private." + }, + "resolutionVirtualNetworks": { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + }, + "description": "A list of references to virtual networks that resolve records in this DNS zone. This is a only when ZoneType is Private." } }, + "required": [ + "zoneType" + ], "description": "Represents the properties of the zone." }, "Zone": { @@ -1525,7 +1555,6 @@ "description": "Resource Id." } }, - "x-ms-external": true, "description": "A reference to a another resource" }, "CloudError": { diff --git a/specification/dns/resource-manager/readme.md b/specification/dns/resource-manager/readme.md index 619206d093ab..79d0a093e596 100644 --- a/specification/dns/resource-manager/readme.md +++ b/specification/dns/resource-manager/readme.md @@ -26,7 +26,16 @@ These are the global settings for the DNS API. ``` yaml openapi-type: arm -tag: package-2017-10 +tag: package-2018-03-preview +``` + +### Tag: package-2018-03-preview + +These settings apply only when `--tag=package-2018-03-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2018-03-preview' +input-file: +- Microsoft.Network/preview/2018-03-01-preview/dns.json ``` ### Tag: package-2017-10 @@ -160,12 +169,22 @@ go: ``` yaml $(go) && $(multiapi) batch: + - tag: package-2018-03-preview - tag: package-2017-10 - tag: package-2017-09 - tag: package-2016-04 - tag: package-2015-05-preview ``` +### Tag: package-2018-03-preview and go + +These settings apply only when `--tag=package-2018-03-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-03-preview' && $(go) +output-folder: $(go-sdk-folder)/services/dns/mgmt/2018-03-01-preview/dns +``` + ### Tag: package-2017-10 and go These settings apply only when `--tag=package-2017-10 --go` is specified on the command line. From c04b1f83d98ee5bff87f5b40957ced445ccef144 Mon Sep 17 00:00:00 2001 From: Korede Owolabi Date: Tue, 6 Mar 2018 16:33:36 -0800 Subject: [PATCH 3/6] updating examples to version 2018-03-01-preview --- .../examples/CreateOrUpdateAAAARecordset.json | 2 +- .../examples/CreateOrUpdateARecordset.json | 2 +- .../examples/CreateOrUpdateCNAMERecordset.json | 2 +- .../examples/CreateOrUpdateCaaRecordset.json | 2 +- .../examples/CreateOrUpdateMXRecordset.json | 2 +- .../examples/CreateOrUpdateNSRecordset.json | 2 +- .../examples/CreateOrUpdatePTRRecordset.json | 2 +- .../examples/CreateOrUpdateSOARecordset.json | 2 +- .../examples/CreateOrUpdateSRVRecordset.json | 2 +- .../examples/CreateOrUpdateTXTRecordset.json | 2 +- .../2018-03-01-preview/examples/CreateOrUpdateZone.json | 8 +++++--- .../2018-03-01-preview/examples/DeleteAAAARecordset.json | 2 +- .../2018-03-01-preview/examples/DeleteARecordset.json | 2 +- .../2018-03-01-preview/examples/DeleteCNAMERecordset.json | 2 +- .../2018-03-01-preview/examples/DeleteCaaRecordset.json | 2 +- .../2018-03-01-preview/examples/DeleteMXRecordset.json | 2 +- .../2018-03-01-preview/examples/DeleteNSRecordset.json | 2 +- .../2018-03-01-preview/examples/DeletePTRRecordset.json | 2 +- .../2018-03-01-preview/examples/DeleteSRVRecordset.json | 2 +- .../2018-03-01-preview/examples/DeleteTXTRecordset.json | 2 +- .../preview/2018-03-01-preview/examples/DeleteZone.json | 2 +- .../2018-03-01-preview/examples/GetAAAARecordset.json | 2 +- .../2018-03-01-preview/examples/GetARecordset.json | 2 +- .../2018-03-01-preview/examples/GetCNAMERecordset.json | 2 +- .../2018-03-01-preview/examples/GetCaaRecordset.json | 2 +- .../2018-03-01-preview/examples/GetMXRecordset.json | 2 +- .../2018-03-01-preview/examples/GetNSRecordset.json | 2 +- .../2018-03-01-preview/examples/GetPTRRecordset.json | 2 +- .../2018-03-01-preview/examples/GetSOARecordset.json | 2 +- .../2018-03-01-preview/examples/GetSRVRecordset.json | 2 +- .../2018-03-01-preview/examples/GetTXTRecordset.json | 2 +- .../preview/2018-03-01-preview/examples/GetZone.json | 2 +- .../2018-03-01-preview/examples/ListAAAARecordset.json | 4 ++-- .../2018-03-01-preview/examples/ListARecordset.json | 4 ++-- .../2018-03-01-preview/examples/ListCNAMERecordset.json | 4 ++-- .../2018-03-01-preview/examples/ListCaaRecordset.json | 4 ++-- .../2018-03-01-preview/examples/ListMXRecordset.json | 4 ++-- .../2018-03-01-preview/examples/ListNSRecordset.json | 4 ++-- .../2018-03-01-preview/examples/ListPTRRecordset.json | 4 ++-- .../2018-03-01-preview/examples/ListRecordSetsByZone.json | 4 ++-- .../2018-03-01-preview/examples/ListSOARecordset.json | 4 ++-- .../2018-03-01-preview/examples/ListSRVRecordset.json | 4 ++-- .../2018-03-01-preview/examples/ListTXTRecordset.json | 4 ++-- .../examples/ListZonesByResourceGroup.json | 4 ++-- .../examples/ListZonesBySubscription.json | 4 ++-- .../2018-03-01-preview/examples/PatchAAAARecordset.json | 2 +- .../2018-03-01-preview/examples/PatchARecordset.json | 2 +- .../2018-03-01-preview/examples/PatchCNAMERecordset.json | 2 +- .../2018-03-01-preview/examples/PatchCaaRecordset.json | 2 +- .../2018-03-01-preview/examples/PatchMXRecordset.json | 2 +- .../2018-03-01-preview/examples/PatchNSRecordset.json | 2 +- .../2018-03-01-preview/examples/PatchPTRRecordset.json | 2 +- .../2018-03-01-preview/examples/PatchSOARecordset.json | 2 +- .../2018-03-01-preview/examples/PatchSRVRecordset.json | 2 +- .../2018-03-01-preview/examples/PatchTXTRecordset.json | 2 +- .../preview/2018-03-01-preview/examples/PatchZone.json | 2 +- 56 files changed, 73 insertions(+), 71 deletions(-) diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateAAAARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateAAAARecordset.json index f6e67fffa943..c77cfbcd8422 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateAAAARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateAAAARecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-09-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "AAAA", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateARecordset.json index a88c76ff27cf..4fb42d145ba5 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateARecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "A", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateCNAMERecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateCNAMERecordset.json index 9f94f6697129..24bf6f80ad7e 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateCNAMERecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateCNAMERecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "CNAME", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateCaaRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateCaaRecordset.json index 95856bd4ac32..a1ac2017b881 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateCaaRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateCaaRecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "CAA", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateMXRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateMXRecordset.json index 66641c3dc630..f2e5f4cd61af 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateMXRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateMXRecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "MX", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateNSRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateNSRecordset.json index 340725021f88..6460e5d28ce7 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateNSRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateNSRecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "NS", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdatePTRRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdatePTRRecordset.json index 00e51df90693..9f426009fdd9 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdatePTRRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdatePTRRecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "0.0.127.in-addr.arpa", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "1", "recordType": "PTR", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateSOARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateSOARecordset.json index 1a6e8f6caa1d..27e35461e5df 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateSOARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateSOARecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "@", "recordType": "SOA", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateSRVRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateSRVRecordset.json index af735af91933..76bc02fe359d 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateSRVRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateSRVRecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "SRV", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateTXTRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateTXTRecordset.json index 0aedd2e22689..258742a1d5b2 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateTXTRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateTXTRecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "TXT", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateZone.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateZone.json index 1ee58adbfd42..e2f4fb0c58f2 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateZone.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdateZone.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "parameters": { "location": "Global", @@ -27,7 +27,8 @@ "ns2-01.azure-dns.net", "ns3-01.azure-dns.org", "ns4-01.azure-dns.info" - ] + ], + "zoneType":"Public" }, "tags": { "key1": "value1" @@ -49,7 +50,8 @@ "ns2-01.azure-dns.net", "ns3-01.azure-dns.org", "ns4-01.azure-dns.info" - ] + ], + "zoneType":"Public" }, "tags": { "key1": "value1" diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteAAAARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteAAAARecordset.json index 4c93a1905418..3c54ae0f2fd4 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteAAAARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteAAAARecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "AAAA" diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteARecordset.json index ad3dd481d00b..3aa2b719465a 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteARecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "A" diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteCNAMERecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteCNAMERecordset.json index b4dd1f9166f4..8f1497d35bbb 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteCNAMERecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteCNAMERecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "CNAME" diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteCaaRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteCaaRecordset.json index 639f98c22fee..c237fd4a81f2 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteCaaRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteCaaRecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "CAA" diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteMXRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteMXRecordset.json index ab132a3df38d..ef04a4e9e7f3 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteMXRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteMXRecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "MX" diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteNSRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteNSRecordset.json index 823f75608f70..2330a8064651 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteNSRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteNSRecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "NS" diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeletePTRRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeletePTRRecordset.json index f9df501bf4f2..553c94bcc3f0 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeletePTRRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeletePTRRecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "0.0.127.in-addr.arpa", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "1", "recordType": "PTR" diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteSRVRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteSRVRecordset.json index 9af6262230fc..21fc3bf0785a 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteSRVRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteSRVRecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "SRV" diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteTXTRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteTXTRecordset.json index 011b051d9f8d..fd1dbfb4f1e2 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteTXTRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteTXTRecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "TXT" diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteZone.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteZone.json index 23857faee2f6..e7837824fc23 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteZone.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/DeleteZone.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid" }, "responses": { diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetAAAARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetAAAARecordset.json index 2baf90fa80ec..91cb55cbe06a 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetAAAARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetAAAARecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "AAAA" diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetARecordset.json index f398f24fe452..54c329776155 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetARecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "A" diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetCNAMERecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetCNAMERecordset.json index ceb34558602b..17373b90361e 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetCNAMERecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetCNAMERecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "CNAME" diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetCaaRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetCaaRecordset.json index 3446e63cbb72..4edc848f5504 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetCaaRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetCaaRecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "CAA" diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetMXRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetMXRecordset.json index 58e0fa7fbd5e..6d521825c089 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetMXRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetMXRecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "MX" diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetNSRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetNSRecordset.json index 20658800c869..30750e21ebf2 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetNSRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetNSRecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "NS" diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetPTRRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetPTRRecordset.json index 9b64d5f0cdfa..6c80ad294e33 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetPTRRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetPTRRecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "0.0.127.in-addr.arpa", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "1", "recordType": "PTR" diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetSOARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetSOARecordset.json index 7f8f1588a3c1..be94df8af220 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetSOARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetSOARecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "@", "recordType": "SOA" diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetSRVRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetSRVRecordset.json index 08f05fe6b00a..7beaecd9281a 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetSRVRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetSRVRecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "SRV" diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetTXTRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetTXTRecordset.json index 561eedd38ad6..25d05771bb11 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetTXTRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetTXTRecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "TXT" diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetZone.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetZone.json index b84f7a69eac5..69d34abae586 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetZone.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/GetZone.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid" }, "responses": { diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListAAAARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListAAAARecordset.json index e43aca35aa89..f8ba868d23ed 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListAAAARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListAAAARecordset.json @@ -2,14 +2,14 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "recordType": "AAAA" }, "responses": { "200": { "body": { - "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/AAAA?api-version=2017-10-01&$skipToken=skipToken", + "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/AAAA?api-version=2018-03-01-preview&$skipToken=skipToken", "value": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/AAAA/record1", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListARecordset.json index a68653cf5c30..526fe4a44282 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListARecordset.json @@ -2,14 +2,14 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "recordType": "A" }, "responses": { "200": { "body": { - "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/A?api-version=2017-10-01&$skipToken=skipToken", + "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/A?api-version=2018-03-01-preview&$skipToken=skipToken", "value": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/A/record1", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListCNAMERecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListCNAMERecordset.json index dbcbd813729a..1b425a17904e 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListCNAMERecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListCNAMERecordset.json @@ -2,14 +2,14 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "recordType": "CNAME" }, "responses": { "200": { "body": { - "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/CNAME?api-version=2017-10-01&$skipToken=skipToken", + "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/CNAME?api-version=2018-03-01-preview&$skipToken=skipToken", "value": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/CNAME/record1", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListCaaRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListCaaRecordset.json index b6667b683600..574afd297970 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListCaaRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListCaaRecordset.json @@ -2,14 +2,14 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "recordType": "CAA" }, "responses": { "200": { "body": { - "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/CAA?api-version=2017-10-01&$skipToken=skipToken", + "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/CAA?api-version=2018-03-01-preview&$skipToken=skipToken", "value": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/CAA/record1", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListMXRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListMXRecordset.json index c4ec665a6455..46de44626d8a 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListMXRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListMXRecordset.json @@ -2,14 +2,14 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "recordType": "MX" }, "responses": { "200": { "body": { - "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/MX?api-version=2017-10-01&$skipToken=skipToken", + "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/MX?api-version=2018-03-01-preview&$skipToken=skipToken", "value": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/MX/record1", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListNSRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListNSRecordset.json index fc6bb7100c6d..168ec56a7b06 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListNSRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListNSRecordset.json @@ -2,14 +2,14 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "recordType": "NS" }, "responses": { "200": { "body": { - "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/NS?api-version=2017-10-01&$skipToken=skipToken", + "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/NS?api-version=2018-03-01-preview&$skipToken=skipToken", "value": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/NS/record1", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListPTRRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListPTRRecordset.json index 81dcea969f37..341e5e769d8a 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListPTRRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListPTRRecordset.json @@ -2,14 +2,14 @@ "parameters": { "zoneName": "0.0.127.in-addr.arpa", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "recordType": "PTR" }, "responses": { "200": { "body": { - "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/0.0.127.in-addr.arpa/PTR?api-version=2017-10-01&$skipToken=skipToken", + "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/0.0.127.in-addr.arpa/PTR?api-version=2018-03-01-preview&$skipToken=skipToken", "value": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/0.0.127.in-addr.arpa/PTR/1", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListRecordSetsByZone.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListRecordSetsByZone.json index 2036c8a8c49a..e4704d503ac9 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListRecordSetsByZone.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListRecordSetsByZone.json @@ -2,13 +2,13 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-09-01", + "api-version": "2018-03-01-preview", "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", + "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/CAA?api-version=2018-03-01-preview&$skipToken=skipToken", "value": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/CAA/record1", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListSOARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListSOARecordset.json index 04e530a4c1e0..cceab2eea3c7 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListSOARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListSOARecordset.json @@ -2,14 +2,14 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "recordType": "SOA" }, "responses": { "200": { "body": { - "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/SOA?api-version=2017-10-01&$skipToken=skipToken", + "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/SOA?api-version=2018-03-01-preview&$skipToken=skipToken", "value": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/SOA/@", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListSRVRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListSRVRecordset.json index 405a414bd140..098948746c45 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListSRVRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListSRVRecordset.json @@ -2,14 +2,14 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "recordType": "SRV" }, "responses": { "200": { "body": { - "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/SRV?api-version=2017-10-01&$skipToken=skipToken", + "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/SRV?api-version=2018-03-01-preview&$skipToken=skipToken", "value": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/SRV/record1", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListTXTRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListTXTRecordset.json index 57428d42ab27..fc6ca39cdab2 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListTXTRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListTXTRecordset.json @@ -2,14 +2,14 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "recordType": "TXT" }, "responses": { "200": { "body": { - "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/TXT?api-version=2017-10-01&$skipToken=skipToken", + "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/TXT?api-version=2018-03-01-preview&$skipToken=skipToken", "value": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1/TXT/record1", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListZonesByResourceGroup.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListZonesByResourceGroup.json index 61ee5130eb06..18f389d1272e 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListZonesByResourceGroup.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListZonesByResourceGroup.json @@ -1,13 +1,13 @@ { "parameters": { "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid" }, "responses": { "200": { "body": { - "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones?api-version=2017-10-01&$skipToken=skipToken", + "nextLink": "https://servicehost/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones?api-version=2018-03-01-preview&$skipToken=skipToken", "value": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListZonesBySubscription.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListZonesBySubscription.json index 2e79c1003e77..3123cdae5540 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListZonesBySubscription.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/ListZonesBySubscription.json @@ -1,12 +1,12 @@ { "parameters": { - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid" }, "responses": { "200": { "body": { - "nextLink": "https://servicehost/subscriptions/subid/providers/Microsoft.Network/dnsZones?api-version=2017-10-01&$skipToken=skipToken", + "nextLink": "https://servicehost/subscriptions/subid/providers/Microsoft.Network/dnsZones?api-version=2018-03-01-preview&$skipToken=skipToken", "value": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/dnsZones/zone1", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchAAAARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchAAAARecordset.json index 827364a19e33..f1298d25bcbe 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchAAAARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchAAAARecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "AAAA", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchARecordset.json index 201a2b18e206..70034cadd738 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchARecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "A", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchCNAMERecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchCNAMERecordset.json index 9084b361a87b..e618f0013aec 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchCNAMERecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchCNAMERecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "CNAME", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchCaaRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchCaaRecordset.json index 63beabe4032d..d2888020e4c3 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchCaaRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchCaaRecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "CAA", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchMXRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchMXRecordset.json index cb924d351c80..c98538379052 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchMXRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchMXRecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "MX", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchNSRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchNSRecordset.json index 0af8cf4172eb..61e6e47807d6 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchNSRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchNSRecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "NS", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchPTRRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchPTRRecordset.json index a7f141eab4cb..25332972b292 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchPTRRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchPTRRecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "0.0.127.in-addr.arpa", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "1", "recordType": "PTR", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchSOARecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchSOARecordset.json index 375bbf9c0cae..5a9509077865 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchSOARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchSOARecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "@", "recordType": "SOA", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchSRVRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchSRVRecordset.json index c02849c71c5f..734495d189f2 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchSRVRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchSRVRecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "SRV", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchTXTRecordset.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchTXTRecordset.json index 451e0d51bebd..913e82a3a09a 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchTXTRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchTXTRecordset.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "relativeRecordSetName": "record1", "recordType": "TXT", diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchZone.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchZone.json index e00d22fa53d8..f5a742704059 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchZone.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/PatchZone.json @@ -2,7 +2,7 @@ "parameters": { "zoneName": "zone1", "resourceGroupName": "rg1", - "api-version": "2017-10-01", + "api-version": "2018-03-01-preview", "subscriptionId": "subid", "parameters": { "location": "Global", From 7f077e657502fdf38614a27524d933d8d3971a8c Mon Sep 17 00:00:00 2001 From: Korede Owolabi Date: Tue, 6 Mar 2018 17:14:32 -0800 Subject: [PATCH 4/6] Adding private zone example --- .../examples/CreateOrUpdatePrivateZone.json | 82 +++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdatePrivateZone.json diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdatePrivateZone.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdatePrivateZone.json new file mode 100644 index 000000000000..06811f4052cc --- /dev/null +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdatePrivateZone.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "zoneName": "zone1", + "resourceGroupName": "rg1", + "api-version": "2018-03-01-preview", + "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" + ], + "zoneType": "Private", + "registrationVirtualNetworks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1" + } + ], + "resolutionVirtualNetworks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2" + } + ] + }, + "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" + ], + "zoneType": "Private", + "registrationVirtualNetworks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1" + } + ], + "resolutionVirtualNetworks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2" + } + ] + }, + "tags": { + "key1": "value1" + } + } + } + } +} \ No newline at end of file From 73b666612ab894e44e001b205e7523fc7d4006cb Mon Sep 17 00:00:00 2001 From: Korede Owolabi Date: Thu, 8 Mar 2018 13:09:06 -0800 Subject: [PATCH 5/6] removing the required property on zoneType also fixing example --- .../preview/2018-03-01-preview/dns.json | 3 --- .../examples/CreateOrUpdatePrivateZone.json | 18 ++++-------------- 2 files changed, 4 insertions(+), 17 deletions(-) diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/dns.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/dns.json index 8b5ffa567c1b..33cc40997c30 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/dns.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/dns.json @@ -1471,9 +1471,6 @@ "description": "A list of references to virtual networks that resolve records in this DNS zone. This is a only when ZoneType is Private." } }, - "required": [ - "zoneType" - ], "description": "Represents the properties of the zone." }, "Zone": { diff --git a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdatePrivateZone.json b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdatePrivateZone.json index 06811f4052cc..77aae07dab1f 100644 --- a/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdatePrivateZone.json +++ b/specification/dns/resource-manager/Microsoft.Network/preview/2018-03-01-preview/examples/CreateOrUpdatePrivateZone.json @@ -21,13 +21,8 @@ "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" - ], + "numberOfRecordSets": 1, + "nameServers": [], "zoneType": "Private", "registrationVirtualNetworks": [ { @@ -54,13 +49,8 @@ "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" - ], + "numberOfRecordSets": 1, + "nameServers": [], "zoneType": "Private", "registrationVirtualNetworks": [ { From c0f3031b6922d42f5f194bc965adc422fd0679c1 Mon Sep 17 00:00:00 2001 From: Korede Owolabi Date: Tue, 13 Mar 2018 10:19:54 -0700 Subject: [PATCH 6/6] Adding scoping to error suppressions --- specification/dns/resource-manager/readme.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/specification/dns/resource-manager/readme.md b/specification/dns/resource-manager/readme.md index 79d0a093e596..3ddaf82b9fb1 100644 --- a/specification/dns/resource-manager/readme.md +++ b/specification/dns/resource-manager/readme.md @@ -36,6 +36,25 @@ These settings apply only when `--tag=package-2018-03-preview` is specified on t ``` yaml $(tag) == 'package-2018-03-preview' input-file: - Microsoft.Network/preview/2018-03-01-preview/dns.json +directive: + - where: + - $.paths + suppress: + - OperationsAPIImplementation + - where: + - $.definitions.RecordSetProperties.properties.TTL + - $.definitions.RecordSetProperties.properties.ARecords + - $.definitions.RecordSetProperties.properties.AAAARecords + - $.definitions.RecordSetProperties.properties.MXRecords + - $.definitions.RecordSetProperties.properties.NSRecords + - $.definitions.RecordSetProperties.properties.PTRRecords + - $.definitions.RecordSetProperties.properties.SRVRecords + - $.definitions.RecordSetProperties.properties.TXTRecords + - $.definitions.RecordSetProperties.properties.CNAMERecord + - $.definitions.RecordSetProperties.properties.SOARecord + - $.definitions.RecordSetUpdateParameters.properties.RecordSet + suppress: + - DefinitionsPropertiesNamesCamelCase ``` ### Tag: package-2017-10