Interface ExpressRoutePortsLocationsClient


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

      • listAsync

        com.azure.core.http.rest.PagedFlux<ExpressRoutePortsLocationInner> listAsync()
        Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location.
        Returns:
        expressRoutePorts Location 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<ExpressRoutePortsLocationInner> list()
        Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location.
        Returns:
        expressRoutePorts Location 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<ExpressRoutePortsLocationInner> list​(com.azure.core.util.Context context)
        Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        expressRoutePorts Location 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.
      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<ExpressRoutePortsLocationInner>> getWithResponseAsync​(String locationName)
        Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.
        Parameters:
        locationName - Name of the requested ExpressRoutePort peering location.
        Returns:
        expressRoutePorts Peering Location 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<ExpressRoutePortsLocationInner> getAsync​(String locationName)
        Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.
        Parameters:
        locationName - Name of the requested ExpressRoutePort peering location.
        Returns:
        expressRoutePorts Peering Location 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

        ExpressRoutePortsLocationInner get​(String locationName)
        Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.
        Parameters:
        locationName - Name of the requested ExpressRoutePort peering location.
        Returns:
        expressRoutePorts Peering Location.
        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<ExpressRoutePortsLocationInner> getWithResponse​(String locationName,
                                                                                          com.azure.core.util.Context context)
        Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.
        Parameters:
        locationName - Name of the requested ExpressRoutePort peering location.
        context - The context to associate with this operation.
        Returns:
        expressRoutePorts Peering Location 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.