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
11 changes: 11 additions & 0 deletions Commands/connectedmachine/extension/image/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,14 @@ List all Extension versions based on location, publisher, extensionType.
```bash
connectedmachine extension image list --publisher microsoft.azure.monitor --extension-type azuremonitorlinuxagent --location eastus
```

### [2024-11-10-preview](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuaHlicmlkY29tcHV0ZS9sb2NhdGlvbnMve30vcHVibGlzaGVycy97fS9leHRlbnNpb250eXBlcy97fS92ZXJzaW9ucw==/2024-11-10-preview.xml) **Stable**

<!-- mgmt-plane /providers/microsoft.hybridcompute/locations/{}/publishers/{}/extensiontypes/{}/versions 2024-11-10-preview -->

#### examples

- GET a list of extension metadata
```bash
connectedmachine extension image list --location EastUS --publisher microsoft.azure.monitor --extension-type azuremonitorlinuxagent
```
11 changes: 11 additions & 0 deletions Commands/connectedmachine/extension/image/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,14 @@ Get an Extension Metadata based on location, publisher, extensionType and versio
```bash
connectedmachine extension image show --publisher microsoft.azure.monitor --extension-type azuremonitorlinuxagent --location eastus --version 1.9.1
```

### [2024-11-10-preview](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuaHlicmlkY29tcHV0ZS9sb2NhdGlvbnMve30vcHVibGlzaGVycy97fS9leHRlbnNpb250eXBlcy97fS92ZXJzaW9ucy97fQ==/2024-11-10-preview.xml) **Stable**

<!-- mgmt-plane /providers/microsoft.hybridcompute/locations/{}/publishers/{}/extensiontypes/{}/versions/{} 2024-11-10-preview -->

#### examples

