Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow parentheses in resource group name. #490

Merged
merged 6 commits into from
Aug 26, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 18 additions & 5 deletions arm-resources/locks/2015-01-01/swagger/locks.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@
"in": "path",
"required": true,
"type": "string",
"description": "The resource group name."
"description": "The resource group name.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "lockName",
Expand Down Expand Up @@ -103,7 +106,9 @@
"required": true,
"type": "string",
"description": "The name of the resource group. ",
"pattern": "^[-\\w\\._]+$"
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "resourceProviderNamespace",
Expand Down Expand Up @@ -185,7 +190,10 @@
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group. "
"description": "The name of the resource group. ",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "resourceProviderNamespace",
Expand Down Expand Up @@ -415,7 +423,10 @@
"in": "path",
"required": true,
"type": "string",
"description": "Resource group name."
"description": "Resource group name.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "$filter",
Expand Down Expand Up @@ -459,7 +470,9 @@
"required": true,
"type": "string",
"description": "The name of the resource group. The name is case insensitive.",
"pattern": "^[-\\w\\._]+$"
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "resourceProviderNamespace",
Expand Down
9 changes: 7 additions & 2 deletions arm-resources/policy/2015-10-01-preview/swagger/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,10 @@
"in": "path",
"required": true,
"type": "string",
"description": "Resource group name."
"description": "Resource group name.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "$filter",
Expand Down Expand Up @@ -217,7 +220,9 @@
"required": true,
"type": "string",
"description": "The name of the resource group. The name is case insensitive.",
"pattern": "^[-\\w\\._]+$"
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "resourceProviderNamespace",
Expand Down
9 changes: 7 additions & 2 deletions arm-resources/policy/2016-04-01/swagger/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,10 @@
"in": "path",
"required": true,
"type": "string",
"description": "Resource group name."
"description": "Resource group name.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "$filter",
Expand Down Expand Up @@ -217,7 +220,9 @@
"required": true,
"type": "string",
"description": "The name of the resource group. The name is case insensitive.",
"pattern": "^[-\\w\\._]+$"
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "resourceProviderNamespace",
Expand Down
92 changes: 70 additions & 22 deletions arm-resources/resources/2015-11-01/swagger/resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@
"required": true,
"type": "string",
"description": "The name of the resource group. The name is case insensitive.",
"pattern": "^[-\\w\\._]+$"
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "deploymentName",
Expand Down Expand Up @@ -86,7 +88,9 @@
"required": true,
"type": "string",
"description": "The name of the resource group to check. The name is case insensitive.",
"pattern": "^[-\\w\\._]+$"
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "deploymentName",
Expand Down Expand Up @@ -124,7 +128,9 @@
"required": true,
"type": "string",
"description": "The name of the resource group. The name is case insensitive.",
"pattern": "^[-\\w\\._]+$"
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "deploymentName",
Expand Down Expand Up @@ -178,7 +184,9 @@
"required": true,
"type": "string",
"description": "The name of the resource group to get. The name is case insensitive.",
"pattern": "^[-\\w\\._]+$"
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "deploymentName",
Expand Down Expand Up @@ -218,7 +226,9 @@
"required": true,
"type": "string",
"description": "The name of the resource group. The name is case insensitive.",
"pattern": "^[-\\w\\._]+$"
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "deploymentName",
Expand Down Expand Up @@ -255,7 +265,9 @@
"required": true,
"type": "string",
"description": "The name of the resource group. The name is case insensitive.",
"pattern": "^[-\\w\\._]+$"
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "deploymentName",
Expand Down Expand Up @@ -309,7 +321,10 @@
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group to filter by. The name is case insensitive."
"description": "The name of the resource group to filter by. The name is case insensitive.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "$filter",
Expand Down Expand Up @@ -492,7 +507,10 @@
"in": "path",
"required": true,
"type": "string",
"description": "Query parameters. If null is passed returns all resource groups."
"description": "Query parameters. If null is passed returns all resource groups.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "$filter",
Expand Down Expand Up @@ -544,7 +562,9 @@
"required": true,
"type": "string",
"description": "The name of the resource group to check. The name is case insensitive.",
"pattern": "^[-\\w\\._]+$"
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -575,7 +595,9 @@
"required": true,
"type": "string",
"description": "The name of the resource group to be created or updated.",
"pattern": "^[-\\w\\._]+$"
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "parameters",
Expand Down Expand Up @@ -621,7 +643,9 @@
"required": true,
"type": "string",
"description": "The name of the resource group to be deleted. The name is case insensitive.",
"pattern": "^[-\\w\\._]+$"
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -653,7 +677,9 @@
"required": true,
"type": "string",
"description": "The name of the resource group to get. The name is case insensitive.",
"pattern": "^[-\\w\\._]+$"
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -684,7 +710,9 @@
"required": true,
"type": "string",
"description": "The name of the resource group to be created or updated. The name is case insensitive.",
"pattern": "^[-\\w\\._]+$"
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "parameters",
Expand Down Expand Up @@ -770,7 +798,9 @@
"required": true,
"type": "string",
"description": "Source resource group name.",
"pattern": "^[-\\w\\._]+$"
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "parameters",
Expand Down Expand Up @@ -857,7 +887,9 @@
"required": true,
"type": "string",
"description": "The name of the resource group. The name is case insensitive.",
"pattern": "^[-\\w\\._]+$"
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "resourceProviderNamespace",
Expand Down Expand Up @@ -921,7 +953,9 @@
"required": true,
"type": "string",
"description": "The name of the resource group. The name is case insensitive.",
"pattern": "^[-\\w\\._]+$"
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "resourceProviderNamespace",
Expand Down Expand Up @@ -988,7 +1022,9 @@
"required": true,
"type": "string",
"description": "The name of the resource group. The name is case insensitive.",
"pattern": "^[-\\w\\._]+$"
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "resourceProviderNamespace",
Expand Down Expand Up @@ -1067,7 +1103,9 @@
"required": true,
"type": "string",
"description": "The name of the resource group. The name is case insensitive.",
"pattern": "^[-\\w\\._]+$"
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "resourceProviderNamespace",
Expand Down Expand Up @@ -1317,7 +1355,9 @@
"required": true,
"type": "string",
"description": "The name of the resource group. The name is case insensitive.",
"pattern": "^[-\\w\\._]+$"
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "deploymentName",
Expand Down Expand Up @@ -1364,7 +1404,9 @@
"required": true,
"type": "string",
"description": "The name of the resource group. The name is case insensitive.",
"pattern": "^[-\\w\\._]+$"
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "deploymentName",
Expand Down Expand Up @@ -1556,7 +1598,10 @@
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
"description": "The name of the resource group.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "resourceProviderNamespace",
Expand Down Expand Up @@ -1627,7 +1672,10 @@
"in": "path",
"required": true,
"type": "string",
"description": "Resource group name."
"description": "Resource group name.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
{
"name": "$filter",
Expand Down
Loading