Interface ExpressRoutePortsClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<ExpressRoutePortInner>, InnerSupportsListing<ExpressRoutePortInner>

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

    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String expressRoutePortName)
      Deletes the specified ExpressRoutePort resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of the ExpressRoutePort resource.
      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 expressRoutePortName)
      Deletes the specified ExpressRoutePort resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of the ExpressRoutePort resource.
      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 expressRoutePortName)
      Deletes the specified ExpressRoutePort resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of the ExpressRoutePort resource.
      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 expressRoutePortName, com.azure.core.util.Context context)
      Deletes the specified ExpressRoutePort resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of the ExpressRoutePort resource.
      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 expressRoutePortName)
      Deletes the specified ExpressRoutePort resource.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of the ExpressRoutePort resource.
      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 expressRoutePortName)
      Deletes the specified ExpressRoutePort resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of the ExpressRoutePort 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.
    • delete

      void delete(String resourceGroupName, String expressRoutePortName, com.azure.core.util.Context context)
      Deletes the specified ExpressRoutePort resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of the ExpressRoutePort resource.
      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.
    • getByResourceGroupWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ExpressRoutePortInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String expressRoutePortName)
      Retrieves the requested ExpressRoutePort resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of ExpressRoutePort.
      Returns:
      expressRoute Port 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.
    • getByResourceGroupAsync

      Mono<ExpressRoutePortInner> getByResourceGroupAsync(String resourceGroupName, String expressRoutePortName)
      Retrieves the requested ExpressRoutePort resource.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<ExpressRoutePortInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of ExpressRoutePort.
      Returns:
      expressRoute Port 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<ExpressRoutePortInner> getByResourceGroupWithResponse(String resourceGroupName, String expressRoutePortName, com.azure.core.util.Context context)
      Retrieves the requested ExpressRoutePort resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of ExpressRoutePort.
      context - The context to associate with this operation.
      Returns:
      expressRoute Port 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

      ExpressRoutePortInner getByResourceGroup(String resourceGroupName, String expressRoutePortName)
      Retrieves the requested ExpressRoutePort resource.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<ExpressRoutePortInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of ExpressRoutePort.
      Returns:
      expressRoute Port.
      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 expressRoutePortName, ExpressRoutePortInner parameters)
      Creates or updates the specified ExpressRoutePort resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of the ExpressRoutePort resource.
      parameters - Parameters supplied to the create ExpressRoutePort operation.
      Returns:
      expressRoute Port 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<ExpressRoutePortInner>,ExpressRoutePortInner> beginCreateOrUpdateAsync(String resourceGroupName, String expressRoutePortName, ExpressRoutePortInner parameters)
      Creates or updates the specified ExpressRoutePort resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of the ExpressRoutePort resource.
      parameters - Parameters supplied to the create ExpressRoutePort operation.
      Returns:
      the PollerFlux for polling of expressRoute Port.
      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<ExpressRoutePortInner>,ExpressRoutePortInner> beginCreateOrUpdate(String resourceGroupName, String expressRoutePortName, ExpressRoutePortInner parameters)
      Creates or updates the specified ExpressRoutePort resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of the ExpressRoutePort resource.
      parameters - Parameters supplied to the create ExpressRoutePort operation.
      Returns:
      the SyncPoller for polling of expressRoute Port.
      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<ExpressRoutePortInner>,ExpressRoutePortInner> beginCreateOrUpdate(String resourceGroupName, String expressRoutePortName, ExpressRoutePortInner parameters, com.azure.core.util.Context context)
      Creates or updates the specified ExpressRoutePort resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of the ExpressRoutePort resource.
      parameters - Parameters supplied to the create ExpressRoutePort operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of expressRoute Port.
      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<ExpressRoutePortInner> createOrUpdateAsync(String resourceGroupName, String expressRoutePortName, ExpressRoutePortInner parameters)
      Creates or updates the specified ExpressRoutePort resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of the ExpressRoutePort resource.
      parameters - Parameters supplied to the create ExpressRoutePort operation.
      Returns:
      expressRoute Port 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

      ExpressRoutePortInner createOrUpdate(String resourceGroupName, String expressRoutePortName, ExpressRoutePortInner parameters)
      Creates or updates the specified ExpressRoutePort resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of the ExpressRoutePort resource.
      parameters - Parameters supplied to the create ExpressRoutePort operation.
      Returns:
      expressRoute Port.
      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

      ExpressRoutePortInner createOrUpdate(String resourceGroupName, String expressRoutePortName, ExpressRoutePortInner parameters, com.azure.core.util.Context context)
      Creates or updates the specified ExpressRoutePort resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of the ExpressRoutePort resource.
      parameters - Parameters supplied to the create ExpressRoutePort operation.
      context - The context to associate with this operation.
      Returns:
      expressRoute Port.
      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<ExpressRoutePortInner>> updateTagsWithResponseAsync(String resourceGroupName, String expressRoutePortName, TagsObject parameters)
      Update ExpressRoutePort tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of the ExpressRoutePort resource.
      parameters - Parameters supplied to update ExpressRoutePort resource tags.
      Returns:
      expressRoute Port 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.
    • updateTagsAsync

      Mono<ExpressRoutePortInner> updateTagsAsync(String resourceGroupName, String expressRoutePortName, TagsObject parameters)
      Update ExpressRoutePort tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of the ExpressRoutePort resource.
      parameters - Parameters supplied to update ExpressRoutePort resource tags.
      Returns:
      expressRoute Port 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.
    • updateTagsWithResponse

      com.azure.core.http.rest.Response<ExpressRoutePortInner> updateTagsWithResponse(String resourceGroupName, String expressRoutePortName, TagsObject parameters, com.azure.core.util.Context context)
      Update ExpressRoutePort tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of the ExpressRoutePort resource.
      parameters - Parameters supplied to update ExpressRoutePort resource tags.
      context - The context to associate with this operation.
      Returns:
      expressRoute Port 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.
    • updateTags

      ExpressRoutePortInner updateTags(String resourceGroupName, String expressRoutePortName, TagsObject parameters)
      Update ExpressRoutePort tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of the ExpressRoutePort resource.
      parameters - Parameters supplied to update ExpressRoutePort resource tags.
      Returns:
      expressRoute Port.
      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

      com.azure.core.http.rest.PagedFlux<ExpressRoutePortInner> listByResourceGroupAsync(String resourceGroupName)
      List all the ExpressRoutePort resources in the specified resource group.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<ExpressRoutePortInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      expressRoute Port List Result 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<ExpressRoutePortInner> listByResourceGroup(String resourceGroupName)
      List all the ExpressRoutePort resources in the specified resource group.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<ExpressRoutePortInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      expressRoute Port List Result 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<ExpressRoutePortInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      List all the ExpressRoutePort resources in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      context - The context to associate with this operation.
      Returns:
      expressRoute Port List Result 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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<ExpressRoutePortInner> listAsync()
      List all the ExpressRoutePort resources in the specified subscription.
      Specified by:
      listAsync in interface InnerSupportsListing<ExpressRoutePortInner>
      Returns:
      expressRoute Port List Result as paginated response with PagedFlux.
      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.
    • list

      com.azure.core.http.rest.PagedIterable<ExpressRoutePortInner> list()
      List all the ExpressRoutePort resources in the specified subscription.
      Specified by:
      list in interface InnerSupportsListing<ExpressRoutePortInner>
      Returns:
      expressRoute Port List Result as paginated response with PagedIterable.
      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.
    • list

      com.azure.core.http.rest.PagedIterable<ExpressRoutePortInner> list(com.azure.core.util.Context context)
      List all the ExpressRoutePort resources in the specified subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      expressRoute Port List Result 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.
    • generateLoaWithResponseAsync

      Mono<com.azure.core.http.rest.Response<GenerateExpressRoutePortsLoaResultInner>> generateLoaWithResponseAsync(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request)
      Generate a letter of authorization for the requested ExpressRoutePort resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of ExpressRoutePort.
      request - Request parameters supplied to generate a letter of authorization.
      Returns:
      response for GenerateExpressRoutePortsLOA API service call 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.
    • generateLoaAsync

      Mono<GenerateExpressRoutePortsLoaResultInner> generateLoaAsync(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request)
      Generate a letter of authorization for the requested ExpressRoutePort resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of ExpressRoutePort.
      request - Request parameters supplied to generate a letter of authorization.
      Returns:
      response for GenerateExpressRoutePortsLOA API service call 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.
    • generateLoaWithResponse

      com.azure.core.http.rest.Response<GenerateExpressRoutePortsLoaResultInner> generateLoaWithResponse(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request, com.azure.core.util.Context context)
      Generate a letter of authorization for the requested ExpressRoutePort resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of ExpressRoutePort.
      request - Request parameters supplied to generate a letter of authorization.
      context - The context to associate with this operation.
      Returns:
      response for GenerateExpressRoutePortsLOA API service call 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.
    • generateLoa

      GenerateExpressRoutePortsLoaResultInner generateLoa(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request)
      Generate a letter of authorization for the requested ExpressRoutePort resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      expressRoutePortName - The name of ExpressRoutePort.
      request - Request parameters supplied to generate a letter of authorization.
      Returns:
      response for GenerateExpressRoutePortsLOA API service call.
      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.