- GET an extension metadata
```bash
connectedmachine extension image show --location EastUS --publisher microsoft.azure.monitor --extension-type azuremonitorlinuxagent --version 1.33.0
```
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/providers/microsoft.hybridcompute/locations/{}/publishers/{}/extensiontypes/{}/versions", "version": "2024-11-10-preview", "swagger": "mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9sb2NhdGlvbnMve2xvY2F0aW9ufS9wdWJsaXNoZXJzL3twdWJsaXNoZXJ9L2V4dGVuc2lvblR5cGVzL3tleHRlbnNpb25UeXBlfS92ZXJzaW9ucw==/V/MjAyNC0xMS0xMC1wcmV2aWV3"}], "commandGroups": [{"name": "connectedmachine extension image", "commands": [{"name": "list", "version": "2024-11-10-preview", "resources": [{"id": "/providers/microsoft.hybridcompute/locations/{}/publishers/{}/extensiontypes/{}/versions", "version": "2024-11-10-preview", "swagger": "mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9sb2NhdGlvbnMve2xvY2F0aW9ufS9wdWJsaXNoZXJzL3twdWJsaXNoZXJ9L2V4dGVuc2lvblR5cGVzL3tleHRlbnNpb25UeXBlfS92ZXJzaW9ucw==/V/MjAyNC0xMS0xMC1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.extensionType", "options": ["type", "extension-type"], "required": true, "group": "", "help": {"short": "The extensionType of the Extension being received."}}, {"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true}, {"type": "string", "var": "$Path.publisher", "options": ["p", "publisher"], "required": true, "group": "", "help": {"short": "The publisher of the Extension being received."}}]}], "operations": [{"operationId": "ExtensionMetadataV2_List", "http": {"path": "/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "extensionType", "arg": "$Path.extensionType", "required": true}, {"type": "string", "name": "location", "arg": "$Path.location", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "publisher", "arg": "$Path.publisher", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-11-10-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array<object>", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/providers/Microsoft.HybridCompute/locations/{}/publishers/{}/extensionTypes/{}/versions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "array<string>", "name": "architecture", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "extensionSignatureUri"}, {"readOnly": true, "type": "string", "name": "extensionType"}, {"readOnly": true, "type": "array<string>", "name": "extensionUris", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "operatingSystem"}, {"readOnly": true, "type": "string", "name": "publisher"}, {"readOnly": true, "type": "string", "name": "version"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]}
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/providers/microsoft.hybridcompute/locations/{}/publishers/{}/extensiontypes/{}/versions" version="2024-11-10-preview" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9sb2NhdGlvbnMve2xvY2F0aW9ufS9wdWJsaXNoZXJzL3twdWJsaXNoZXJ9L2V4dGVuc2lvblR5cGVzL3tleHRlbnNpb25UeXBlfS92ZXJzaW9ucw==/V/MjAyNC0xMS0xMC1wcmV2aWV3"/>
<commandGroup name="connectedmachine extension image">
<command name="list" version="2024-11-10-preview" confirmation="">
<resource id="/providers/microsoft.hybridcompute/locations/{}/publishers/{}/extensiontypes/{}/versions" version="2024-11-10-preview" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9sb2NhdGlvbnMve2xvY2F0aW9ufS9wdWJsaXNoZXJzL3twdWJsaXNoZXJ9L2V4dGVuc2lvblR5cGVzL3tleHRlbnNpb25UeXBlfS92ZXJzaW9ucw==/V/MjAyNC0xMS0xMC1wcmV2aWV3"/>
<argGroup name="">
<arg type="string" var="$Path.extensionType" options="extension-type type" required="True" group="">
<help short="The extensionType of the Extension being received."/>
</arg>
<arg type="ResourceLocation" var="$Path.location" options="location l" required="True"/>
<arg type="string" var="$Path.publisher" options="publisher p" required="True" group="">
<help short="The publisher of the Extension being received."/>
</arg>
</argGroup>
<operation operationId="ExtensionMetadataV2_List">
<http path="/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions">
<request method="get">
<path>
<param type="string" name="extensionType" arg="$Path.extensionType" required="True"/>
<param type="string" name="location" arg="$Path.location" required="True">
<format minLength="1"/>
</param>
<param type="string" name="publisher" arg="$Path.publisher" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-11-10-preview&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop type="string" name="nextLink"/>
<prop readOnly="True" type="array<object>" name="value">
<item type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/providers/Microsoft.HybridCompute/locations/{}/publishers/{}/extensionTypes/{}/versions/{}"/>
</prop>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop readOnly="True" type="array<string>" name="architecture">
<item type="string"/>
</prop>
<prop readOnly="True" type="string" name="extensionSignatureUri"/>
<prop readOnly="True" type="string" name="extensionType"/>
<prop readOnly="True" type="array<string>" name="extensionUris">
<item type="string"/>
</prop>
<prop readOnly="True" type="string" name="operatingSystem"/>
<prop readOnly="True" type="string" name="publisher"/>
<prop readOnly="True" type="string" name="version"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt">
<format protocol="iso"/>
</prop>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt">
<format protocol="iso"/>
</prop>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
</command>
</commandGroup>
</CodeGen>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/providers/microsoft.hybridcompute/locations/{}/publishers/{}/extensiontypes/{}/versions/{}", "version": "2024-11-10-preview", "swagger": "mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9sb2NhdGlvbnMve2xvY2F0aW9ufS9wdWJsaXNoZXJzL3twdWJsaXNoZXJ9L2V4dGVuc2lvblR5cGVzL3tleHRlbnNpb25UeXBlfS92ZXJzaW9ucy97dmVyc2lvbn0=/V/MjAyNC0xMS0xMC1wcmV2aWV3"}], "commandGroups": [{"name": "connectedmachine extension image", "commands": [{"name": "show", "version": "2024-11-10-preview", "resources": [{"id": "/providers/microsoft.hybridcompute/locations/{}/publishers/{}/extensiontypes/{}/versions/{}", "version": "2024-11-10-preview", "swagger": "mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9sb2NhdGlvbnMve2xvY2F0aW9ufS9wdWJsaXNoZXJzL3twdWJsaXNoZXJ9L2V4dGVuc2lvblR5cGVzL3tleHRlbnNpb25UeXBlfS92ZXJzaW9ucy97dmVyc2lvbn0=/V/MjAyNC0xMS0xMC1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.extensionType", "options": ["type", "extension-type"], "required": true, "group": "", "help": {"short": "The extensionType of the Extension being received."}}, {"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true}, {"type": "string", "var": "$Path.publisher", "options": ["p", "publisher"], "required": true, "group": "", "help": {"short": "The publisher of the Extension being received."}}, {"type": "string", "var": "$Path.version", "options": ["n", "name", "version"], "required": true, "group": "", "help": {"short": "The version of the Extension being received."}}]}], "operations": [{"operationId": "ExtensionMetadataV2_Get", "http": {"path": "/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions/{version}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "extensionType", "arg": "$Path.extensionType", "required": true}, {"type": "string", "name": "location", "arg": "$Path.location", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "publisher", "arg": "$Path.publisher", "required": true}, {"type": "string", "name": "version", "arg": "$Path.version", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-11-10-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/providers/Microsoft.HybridCompute/locations/{}/publishers/{}/extensionTypes/{}/versions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "array<string>", "name": "architecture", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "extensionSignatureUri"}, {"readOnly": true, "type": "string", "name": "extensionType"}, {"readOnly": true, "type": "array<string>", "name": "extensionUris", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "operatingSystem"}, {"readOnly": true, "type": "string", "name": "publisher"}, {"readOnly": true, "type": "string", "name": "version"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}
Loading