|
325 | 325 | { |
326 | 326 | "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" |
327 | 327 | }, |
328 | | - { |
329 | | - "name": "If-Match", |
330 | | - "in": "header", |
331 | | - "description": "The request should only proceed if the targeted resource's etag matches the value provided.", |
332 | | - "required": false, |
333 | | - "type": "string", |
334 | | - "x-ms-client-name": "ifMatch" |
335 | | - }, |
336 | 328 | { |
337 | 329 | "name": "nodeCustomizationName", |
338 | 330 | "in": "path", |
|
343 | 335 | "maxLength": 63, |
344 | 336 | "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" |
345 | 337 | }, |
| 338 | + { |
| 339 | + "name": "If-Match", |
| 340 | + "in": "header", |
| 341 | + "description": "The request should only proceed if the targeted resource's etag matches the value provided.", |
| 342 | + "required": false, |
| 343 | + "type": "string", |
| 344 | + "x-ms-client-name": "ifMatch" |
| 345 | + }, |
346 | 346 | { |
347 | 347 | "name": "properties", |
348 | 348 | "in": "body", |
|
551 | 551 | "required": true, |
552 | 552 | "type": "string", |
553 | 553 | "minLength": 1, |
554 | | - "maxLength": 64, |
555 | | - "pattern": "^[\\w\\-\\.]+$" |
| 554 | + "maxLength": 63, |
| 555 | + "pattern": "^(?![.-])[A-Za-z0-9_.-]{1,63}$" |
556 | 556 | } |
557 | 557 | ], |
558 | 558 | "responses": { |
|
617 | 617 | "required": true, |
618 | 618 | "type": "string", |
619 | 619 | "minLength": 1, |
620 | | - "maxLength": 64, |
621 | | - "pattern": "^[\\w\\-\\.]+$" |
| 620 | + "maxLength": 63, |
| 621 | + "pattern": "^(?![.-])[A-Za-z0-9_.-]{1,63}$" |
622 | 622 | } |
623 | 623 | ], |
624 | 624 | "responses": { |
|
742 | 742 | }, |
743 | 743 | "version": { |
744 | 744 | "type": "string", |
745 | | - "description": "An auto-generated value that changes when the other fields of the image customization are changed.", |
746 | | - "pattern": "^[\\w\\-\\.]+$", |
747 | | - "readOnly": true |
| 745 | + "description": "The client-provided version of the node customization.", |
| 746 | + "pattern": "^(?![.-])[A-Za-z0-9_.-]{1,63}$" |
748 | 747 | }, |
749 | 748 | "provisioningState": { |
750 | 749 | "$ref": "#/definitions/ProvisioningState", |
|
810 | 809 | "additionalProperties": { |
811 | 810 | "type": "string" |
812 | 811 | } |
813 | | - }, |
814 | | - "properties": { |
815 | | - "$ref": "#/definitions/NodeCustomizationUpdateProperties", |
816 | | - "description": "The resource-specific properties for this resource." |
817 | | - } |
818 | | - } |
819 | | - }, |
820 | | - "NodeCustomizationUpdateProperties": { |
821 | | - "type": "object", |
822 | | - "description": "The updatable properties of the NodeCustomization.", |
823 | | - "properties": { |
824 | | - "containerImages": { |
825 | | - "type": "array", |
826 | | - "description": "The list of container images to cache on nodes. See https://kubernetes.io/docs/concepts/containers/images/#image-names", |
827 | | - "items": { |
828 | | - "type": "string" |
829 | | - } |
830 | | - }, |
831 | | - "identityProfile": { |
832 | | - "$ref": "../../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity", |
833 | | - "description": "The identity used to execute node customization tasks during image build time and provisioning time. \nIf not specified the default agentpool identity will be used.\nThis does not affect provisioned nodes." |
834 | | - }, |
835 | | - "customizationScripts": { |
836 | | - "type": "array", |
837 | | - "description": "The scripts to customize the node before or after image capture.", |
838 | | - "items": { |
839 | | - "$ref": "#/definitions/NodeCustomizationScript" |
840 | | - }, |
841 | | - "x-ms-identifiers": [] |
842 | 812 | } |
843 | 813 | } |
844 | 814 | }, |
|
0 commit comments