Interface ExpressRouteGatewaysClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<ExpressRouteGatewayInner>
public interface ExpressRouteGatewaysClient
extends InnerSupportsGet<ExpressRouteGatewayInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in ExpressRouteGatewaysClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExpressRouteGatewayInner>, ExpressRouteGatewayInner> beginCreateOrUpdate(String resourceGroupName, String expressRouteGatewayName, ExpressRouteGatewayInner putExpressRouteGatewayParameters) Creates or updates a ExpressRoute gateway in a specified resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExpressRouteGatewayInner>, ExpressRouteGatewayInner> beginCreateOrUpdate(String resourceGroupName, String expressRouteGatewayName, ExpressRouteGatewayInner putExpressRouteGatewayParameters, com.azure.core.util.Context context) Creates or updates a ExpressRoute gateway in a specified resource group.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ExpressRouteGatewayInner>, ExpressRouteGatewayInner> beginCreateOrUpdateAsync(String resourceGroupName, String expressRouteGatewayName, ExpressRouteGatewayInner putExpressRouteGatewayParameters) Creates or updates a ExpressRoute gateway in a specified resource group.beginDelete(String resourceGroupName, String expressRouteGatewayName) Deletes the specified ExpressRoute gateway in a resource group.beginDelete(String resourceGroupName, String expressRouteGatewayName, com.azure.core.util.Context context) Deletes the specified ExpressRoute gateway in a resource group.beginDeleteAsync(String resourceGroupName, String expressRouteGatewayName) Deletes the specified ExpressRoute gateway in a resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExpressRouteGatewayInner>, ExpressRouteGatewayInner> beginUpdateTags(String resourceGroupName, String expressRouteGatewayName, TagsObject expressRouteGatewayParameters) Updates express route gateway tags.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExpressRouteGatewayInner>, ExpressRouteGatewayInner> beginUpdateTags(String resourceGroupName, String expressRouteGatewayName, TagsObject expressRouteGatewayParameters, com.azure.core.util.Context context) Updates express route gateway tags.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ExpressRouteGatewayInner>, ExpressRouteGatewayInner> beginUpdateTagsAsync(String resourceGroupName, String expressRouteGatewayName, TagsObject expressRouteGatewayParameters) Updates express route gateway tags.createOrUpdate(String resourceGroupName, String expressRouteGatewayName, ExpressRouteGatewayInner putExpressRouteGatewayParameters) Creates or updates a ExpressRoute gateway in a specified resource group.createOrUpdate(String resourceGroupName, String expressRouteGatewayName, ExpressRouteGatewayInner putExpressRouteGatewayParameters, com.azure.core.util.Context context) Creates or updates a ExpressRoute gateway in a specified resource group.createOrUpdateAsync(String resourceGroupName, String expressRouteGatewayName, ExpressRouteGatewayInner putExpressRouteGatewayParameters) Creates or updates a ExpressRoute gateway in a specified resource group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String expressRouteGatewayName, ExpressRouteGatewayInner putExpressRouteGatewayParameters) Creates or updates a ExpressRoute gateway in a specified resource group.voidDeletes the specified ExpressRoute gateway in a resource group.voiddelete(String resourceGroupName, String expressRouteGatewayName, com.azure.core.util.Context context) Deletes the specified ExpressRoute gateway in a resource group.deleteAsync(String resourceGroupName, String expressRouteGatewayName) Deletes the specified ExpressRoute gateway in a resource group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String expressRouteGatewayName) Deletes the specified ExpressRoute gateway in a resource group.getByResourceGroup(String resourceGroupName, String expressRouteGatewayName) Fetches the details of a ExpressRoute gateway in a resource group.getByResourceGroupAsync(String resourceGroupName, String expressRouteGatewayName) Fetches the details of a ExpressRoute gateway in a resource group.com.azure.core.http.rest.Response<ExpressRouteGatewayInner> getByResourceGroupWithResponse(String resourceGroupName, String expressRouteGatewayName, com.azure.core.util.Context context) Fetches the details of a ExpressRoute gateway in a resource group.Mono<com.azure.core.http.rest.Response<ExpressRouteGatewayInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String expressRouteGatewayName) Fetches the details of a ExpressRoute gateway in a resource group.listByResourceGroup(String resourceGroupName) Lists ExpressRoute gateways in a given resource group.listByResourceGroupAsync(String resourceGroupName) Lists ExpressRoute gateways in a given resource group.com.azure.core.http.rest.Response<ExpressRouteGatewayListInner> listByResourceGroupWithResponse(String resourceGroupName, com.azure.core.util.Context context) Lists ExpressRoute gateways in a given resource group.Mono<com.azure.core.http.rest.Response<ExpressRouteGatewayListInner>> listByResourceGroupWithResponseAsync(String resourceGroupName) Lists ExpressRoute gateways in a given resource group.Lists ExpressRoute gateways under a given subscription.Lists ExpressRoute gateways under a given subscription.com.azure.core.http.rest.Response<ExpressRouteGatewayListInner> listBySubscriptionWithResponse(com.azure.core.util.Context context) Lists ExpressRoute gateways under a given subscription.Mono<com.azure.core.http.rest.Response<ExpressRouteGatewayListInner>> Lists ExpressRoute gateways under a given subscription.updateTags(String resourceGroupName, String expressRouteGatewayName, TagsObject expressRouteGatewayParameters) Updates express route gateway tags.updateTags(String resourceGroupName, String expressRouteGatewayName, TagsObject expressRouteGatewayParameters, com.azure.core.util.Context context) Updates express route gateway tags.updateTagsAsync(String resourceGroupName, String expressRouteGatewayName, TagsObject expressRouteGatewayParameters) Updates express route gateway tags.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateTagsWithResponseAsync(String resourceGroupName, String expressRouteGatewayName, TagsObject expressRouteGatewayParameters) Updates express route gateway tags.
-
Method Details
-
listBySubscriptionWithResponseAsync
Mono<com.azure.core.http.rest.Response<ExpressRouteGatewayListInner>> listBySubscriptionWithResponseAsync()Lists ExpressRoute gateways under a given subscription.- Returns:
- list of ExpressRoute gateways along with
Responseon successful completion ofMono. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listBySubscriptionAsync
Mono<ExpressRouteGatewayListInner> listBySubscriptionAsync()Lists ExpressRoute gateways under a given subscription.- Returns:
- list of ExpressRoute gateways on successful completion of
Mono. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listBySubscriptionWithResponse
com.azure.core.http.rest.Response<ExpressRouteGatewayListInner> listBySubscriptionWithResponse(com.azure.core.util.Context context) Lists ExpressRoute gateways under a given subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- list of ExpressRoute gateways along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listBySubscription
ExpressRouteGatewayListInner listBySubscription()Lists ExpressRoute gateways under a given subscription.- Returns:
- list of ExpressRoute gateways.
- Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<ExpressRouteGatewayListInner>> listByResourceGroupWithResponseAsync(String resourceGroupName) Lists ExpressRoute gateways in a given resource group.- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- list of ExpressRoute gateways along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroupAsync
Lists ExpressRoute gateways in a given resource group.- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- list of ExpressRoute gateways on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroupWithResponse
com.azure.core.http.rest.Response<ExpressRouteGatewayListInner> listByResourceGroupWithResponse(String resourceGroupName, com.azure.core.util.Context context) Lists ExpressRoute gateways in a given resource group.- Parameters:
resourceGroupName- The name of the resource group.context- The context to associate with this operation.- Returns:
- list of ExpressRoute gateways along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
Lists ExpressRoute gateways in a given resource group.- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- list of ExpressRoute gateways.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- 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 expressRouteGatewayName, ExpressRouteGatewayInner putExpressRouteGatewayParameters) Creates or updates a ExpressRoute gateway in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.putExpressRouteGatewayParameters- Parameters required in an ExpressRoute gateway PUT operation.- Returns:
- expressRoute gateway resource along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- 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<ExpressRouteGatewayInner>,ExpressRouteGatewayInner> beginCreateOrUpdateAsync(String resourceGroupName, String expressRouteGatewayName, ExpressRouteGatewayInner putExpressRouteGatewayParameters) Creates or updates a ExpressRoute gateway in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.putExpressRouteGatewayParameters- Parameters required in an ExpressRoute gateway PUT operation.- Returns:
- the
PollerFluxfor polling of expressRoute gateway resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- 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<ExpressRouteGatewayInner>,ExpressRouteGatewayInner> beginCreateOrUpdate(String resourceGroupName, String expressRouteGatewayName, ExpressRouteGatewayInner putExpressRouteGatewayParameters) Creates or updates a ExpressRoute gateway in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.putExpressRouteGatewayParameters- Parameters required in an ExpressRoute gateway PUT operation.- Returns:
- the
SyncPollerfor polling of expressRoute gateway resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- 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<ExpressRouteGatewayInner>,ExpressRouteGatewayInner> beginCreateOrUpdate(String resourceGroupName, String expressRouteGatewayName, ExpressRouteGatewayInner putExpressRouteGatewayParameters, com.azure.core.util.Context context) Creates or updates a ExpressRoute gateway in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.putExpressRouteGatewayParameters- Parameters required in an ExpressRoute gateway PUT operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of expressRoute gateway resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<ExpressRouteGatewayInner> createOrUpdateAsync(String resourceGroupName, String expressRouteGatewayName, ExpressRouteGatewayInner putExpressRouteGatewayParameters) Creates or updates a ExpressRoute gateway in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.putExpressRouteGatewayParameters- Parameters required in an ExpressRoute gateway PUT operation.- Returns:
- expressRoute gateway resource on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
ExpressRouteGatewayInner createOrUpdate(String resourceGroupName, String expressRouteGatewayName, ExpressRouteGatewayInner putExpressRouteGatewayParameters) Creates or updates a ExpressRoute gateway in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.putExpressRouteGatewayParameters- Parameters required in an ExpressRoute gateway PUT operation.- Returns:
- expressRoute gateway resource.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
ExpressRouteGatewayInner createOrUpdate(String resourceGroupName, String expressRouteGatewayName, ExpressRouteGatewayInner putExpressRouteGatewayParameters, com.azure.core.util.Context context) Creates or updates a ExpressRoute gateway in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.putExpressRouteGatewayParameters- Parameters required in an ExpressRoute gateway PUT operation.context- The context to associate with this operation.- Returns:
- expressRoute gateway resource.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateTagsWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateTagsWithResponseAsync(String resourceGroupName, String expressRouteGatewayName, TagsObject expressRouteGatewayParameters) Updates express route gateway tags.- Parameters:
resourceGroupName- The resource group name of the ExpressRouteGateway.expressRouteGatewayName- The name of the gateway.expressRouteGatewayParameters- Parameters supplied to update a virtual wan express route gateway tags.- Returns:
- expressRoute gateway resource along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdateTagsAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ExpressRouteGatewayInner>,ExpressRouteGatewayInner> beginUpdateTagsAsync(String resourceGroupName, String expressRouteGatewayName, TagsObject expressRouteGatewayParameters) Updates express route gateway tags.- Parameters:
resourceGroupName- The resource group name of the ExpressRouteGateway.expressRouteGatewayName- The name of the gateway.expressRouteGatewayParameters- Parameters supplied to update a virtual wan express route gateway tags.- Returns:
- the
PollerFluxfor polling of expressRoute gateway resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdateTags
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExpressRouteGatewayInner>,ExpressRouteGatewayInner> beginUpdateTags(String resourceGroupName, String expressRouteGatewayName, TagsObject expressRouteGatewayParameters) Updates express route gateway tags.- Parameters:
resourceGroupName- The resource group name of the ExpressRouteGateway.expressRouteGatewayName- The name of the gateway.expressRouteGatewayParameters- Parameters supplied to update a virtual wan express route gateway tags.- Returns:
- the
SyncPollerfor polling of expressRoute gateway resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdateTags
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExpressRouteGatewayInner>,ExpressRouteGatewayInner> beginUpdateTags(String resourceGroupName, String expressRouteGatewayName, TagsObject expressRouteGatewayParameters, com.azure.core.util.Context context) Updates express route gateway tags.- Parameters:
resourceGroupName- The resource group name of the ExpressRouteGateway.expressRouteGatewayName- The name of the gateway.expressRouteGatewayParameters- Parameters supplied to update a virtual wan express route gateway tags.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of expressRoute gateway resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateTagsAsync
Mono<ExpressRouteGatewayInner> updateTagsAsync(String resourceGroupName, String expressRouteGatewayName, TagsObject expressRouteGatewayParameters) Updates express route gateway tags.- Parameters:
resourceGroupName- The resource group name of the ExpressRouteGateway.expressRouteGatewayName- The name of the gateway.expressRouteGatewayParameters- Parameters supplied to update a virtual wan express route gateway tags.- Returns:
- expressRoute gateway resource on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateTags
ExpressRouteGatewayInner updateTags(String resourceGroupName, String expressRouteGatewayName, TagsObject expressRouteGatewayParameters) Updates express route gateway tags.- Parameters:
resourceGroupName- The resource group name of the ExpressRouteGateway.expressRouteGatewayName- The name of the gateway.expressRouteGatewayParameters- Parameters supplied to update a virtual wan express route gateway tags.- Returns:
- expressRoute gateway resource.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateTags
ExpressRouteGatewayInner updateTags(String resourceGroupName, String expressRouteGatewayName, TagsObject expressRouteGatewayParameters, com.azure.core.util.Context context) Updates express route gateway tags.- Parameters:
resourceGroupName- The resource group name of the ExpressRouteGateway.expressRouteGatewayName- The name of the gateway.expressRouteGatewayParameters- Parameters supplied to update a virtual wan express route gateway tags.context- The context to associate with this operation.- Returns:
- expressRoute gateway resource.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<ExpressRouteGatewayInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String expressRouteGatewayName) Fetches the details of a ExpressRoute gateway in a resource group.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.- Returns:
- expressRoute gateway resource along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupAsync
Mono<ExpressRouteGatewayInner> getByResourceGroupAsync(String resourceGroupName, String expressRouteGatewayName) Fetches the details of a ExpressRoute gateway in a resource group.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<ExpressRouteGatewayInner>- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.- Returns:
- expressRoute gateway resource on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<ExpressRouteGatewayInner> getByResourceGroupWithResponse(String resourceGroupName, String expressRouteGatewayName, com.azure.core.util.Context context) Fetches the details of a ExpressRoute gateway in a resource group.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.context- The context to associate with this operation.- Returns:
- expressRoute gateway resource along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
ExpressRouteGatewayInner getByResourceGroup(String resourceGroupName, String expressRouteGatewayName) Fetches the details of a ExpressRoute gateway in a resource group.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<ExpressRouteGatewayInner>- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.- Returns:
- expressRoute gateway resource.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String expressRouteGatewayName) Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- 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 expressRouteGatewayName) Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- 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 expressRouteGatewayName) Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- 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 expressRouteGatewayName, com.azure.core.util.Context context) Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- 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 ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- 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 ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- 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 expressRouteGatewayName, com.azure.core.util.Context context) Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-