Skip to content
Open
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/interconnect-block/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _interconnect-block create_

Create an Interconnect Block. When updating an Interconnect Block, only tags and sku-capacity may be modified.

## Versions

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/interconnectblocks/{} 2026-03-01 -->

#### examples

- Creates a new InterconnectBlock resource.
```bash
interconnect-block create --name training-icb-001 --resource-group ai-training-rg --location eastus --zone 1 --sku-name Standard_ND128isr_GB300_v6 --sku-capacity 36 --interconnect-group-id "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/network-rg/providers/Microsoft.Network/interconnectGroups/training-ig" --tags Environment=Production Workload=AI-Training CostCenter=ML-Engineering
```
21 changes: 21 additions & 0 deletions Commands/interconnect-block/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# [Command] _interconnect-block delete_

Delete an Interconnect Block. The operation is only allowed when there are no virtual machines or VMSS VM instances associated with the Interconnect Block.

## Versions

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/interconnectblocks/{} 2026-03-01 -->

#### examples

- Delete an Interconnect Block.
```bash
interconnect-block delete --name training-icb-001 --resource-group ai-training-rg
```

- Delete without confirmation
```bash
interconnect-block delete --name training-icb-001 --resource-group ai-training-rg --yes
```
27 changes: 27 additions & 0 deletions Commands/interconnect-block/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# [Command] _interconnect-block list_

List all of the Interconnect Blocks in the subscription. Use the nextLink property in the response to get the next page of Interconnect Blocks.

## Versions

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

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.compute/interconnectblocks 2026-03-01 -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/interconnectblocks 2026-03-01 -->

#### examples

- List all in subscription
```bash
interconnect-block list
```

- List by resource group
```bash
interconnect-block list --resource-group ai-training-rg
```

- List and filter by capacity
```bash
interconnect-block list --resource-group ai-training-rg --query "[?sku.capacity>=36]"
```
21 changes: 21 additions & 0 deletions Commands/interconnect-block/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# [Command] _interconnect-block show_

Get information about an Interconnect Block.

## Versions

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/interconnectblocks/{} 2026-03-01 -->

#### examples

- Get basic information
```bash
interconnect-block show --name training-icb-001 --resource-group ai-training-rg
```

- Get with instance view (includes runtime details)
```bash
interconnect-block show --name training-icb-001 --resource-group ai-training-rg --expand instanceView
```
26 changes: 26 additions & 0 deletions Commands/interconnect-block/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# [Command] _interconnect-block update_

Update an Interconnect Block. When updating an Interconnect Block, only tags and sku-capacity may be modified.

## Versions

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/interconnectblocks/{} 2026-03-01 -->

#### examples

- Update scale capacity
```bash
interconnect-block update --name training-icb-001 --resource-group ai-training-rg --sku-capacity 54
```

- Update tags
```bash
interconnect-block update --name training-icb-001 --resource-group ai-training-rg --tags Environment=Production Capacity=54-nodes LastScaled=$(date +%Y-%m-%d)
```

- Update scale with no-wait
```bash
interconnect-block update --name training-icb-001 --resource-group ai-training-rg --sku-capacity 72 --no-wait
```
20 changes: 20 additions & 0 deletions Commands/interconnect-block/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Group] _interconnect-block_

Manage Interconnect Block

## Commands

- [create](/Commands/interconnect-block/_create.md)
: Create an Interconnect Block. When updating an Interconnect Block, only tags and sku-capacity may be modified.

- [delete](/Commands/interconnect-block/_delete.md)
: Delete an Interconnect Block. The operation is only allowed when there are no virtual machines or VMSS VM instances associated with the Interconnect Block.

- [list](/Commands/interconnect-block/_list.md)
: List all of the Interconnect Blocks in the subscription. Use the nextLink property in the response to get the next page of Interconnect Blocks.

- [show](/Commands/interconnect-block/_show.md)
: Get information about an Interconnect Block.

- [update](/Commands/interconnect-block/_update.md)
: Update an Interconnect Block. When updating an Interconnect Block, only tags and sku-capacity may be modified.
3 changes: 3 additions & 0 deletions Commands/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,9 @@
- [informatica](/Commands/informatica/readme.md)
: Manage all resources related to Informatica within the Azure CLI.

