VirtualHubIpConfigurationOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:virtual_hub_ip_configuration> attribute.
Constructor
VirtualHubIpConfigurationOperations(*args, **kwargs)
Methods
| begin_create_or_update |
Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing VirtualHubIpConfiguration. |
| begin_delete |
Deletes a VirtualHubIpConfiguration. |
| get |
Retrieves the details of a Virtual Hub Ip configuration. |
| list |
Retrieves the details of all VirtualHubIpConfigurations. |
begin_create_or_update
Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing VirtualHubIpConfiguration.
async begin_create_or_update(resource_group_name: str, virtual_hub_name: str, ip_config_name: str, parameters: _models.HubIpConfiguration, *, content_type: str = 'application/json', **kwargs: Any) -> AsyncLROPoller[_models.HubIpConfiguration]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
virtual_hub_name
Required
|
The name of the VirtualHub. Required. |
|
ip_config_name
Required
|
The name of the resource that is unique within a resource group. This name can be used to access the resource. Required. |
|
parameters
Required
|
Hub Ip Configuration parameters. Is one of the following types: HubIpConfiguration, JSON, IO[bytes] Required. |
Returns
| Type | Description |
|---|---|
|
An instance of AsyncLROPoller that returns HubIpConfiguration. The HubIpConfiguration is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
begin_delete
Deletes a VirtualHubIpConfiguration.
async begin_delete(resource_group_name: str, virtual_hub_name: str, ip_config_name: str, **kwargs: Any) -> AsyncLROPoller[None]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
virtual_hub_name
Required
|
The name of the VirtualHub. Required. |
|
ip_config_name
Required
|
The name of the resource that is unique within a resource group. This name can be used to access the resource. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of AsyncLROPoller that returns None |
Exceptions
| Type | Description |
|---|---|
get
Retrieves the details of a Virtual Hub Ip configuration.
async get(resource_group_name: str, virtual_hub_name: str, ip_config_name: str, **kwargs: Any) -> HubIpConfiguration
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
virtual_hub_name
Required
|
The name of the VirtualHub. Required. |
|
ip_config_name
Required
|
The name of the resource that is unique within a resource group. This name can be used to access the resource. Required. |
Returns
| Type | Description |
|---|---|
|
HubIpConfiguration. The HubIpConfiguration is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
list
Retrieves the details of all VirtualHubIpConfigurations.
list(resource_group_name: str, virtual_hub_name: str, **kwargs: Any) -> AsyncItemPaged[HubIpConfiguration]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
virtual_hub_name
Required
|
The name of the VirtualHub. Required. |
Returns
| Type | Description |
|---|---|
|
An iterator like instance of HubIpConfiguration |
Exceptions
| Type | Description |
|---|---|