VirtualHubBgpConnection interface

Interface representing a VirtualHubBgpConnection.

Methods

beginCreateOrUpdate(string, string, string, BgpConnection, VirtualHubBgpConnectionCreateOrUpdateOptionalParams)

Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection.

beginCreateOrUpdateAndWait(string, string, string, BgpConnection, VirtualHubBgpConnectionCreateOrUpdateOptionalParams)

Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection.

beginDelete(string, string, string, VirtualHubBgpConnectionDeleteOptionalParams)

Deletes a VirtualHubBgpConnection.

beginDeleteAndWait(string, string, string, VirtualHubBgpConnectionDeleteOptionalParams)

Deletes a VirtualHubBgpConnection.

get(string, string, string, VirtualHubBgpConnectionGetOptionalParams)

Retrieves the details of a Virtual Hub Bgp Connection.

Method Details

beginCreateOrUpdate(string, string, string, BgpConnection, VirtualHubBgpConnectionCreateOrUpdateOptionalParams)

Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection.

function beginCreateOrUpdate(resourceGroupName: string, virtualHubName: string, connectionName: string, parameters: BgpConnection, options?: VirtualHubBgpConnectionCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<BgpConnection>, BgpConnection>>

Parameters

resourceGroupName

string

The resource group name of the VirtualHub.

virtualHubName

string

The name of the VirtualHub.

connectionName

string

The name of the connection.

parameters
BgpConnection

Parameters of Bgp connection.

options
VirtualHubBgpConnectionCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<BgpConnection>, BgpConnection>>

beginCreateOrUpdateAndWait(string, string, string, BgpConnection, VirtualHubBgpConnectionCreateOrUpdateOptionalParams)

Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection.

function beginCreateOrUpdateAndWait(resourceGroupName: string, virtualHubName: string, connectionName: string, parameters: BgpConnection, options?: VirtualHubBgpConnectionCreateOrUpdateOptionalParams): Promise<BgpConnection>

Parameters

resourceGroupName

string

The resource group name of the VirtualHub.

virtualHubName

string

The name of the VirtualHub.

connectionName

string

The name of the connection.

parameters
BgpConnection

Parameters of Bgp connection.

options
VirtualHubBgpConnectionCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<BgpConnection>

beginDelete(string, string, string, VirtualHubBgpConnectionDeleteOptionalParams)

Deletes a VirtualHubBgpConnection.

function beginDelete(resourceGroupName: string, virtualHubName: string, connectionName: string, options?: VirtualHubBgpConnectionDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The resource group name of the VirtualHubBgpConnection.

virtualHubName

string

The name of the VirtualHub.

connectionName

string

The name of the connection.

options
VirtualHubBgpConnectionDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, VirtualHubBgpConnectionDeleteOptionalParams)

Deletes a VirtualHubBgpConnection.

function beginDeleteAndWait(resourceGroupName: string, virtualHubName: string, connectionName: string, options?: VirtualHubBgpConnectionDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The resource group name of the VirtualHubBgpConnection.

virtualHubName

string

The name of the VirtualHub.

connectionName

string

The name of the connection.

options
VirtualHubBgpConnectionDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, VirtualHubBgpConnectionGetOptionalParams)

Retrieves the details of a Virtual Hub Bgp Connection.

function get(resourceGroupName: string, virtualHubName: string, connectionName: string, options?: VirtualHubBgpConnectionGetOptionalParams): Promise<BgpConnection>

Parameters

resourceGroupName

string

The resource group name of the VirtualHub.

virtualHubName

string

The name of the VirtualHub.

connectionName

string

The name of the connection.

options
VirtualHubBgpConnectionGetOptionalParams

The options parameters.

Returns

Promise<BgpConnection>