Interface VirtualRouterPeeringsClient
public interface VirtualRouterPeeringsClient
An instance of this class provides access to all the operations defined in VirtualRouterPeeringsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualRouterPeeringInner>, VirtualRouterPeeringInner> beginCreateOrUpdate(String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters) Creates or updates the specified Virtual Router Peering.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualRouterPeeringInner>, VirtualRouterPeeringInner> beginCreateOrUpdate(String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters, com.azure.core.util.Context context) Creates or updates the specified Virtual Router Peering.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualRouterPeeringInner>, VirtualRouterPeeringInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters) Creates or updates the specified Virtual Router Peering.beginDelete(String resourceGroupName, String virtualRouterName, String peeringName) Deletes the specified peering from a Virtual Router.beginDelete(String resourceGroupName, String virtualRouterName, String peeringName, com.azure.core.util.Context context) Deletes the specified peering from a Virtual Router.beginDeleteAsync(String resourceGroupName, String virtualRouterName, String peeringName) Deletes the specified peering from a Virtual Router.createOrUpdate(String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters) Creates or updates the specified Virtual Router Peering.createOrUpdate(String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters, com.azure.core.util.Context context) Creates or updates the specified Virtual Router Peering.createOrUpdateAsync(String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters) Creates or updates the specified Virtual Router Peering.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters) Creates or updates the specified Virtual Router Peering.voidDeletes the specified peering from a Virtual Router.voiddelete(String resourceGroupName, String virtualRouterName, String peeringName, com.azure.core.util.Context context) Deletes the specified peering from a Virtual Router.deleteAsync(String resourceGroupName, String virtualRouterName, String peeringName) Deletes the specified peering from a Virtual Router.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String virtualRouterName, String peeringName) Deletes the specified peering from a Virtual Router.Gets the specified Virtual Router Peering.Gets the specified Virtual Router Peering.com.azure.core.http.rest.Response<VirtualRouterPeeringInner> getWithResponse(String resourceGroupName, String virtualRouterName, String peeringName, com.azure.core.util.Context context) Gets the specified Virtual Router Peering.Mono<com.azure.core.http.rest.Response<VirtualRouterPeeringInner>> getWithResponseAsync(String resourceGroupName, String virtualRouterName, String peeringName) Gets the specified Virtual Router Peering.com.azure.core.http.rest.PagedIterable<VirtualRouterPeeringInner> Lists all Virtual Router Peerings in a Virtual Router resource.com.azure.core.http.rest.PagedIterable<VirtualRouterPeeringInner> Lists all Virtual Router Peerings in a Virtual Router resource.com.azure.core.http.rest.PagedFlux<VirtualRouterPeeringInner> Lists all Virtual Router Peerings in a Virtual Router resource.
-
Method Details
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,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
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,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
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String virtualRouterName, String peeringName, com.azure.core.util.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
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
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
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String virtualRouterName, String peeringName, com.azure.core.util.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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<VirtualRouterPeeringInner>> 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Mono<VirtualRouterPeeringInner> 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<VirtualRouterPeeringInner> getWithResponse(String resourceGroupName, String virtualRouterName, String peeringName, com.azure.core.util.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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualRouterPeeringInner>,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
PollerFluxfor polling of virtual Router Peering resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualRouterPeeringInner>,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
SyncPollerfor polling of virtual Router Peering resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualRouterPeeringInner>,VirtualRouterPeeringInner> beginCreateOrUpdate(String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters, com.azure.core.util.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
SyncPollerfor polling of virtual Router Peering resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<VirtualRouterPeeringInner> 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
VirtualRouterPeeringInner createOrUpdate(String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters, com.azure.core.util.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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
com.azure.core.http.rest.PagedFlux<VirtualRouterPeeringInner> 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<VirtualRouterPeeringInner> 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<VirtualRouterPeeringInner> list(String resourceGroupName, String virtualRouterName, com.azure.core.util.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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-