Partilhar via


VirtualHubIpConfigurationOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:virtual_hub_ip_configuration> attribute.

Inheritance
builtins.object
VirtualHubIpConfigurationOperations

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.

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) -> LROPoller[_models.HubIpConfiguration]

Parameters

Name Description
resource_group_name
Required
str

The resource group name of the VirtualHub. Required.

virtual_hub_name
Required
str

The name of the VirtualHub. Required.

ip_config_name
Required
str

The name of the ipconfig. Required.

parameters
Required

Hub Ip Configuration parameters. Is either a HubIpConfiguration type or a IO[bytes] type. Required.

Returns

Type Description

An instance of LROPoller that returns either HubIpConfiguration or the result of cls(response)

Exceptions

Type Description

begin_delete

Deletes a VirtualHubIpConfiguration.

begin_delete(resource_group_name: str, virtual_hub_name: str, ip_config_name: str, **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The resource group name of the VirtualHubBgpConnection. Required.

virtual_hub_name
Required
str

The name of the VirtualHub. Required.

ip_config_name
Required
str

The name of the ipconfig. Required.

Returns

Type Description

An instance of LROPoller that returns either None or the result of cls(response)

Exceptions

Type Description

get

Retrieves the details of a Virtual Hub Ip configuration.

get(resource_group_name: str, virtual_hub_name: str, ip_config_name: str, **kwargs: Any) -> HubIpConfiguration

Parameters

Name Description
resource_group_name
Required
str

The resource group name of the VirtualHub. Required.

virtual_hub_name
Required
str

The name of the VirtualHub. Required.

ip_config_name
Required
str

The name of the ipconfig. Required.

Returns

Type Description

HubIpConfiguration or the result of cls(response)

Exceptions

Type Description

list

Retrieves the details of all VirtualHubIpConfigurations.

list(resource_group_name: str, virtual_hub_name: str, **kwargs: Any) -> Iterable[HubIpConfiguration]

Parameters

Name Description
resource_group_name
Required
str

The resource group name of the VirtualHub. Required.

virtual_hub_name
Required
str

The name of the VirtualHub. Required.

Returns

Type Description

An iterator like instance of either HubIpConfiguration or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.network.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\network\\models\\__init__.py'>