Skip to content

Commit

Permalink
Move DNS to use the common definition for resource groups (#3219)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad Barosan authored Jun 12, 2018
1 parent 1432f67 commit 9e68aa9
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 266 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90,
"x-ms-parameter-location": "client"
"x-ms-parameter-location": "method"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,7 @@
"description": "Creates a RecordSet within a DNS zone.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "zoneName",
Expand Down Expand Up @@ -135,11 +131,7 @@
"description": "Removes a RecordSet from a DNS zone.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "zoneName",
Expand Down Expand Up @@ -204,11 +196,7 @@
"description": "Gets a RecordSet.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "zoneName",
Expand Down Expand Up @@ -272,11 +260,7 @@
"description": "Lists the RecordSets of a specified type in a DNS zone.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group that contains the zone."
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "zoneName",
Expand Down Expand Up @@ -350,11 +334,7 @@
"description": "Lists all RecordSets in a DNS zone.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group that contains the zone."
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "zoneName",
Expand Down Expand Up @@ -407,11 +387,7 @@
"description": "Creates a DNS zone within a resource group.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "zoneName",
Expand Down Expand Up @@ -468,11 +444,7 @@
"description": "Removes a DNS zone from a resource group.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "zoneName",
Expand Down Expand Up @@ -508,11 +480,7 @@
"description": "Gets a DNS zone.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "zoneName",
Expand Down Expand Up @@ -547,11 +515,7 @@
"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."
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "$top",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,7 @@
"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."
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "zoneName",
Expand Down Expand Up @@ -159,11 +155,7 @@
"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."
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "zoneName",
Expand Down Expand Up @@ -296,11 +288,7 @@
"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."
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "zoneName",
Expand Down Expand Up @@ -407,11 +395,7 @@
"description": "Gets a record set.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "zoneName",
Expand Down Expand Up @@ -515,11 +499,7 @@
"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."
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "zoneName",
Expand Down Expand Up @@ -633,11 +613,7 @@
"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."
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "zoneName",
Expand Down Expand Up @@ -701,11 +677,7 @@
"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."
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "zoneName",
Expand Down Expand Up @@ -770,11 +742,7 @@
"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."
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "zoneName",
Expand Down Expand Up @@ -849,11 +817,7 @@
"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."
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "zoneName",
Expand Down Expand Up @@ -909,11 +873,7 @@
"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."
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "zoneName",
Expand Down Expand Up @@ -957,11 +917,7 @@
"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."
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "zoneName",
Expand Down Expand Up @@ -1024,11 +980,7 @@
"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."
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "$top",
Expand Down
Loading

0 comments on commit 9e68aa9

Please sign in to comment.