共用方式為


ExpressRouteCrossConnectionPeerings interface

Interface representing a ExpressRouteCrossConnectionPeerings.

Methods

beginCreateOrUpdate(string, string, string, ExpressRouteCrossConnectionPeering, ExpressRouteCrossConnectionPeeringsCreateOrUpdateOptionalParams)

Creates or updates a peering in the specified ExpressRouteCrossConnection.

beginCreateOrUpdateAndWait(string, string, string, ExpressRouteCrossConnectionPeering, ExpressRouteCrossConnectionPeeringsCreateOrUpdateOptionalParams)

Creates or updates a peering in the specified ExpressRouteCrossConnection.

beginDelete(string, string, string, ExpressRouteCrossConnectionPeeringsDeleteOptionalParams)

Deletes the specified peering from the ExpressRouteCrossConnection.

beginDeleteAndWait(string, string, string, ExpressRouteCrossConnectionPeeringsDeleteOptionalParams)

Deletes the specified peering from the ExpressRouteCrossConnection.

get(string, string, string, ExpressRouteCrossConnectionPeeringsGetOptionalParams)

Gets the specified peering for the ExpressRouteCrossConnection.

list(string, string, ExpressRouteCrossConnectionPeeringsListOptionalParams)

Gets all peerings in a specified ExpressRouteCrossConnection.

Method Details

beginCreateOrUpdate(string, string, string, ExpressRouteCrossConnectionPeering, ExpressRouteCrossConnectionPeeringsCreateOrUpdateOptionalParams)

Creates or updates a peering in the specified ExpressRouteCrossConnection.

function beginCreateOrUpdate(resourceGroupName: string, crossConnectionName: string, peeringName: string, peeringParameters: ExpressRouteCrossConnectionPeering, options?: ExpressRouteCrossConnectionPeeringsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ExpressRouteCrossConnectionPeering>, ExpressRouteCrossConnectionPeering>>

Parameters

resourceGroupName

string

The name of the resource group.

crossConnectionName

string

The name of the ExpressRouteCrossConnection.

peeringName

string

The name of the peering.

peeringParameters
ExpressRouteCrossConnectionPeering

Parameters supplied to the create or update ExpressRouteCrossConnection peering operation.

Returns

beginCreateOrUpdateAndWait(string, string, string, ExpressRouteCrossConnectionPeering, ExpressRouteCrossConnectionPeeringsCreateOrUpdateOptionalParams)

Creates or updates a peering in the specified ExpressRouteCrossConnection.

function beginCreateOrUpdateAndWait(resourceGroupName: string, crossConnectionName: string, peeringName: string, peeringParameters: ExpressRouteCrossConnectionPeering, options?: ExpressRouteCrossConnectionPeeringsCreateOrUpdateOptionalParams): Promise<ExpressRouteCrossConnectionPeering>

Parameters

resourceGroupName

string

The name of the resource group.

crossConnectionName

string

The name of the ExpressRouteCrossConnection.

peeringName

string

The name of the peering.

peeringParameters
ExpressRouteCrossConnectionPeering

Parameters supplied to the create or update ExpressRouteCrossConnection peering operation.

Returns

beginDelete(string, string, string, ExpressRouteCrossConnectionPeeringsDeleteOptionalParams)

Deletes the specified peering from the ExpressRouteCrossConnection.

function beginDelete(resourceGroupName: string, crossConnectionName: string, peeringName: string, options?: ExpressRouteCrossConnectionPeeringsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

crossConnectionName

string

The name of the ExpressRouteCrossConnection.

peeringName

string

The name of the peering.

Returns

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

beginDeleteAndWait(string, string, string, ExpressRouteCrossConnectionPeeringsDeleteOptionalParams)

Deletes the specified peering from the ExpressRouteCrossConnection.

function beginDeleteAndWait(resourceGroupName: string, crossConnectionName: string, peeringName: string, options?: ExpressRouteCrossConnectionPeeringsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

crossConnectionName

string

The name of the ExpressRouteCrossConnection.

peeringName

string

The name of the peering.

Returns

Promise<void>

get(string, string, string, ExpressRouteCrossConnectionPeeringsGetOptionalParams)

Gets the specified peering for the ExpressRouteCrossConnection.

function get(resourceGroupName: string, crossConnectionName: string, peeringName: string, options?: ExpressRouteCrossConnectionPeeringsGetOptionalParams): Promise<ExpressRouteCrossConnectionPeering>

Parameters

resourceGroupName

string

The name of the resource group.

crossConnectionName

string

The name of the ExpressRouteCrossConnection.

peeringName

string

The name of the peering.

Returns

list(string, string, ExpressRouteCrossConnectionPeeringsListOptionalParams)

Gets all peerings in a specified ExpressRouteCrossConnection.

function list(resourceGroupName: string, crossConnectionName: string, options?: ExpressRouteCrossConnectionPeeringsListOptionalParams): PagedAsyncIterableIterator<ExpressRouteCrossConnectionPeering, ExpressRouteCrossConnectionPeering[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

crossConnectionName

string

The name of the ExpressRouteCrossConnection.

Returns