Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jb21tdW5pdHlnYWxsZXJpZXMve30vaW1hZ2VzL3t9L3ZlcnNpb25z/2023-07-03.xml (99 lines of code) (raw):
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/providers/microsoft.compute/locations/{}/communitygalleries/{}/images/{}/versions" version="2023-07-03" swagger="mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY29tbXVuaXR5R2FsbGVyaWVzL3twdWJsaWNHYWxsZXJ5TmFtZX0vaW1hZ2VzL3tnYWxsZXJ5SW1hZ2VOYW1lfS92ZXJzaW9ucw==/V/MjAyMy0wNy0wMw=="/>
<commandGroup name="sig image-version">
<command name="list-community" version="2023-07-03" confirmation="">
<resource id="/subscriptions/{}/providers/microsoft.compute/locations/{}/communitygalleries/{}/images/{}/versions" version="2023-07-03" swagger="mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY29tbXVuaXR5R2FsbGVyaWVzL3twdWJsaWNHYWxsZXJ5TmFtZX0vaW1hZ2VzL3tnYWxsZXJ5SW1hZ2VOYW1lfS92ZXJzaW9ucw==/V/MjAyMy0wNy0wMw=="/>
<argGroup name="">
<arg type="string" var="$Path.galleryImageName" options="gallery-image-definition i" required="True" group="" idPart="child_name_2">
<help short="The name of the community gallery image definition from which the image versions are to be listed."/>
</arg>
<arg type="ResourceLocation" var="$Path.location" options="location l" required="True" idPart="name"/>
<arg type="string" var="$Path.publicGalleryName" options="public-gallery-name" required="True" idPart="child_name_1">
<help short="The public name of the community gallery."/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="CommunityGalleryImageVersions_List">
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}/versions">
<request method="get">
<path>
<param type="string" name="galleryImageName" arg="$Path.galleryImageName" required="True"/>
<param type="string" name="location" arg="$Path.location" required="True"/>
<param type="string" name="publicGalleryName" arg="$Path.publicGalleryName" 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=""2023-07-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 type="object" name="identifier" clientFlatten="True">
<prop type="string" name="uniqueId"/>
</prop>
<prop readOnly="True" type="string" name="location"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="object" name="artifactTags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
<prop type="string" name="disclaimer"/>
<prop type="dateTime" name="endOfLifeDate"/>
<prop type="boolean" name="excludeFromLatest"/>
<prop type="dateTime" name="publishedDate"/>
<prop type="object" name="storageProfile">
<prop type="array<object>" name="dataDiskImages" identifiers="lun">
<item type="object">
<prop readOnly="True" type="integer32" name="diskSizeGB"/>
<prop type="string" name="hostCaching">
<enum>
<item value=""None""/>
<item value=""ReadOnly""/>
<item value=""ReadWrite""/>
</enum>
</prop>
<prop type="integer32" name="lun" required="True"/>
</item>
</prop>
<prop type="object" name="osDiskImage">
<prop readOnly="True" type="integer32" name="diskSizeGB"/>
<prop type="string" name="hostCaching">
<enum>
<item value=""None""/>
<item value=""ReadOnly""/>
<item value=""ReadWrite""/>
</enum>
</prop>
</prop>
</prop>
</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>