- [interconnect-block](/Commands/interconnect-block/readme.md)
: Manage Interconnect Block

- [k8s-runtime](/Commands/k8s-runtime/readme.md)
: Manage Arc Kubernetes Runtime resources

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/interconnectblocks", "version": "2026-03-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvaW50ZXJjb25uZWN0QmxvY2tz/V/MjAyNi0wMy0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/interconnectblocks", "version": "2026-03-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9pbnRlcmNvbm5lY3RCbG9ja3M=/V/MjAyNi0wMy0wMQ=="}], "commandGroups": [{"name": "interconnect-block", "commands": [{"name": "list", "version": "2026-03-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/interconnectblocks", "version": "2026-03-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvaW50ZXJjb25uZWN0QmxvY2tz/V/MjAyNi0wMy0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/interconnectblocks", "version": "2026-03-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9pbnRlcmNvbm5lY3RCbG9ja3M=/V/MjAyNi0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_InterconnectBlocks_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}, {"var": "$Condition_InterconnectBlocks_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_InterconnectBlocks_ListBySubscription"], "operationId": "InterconnectBlocks_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/interconnectBlocks", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-03-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", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/interconnectBlocks/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "placement", "props": [{"type": "array<string>", "name": "excludeZones", "item": {"type": "string"}}, {"type": "array<string>", "name": "includeZones", "item": {"type": "string"}}, {"type": "string", "name": "zonePlacementPolicy", "enum": {"items": [{"value": "Any"}, {"value": "Auto"}]}}]}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "object", "name": "instanceView", "props": [{"readOnly": true, "type": "integer32", "name": "currentCapacity"}, {"readOnly": true, "type": "array<object>", "name": "statuses", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "level", "enum": {"items": [{"value": "Error"}, {"value": "Info"}, {"value": "Warning"}]}}, {"type": "string", "name": "message"}, {"type": "dateTime", "name": "time", "format": {"protocol": "iso"}}]}}]}, {"readOnly": true, "type": "string", "name": "interconnectBlockId"}, {"type": "object", "name": "interconnectGroup", "required": true, "props": [{"type": "string", "name": "id"}]}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "dateTime", "name": "provisioningTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "dateTime", "name": "timeCreated", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "array<object>", "name": "virtualMachinesAssociated", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, "identifiers": ["id"]}]}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "integer64", "name": "capacity"}, {"type": "string", "name": "name"}, {"type": "string", "name": "tier"}]}, {"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"}, {"type": "array<string>", "name": "zones", "item": {"type": "string"}}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_InterconnectBlocks_ListByResourceGroup"], "operationId": "InterconnectBlocks_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/interconnectBlocks", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-03-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", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/interconnectBlocks/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "placement", "props": [{"type": "array<string>", "name": "excludeZones", "item": {"type": "string"}}, {"type": "array<string>", "name": "includeZones", "item": {"type": "string"}}, {"type": "string", "name": "zonePlacementPolicy", "enum": {"items": [{"value": "Any"}, {"value": "Auto"}]}}]}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "object", "name": "instanceView", "props": [{"readOnly": true, "type": "integer32", "name": "currentCapacity"}, {"readOnly": true, "type": "array<object>", "name": "statuses", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "level", "enum": {"items": [{"value": "Error"}, {"value": "Info"}, {"value": "Warning"}]}}, {"type": "string", "name": "message"}, {"type": "dateTime", "name": "time", "format": {"protocol": "iso"}}]}}]}, {"readOnly": true, "type": "string", "name": "interconnectBlockId"}, {"type": "object", "name": "interconnectGroup", "required": true, "props": [{"type": "string", "name": "id"}]}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "dateTime", "name": "provisioningTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "dateTime", "name": "timeCreated", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "array<object>", "name": "virtualMachinesAssociated", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, "identifiers": ["id"]}]}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "integer64", "name": "capacity"}, {"type": "string", "name": "name"}, {"type": "string", "name": "tier"}]}, {"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"}, {"type": "array<string>", "name": "zones", "item": {"type": "string"}}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]}
Loading
Loading