VirtualNetworkPeeringsClient Interface

public interface VirtualNetworkPeeringsClient

An instance of this class provides access to all the operations defined in VirtualNetworkPeeringsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<VirtualNetworkPeeringInner>,VirtualNetworkPeeringInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, VirtualNetworkPeeringInner virtualNetworkPeeringParameters)

Creates or updates a peering in the specified virtual network.

abstract SyncPoller<PollResult<VirtualNetworkPeeringInner>,VirtualNetworkPeeringInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, VirtualNetworkPeeringInner virtualNetworkPeeringParameters, SyncRemoteAddressSpace syncRemoteAddressSpace, Context context)

Creates or updates a peering in the specified virtual network.

abstract PollerFlux<PollResult<VirtualNetworkPeeringInner>,VirtualNetworkPeeringInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, VirtualNetworkPeeringInner virtualNetworkPeeringParameters)

Creates or updates a peering in the specified virtual network.

abstract PollerFlux<PollResult<VirtualNetworkPeeringInner>,VirtualNetworkPeeringInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, VirtualNetworkPeeringInner virtualNetworkPeeringParameters, SyncRemoteAddressSpace syncRemoteAddressSpace)

Creates or updates a peering in the specified virtual network.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName)

Deletes the specified virtual network peering.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, Context context)

Deletes the specified virtual network peering.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName)

Deletes the specified virtual network peering.

abstract VirtualNetworkPeeringInner createOrUpdate(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, VirtualNetworkPeeringInner virtualNetworkPeeringParameters)

Creates or updates a peering in the specified virtual network.

abstract VirtualNetworkPeeringInner createOrUpdate(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, VirtualNetworkPeeringInner virtualNetworkPeeringParameters, SyncRemoteAddressSpace syncRemoteAddressSpace, Context context)

Creates or updates a peering in the specified virtual network.

abstract Mono<VirtualNetworkPeeringInner> createOrUpdateAsync(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, VirtualNetworkPeeringInner virtualNetworkPeeringParameters)

Creates or updates a peering in the specified virtual network.

abstract Mono<VirtualNetworkPeeringInner> createOrUpdateAsync(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, VirtualNetworkPeeringInner virtualNetworkPeeringParameters, SyncRemoteAddressSpace syncRemoteAddressSpace)

Creates or updates a peering in the specified virtual network.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, VirtualNetworkPeeringInner virtualNetworkPeeringParameters, SyncRemoteAddressSpace syncRemoteAddressSpace)

Creates or updates a peering in the specified virtual network.

abstract void delete(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName)

Deletes the specified virtual network peering.

abstract void delete(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, Context context)

Deletes the specified virtual network peering.

abstract Mono<Void> deleteAsync(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName)

Deletes the specified virtual network peering.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName)

Deletes the specified virtual network peering.

abstract VirtualNetworkPeeringInner get(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName)

Gets the specified virtual network peering.

abstract Mono<VirtualNetworkPeeringInner> getAsync(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName)

Gets the specified virtual network peering.

abstract Response<VirtualNetworkPeeringInner> getWithResponse(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, Context context)

Gets the specified virtual network peering.

abstract Mono<Response<VirtualNetworkPeeringInner>> getWithResponseAsync(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName)

Gets the specified virtual network peering.

abstract PagedIterable<VirtualNetworkPeeringInner> list(String resourceGroupName, String virtualNetworkName)

Gets all virtual network peerings in a virtual network.

abstract PagedIterable<VirtualNetworkPeeringInner> list(String resourceGroupName, String virtualNetworkName, Context context)

Gets all virtual network peerings in a virtual network.

abstract PagedFlux<VirtualNetworkPeeringInner> listAsync(String resourceGroupName, String virtualNetworkName)

Gets all virtual network peerings in a virtual network.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,VirtualNetworkPeeringInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, VirtualNetworkPeeringInner virtualNetworkPeeringParameters)

Creates or updates a peering in the specified virtual network.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
virtualNetworkPeeringName - The name of the peering.
virtualNetworkPeeringParameters - Parameters supplied to the create or update virtual network peering operation.

Returns:

the SyncPoller<T,U> for polling of peerings in a virtual network resource.

beginCreateOrUpdate

public abstract SyncPoller,VirtualNetworkPeeringInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, VirtualNetworkPeeringInner virtualNetworkPeeringParameters, SyncRemoteAddressSpace syncRemoteAddressSpace, Context context)

Creates or updates a peering in the specified virtual network.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
virtualNetworkPeeringName - The name of the peering.
virtualNetworkPeeringParameters - Parameters supplied to the create or update virtual network peering operation.
syncRemoteAddressSpace - Parameter indicates the intention to sync the peering with the current address space on the remote vNet after it's updated.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of peerings in a virtual network resource.

beginCreateOrUpdateAsync

public abstract PollerFlux,VirtualNetworkPeeringInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, VirtualNetworkPeeringInner virtualNetworkPeeringParameters)

Creates or updates a peering in the specified virtual network.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
virtualNetworkPeeringName - The name of the peering.
virtualNetworkPeeringParameters - Parameters supplied to the create or update virtual network peering operation.

Returns:

the PollerFlux<T,U> for polling of peerings in a virtual network resource.

beginCreateOrUpdateAsync

public abstract PollerFlux,VirtualNetworkPeeringInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, VirtualNetworkPeeringInner virtualNetworkPeeringParameters, SyncRemoteAddressSpace syncRemoteAddressSpace)

Creates or updates a peering in the specified virtual network.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
virtualNetworkPeeringName - The name of the peering.
virtualNetworkPeeringParameters - Parameters supplied to the create or update virtual network peering operation.
syncRemoteAddressSpace - Parameter indicates the intention to sync the peering with the current address space on the remote vNet after it's updated.

Returns:

the PollerFlux<T,U> for polling of peerings in a virtual network resource.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName)

Deletes the specified virtual network peering.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
virtualNetworkPeeringName - The name of the virtual network peering.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, Context context)

Deletes the specified virtual network peering.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
virtualNetworkPeeringName - The name of the virtual network peering.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName)

Deletes the specified virtual network peering.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
virtualNetworkPeeringName - The name of the virtual network peering.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

createOrUpdate

public abstract VirtualNetworkPeeringInner createOrUpdate(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, VirtualNetworkPeeringInner virtualNetworkPeeringParameters)

Creates or updates a peering in the specified virtual network.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
virtualNetworkPeeringName - The name of the peering.
virtualNetworkPeeringParameters - Parameters supplied to the create or update virtual network peering operation.

Returns:

peerings in a virtual network resource.

createOrUpdate

public abstract VirtualNetworkPeeringInner createOrUpdate(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, VirtualNetworkPeeringInner virtualNetworkPeeringParameters, SyncRemoteAddressSpace syncRemoteAddressSpace, Context context)

Creates or updates a peering in the specified virtual network.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
virtualNetworkPeeringName - The name of the peering.
virtualNetworkPeeringParameters - Parameters supplied to the create or update virtual network peering operation.
syncRemoteAddressSpace - Parameter indicates the intention to sync the peering with the current address space on the remote vNet after it's updated.
context - The context to associate with this operation.

Returns:

peerings in a virtual network resource.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, VirtualNetworkPeeringInner virtualNetworkPeeringParameters)

Creates or updates a peering in the specified virtual network.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
virtualNetworkPeeringName - The name of the peering.
virtualNetworkPeeringParameters - Parameters supplied to the create or update virtual network peering operation.

Returns:

peerings in a virtual network resource on successful completion of Mono.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, VirtualNetworkPeeringInner virtualNetworkPeeringParameters, SyncRemoteAddressSpace syncRemoteAddressSpace)

Creates or updates a peering in the specified virtual network.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
virtualNetworkPeeringName - The name of the peering.
virtualNetworkPeeringParameters - Parameters supplied to the create or update virtual network peering operation.
syncRemoteAddressSpace - Parameter indicates the intention to sync the peering with the current address space on the remote vNet after it's updated.

Returns:

peerings in a virtual network resource on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, VirtualNetworkPeeringInner virtualNetworkPeeringParameters, SyncRemoteAddressSpace syncRemoteAddressSpace)

Creates or updates a peering in the specified virtual network.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
virtualNetworkPeeringName - The name of the peering.
virtualNetworkPeeringParameters - Parameters supplied to the create or update virtual network peering operation.
syncRemoteAddressSpace - Parameter indicates the intention to sync the peering with the current address space on the remote vNet after it's updated.

Returns:

peerings in a virtual network resource along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName)

Deletes the specified virtual network peering.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
virtualNetworkPeeringName - The name of the virtual network peering.

delete

public abstract void delete(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, Context context)

Deletes the specified virtual network peering.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
virtualNetworkPeeringName - The name of the virtual network peering.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName)

Deletes the specified virtual network peering.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
virtualNetworkPeeringName - The name of the virtual network peering.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName)

Deletes the specified virtual network peering.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
virtualNetworkPeeringName - The name of the virtual network peering.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract VirtualNetworkPeeringInner get(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName)

Gets the specified virtual network peering.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
virtualNetworkPeeringName - The name of the virtual network peering.

Returns:

the specified virtual network peering.

getAsync

public abstract Mono getAsync(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName)

Gets the specified virtual network peering.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
virtualNetworkPeeringName - The name of the virtual network peering.

Returns:

the specified virtual network peering on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, Context context)

Gets the specified virtual network peering.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
virtualNetworkPeeringName - The name of the virtual network peering.
context - The context to associate with this operation.

Returns:

the specified virtual network peering along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName)

Gets the specified virtual network peering.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
virtualNetworkPeeringName - The name of the virtual network peering.

Returns:

the specified virtual network peering along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list(String resourceGroupName, String virtualNetworkName)

Gets all virtual network peerings in a virtual network.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.

Returns:

all virtual network peerings in a virtual network as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceGroupName, String virtualNetworkName, Context context)

Gets all virtual network peerings in a virtual network.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
context - The context to associate with this operation.

Returns:

all virtual network peerings in a virtual network as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String virtualNetworkName)

Gets all virtual network peerings in a virtual network.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.

Returns:

all virtual network peerings in a virtual network as paginated response with PagedFlux<T>.

Applies to