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
16 changes: 16 additions & 0 deletions Commands/amlfs/expansion/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _amlfs expansion create_

Increase filesystem storage capacity.

## Versions

### [2026-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlY2FjaGUvYW1sZmlsZXN5c3RlbXMve30vZXhwYW5zaW9uam9icy97fQ==/2026-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/expansionjobs/{} 2026-01-01 -->

#### examples

- expansionJobs_CreateOrUpdate
```bash
amlfs expansion create --resource-group scgroup --aml-filesystem-name fs1 --expansion-job-name expansionjob1 --tags "{Dept:ContosoAds}" --location eastus --new-storage-capacity 16.0
```
16 changes: 16 additions & 0 deletions Commands/amlfs/expansion/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _amlfs expansion delete_

Delete an expansion job.

## Versions

### [2026-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlY2FjaGUvYW1sZmlsZXN5c3RlbXMve30vZXhwYW5zaW9uam9icy97fQ==/2026-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/expansionjobs/{} 2026-01-01 -->

#### examples

- expansionJobs_Delete
```bash
amlfs expansion delete --resource-group scgroup --aml-filesystem-name fs1 --expansion-job-name expansionjob1
```
16 changes: 16 additions & 0 deletions Commands/amlfs/expansion/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _amlfs expansion list_

List all the expansion jobs the user has access to under an AML File System.

## Versions

### [2026-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlY2FjaGUvYW1sZmlsZXN5c3RlbXMve30vZXhwYW5zaW9uam9icw==/2026-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/expansionjobs 2026-01-01 -->

#### examples

- expansionJobs_ListByAmlFilesystem
```bash
amlfs expansion list --resource-group scgroup --aml-filesystem-name fs1
```
16 changes: 16 additions & 0 deletions Commands/amlfs/expansion/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _amlfs expansion show_

Get an expansion job.

## Versions

### [2026-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlY2FjaGUvYW1sZmlsZXN5c3RlbXMve30vZXhwYW5zaW9uam9icy97fQ==/2026-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/expansionjobs/{} 2026-01-01 -->

#### examples

- expansionJobs_Get
```bash
amlfs expansion show --resource-group scgroup --aml-filesystem-name fs1 --expansion-job-name expansionjob1
```
18 changes: 18 additions & 0 deletions Commands/amlfs/expansion/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# [Command] _amlfs expansion update_

Update an expansion job instance.

Use this command to update tags on an expansion job instance. No other property can be modified.

## Versions

### [2026-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlY2FjaGUvYW1sZmlsZXN5c3RlbXMve30vZXhwYW5zaW9uam9icy97fQ==/2026-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/expansionjobs/{} 2026-01-01 -->

#### examples

- expansionJobs_Update
```bash
amlfs expansion update --resource-group scgroup --aml-filesystem-name fs1 --expansion-job-name expansionjob1 --tags "{Dept:ContosoFinance}"
```
20 changes: 20 additions & 0 deletions Commands/amlfs/expansion/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Group] _amlfs expansion_

Manage Expansion

## Commands

- [create](/Commands/amlfs/expansion/_create.md)
: Increase filesystem storage capacity.

- [delete](/Commands/amlfs/expansion/_delete.md)
: Delete an expansion job.

- [list](/Commands/amlfs/expansion/_list.md)
: List all the expansion jobs the user has access to under an AML File System.

- [show](/Commands/amlfs/expansion/_show.md)
: Get an expansion job.

- [update](/Commands/amlfs/expansion/_update.md)
: Update an expansion job instance.
3 changes: 3 additions & 0 deletions Commands/amlfs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ Manage Azure Managed Lustre Filesystem
- [auto-import](/Commands/amlfs/auto-import/readme.md)
: Manage Auto Import Job

- [expansion](/Commands/amlfs/expansion/readme.md)
: Manage Expansion

