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=""2024-03-03""/>
</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=""Creating""/>
<item value=""Deleting""/>
<item value=""Failed""/>
<item value=""Migrating""/>
<item value=""Succeeded""/>
<item value=""Updating""/>
</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=""Full""/>
<item value=""Shallow""/>
</enum>
</prop>
<prop type="string" name="storageAccountType">
<enum>
<item value=""PremiumV2_LRS""/>
<item value=""Premium_LRS""/>
<item value=""Standard_LRS""/>
<item value=""Standard_ZRS""/>
</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=""EdgeZone""/>
<item value=""Unknown""/>
</enum>
</prop>
</prop>
<prop type="integer32" name="extendedLocationReplicaCount"/>
<prop type="string" name="name"/>
<prop type="string" name="storageAccountType">
<enum>
<item value=""Premium_LRS""/>
<item value=""StandardSSD_LRS""/>
<item value=""Standard_LRS""/>
<item value=""Standard_ZRS""/>
</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=""PremiumV2_LRS""/>
<item value=""Premium_LRS""/>
<item value=""Standard_LRS""/>
<item value=""Standard_ZRS""/>
</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=""EncryptedVMGuestStateOnlyWithPmk""/>
<item value=""EncryptedWithCmk""/>
<item value=""EncryptedWithPmk""/>
<item value=""NonPersistedTPM""/>
</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=""PremiumV2_LRS""/>
<item value=""Premium_LRS""/>
<item value=""Standard_LRS""/>
<item value=""Standard_ZRS""/>
</enum>
</prop>
</item>
</prop>
</prop>
<prop readOnly="True" type="object" name="replicationStatus">
<prop readOnly="True" type="string" name="aggregatedState">
<enum>
<item value=""Completed""/>
<item value=""Failed""/>
<item value=""InProgress""/>
<item value=""Unknown""/>
</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=""Completed""/>
<item value=""Failed""/>
<item value=""Replicating""/>
<item value=""Unknown""/>
</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=""CopyrightValidation""/>
<item value=""ImageFlaggedUnsafe""/>
<item value=""IpTheft""/>
<item value=""Other""/>
</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=""sha256""/>
<item value=""x509""/>
</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=""MicrosoftUefiCertificateAuthorityTemplate""/>
<item value=""MicrosoftWindowsTemplate""/>
<item value=""NoSignatureTemplate""/>
</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=""None""/>
<item value=""ReadOnly""/>
<item value=""ReadWrite""/>
</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=""None""/>
<item value=""ReadOnly""/>
<item value=""ReadWrite""/>
</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=""Failed""/>
<item value=""Succeeded""/>
<item value=""Unknown""/>
</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>