Interface ExpressRouteConnectionsClient
public interface ExpressRouteConnectionsClient
An instance of this class provides access to all the operations defined in ExpressRouteConnectionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExpressRouteConnectionInner>, ExpressRouteConnectionInner> beginCreateOrUpdate(String resourceGroupName, String expressRouteGatewayName, String connectionName, ExpressRouteConnectionInner putExpressRouteConnectionParameters) Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExpressRouteConnectionInner>, ExpressRouteConnectionInner> beginCreateOrUpdate(String resourceGroupName, String expressRouteGatewayName, String connectionName, ExpressRouteConnectionInner putExpressRouteConnectionParameters, com.azure.core.util.Context context) Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ExpressRouteConnectionInner>, ExpressRouteConnectionInner> beginCreateOrUpdateAsync(String resourceGroupName, String expressRouteGatewayName, String connectionName, ExpressRouteConnectionInner putExpressRouteConnectionParameters) Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.beginDelete(String resourceGroupName, String expressRouteGatewayName, String connectionName) Deletes a connection to a ExpressRoute circuit.beginDelete(String resourceGroupName, String expressRouteGatewayName, String connectionName, com.azure.core.util.Context context) Deletes a connection to a ExpressRoute circuit.beginDeleteAsync(String resourceGroupName, String expressRouteGatewayName, String connectionName) Deletes a connection to a ExpressRoute circuit.createOrUpdate(String resourceGroupName, String expressRouteGatewayName, String connectionName, ExpressRouteConnectionInner putExpressRouteConnectionParameters) Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.createOrUpdate(String resourceGroupName, String expressRouteGatewayName, String connectionName, ExpressRouteConnectionInner putExpressRouteConnectionParameters, com.azure.core.util.Context context) Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.createOrUpdateAsync(String resourceGroupName, String expressRouteGatewayName, String connectionName, ExpressRouteConnectionInner putExpressRouteConnectionParameters) Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String expressRouteGatewayName, String connectionName, ExpressRouteConnectionInner putExpressRouteConnectionParameters) Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.voidDeletes a connection to a ExpressRoute circuit.voiddelete(String resourceGroupName, String expressRouteGatewayName, String connectionName, com.azure.core.util.Context context) Deletes a connection to a ExpressRoute circuit.deleteAsync(String resourceGroupName, String expressRouteGatewayName, String connectionName) Deletes a connection to a ExpressRoute circuit.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String expressRouteGatewayName, String connectionName) Deletes a connection to a ExpressRoute circuit.Gets the specified ExpressRouteConnection.Gets the specified ExpressRouteConnection.com.azure.core.http.rest.Response<ExpressRouteConnectionInner> getWithResponse(String resourceGroupName, String expressRouteGatewayName, String connectionName, com.azure.core.util.Context context) Gets the specified ExpressRouteConnection.Mono<com.azure.core.http.rest.Response<ExpressRouteConnectionInner>> getWithResponseAsync(String resourceGroupName, String expressRouteGatewayName, String connectionName) Gets the specified ExpressRouteConnection.Lists ExpressRouteConnections.Lists ExpressRouteConnections.com.azure.core.http.rest.Response<ExpressRouteConnectionListInner> listWithResponse(String resourceGroupName, String expressRouteGatewayName, com.azure.core.util.Context context) Lists ExpressRouteConnections.Mono<com.azure.core.http.rest.Response<ExpressRouteConnectionListInner>> listWithResponseAsync(String resourceGroupName, String expressRouteGatewayName) Lists ExpressRouteConnections.
-
Method Details
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String expressRouteGatewayName, String connectionName, ExpressRouteConnectionInner putExpressRouteConnectionParameters) Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.connectionName- The name of the connection subresource.putExpressRouteConnectionParameters- Parameters required in an ExpressRouteConnection PUT operation.- Returns:
- expressRouteConnection 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<ExpressRouteConnectionInner>,ExpressRouteConnectionInner> beginCreateOrUpdateAsync(String resourceGroupName, String expressRouteGatewayName, String connectionName, ExpressRouteConnectionInner putExpressRouteConnectionParameters) Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.connectionName- The name of the connection subresource.putExpressRouteConnectionParameters- Parameters required in an ExpressRouteConnection PUT operation.- Returns:
- the
PollerFluxfor polling of expressRouteConnection 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<ExpressRouteConnectionInner>,ExpressRouteConnectionInner> beginCreateOrUpdate(String resourceGroupName, String expressRouteGatewayName, String connectionName, ExpressRouteConnectionInner putExpressRouteConnectionParameters) Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.connectionName- The name of the connection subresource.putExpressRouteConnectionParameters- Parameters required in an ExpressRouteConnection PUT operation.- Returns:
- the
SyncPollerfor polling of expressRouteConnection 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<ExpressRouteConnectionInner>,ExpressRouteConnectionInner> beginCreateOrUpdate(String resourceGroupName, String expressRouteGatewayName, String connectionName, ExpressRouteConnectionInner putExpressRouteConnectionParameters, com.azure.core.util.Context context) Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.connectionName- The name of the connection subresource.putExpressRouteConnectionParameters- Parameters required in an ExpressRouteConnection PUT operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of expressRouteConnection 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<ExpressRouteConnectionInner> createOrUpdateAsync(String resourceGroupName, String expressRouteGatewayName, String connectionName, ExpressRouteConnectionInner putExpressRouteConnectionParameters) Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.connectionName- The name of the connection subresource.putExpressRouteConnectionParameters- Parameters required in an ExpressRouteConnection PUT operation.- Returns:
- expressRouteConnection 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
ExpressRouteConnectionInner createOrUpdate(String resourceGroupName, String expressRouteGatewayName, String connectionName, ExpressRouteConnectionInner putExpressRouteConnectionParameters) Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.connectionName- The name of the connection subresource.putExpressRouteConnectionParameters- Parameters required in an ExpressRouteConnection PUT operation.- Returns:
- expressRouteConnection 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
ExpressRouteConnectionInner createOrUpdate(String resourceGroupName, String expressRouteGatewayName, String connectionName, ExpressRouteConnectionInner putExpressRouteConnectionParameters, com.azure.core.util.Context context) Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.connectionName- The name of the connection subresource.putExpressRouteConnectionParameters- Parameters required in an ExpressRouteConnection PUT operation.context- The context to associate with this operation.- Returns:
- expressRouteConnection 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<ExpressRouteConnectionInner>> getWithResponseAsync(String resourceGroupName, String expressRouteGatewayName, String connectionName) Gets the specified ExpressRouteConnection.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.connectionName- The name of the ExpressRoute connection.- Returns:
- the specified ExpressRouteConnection 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.
-
getAsync
Mono<ExpressRouteConnectionInner> getAsync(String resourceGroupName, String expressRouteGatewayName, String connectionName) Gets the specified ExpressRouteConnection.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.connectionName- The name of the ExpressRoute connection.- Returns:
- the specified ExpressRouteConnection 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.
-
getWithResponse
com.azure.core.http.rest.Response<ExpressRouteConnectionInner> getWithResponse(String resourceGroupName, String expressRouteGatewayName, String connectionName, com.azure.core.util.Context context) Gets the specified ExpressRouteConnection.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.connectionName- The name of the ExpressRoute connection.context- The context to associate with this operation.- Returns:
- the specified ExpressRouteConnection 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.
-
get
ExpressRouteConnectionInner get(String resourceGroupName, String expressRouteGatewayName, String connectionName) Gets the specified ExpressRouteConnection.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.connectionName- The name of the ExpressRoute connection.- Returns:
- the specified ExpressRouteConnection.
- 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, String connectionName) Deletes a connection to a ExpressRoute circuit.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.connectionName- The name of the connection subresource.- 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, String connectionName) Deletes a connection to a ExpressRoute circuit.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.connectionName- The name of the connection subresource.- 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, String connectionName) Deletes a connection to a ExpressRoute circuit.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.connectionName- The name of the connection subresource.- 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, String connectionName, com.azure.core.util.Context context) Deletes a connection to a ExpressRoute circuit.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.connectionName- The name of the connection subresource.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
Mono<Void> deleteAsync(String resourceGroupName, String expressRouteGatewayName, String connectionName) Deletes a connection to a ExpressRoute circuit.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.connectionName- The name of the connection subresource.- 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 a connection to a ExpressRoute circuit.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.connectionName- The name of the connection subresource.- 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, String connectionName, com.azure.core.util.Context context) Deletes a connection to a ExpressRoute circuit.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.connectionName- The name of the connection subresource.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.
-
listWithResponseAsync
Mono<com.azure.core.http.rest.Response<ExpressRouteConnectionListInner>> listWithResponseAsync(String resourceGroupName, String expressRouteGatewayName) Lists ExpressRouteConnections.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.- Returns:
- expressRouteConnection list 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.
-
listAsync
Mono<ExpressRouteConnectionListInner> listAsync(String resourceGroupName, String expressRouteGatewayName) Lists ExpressRouteConnections.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.- Returns:
- expressRouteConnection list 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.
-
listWithResponse
com.azure.core.http.rest.Response<ExpressRouteConnectionListInner> listWithResponse(String resourceGroupName, String expressRouteGatewayName, com.azure.core.util.Context context) Lists ExpressRouteConnections.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.context- The context to associate with this operation.- Returns:
- expressRouteConnection list 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.
-
list
Lists ExpressRouteConnections.- Parameters:
resourceGroupName- The name of the resource group.expressRouteGatewayName- The name of the ExpressRoute gateway.- Returns:
- expressRouteConnection list.
- 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.
-