- [import](/Commands/amlfs/import/readme.md)
: Manage Import Job

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/expansionjobs", "version": "2026-01-01", "swagger": "mgmt-plane/storagecache/ResourceProviders/Microsoft.StorageCache/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZUNhY2hlL2FtbEZpbGVzeXN0ZW1zL3thbWxGaWxlc3lzdGVtTmFtZX0vZXhwYW5zaW9uSm9icw==/V/MjAyNi0wMS0wMQ=="}], "commandGroups": [{"name": "amlfs expansion", "commands": [{"name": "list", "version": "2026-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/expansionjobs", "version": "2026-01-01", "swagger": "mgmt-plane/storagecache/ResourceProviders/Microsoft.StorageCache/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZUNhY2hlL2FtbEZpbGVzeXN0ZW1zL3thbWxGaWxlc3lzdGVtTmFtZX0vZXhwYW5zaW9uSm9icw==/V/MjAyNi0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.amlFilesystemName", "options": ["aml-filesystem-name"], "required": true, "idPart": "name", "help": {"short": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric."}, "format": {"pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$", "maxLength": 80, "minLength": 2}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "expansionJobs_ListByAmlFilesystem", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/expansionJobs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "amlFilesystemName", "arg": "$Path.amlFilesystemName", "required": true, "format": {"pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$", "maxLength": 80, "minLength": 2}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01"}, "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"}, {"type": "array<object>", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.StorageCache/amlFilesystems/{}/expansionJobs/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "float32", "name": "newStorageCapacityTiB"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "object", "name": "status", "props": [{"readOnly": true, "type": "dateTime", "name": "completionTimeUTC", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "float32", "name": "percentComplete", "format": {"maximum": 100.0, "minimum": 0.0}}, {"readOnly": true, "type": "dateTime", "name": "startTimeUTC", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "Completed"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "RollingBack"}]}}, {"readOnly": true, "type": "string", "name": "statusCode"}, {"readOnly": true, "type": "string", "name": "statusMessage"}], "clientFlatten": true}], "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"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "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,131 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/expansionjobs" version="2026-01-01" swagger="mgmt-plane/storagecache/ResourceProviders/Microsoft.StorageCache/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZUNhY2hlL2FtbEZpbGVzeXN0ZW1zL3thbWxGaWxlc3lzdGVtTmFtZX0vZXhwYW5zaW9uSm9icw==/V/MjAyNi0wMS0wMQ=="/>
<commandGroup name="amlfs expansion">
<command name="list" version="2026-01-01" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.storagecache/amlfilesystems/{}/expansionjobs" version="2026-01-01" swagger="mgmt-plane/storagecache/ResourceProviders/Microsoft.StorageCache/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZUNhY2hlL2FtbEZpbGVzeXN0ZW1zL3thbWxGaWxlc3lzdGVtTmFtZX0vZXhwYW5zaW9uSm9icw==/V/MjAyNi0wMS0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.amlFilesystemName" options="aml-filesystem-name" required="True" idPart="name">
<help short="Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric."/>
<format pattern="^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" maxLength="80" minLength="2"/>
</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="expansionJobs_ListByAmlFilesystem">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/expansionJobs">
<request method="get">
<path>
<param type="string" name="amlFilesystemName" arg="$Path.amlFilesystemName" required="True">
<format pattern="^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" maxLength="80" minLength="2"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="uuid" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2026-01-01&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop type="string" name="nextLink"/>
<prop type="array<object>" name="value">
<item type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.StorageCache/amlFilesystems/{}/expansionJobs/{}"/>
</prop>
<prop type="ResourceLocation" name="location" required="True"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="float32" name="newStorageCapacityTiB"/>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value="&quot;Canceled&quot;"/>
<item value="&quot;Creating&quot;"/>
<item value="&quot;Deleting&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Succeeded&quot;"/>
<item value="&quot;Updating&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="object" name="status" clientFlatten="True">
<prop readOnly="True" type="dateTime" name="completionTimeUTC">
<format protocol="iso"/>
</prop>
<prop readOnly="True" type="float32" name="percentComplete">
<format maximum="100.0" minimum="0.0"/>
</prop>
<prop readOnly="True" type="dateTime" name="startTimeUTC">
<format protocol="iso"/>
</prop>
<prop readOnly="True" type="string" name="state">
<enum>
<item value="&quot;Completed&quot;"/>
<item value="&quot;Deleting&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;InProgress&quot;"/>
<item value="&quot;RollingBack&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="statusCode"/>
<prop readOnly="True" type="string" name="statusMessage"/>
</prop>
</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 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>

Large diffs are not rendered by default.

Loading
Loading