|
47 | 47 | "default": { |
48 | 48 | "description": "Error", |
49 | 49 | "schema": { |
50 | | - "$ref": "#/definitions/ErrorResponse" |
| 50 | + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" |
51 | 51 | } |
52 | 52 | } |
53 | 53 | }, |
|
76 | 76 | "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" |
77 | 77 | }, |
78 | 78 | { |
79 | | - "$ref": "#/parameters/ResourceGroupNameParameter" |
| 79 | + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" |
80 | 80 | }, |
81 | 81 | { |
82 | 82 | "$ref": "#/parameters/DataCollectionRuleNameParameter" |
|
95 | 95 | "default": { |
96 | 96 | "description": "Error", |
97 | 97 | "schema": { |
98 | | - "$ref": "#/definitions/ErrorResponse" |
| 98 | + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" |
99 | 99 | } |
100 | 100 | } |
101 | 101 | }, |
|
140 | 140 | "default": { |
141 | 141 | "description": "Error", |
142 | 142 | "schema": { |
143 | | - "$ref": "#/definitions/ErrorResponse" |
| 143 | + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" |
144 | 144 | } |
145 | 145 | } |
146 | 146 | }, |
|
197 | 197 | "default": { |
198 | 198 | "description": "Error", |
199 | 199 | "schema": { |
200 | | - "$ref": "#/definitions/ErrorResponse" |
| 200 | + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" |
201 | 201 | } |
202 | 202 | } |
203 | 203 | }, |
|
237 | 237 | "default": { |
238 | 238 | "description": "Error", |
239 | 239 | "schema": { |
240 | | - "$ref": "#/definitions/ErrorResponse" |
| 240 | + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" |
241 | 241 | } |
242 | 242 | } |
243 | 243 | }, |
|
252 | 252 | "definitions": { |
253 | 253 | "DataCollectionRuleAssociation": { |
254 | 254 | "description": "Definition of association of a data collection rule with a monitored Azure resource.", |
255 | | - "required": [ |
256 | | - "dataCollectionRuleId" |
257 | | - ], |
258 | 255 | "type": "object", |
259 | 256 | "properties": { |
260 | 257 | "description": { |
261 | 258 | "description": "Description of the association.", |
262 | | - "maxLength": 256, |
263 | 259 | "type": "string" |
264 | 260 | }, |
265 | 261 | "dataCollectionRuleId": { |
|
291 | 287 | }, |
292 | 288 | "DataCollectionRuleAssociationProxyOnlyResource": { |
293 | 289 | "description": "Definition of generic ARM proxy resource.", |
294 | | - "required": [ |
295 | | - "properties" |
296 | | - ], |
297 | 290 | "type": "object", |
298 | 291 | "properties": { |
299 | 292 | "properties": { |
|
362 | 355 | "type": "string" |
363 | 356 | } |
364 | 357 | } |
365 | | - }, |
366 | | - "ErrorAdditionalInfo": { |
367 | | - "description": "Additional information for common error response.", |
368 | | - "type": "object", |
369 | | - "properties": { |
370 | | - "type": { |
371 | | - "description": "The additional info type.", |
372 | | - "type": "string", |
373 | | - "readOnly": true, |
374 | | - "x-ms-mutability": [ |
375 | | - "read" |
376 | | - ] |
377 | | - }, |
378 | | - "info": { |
379 | | - "description": "The additional info.", |
380 | | - "type": "object", |
381 | | - "readOnly": true, |
382 | | - "x-ms-mutability": [ |
383 | | - "read" |
384 | | - ] |
385 | | - } |
386 | | - } |
387 | | - }, |
388 | | - "ErrorDetails": { |
389 | | - "description": "Common error details.", |
390 | | - "type": "object", |
391 | | - "properties": { |
392 | | - "code": { |
393 | | - "description": "Error code which can be used to programmatically identify the class of error.", |
394 | | - "type": "string", |
395 | | - "readOnly": true, |
396 | | - "example": "BadArgument", |
397 | | - "x-ms-mutability": [ |
398 | | - "read" |
399 | | - ] |
400 | | - }, |
401 | | - "message": { |
402 | | - "description": "Describes the error in detail and provides debugging information.", |
403 | | - "type": "string", |
404 | | - "readOnly": true, |
405 | | - "x-ms-mutability": [ |
406 | | - "read" |
407 | | - ] |
408 | | - }, |
409 | | - "target": { |
410 | | - "description": "The target of the particular error (for example, the name of the property in error).", |
411 | | - "type": "string", |
412 | | - "readOnly": true, |
413 | | - "example": "properties.provisioningState", |
414 | | - "x-ms-mutability": [ |
415 | | - "read" |
416 | | - ] |
417 | | - }, |
418 | | - "details": { |
419 | | - "description": "Additional nested error detail objects.", |
420 | | - "type": "array", |
421 | | - "items": { |
422 | | - "$ref": "#/definitions/ErrorDetails" |
423 | | - }, |
424 | | - "readOnly": true, |
425 | | - "x-ms-mutability": [ |
426 | | - "read" |
427 | | - ] |
428 | | - }, |
429 | | - "additionalInfo": { |
430 | | - "description": "Additional error information.", |
431 | | - "type": "array", |
432 | | - "items": { |
433 | | - "$ref": "#/definitions/ErrorAdditionalInfo" |
434 | | - }, |
435 | | - "readOnly": true, |
436 | | - "x-ms-mutability": [ |
437 | | - "read" |
438 | | - ] |
439 | | - } |
440 | | - } |
441 | | - }, |
442 | | - "ErrorResponse": { |
443 | | - "description": "Common error response.", |
444 | | - "type": "object", |
445 | | - "properties": { |
446 | | - "error": { |
447 | | - "description": "Error details.", |
448 | | - "allOf": [ |
449 | | - { |
450 | | - "$ref": "#/definitions/ErrorDetails" |
451 | | - } |
452 | | - ], |
453 | | - "readOnly": true, |
454 | | - "x-ms-mutability": [ |
455 | | - "read" |
456 | | - ] |
457 | | - } |
458 | | - } |
459 | 358 | } |
460 | 359 | }, |
461 | 360 | "parameters": { |
462 | 361 | "AssociationNameParameter": { |
463 | 362 | "in": "path", |
464 | 363 | "name": "associationName", |
465 | | - "description": "The name of the association.", |
| 364 | + "description": "The name of the association. The name is case insensitive.", |
466 | 365 | "required": true, |
467 | 366 | "type": "string", |
468 | | - "maxLength": 64, |
469 | | - "minLength": 1, |
470 | | - "pattern": "^[-\\w\\._\\(\\)]+$", |
471 | 367 | "x-ms-parameter-location": "method" |
472 | 368 | }, |
473 | 369 | "DataCollectionRuleNameParameter": { |
|
476 | 372 | "description": "The name of the data collection rule. The name is case insensitive.", |
477 | 373 | "required": true, |
478 | 374 | "type": "string", |
479 | | - "maxLength": 64, |
480 | | - "minLength": 1, |
481 | | - "pattern": "^[-\\w\\._\\(\\)]+$", |
482 | | - "x-ms-parameter-location": "method" |
483 | | - }, |
484 | | - "ResourceGroupNameParameter": { |
485 | | - "in": "path", |
486 | | - "name": "resourceGroupName", |
487 | | - "description": "The name of the resource group. The name is case insensitive.", |
488 | | - "required": true, |
489 | | - "type": "string", |
490 | | - "maxLength": 90, |
491 | | - "minLength": 1, |
492 | | - "pattern": "^[-\\w\\._\\(\\)]+$", |
493 | 375 | "x-ms-parameter-location": "method" |
494 | 376 | }, |
495 | 377 | "ResourceUriParameter": { |
|
0 commit comments