Skip to content

Commit e8e01f5

Browse files
authored
update (#26127)
1 parent f06a380 commit e8e01f5

File tree

1 file changed

+17
-42
lines changed
  • specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-09-01

1 file changed

+17
-42
lines changed

specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-09-01/managedClusters.json

Lines changed: 17 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -970,14 +970,7 @@
970970
"$ref": "#/parameters/ResourceNameParameter"
971971
},
972972
{
973-
"name": "agentPoolName",
974-
"in": "path",
975-
"required": true,
976-
"type": "string",
977-
"pattern": "^[a-z][a-z0-9]{0,11}$",
978-
"minLength": 1,
979-
"maxLength": 12,
980-
"description": "The name of the agent pool."
973+
"$ref": "#/parameters/AgentPoolNameParameter"
981974
}
982975
],
983976
"responses": {
@@ -1081,14 +1074,7 @@
10811074
"$ref": "#/parameters/ResourceNameParameter"
10821075
},
10831076
{
1084-
"name": "agentPoolName",
1085-
"in": "path",
1086-
"required": true,
1087-
"type": "string",
1088-
"pattern": "^[a-z][a-z0-9]{0,11}$",
1089-
"minLength": 1,
1090-
"maxLength": 12,
1091-
"description": "The name of the agent pool."
1077+
"$ref": "#/parameters/AgentPoolNameParameter"
10921078
}
10931079
],
10941080
"responses": {
@@ -1131,11 +1117,7 @@
11311117
"$ref": "#/parameters/ResourceNameParameter"
11321118
},
11331119
{
1134-
"name": "agentPoolName",
1135-
"in": "path",
1136-
"required": true,
1137-
"type": "string",
1138-
"description": "The name of the agent pool."
1120+
"$ref": "#/parameters/AgentPoolNameParameter"
11391121
},
11401122
{
11411123
"name": "parameters",
@@ -1242,11 +1224,7 @@
12421224
"$ref": "#/parameters/ResourceNameParameter"
12431225
},
12441226
{
1245-
"name": "agentPoolName",
1246-
"in": "path",
1247-
"required": true,
1248-
"type": "string",
1249-
"description": "The name of the agent pool."
1227+
"$ref": "#/parameters/AgentPoolNameParameter"
12501228
}
12511229
],
12521230
"responses": {
@@ -1298,14 +1276,7 @@
12981276
"$ref": "#/parameters/ResourceNameParameter"
12991277
},
13001278
{
1301-
"name": "agentPoolName",
1302-
"in": "path",
1303-
"required": true,
1304-
"type": "string",
1305-
"pattern": "^[a-z][a-z0-9]{0,11}$",
1306-
"minLength": 1,
1307-
"maxLength": 12,
1308-
"description": "The name of the agent pool."
1279+
"$ref": "#/parameters/AgentPoolNameParameter"
13091280
}
13101281
],
13111282
"responses": {
@@ -1989,14 +1960,7 @@
19891960
"$ref": "#/parameters/ResourceNameParameter"
19901961
},
19911962
{
1992-
"name": "agentPoolName",
1993-
"in": "path",
1994-
"required": true,
1995-
"type": "string",
1996-
"pattern": "^[a-z][a-z0-9]{0,11}$",
1997-
"minLength": 1,
1998-
"maxLength": 12,
1999-
"description": "The name of the agent pool."
1963+
"$ref": "#/parameters/AgentPoolNameParameter"
20001964
}
20011965
],
20021966
"responses": {
@@ -6918,6 +6882,17 @@
69186882
"description": "The name of the managed cluster resource.",
69196883
"x-ms-parameter-location": "method"
69206884
},
6885+
"AgentPoolNameParameter": {
6886+
"name": "agentPoolName",
6887+
"in": "path",
6888+
"required": true,
6889+
"type": "string",
6890+
"pattern": "^[a-z][a-z0-9]{0,11}$",
6891+
"minLength": 1,
6892+
"maxLength": 12,
6893+
"description": "The name of the agent pool.",
6894+
"x-ms-parameter-location": "method"
6895+
},
69216896
"ResourceTypeParameter": {
69226897
"name": "resource-type",
69236898
"in": "query",

0 commit comments

Comments
 (0)