|
6 | 6 | "version": "2020-02-14" |
7 | 7 | }, |
8 | 8 | "host": "management.azure.com", |
9 | | - "schemes": ["https"], |
10 | | - "consumes": ["application/json"], |
11 | | - "produces": ["application/json"], |
| 9 | + "schemes": [ |
| 10 | + "https" |
| 11 | + ], |
| 12 | + "consumes": [ |
| 13 | + "application/json" |
| 14 | + ], |
| 15 | + "produces": [ |
| 16 | + "application/json" |
| 17 | + ], |
12 | 18 | "security": [ |
13 | 19 | { |
14 | | - "azure_auth": ["user_impersonation"] |
| 20 | + "azure_auth": [ |
| 21 | + "user_impersonation" |
| 22 | + ] |
15 | 23 | } |
16 | 24 | ], |
17 | 25 | "securityDefinitions": { |
|
28 | 36 | "paths": { |
29 | 37 | "/subscriptions/{subscriptionId}/providers/Microsoft.VirtualMachineImages/imageTemplates": { |
30 | 38 | "get": { |
31 | | - "tags": ["VirtualMachineImageTemplate"], |
| 39 | + "tags": [ |
| 40 | + "VirtualMachineImageTemplate" |
| 41 | + ], |
32 | 42 | "operationId": "VirtualMachineImageTemplates_List", |
33 | 43 | "description": "Gets information about the VM image templates associated with the subscription.", |
34 | 44 | "parameters": [ |
|
65 | 75 | }, |
66 | 76 | "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates": { |
67 | 77 | "get": { |
68 | | - "tags": ["VirtualMachineImageTemplate"], |
| 78 | + "tags": [ |
| 79 | + "VirtualMachineImageTemplate" |
| 80 | + ], |
69 | 81 | "operationId": "VirtualMachineImageTemplates_ListByResourceGroup", |
70 | 82 | "description": "Gets information about the VM image templates associated with the specified resource group.", |
71 | 83 | "parameters": [ |
|
105 | 117 | }, |
106 | 118 | "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}": { |
107 | 119 | "put": { |
108 | | - "tags": ["VirtualMachineImageTemplate"], |
| 120 | + "tags": [ |
| 121 | + "VirtualMachineImageTemplate" |
| 122 | + ], |
109 | 123 | "operationId": "VirtualMachineImageTemplates_CreateOrUpdate", |
110 | 124 | "description": "Create or update a virtual machine image template", |
111 | 125 | "parameters": [ |
|
168 | 182 | } |
169 | 183 | }, |
170 | 184 | "patch": { |
171 | | - "tags": ["VirtualMachineImageTemplate"], |
| 185 | + "tags": [ |
| 186 | + "VirtualMachineImageTemplate" |
| 187 | + ], |
172 | 188 | "operationId": "VirtualMachineImageTemplates_Update", |
173 | 189 | "description": "Update the tags for this Virtual Machine Image Template", |
174 | 190 | "parameters": [ |
|
225 | 241 | } |
226 | 242 | }, |
227 | 243 | "get": { |
228 | | - "tags": ["VirtualMachineImageTemplate"], |
| 244 | + "tags": [ |
| 245 | + "VirtualMachineImageTemplate" |
| 246 | + ], |
229 | 247 | "operationId": "VirtualMachineImageTemplates_Get", |
230 | 248 | "description": "Get information about a virtual machine image template", |
231 | 249 | "parameters": [ |
|
263 | 281 | } |
264 | 282 | }, |
265 | 283 | "delete": { |
266 | | - "tags": ["VirtualMachineImageTemplate"], |
| 284 | + "tags": [ |
| 285 | + "VirtualMachineImageTemplate" |
| 286 | + ], |
267 | 287 | "operationId": "VirtualMachineImageTemplates_Delete", |
268 | 288 | "description": "Delete a virtual machine image template", |
269 | 289 | "parameters": [ |
|
310 | 330 | }, |
311 | 331 | "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}/run": { |
312 | 332 | "post": { |
313 | | - "tags": ["VirtualMachineImageTemplate"], |
| 333 | + "tags": [ |
| 334 | + "VirtualMachineImageTemplate" |
| 335 | + ], |
314 | 336 | "operationId": "VirtualMachineImageTemplates_Run", |
315 | 337 | "description": "Create artifacts from a existing image template", |
316 | 338 | "parameters": [ |
|
354 | 376 | }, |
355 | 377 | "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}/cancel": { |
356 | 378 | "post": { |
357 | | - "tags": ["VirtualMachineImageTemplate"], |
| 379 | + "tags": [ |
| 380 | + "VirtualMachineImageTemplate" |
| 381 | + ], |
358 | 382 | "operationId": "VirtualMachineImageTemplates_Cancel", |
359 | 383 | "description": "Cancel the long running image build based on the image template", |
360 | 384 | "parameters": [ |
|
398 | 422 | }, |
399 | 423 | "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}/runOutputs": { |
400 | 424 | "get": { |
401 | | - "tags": ["VirtualMachineImageTemplate"], |
| 425 | + "tags": [ |
| 426 | + "VirtualMachineImageTemplate" |
| 427 | + ], |
402 | 428 | "operationId": "VirtualMachineImageTemplates_ListRunOutputs", |
403 | 429 | "description": "List all run outputs for the specified Image Template resource", |
404 | 430 | "parameters": [ |
|
441 | 467 | }, |
442 | 468 | "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}/runOutputs/{runOutputName}": { |
443 | 469 | "get": { |
444 | | - "tags": ["VirtualMachineImageTemplate"], |
| 470 | + "tags": [ |
| 471 | + "VirtualMachineImageTemplate" |
| 472 | + ], |
445 | 473 | "operationId": "VirtualMachineImageTemplates_GetRunOutput", |
446 | 474 | "description": "Get the specified run output for the specified image template resource", |
447 | 475 | "parameters": [ |
|
484 | 512 | }, |
485 | 513 | "/providers/Microsoft.VirtualMachineImages/operations": { |
486 | 514 | "get": { |
487 | | - "tags": ["Operations"], |
| 515 | + "tags": [ |
| 516 | + "Operations" |
| 517 | + ], |
488 | 518 | "operationId": "Operations_List", |
489 | 519 | "description": "Lists available operations for the Microsoft.VirtualMachineImages provider", |
490 | 520 | "parameters": [ |
|
538 | 568 | "description": "Specifies the type of source image you want to start with." |
539 | 569 | } |
540 | 570 | }, |
541 | | - "required": ["type"] |
| 571 | + "required": [ |
| 572 | + "type" |
| 573 | + ] |
542 | 574 | }, |
543 | 575 | "ImageTemplatePlatformImageSource": { |
544 | 576 | "description": "Describes an image source from [Azure Gallery Images](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages).", |
|
585 | 617 | "description": "ARM resource id of the managed image in customer subscription" |
586 | 618 | } |
587 | 619 | }, |
588 | | - "required": ["imageId"] |
| 620 | + "required": [ |
| 621 | + "imageId" |
| 622 | + ] |
589 | 623 | }, |
590 | 624 | "ImageTemplateSharedImageVersionSource": { |
591 | 625 | "description": "Describes an image source that is an image version in a shared image gallery.", |
|
601 | 635 | "description": "ARM resource id of the image version in the shared image gallery" |
602 | 636 | } |
603 | 637 | }, |
604 | | - "required": ["imageVersionId"] |
| 638 | + "required": [ |
| 639 | + "imageVersionId" |
| 640 | + ] |
605 | 641 | }, |
606 | 642 | "ImageTemplateCustomizer": { |
607 | 643 | "description": "Describes a unit of image customization", |
|
616 | 652 | "description": "Friendly Name to provide context on what this customization step does" |
617 | 653 | } |
618 | 654 | }, |
619 | | - "required": ["type"] |
| 655 | + "required": [ |
| 656 | + "type" |
| 657 | + ] |
620 | 658 | }, |
621 | 659 | "ImageTemplateShellCustomizer": { |
622 | 660 | "description": "Runs a shell script during the customization phase (Linux). Corresponds to Packer shell provisioner. Exactly one of 'scriptUri' or 'inline' can be specified.", |
|
776 | 814 | "description": "Tags that will be applied to the artifact once it has been created/updated by the distributor." |
777 | 815 | } |
778 | 816 | }, |
779 | | - "required": ["type", "runOutputName"] |
| 817 | + "required": [ |
| 818 | + "type", |
| 819 | + "runOutputName" |
| 820 | + ] |
780 | 821 | }, |
781 | 822 | "ImageTemplateManagedImageDistributor": { |
782 | 823 | "x-ms-discriminator-value": "ManagedImage", |
|
797 | 838 | "description": "Azure location for the image, should match if image already exists" |
798 | 839 | } |
799 | 840 | }, |
800 | | - "required": ["imageId", "location"] |
| 841 | + "required": [ |
| 842 | + "imageId", |
| 843 | + "location" |
| 844 | + ] |
801 | 845 | }, |
802 | 846 | "ImageTemplateSharedImageDistributor": { |
803 | 847 | "x-ms-discriminator-value": "SharedImage", |
|
826 | 870 | }, |
827 | 871 | "storageAccountType": { |
828 | 872 | "type": "string", |
829 | | - "enum": ["Standard_LRS", "Standard_ZRS"], |
| 873 | + "enum": [ |
| 874 | + "Standard_LRS", |
| 875 | + "Standard_ZRS" |
| 876 | + ], |
830 | 877 | "x-ms-enum": { |
831 | 878 | "name": "SharedImageStorageAccountType", |
832 | 879 | "modelAsString": false |
833 | 880 | }, |
834 | 881 | "description": "Storage account type to be used to store the shared image. Omit to use the default (Standard_LRS)." |
835 | 882 | } |
836 | 883 | }, |
837 | | - "required": ["galleryImageId", "replicationRegions"] |
| 884 | + "required": [ |
| 885 | + "galleryImageId", |
| 886 | + "replicationRegions" |
| 887 | + ] |
838 | 888 | }, |
839 | 889 | "ImageTemplateVhdDistributor": { |
840 | 890 | "x-ms-discriminator-value": "VHD", |
|
862 | 912 | "description": "Publisher of the purchase plan." |
863 | 913 | } |
864 | 914 | }, |
865 | | - "required": ["planName", "planProduct", "planPublisher"] |
| 915 | + "required": [ |
| 916 | + "planName", |
| 917 | + "planProduct", |
| 918 | + "planPublisher" |
| 919 | + ] |
866 | 920 | }, |
867 | 921 | "VirtualNetworkConfig": { |
868 | 922 | "description": "Virtual Network configuration.", |
|
893 | 947 | }, |
894 | 948 | "ProvisioningState": { |
895 | 949 | "type": "string", |
896 | | - "enum": ["Creating", "Updating", "Succeeded", "Failed", "Deleting"], |
| 950 | + "enum": [ |
| 951 | + "Creating", |
| 952 | + "Updating", |
| 953 | + "Succeeded", |
| 954 | + "Failed", |
| 955 | + "Deleting" |
| 956 | + ], |
897 | 957 | "x-ms-enum": { |
898 | 958 | "name": "ProvisioningState", |
899 | 959 | "modelAsString": false |
|
961 | 1021 | }, |
962 | 1022 | "runSubState": { |
963 | 1023 | "type": "string", |
964 | | - "enum": ["Queued", "Building", "Customizing", "Distributing"], |
| 1024 | + "enum": [ |
| 1025 | + "Queued", |
| 1026 | + "Building", |
| 1027 | + "Customizing", |
| 1028 | + "Distributing" |
| 1029 | + ], |
965 | 1030 | "x-ms-enum": { |
966 | 1031 | "name": "RunSubState", |
967 | 1032 | "modelAsString": false |
|
1021 | 1086 | "description": "Describes how virtual machine is set up to build images" |
1022 | 1087 | } |
1023 | 1088 | }, |
1024 | | - "required": ["source", "distribute"] |
| 1089 | + "required": [ |
| 1090 | + "source", |
| 1091 | + "distribute" |
| 1092 | + ] |
1025 | 1093 | }, |
1026 | 1094 | "ImageTemplateIdentity": { |
1027 | 1095 | "properties": { |
1028 | 1096 | "type": { |
1029 | 1097 | "type": "string", |
1030 | 1098 | "description": "The type of identity used for the image template. The type 'None' will remove any identities from the image template.", |
1031 | | - "enum": ["UserAssigned", "None"], |
| 1099 | + "enum": [ |
| 1100 | + "UserAssigned", |
| 1101 | + "None" |
| 1102 | + ], |
1032 | 1103 | "x-ms-enum": { |
1033 | 1104 | "name": "ResourceIdentityType", |
1034 | 1105 | "modelAsString": false |
|
1161 | 1232 | "location": { |
1162 | 1233 | "type": "string", |
1163 | 1234 | "description": "Resource location", |
1164 | | - "x-ms-mutability": ["create", "read"] |
| 1235 | + "x-ms-mutability": [ |
| 1236 | + "create", |
| 1237 | + "read" |
| 1238 | + ] |
1165 | 1239 | }, |
1166 | 1240 | "tags": { |
1167 | 1241 | "type": "object", |
|
1171 | 1245 | "description": "Resource tags" |
1172 | 1246 | } |
1173 | 1247 | }, |
1174 | | - "required": ["location"], |
| 1248 | + "required": [ |
| 1249 | + "location" |
| 1250 | + ], |
1175 | 1251 | "x-ms-azure-resource": true |
1176 | 1252 | }, |
1177 | 1253 | "SubResource": { |
|
1192 | 1268 | "description": "Resource type" |
1193 | 1269 | } |
1194 | 1270 | }, |
1195 | | - "required": ["name"] |
| 1271 | + "required": [ |
| 1272 | + "name" |
| 1273 | + ] |
1196 | 1274 | }, |
1197 | 1275 | "Operation": { |
1198 | 1276 | "title": "A REST API operation", |
|
0 commit comments