Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9pbWFnZXMve30vdmVyc2lvbnM=/2024-03-03.xml (312 lines of code) (raw):

<?xml version='1.0' encoding='utf-8'?> <CodeGen plane="mgmt-plane"> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}/versions" version="2024-03-03" swagger="mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9pbWFnZXMve2dhbGxlcnlJbWFnZU5hbWV9L3ZlcnNpb25z/V/MjAyNC0wMy0wMw=="/> <commandGroup name="sig image-version"> <command name="list" version="2024-03-03" confirmation=""> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}/versions" version="2024-03-03" swagger="mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9pbWFnZXMve2dhbGxlcnlJbWFnZU5hbWV9L3ZlcnNpb25z/V/MjAyNC0wMy0wMw=="/> <argGroup name=""> <arg type="string" var="$Path.galleryImageName" options="gallery-image-definition gallery-image-name i" required="True" group="" idPart="child_name_1"> <help short="Gallery image definition."/> </arg> <arg type="string" var="$Path.galleryName" options="gallery-name r" required="True" group="" idPart="name"> <help short="Gallery name."/> </arg> <arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/> <arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/> </argGroup> <operation operationId="GalleryImageVersions_ListByGalleryImage"> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions"> <request method="get"> <path> <param type="string" name="galleryImageName" arg="$Path.galleryImageName" required="True"/> <param type="string" name="galleryName" arg="$Path.galleryName" required="True"/> <param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"/> <param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"/> </path> <query> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2024-03-03&quot;"/> </const> </query> </request> <response statusCode="200"> <body> <json var="$Instance"> <schema type="object"> <prop type="string" name="nextLink"/> <prop type="array<object>" name="value" required="True"> <item type="object"> <prop readOnly="True" type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/galleries/{}/images/{}/versions/{}"/> </prop> <prop type="ResourceLocation" name="location" required="True"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop readOnly="True" type="string" name="provisioningState"> <enum> <item value="&quot;Creating&quot;"/> <item value="&quot;Deleting&quot;"/> <item value="&quot;Failed&quot;"/> <item value="&quot;Migrating&quot;"/> <item value="&quot;Succeeded&quot;"/> <item value="&quot;Updating&quot;"/> </enum> </prop> <prop type="object" name="publishingProfile"> <prop type="dateTime" name="endOfLifeDate"/> <prop type="boolean" name="excludeFromLatest"/> <prop readOnly="True" type="dateTime" name="publishedDate"/> <prop type="integer32" name="replicaCount"/> <prop type="string" name="replicationMode"> <enum> <item value="&quot;Full&quot;"/> <item value="&quot;Shallow&quot;"/> </enum> </prop> <prop type="string" name="storageAccountType"> <enum> <item value="&quot;PremiumV2_LRS&quot;"/> <item value="&quot;Premium_LRS&quot;"/> <item value="&quot;Standard_LRS&quot;"/> <item value="&quot;Standard_ZRS&quot;"/> </enum> </prop> <prop type="array<object>" name="targetExtendedLocations" identifiers="name"> <item type="object"> <prop type="@EncryptionImages_read" name="encryption"/> <prop type="object" name="extendedLocation"> <prop type="string" name="name"/> <prop type="string" name="type"> <enum> <item value="&quot;EdgeZone&quot;"/> <item value="&quot;Unknown&quot;"/> </enum> </prop> </prop> <prop type="integer32" name="extendedLocationReplicaCount"/> <prop type="string" name="name"/> <prop type="string" name="storageAccountType"> <enum> <item value="&quot;Premium_LRS&quot;"/> <item value="&quot;StandardSSD_LRS&quot;"/> <item value="&quot;Standard_LRS&quot;"/> <item value="&quot;Standard_ZRS&quot;"/> </enum> </prop> </item> </prop> <prop type="array<object>" name="targetRegions" identifiers="name"> <item type="object"> <prop type="array<object>" name="additionalReplicaSets"> <item type="object"> <prop type="integer32" name="regionalReplicaCount"/> <prop type="string" name="storageAccountType"> <enum> <item value="&quot;PremiumV2_LRS&quot;"/> <item value="&quot;Premium_LRS&quot;"/> <item value="&quot;Standard_LRS&quot;"/> <item value="&quot;Standard_ZRS&quot;"/> </enum> </prop> </item> </prop> <prop type="object" name="encryption" cls="EncryptionImages_read"> <prop type="array<object>" name="dataDiskImages" identifiers="lun"> <item type="object"> <prop type="string" name="diskEncryptionSetId"/> <prop type="integer32" name="lun" required="True"/> </item> </prop> <prop type="object" name="osDiskImage"> <prop type="string" name="diskEncryptionSetId"/> <prop type="object" name="securityProfile"> <prop type="string" name="confidentialVMEncryptionType"> <enum> <item value="&quot;EncryptedVMGuestStateOnlyWithPmk&quot;"/> <item value="&quot;EncryptedWithCmk&quot;"/> <item value="&quot;EncryptedWithPmk&quot;"/> <item value="&quot;NonPersistedTPM&quot;"/> </enum> </prop> <prop type="string" name="secureVMDiskEncryptionSetId"/> </prop> </prop> </prop> <prop type="boolean" name="excludeFromLatest"/> <prop type="string" name="name" required="True"/> <prop type="integer32" name="regionalReplicaCount"/> <prop type="string" name="storageAccountType"> <enum> <item value="&quot;PremiumV2_LRS&quot;"/> <item value="&quot;Premium_LRS&quot;"/> <item value="&quot;Standard_LRS&quot;"/> <item value="&quot;Standard_ZRS&quot;"/> </enum> </prop> </item> </prop> </prop> <prop readOnly="True" type="object" name="replicationStatus"> <prop readOnly="True" type="string" name="aggregatedState"> <enum> <item value="&quot;Completed&quot;"/> <item value="&quot;Failed&quot;"/> <item value="&quot;InProgress&quot;"/> <item value="&quot;Unknown&quot;"/> </enum> </prop> <prop readOnly="True" type="array<object>" name="summary" identifiers="region"> <item type="object"> <prop readOnly="True" type="string" name="details"/> <prop readOnly="True" type="integer32" name="progress"/> <prop readOnly="True" type="string" name="region"/> <prop readOnly="True" type="string" name="state"> <enum> <item value="&quot;Completed&quot;"/> <item value="&quot;Failed&quot;"/> <item value="&quot;Replicating&quot;"/> <item value="&quot;Unknown&quot;"/> </enum> </prop> </item> </prop> </prop> <prop type="boolean" name="restore"/> <prop type="object" name="safetyProfile"> <prop type="boolean" name="allowDeletionOfReplicatedLocations"/> <prop type="boolean" name="blockDeletionBeforeEndOfLife"/> <prop readOnly="True" type="array<object>" name="policyViolations"> <item type="object"> <prop type="string" name="category"> <enum> <item value="&quot;CopyrightValidation&quot;"/> <item value="&quot;ImageFlaggedUnsafe&quot;"/> <item value="&quot;IpTheft&quot;"/> <item value="&quot;Other&quot;"/> </enum> </prop> <prop type="string" name="details"/> </item> </prop> <prop readOnly="True" type="boolean" name="reportedForPolicyViolation"/> </prop> <prop type="object" name="securityProfile"> <prop type="object" name="uefiSettings"> <prop type="object" name="additionalSignatures"> <prop type="array<@UefiKey_read>" name="db"> <item type="@UefiKey_read"/> </prop> <prop type="array<@UefiKey_read>" name="dbx"> <item type="@UefiKey_read"/> </prop> <prop type="array<@UefiKey_read>" name="kek"> <item type="@UefiKey_read"/> </prop> <prop type="object" name="pk" cls="UefiKey_read"> <prop type="string" name="type"> <enum> <item value="&quot;sha256&quot;"/> <item value="&quot;x509&quot;"/> </enum> </prop> <prop type="array<string>" name="value"> <item type="string"/> </prop> </prop> </prop> <prop type="array<string>" name="signatureTemplateNames"> <item type="string"> <enum> <item value="&quot;MicrosoftUefiCertificateAuthorityTemplate&quot;"/> <item value="&quot;MicrosoftWindowsTemplate&quot;"/> <item value="&quot;NoSignatureTemplate&quot;"/> </enum> </item> </prop> </prop> </prop> <prop type="object" name="storageProfile" required="True"> <prop type="array<object>" name="dataDiskImages" identifiers="lun"> <item type="object"> <prop type="string" name="hostCaching"> <enum> <item value="&quot;None&quot;"/> <item value="&quot;ReadOnly&quot;"/> <item value="&quot;ReadWrite&quot;"/> </enum> </prop> <prop type="integer32" name="lun" required="True"/> <prop readOnly="True" type="integer32" name="sizeInGB"/> <prop type="@GalleryDiskImageSource_read" name="source"/> </item> </prop> <prop type="object" name="osDiskImage"> <prop type="string" name="hostCaching"> <enum> <item value="&quot;None&quot;"/> <item value="&quot;ReadOnly&quot;"/> <item value="&quot;ReadWrite&quot;"/> </enum> </prop> <prop readOnly="True" type="integer32" name="sizeInGB"/> <prop type="object" name="source" cls="GalleryDiskImageSource_read"> <prop type="ResourceId" name="id"/> <prop type="ResourceId" name="storageAccountId"/> <prop type="string" name="uri"/> </prop> </prop> <prop type="object" name="source"> <prop type="string" name="communityGalleryImageId"/> <prop type="ResourceId" name="id"/> <prop type="ResourceId" name="virtualMachineId"/> </prop> </prop> <prop readOnly="True" type="object" name="validationsProfile"> <prop type="array<object>" name="executedValidations"> <item type="object"> <prop type="dateTime" name="executionTime"/> <prop type="string" name="status"> <enum> <item value="&quot;Failed&quot;"/> <item value="&quot;Succeeded&quot;"/> <item value="&quot;Unknown&quot;"/> </enum> </prop> <prop type="string" name="type"/> <prop type="string" name="version"/> </item> </prop> <prop type="array<object>" name="platformAttributes" identifiers="name"> <item type="object"> <prop readOnly="True" type="string" name="name"/> <prop readOnly="True" type="string" name="value"/> </item> </prop> <prop type="string" name="validationEtag"/> </prop> </prop> <prop type="object" name="tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> <prop readOnly="True" type="string" name="type"/> </item> </prop> </schema> </json> </body> </response> <response isError="True"> <body> <json> <schema type="@ODataV4Format"/> </json> </body> </response> </http> </operation> <output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/> </command> </commandGroup> </CodeGen>