VirtualRouterPeeringsClient Interface

public interface VirtualRouterPeeringsClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<VirtualRouterPeeringInner>,VirtualRouterPeeringInner> beginCreateOrUpdate(String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters)

Creates or updates the specified Virtual Router Peering.

abstract SyncPoller<PollResult<VirtualRouterPeeringInner>,VirtualRouterPeeringInner> beginCreateOrUpdate(String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters, Context context)

Creates or updates the specified Virtual Router Peering.

abstract PollerFlux<PollResult<VirtualRouterPeeringInner>,VirtualRouterPeeringInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters)

Creates or updates the specified Virtual Router Peering.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String virtualRouterName, String peeringName)

Deletes the specified peering from a Virtual Router.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String virtualRouterName, String peeringName, Context context)

Deletes the specified peering from a Virtual Router.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String virtualRouterName, String peeringName)

Deletes the specified peering from a Virtual Router.

abstract VirtualRouterPeeringInner createOrUpdate(String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters)

Creates or updates the specified Virtual Router Peering.

abstract VirtualRouterPeeringInner createOrUpdate(String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters, Context context)

Creates or updates the specified Virtual Router Peering.

abstract Mono<VirtualRouterPeeringInner> createOrUpdateAsync(String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters)

Creates or updates the specified Virtual Router Peering.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters)

Creates or updates the specified Virtual Router Peering.

abstract void delete(String resourceGroupName, String virtualRouterName, String peeringName)

Deletes the specified peering from a Virtual Router.

abstract void delete(String resourceGroupName, String virtualRouterName, String peeringName, Context context)

Deletes the specified peering from a Virtual Router.

abstract Mono<Void> deleteAsync(String resourceGroupName, String virtualRouterName, String peeringName)

Deletes the specified peering from a Virtual Router.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String virtualRouterName, String peeringName)

Deletes the specified peering from a Virtual Router.

abstract VirtualRouterPeeringInner get(String resourceGroupName, String virtualRouterName, String peeringName)

Gets the specified Virtual Router Peering.

abstract Mono<VirtualRouterPeeringInner> getAsync(String resourceGroupName, String virtualRouterName, String peeringName)

Gets the specified Virtual Router Peering.

abstract Response<VirtualRouterPeeringInner> getWithResponse(String resourceGroupName, String virtualRouterName, String peeringName, Context context)

Gets the specified Virtual Router Peering.

abstract Mono<Response<VirtualRouterPeeringInner>> getWithResponseAsync(String resourceGroupName, String virtualRouterName, String peeringName)

Gets the specified Virtual Router Peering.

abstract PagedIterable<VirtualRouterPeeringInner> list(String resourceGroupName, String virtualRouterName)

Lists all Virtual Router Peerings in a Virtual Router resource.

abstract PagedIterable<VirtualRouterPeeringInner> list(String resourceGroupName, String virtualRouterName, Context context)

Lists all Virtual Router Peerings in a Virtual Router resource.

abstract PagedFlux<VirtualRouterPeeringInner> listAsync(String resourceGroupName, String virtualRouterName)

Lists all Virtual Router Peerings in a Virtual Router resource.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,VirtualRouterPeeringInner> beginCreateOrUpdate(String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters)

Creates or updates the specified Virtual Router Peering.

Parameters:

resourceGroupName - The name of the resource group.
virtualRouterName - The name of the Virtual Router.
peeringName - The name of the Virtual Router Peering.
parameters - Parameters supplied to the create or update Virtual Router Peering operation.

Returns:

the SyncPoller<T,U> for polling of virtual Router Peering resource.

beginCreateOrUpdate

public abstract SyncPoller,VirtualRouterPeeringInner> beginCreateOrUpdate(String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters, Context context)

Creates or updates the specified Virtual Router Peering.

Parameters:

resourceGroupName - The name of the resource group.
virtualRouterName - The name of the Virtual Router.
peeringName - The name of the Virtual Router Peering.
parameters - Parameters supplied to the create or update Virtual Router Peering operation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of virtual Router Peering resource.

beginCreateOrUpdateAsync

public abstract PollerFlux,VirtualRouterPeeringInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters)

Creates or updates the specified Virtual Router Peering.

Parameters:

resourceGroupName - The name of the resource group.
virtualRouterName - The name of the Virtual Router.
peeringName - The name of the Virtual Router Peering.
parameters - Parameters supplied to the create or update Virtual Router Peering operation.

Returns:

the PollerFlux<T,U> for polling of virtual Router Peering resource.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String virtualRouterName, String peeringName)

Deletes the specified peering from a Virtual Router.

Parameters:

resourceGroupName - The name of the resource group.
virtualRouterName - The name of the Virtual Router.
peeringName - The name of the peering.

Returns:

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

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String virtualRouterName, String peeringName, Context context)

Deletes the specified peering from a Virtual Router.

Parameters:

resourceGroupName - The name of the resource group.
virtualRouterName - The name of the Virtual Router.
peeringName - The name of the 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 virtualRouterName, String peeringName)

