Interface ExpressRouteConnectionsClient


  • public interface ExpressRouteConnectionsClient
    An instance of this class provides access to all the operations defined in ExpressRouteConnectionsClient.
    • Method Detail

      • 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 Response 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.
      • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 Response 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.
      • 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.
      • 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.
      • 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.
      • 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 Response 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.
      • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 Mono that 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

        void delete​(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.
        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 Response 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.
      • 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.
      • list

        ExpressRouteConnectionListInner list​(String resourceGroupName,
                                             String expressRouteGatewayName)
        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.
      • 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.