Interface AllowedConnectionsClient


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

    • list

      com.azure.core.http.rest.PagedIterable<AllowedConnectionsResourceInner> list()
      Gets the list of all possible traffic between resources for the subscription.
      Returns:
      the list of all possible traffic between resources for the subscription 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<AllowedConnectionsResourceInner> list(com.azure.core.util.Context context)
      Gets the list of all possible traffic between resources for the subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the list of all possible traffic between resources for the subscription 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.
    • listByHomeRegion

      com.azure.core.http.rest.PagedIterable<AllowedConnectionsResourceInner> listByHomeRegion(String ascLocation)
      Gets the list of all possible traffic between resources for the subscription and location.
      Parameters:
      ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
      Returns:
      the list of all possible traffic between resources for the subscription and location 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.
    • listByHomeRegion

      com.azure.core.http.rest.PagedIterable<AllowedConnectionsResourceInner> listByHomeRegion(String ascLocation, com.azure.core.util.Context context)
      Gets the list of all possible traffic between resources for the subscription and location.
      Parameters:
      ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
      context - The context to associate with this operation.
      Returns:
      the list of all possible traffic between resources for the subscription and location 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.
    • get

      AllowedConnectionsResourceInner get(String resourceGroupName, String ascLocation, ConnectionType connectionType)
      Gets the list of all possible traffic between resources for the subscription and location, based on connection type.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
      connectionType - The type of allowed connections (Internal, External).
      Returns:
      the list of all possible traffic between resources for the subscription and location, based on connection type.
      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<AllowedConnectionsResourceInner> getWithResponse(String resourceGroupName, String ascLocation, ConnectionType connectionType, com.azure.core.util.Context context)
      Gets the list of all possible traffic between resources for the subscription and location, based on connection type.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
      connectionType - The type of allowed connections (Internal, External).
      context - The context to associate with this operation.
      Returns:
      the list of all possible traffic between resources for the subscription and location, based on connection type 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.