Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Commands/sig/_show-community.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ Get a community gallery by gallery public name.
### [2022-01-03](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jb21tdW5pdHlnYWxsZXJpZXMve30=/2022-01-03.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.compute/locations/{}/communitygalleries/{} 2022-01-03 -->

### [2025-03-03](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jb21tdW5pdHlnYWxsZXJpZXMve30=/2025-03-03.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.compute/locations/{}/communitygalleries/{} 2025-03-03 -->
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/communitygalleries/{}", "version": "2025-03-03", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY29tbXVuaXR5R2FsbGVyaWVzL3twdWJsaWNHYWxsZXJ5TmFtZX0=/V/MjAyNS0wMy0wMw=="}], "commandGroups": [{"name": "sig", "commands": [{"name": "show-community", "version": "2025-03-03", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/communitygalleries/{}", "version": "2025-03-03", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY29tbXVuaXR5R2FsbGVyaWVzL3twdWJsaWNHYWxsZXJ5TmFtZX0=/V/MjAyNS0wMy0wMw=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true, "idPart": "name"}, {"type": "string", "var": "$Path.publicGalleryName", "options": ["n", "name", "public-gallery-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The public name of the community gallery."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "CommunityGalleries_Get", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "location", "arg": "$Path.location", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "publicGalleryName", "arg": "$Path.publicGalleryName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-03-03"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "object", "name": "identifier", "props": [{"type": "string", "name": "uniqueId"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "artifactTags", "additionalProps": {"item": {"type": "string"}}}, {"type": "object", "name": "communityMetadata", "props": [{"type": "string", "name": "eula"}, {"type": "string", "name": "privacyStatementUri"}, {"type": "array<string>", "name": "publicNames", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "publisherContact", "required": true}, {"type": "string", "name": "publisherUri"}]}, {"type": "string", "name": "disclaimer"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/providers/microsoft.compute/locations/{}/communitygalleries/{}" version="2025-03-03" swagger="mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY29tbXVuaXR5R2FsbGVyaWVzL3twdWJsaWNHYWxsZXJ5TmFtZX0=/V/MjAyNS0wMy0wMw=="/>
<commandGroup name="sig">
<command name="show-community" version="2025-03-03" confirmation="">
<resource id="/subscriptions/{}/providers/microsoft.compute/locations/{}/communitygalleries/{}" version="2025-03-03" swagger="mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY29tbXVuaXR5R2FsbGVyaWVzL3twdWJsaWNHYWxsZXJ5TmFtZX0=/V/MjAyNS0wMy0wMw=="/>
<argGroup name="">
<arg type="ResourceLocation" var="$Path.location" options="location l" required="True" idPart="name"/>
<arg type="string" var="$Path.publicGalleryName" options="public-gallery-name name n" 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="CommunityGalleries_Get">
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}">
<request method="get">
<path>
<param type="string" name="location" arg="$Path.location" required="True">
<format minLength="1"/>
</param>
<param type="string" name="publicGalleryName" arg="$Path.publicGalleryName" required="True"/>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2025-03-03&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema 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="object" name="communityMetadata">
<prop type="string" name="eula"/>
<prop type="string" name="privacyStatementUri"/>
<prop type="array<string>" name="publicNames" required="True">
<item type="string"/>
</prop>
<prop type="string" name="publisherContact" required="True"/>
<prop type="string" name="publisherUri"/>
</prop>
<prop type="string" name="disclaimer"/>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@ODataV4Format"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>
Loading