InterconnectBlocksOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:interconnect_blocks> attribute.
Constructor
InterconnectBlocksOperations(*args, **kwargs)
Methods
| begin_create_or_update |
Creates or updates an Interconnect Block. When updating an Interconnect Block, only tags and sku.capacity may be modified. |
| begin_delete |
Deletes an Interconnect Block. The operation is only allowed when there are no virtual machines or VMSS VM instances associated with the Interconnect Block. |
| begin_update |
Updates an Interconnect Block. When updating an Interconnect Block, only tags and sku.capacity may be modified. |
| get |
Retrieves information about an Interconnect Block. |
| list_by_resource_group |
Lists all of the Interconnect Blocks in the specified resource group. Use the nextLink property in the response to get the next page of Interconnect Blocks. |
| list_by_subscription |
Lists all of the Interconnect Blocks in the subscription. Use the nextLink property in the response to get the next page of Interconnect Blocks. |
begin_create_or_update
Creates or updates an Interconnect Block. When updating an Interconnect Block, only tags and sku.capacity may be modified.
begin_create_or_update(resource_group_name: str, interconnect_block_name: str, resource: _models.InterconnectBlock, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.InterconnectBlock]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
interconnect_block_name
Required
|
The name of the Interconnect Block. Required. |
|
resource
Required
|
Parameters supplied to the Create Interconnect Block. Is one of the following types: InterconnectBlock, JSON, IO[bytes] Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns InterconnectBlock. The InterconnectBlock is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
begin_delete
Deletes an Interconnect Block. The operation is only allowed when there are no virtual machines or VMSS VM instances associated with the Interconnect Block.
begin_delete(resource_group_name: str, interconnect_block_name: str, **kwargs: Any) -> LROPoller[None]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
interconnect_block_name
Required
|
The name of the Interconnect Block. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns None |
Exceptions
| Type | Description |
|---|---|
begin_update
Updates an Interconnect Block. When updating an Interconnect Block, only tags and sku.capacity may be modified.
begin_update(resource_group_name: str, interconnect_block_name: str, properties: _models.InterconnectBlockUpdate, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.InterconnectBlock]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
interconnect_block_name
Required
|
The name of the Interconnect Block. Required. |
|
properties
Required
|
Parameters supplied to the Update Interconnect Block operation. Is one of the following types: InterconnectBlockUpdate, JSON, IO[bytes] Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns InterconnectBlock. The InterconnectBlock is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
get
Retrieves information about an Interconnect Block.
get(resource_group_name: str, interconnect_block_name: str, *, expand: str | InterconnectBlockExpandTypes | None = None, **kwargs: Any) -> InterconnectBlock
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
interconnect_block_name
Required
|
The name of the Interconnect Block. Required. |
Keyword-Only Parameters
| Name | Description |
|---|---|
|
expand
|
The expand expression to apply on the operation. 'instanceView' retrieves a snapshot of the runtime properties of the Interconnect Block that is managed by the platform and can change outside of control plane operations. "instanceView" Default value is None. Default value: None
|
Returns
| Type | Description |
|---|---|
|
InterconnectBlock. The InterconnectBlock is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
list_by_resource_group
Lists all of the Interconnect Blocks in the specified resource group. Use the nextLink property in the response to get the next page of Interconnect Blocks.
list_by_resource_group(resource_group_name: str, **kwargs: Any) -> ItemPaged[InterconnectBlock]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
Returns
| Type | Description |
|---|---|
|
An iterator like instance of InterconnectBlock |
Exceptions
| Type | Description |
|---|---|
list_by_subscription
Lists all of the Interconnect Blocks in the subscription. Use the nextLink property in the response to get the next page of Interconnect Blocks.
list_by_subscription(**kwargs: Any) -> ItemPaged[InterconnectBlock]
Returns
| Type | Description |
|---|---|
|
An iterator like instance of InterconnectBlock |
Exceptions
| Type | Description |
|---|---|