Interface ExpressRouteCircuitAuthorizationsClient


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

    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String circuitName, String authorizationName)
      Deletes the specified authorization from the specified express route circuit.
      Parameters:
      resourceGroupName - The name of the resource group.
      circuitName - The name of the express route circuit.
      authorizationName - The name of the authorization.
      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 circuitName, String authorizationName)
      Deletes the specified authorization from the specified express route circuit.
      Parameters:
      resourceGroupName - The name of the resource group.
      circuitName - The name of the express route circuit.
      authorizationName - The name of the authorization.
      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 circuitName, String authorizationName)
      Deletes the specified authorization from the specified express route circuit.
      Parameters:
      resourceGroupName - The name of the resource group.
      circuitName - The name of the express route circuit.
      authorizationName - The name of the authorization.
      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 circuitName, String authorizationName, com.azure.core.util.Context context)
      Deletes the specified authorization from the specified express route circuit.
      Parameters:
      resourceGroupName - The name of the resource group.
      circuitName - The name of the express route circuit.
      authorizationName - The name of the authorization.
      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 circuitName, String authorizationName)
      Deletes the specified authorization from the specified express route circuit.
      Parameters:
      resourceGroupName - The name of the resource group.
      circuitName - The name of the express route circuit.
      authorizationName - The name of the authorization.
      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 circuitName, String authorizationName)
      Deletes the specified authorization from the specified express route circuit.
      Parameters:
      resourceGroupName - The name of the resource group.
      circuitName - The name of the express route circuit.
      authorizationName - The name of the authorization.
      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 circuitName, String authorizationName, com.azure.core.util.Context context)
      Deletes the specified authorization from the specified express route circuit.
      Parameters:
      resourceGroupName - The name of the resource group.
      circuitName - The name of the express route circuit.
      authorizationName - The name of the authorization.
      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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ExpressRouteCircuitAuthorizationInner>> getWithResponseAsync(String resourceGroupName, String circuitName, String authorizationName)
      Gets the specified authorization from the specified express route circuit.
      Parameters:
      resourceGroupName - The name of the resource group.
      circuitName - The name of the express route circuit.
      authorizationName - The name of the authorization.
      Returns:
      the specified authorization from the specified express route circuit 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<ExpressRouteCircuitAuthorizationInner> getAsync(String resourceGroupName, String circuitName, String authorizationName)
      Gets the specified authorization from the specified express route circuit.
      Parameters:
      resourceGroupName - The name of the resource group.
      circuitName - The name of the express route circuit.
      authorizationName - The name of the authorization.
      Returns:
      the specified authorization from the specified express route circuit 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<ExpressRouteCircuitAuthorizationInner> getWithResponse(String resourceGroupName, String circuitName, String authorizationName, com.azure.core.util.Context context)
      Gets the specified authorization from the specified express route circuit.
      Parameters:
      resourceGroupName - The name of the resource group.
      circuitName - The name of the express route circuit.
      authorizationName - The name of the authorization.
      context - The context to associate with this operation.
      Returns:
      the specified authorization from the specified express route circuit 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

      ExpressRouteCircuitAuthorizationInner get(String resourceGroupName, String circuitName, String authorizationName)
      Gets the specified authorization from the specified express route circuit.
      Parameters:
      resourceGroupName - The name of the resource group.
      circuitName - The name of the express route circuit.
      authorizationName - The name of the authorization.
      Returns:
      the specified authorization from the specified express route circuit.
      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 circuitName, String authorizationName, ExpressRouteCircuitAuthorizationInner authorizationParameters)
      Creates or updates an authorization in the specified express route circuit.
      Parameters:
      resourceGroupName - The name of the resource group.
      circuitName - The name of the express route circuit.
      authorizationName - The name of the authorization.
      authorizationParameters - Parameters supplied to the create or update express route circuit authorization operation.
      Returns:
      authorization in an ExpressRouteCircuit 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<ExpressRouteCircuitAuthorizationInner>,ExpressRouteCircuitAuthorizationInner> beginCreateOrUpdateAsync(String resourceGroupName, String circuitName, String authorizationName, ExpressRouteCircuitAuthorizationInner authorizationParameters)
      Creates or updates an authorization in the specified express route circuit.
      Parameters:
      resourceGroupName - The name of the resource group.
      circuitName - The name of the express route circuit.
      authorizationName - The name of the authorization.
      authorizationParameters - Parameters supplied to the create or update express route circuit authorization operation.
      Returns:
      the PollerFlux for polling of authorization in an ExpressRouteCircuit 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<ExpressRouteCircuitAuthorizationInner>,ExpressRouteCircuitAuthorizationInner> beginCreateOrUpdate(String resourceGroupName, String circuitName, String authorizationName, ExpressRouteCircuitAuthorizationInner authorizationParameters)
      Creates or updates an authorization in the specified express route circuit.
      Parameters:
      resourceGroupName - The name of the resource group.
      circuitName - The name of the express route circuit.
      authorizationName - The name of the authorization.
      authorizationParameters - Parameters supplied to the create or update express route circuit authorization operation.
      Returns:
      the SyncPoller for polling of authorization in an ExpressRouteCircuit 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<ExpressRouteCircuitAuthorizationInner>,ExpressRouteCircuitAuthorizationInner> beginCreateOrUpdate(String resourceGroupName, String circuitName, String authorizationName, ExpressRouteCircuitAuthorizationInner authorizationParameters, com.azure.core.util.Context context)
      Creates or updates an authorization in the specified express route circuit.
      Parameters:
      resourceGroupName - The name of the resource group.
      circuitName - The name of the express route circuit.
      authorizationName - The name of the authorization.
      authorizationParameters - Parameters supplied to the create or update express route circuit authorization operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of authorization in an ExpressRouteCircuit 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<ExpressRouteCircuitAuthorizationInner> createOrUpdateAsync(String resourceGroupName, String circuitName, String authorizationName, ExpressRouteCircuitAuthorizationInner authorizationParameters)
      Creates or updates an authorization in the specified express route circuit.
      Parameters:
      resourceGroupName - The name of the resource group.
      circuitName - The name of the express route circuit.
      authorizationName - The name of the authorization.
      authorizationParameters - Parameters supplied to the create or update express route circuit authorization operation.
      Returns:
      authorization in an ExpressRouteCircuit 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

      ExpressRouteCircuitAuthorizationInner createOrUpdate(String resourceGroupName, String circuitName, String authorizationName, ExpressRouteCircuitAuthorizationInner authorizationParameters)
      Creates or updates an authorization in the specified express route circuit.
      Parameters:
      resourceGroupName - The name of the resource group.
      circuitName - The name of the express route circuit.
      authorizationName - The name of the authorization.
      authorizationParameters - Parameters supplied to the create or update express route circuit authorization operation.
      Returns:
      authorization in an ExpressRouteCircuit 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

      ExpressRouteCircuitAuthorizationInner createOrUpdate(String resourceGroupName, String circuitName, String authorizationName, ExpressRouteCircuitAuthorizationInner authorizationParameters, com.azure.core.util.Context context)
      Creates or updates an authorization in the specified express route circuit.
      Parameters:
      resourceGroupName - The name of the resource group.
      circuitName - The name of the express route circuit.
      authorizationName - The name of the authorization.
      authorizationParameters - Parameters supplied to the create or update express route circuit authorization operation.
      context - The context to associate with this operation.
      Returns:
      authorization in an ExpressRouteCircuit 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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<ExpressRouteCircuitAuthorizationInner> listAsync(String resourceGroupName, String circuitName)
      Gets all authorizations in an express route circuit.
      Parameters:
      resourceGroupName - The name of the resource group.
      circuitName - The name of the circuit.
      Returns:
      all authorizations in an express route circuit as paginated response with PagedFlux.
      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

      com.azure.core.http.rest.PagedIterable<ExpressRouteCircuitAuthorizationInner> list(String resourceGroupName, String circuitName)
      Gets all authorizations in an express route circuit.
      Parameters:
      resourceGroupName - The name of the resource group.
      circuitName - The name of the circuit.
      Returns:
      all authorizations in an express route circuit as paginated response with PagedIterable.
      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

      com.azure.core.http.rest.PagedIterable<ExpressRouteCircuitAuthorizationInner> list(String resourceGroupName, String circuitName, com.azure.core.util.Context context)
      Gets all authorizations in an express route circuit.
      Parameters:
      resourceGroupName - The name of the resource group.
      circuitName - The name of the circuit.
      context - The context to associate with this operation.
      Returns:
      all authorizations in an express route circuit as paginated response with PagedIterable.
      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.