Deletes the specified peering from a Virtual Router.

Parameters:

resourceGroupName - The name of the resource group.
virtualRouterName - The name of the Virtual Router.
peeringName - The name of the peering.

Returns:

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

createOrUpdate

public abstract VirtualRouterPeeringInner createOrUpdate(String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters)

Creates or updates the specified Virtual Router Peering.

Parameters:

resourceGroupName - The name of the resource group.
virtualRouterName - The name of the Virtual Router.
peeringName - The name of the Virtual Router Peering.
parameters - Parameters supplied to the create or update Virtual Router Peering operation.

Returns:

virtual Router Peering resource.

createOrUpdate

public abstract VirtualRouterPeeringInner createOrUpdate(String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters, Context context)

Creates or updates the specified Virtual Router Peering.

Parameters:

resourceGroupName - The name of the resource group.
virtualRouterName - The name of the Virtual Router.
peeringName - The name of the Virtual Router Peering.
parameters - Parameters supplied to the create or update Virtual Router Peering operation.
context - The context to associate with this operation.

Returns:

virtual Router Peering resource.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters)

Creates or updates the specified Virtual Router Peering.

Parameters:

resourceGroupName - The name of the resource group.
virtualRouterName - The name of the Virtual Router.
peeringName - The name of the Virtual Router Peering.
parameters - Parameters supplied to the create or update Virtual Router Peering operation.

Returns:

virtual Router Peering resource on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters)

Creates or updates the specified Virtual Router Peering.

Parameters:

resourceGroupName - The name of the resource group.
virtualRouterName - The name of the Virtual Router.
peeringName - The name of the Virtual Router Peering.
parameters - Parameters supplied to the create or update Virtual Router Peering operation.

Returns:

virtual Router Peering resource along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String virtualRouterName, String peeringName)

Deletes the specified peering from a Virtual Router.

Parameters:

resourceGroupName - The name of the resource group.
virtualRouterName - The name of the Virtual Router.
peeringName - The name of the peering.

delete

public abstract void delete(String resourceGroupName, String virtualRouterName, String peeringName, Context context)

Deletes the specified peering from a Virtual Router.

Parameters:

resourceGroupName - The name of the resource group.
virtualRouterName - The name of the Virtual Router.
peeringName - The name of the peering.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String virtualRouterName, String peeringName)

Deletes the specified peering from a Virtual Router.

Parameters:

resourceGroupName - The name of the resource group.
virtualRouterName - The name of the Virtual Router.
peeringName - The name of the peering.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualRouterName, String peeringName)

Deletes the specified peering from a Virtual Router.

Parameters:

resourceGroupName - The name of the resource group.
virtualRouterName - The name of the Virtual Router.
peeringName - The name of the peering.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract VirtualRouterPeeringInner get(String resourceGroupName, String virtualRouterName, String peeringName)

Gets the specified Virtual Router Peering.

Parameters:

resourceGroupName - The name of the resource group.
virtualRouterName - The name of the Virtual Router.
peeringName - The name of the Virtual Router Peering.

Returns:

the specified Virtual Router Peering.

getAsync

public abstract Mono getAsync(String resourceGroupName, String virtualRouterName, String peeringName)

Gets the specified Virtual Router Peering.

Parameters:

resourceGroupName - The name of the resource group.
virtualRouterName - The name of the Virtual Router.
peeringName - The name of the Virtual Router Peering.

Returns:

the specified Virtual Router Peering on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String virtualRouterName, String peeringName, Context context)

Gets the specified Virtual Router Peering.

Parameters:

resourceGroupName - The name of the resource group.
virtualRouterName - The name of the Virtual Router.
peeringName - The name of the Virtual Router Peering.
context - The context to associate with this operation.

Returns:

the specified Virtual Router Peering along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String virtualRouterName, String peeringName)

Gets the specified Virtual Router Peering.

Parameters:

resourceGroupName - The name of the resource group.
virtualRouterName - The name of the Virtual Router.
peeringName - The name of the Virtual Router Peering.

Returns:

the specified Virtual Router Peering along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list(String resourceGroupName, String virtualRouterName)

Lists all Virtual Router Peerings in a Virtual Router resource.

Parameters:

resourceGroupName - The name of the resource group.
virtualRouterName - The name of the Virtual Router.

Returns:

response for ListVirtualRouterPeerings API service call as paginated response with PagedIterable<T>.

list

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

Lists all Virtual Router Peerings in a Virtual Router resource.

Parameters:

resourceGroupName - The name of the resource group.
virtualRouterName - The name of the Virtual Router.
context - The context to associate with this operation.

Returns:

response for ListVirtualRouterPeerings API service call as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String virtualRouterName)

Lists all Virtual Router Peerings in a Virtual Router resource.

Parameters:

resourceGroupName - The name of the resource group.
virtualRouterName - The name of the Virtual Router.

Returns:

response for ListVirtualRouterPeerings API service call as paginated response with PagedFlux<T>.

Applies to