|
970 | 970 | "$ref": "#/parameters/ResourceNameParameter"
|
971 | 971 | },
|
972 | 972 | {
|
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" |
981 | 974 | }
|
982 | 975 | ],
|
983 | 976 | "responses": {
|
|
1081 | 1074 | "$ref": "#/parameters/ResourceNameParameter"
|
1082 | 1075 | },
|
1083 | 1076 | {
|
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" |
1092 | 1078 | }
|
1093 | 1079 | ],
|
1094 | 1080 | "responses": {
|
|
1131 | 1117 | "$ref": "#/parameters/ResourceNameParameter"
|
1132 | 1118 | },
|
1133 | 1119 | {
|
1134 |
| - "name": "agentPoolName", |
1135 |
| - "in": "path", |
1136 |
| - "required": true, |
1137 |
| - "type": "string", |
1138 |
| - "description": "The name of the agent pool." |
| 1120 | + "$ref": "#/parameters/AgentPoolNameParameter" |
1139 | 1121 | },
|
1140 | 1122 | {
|
1141 | 1123 | "name": "parameters",
|
|
1242 | 1224 | "$ref": "#/parameters/ResourceNameParameter"
|
1243 | 1225 | },
|
1244 | 1226 | {
|
1245 |
| - "name": "agentPoolName", |
1246 |
| - "in": "path", |
1247 |
| - "required": true, |
1248 |
| - "type": "string", |
1249 |
| - "description": "The name of the agent pool." |
| 1227 | + "$ref": "#/parameters/AgentPoolNameParameter" |
1250 | 1228 | }
|
1251 | 1229 | ],
|
1252 | 1230 | "responses": {
|
|
1298 | 1276 | "$ref": "#/parameters/ResourceNameParameter"
|
1299 | 1277 | },
|
1300 | 1278 | {
|
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" |
1309 | 1280 | }
|
1310 | 1281 | ],
|
1311 | 1282 | "responses": {
|
|
1989 | 1960 | "$ref": "#/parameters/ResourceNameParameter"
|
1990 | 1961 | },
|
1991 | 1962 | {
|
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" |
2000 | 1964 | }
|
2001 | 1965 | ],
|
2002 | 1966 | "responses": {
|
|
6918 | 6882 | "description": "The name of the managed cluster resource.",
|
6919 | 6883 | "x-ms-parameter-location": "method"
|
6920 | 6884 | },
|
| 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 | + }, |
6921 | 6896 | "ResourceTypeParameter": {
|
6922 | 6897 | "name": "resource-type",
|
6923 | 6898 | "in": "query",
|
|
0 commit comments