Interface PrivateLinkHubPrivateLinkResourcesClient


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

    • list

      com.azure.core.http.rest.PagedIterable<PrivateLinkResourceInner> list(String resourceGroupName, String privateLinkHubName)
      Private Link Resources

      Get all private link resources for a private link hub.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      privateLinkHubName - The name of the private link hub.
      Returns:
      all private link resources for a private link hub 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<PrivateLinkResourceInner> list(String resourceGroupName, String privateLinkHubName, com.azure.core.util.Context context)
      Private Link Resources

      Get all private link resources for a private link hub.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      privateLinkHubName - The name of the private link hub.
      context - The context to associate with this operation.
      Returns:
      all private link resources for a private link hub 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.
    • getWithResponse

      com.azure.core.http.rest.Response<PrivateLinkResourceInner> getWithResponse(String resourceGroupName, String privateLinkHubName, String privateLinkResourceName, com.azure.core.util.Context context)
      Get Private Link Hub Private Link Resource

      Get private link resource in private link hub.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      privateLinkHubName - The name of the private link hub.
      privateLinkResourceName - The name of the private link resource.
      context - The context to associate with this operation.
      Returns:
      private link resource in private link hub 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

      PrivateLinkResourceInner get(String resourceGroupName, String privateLinkHubName, String privateLinkResourceName)
      Get Private Link Hub Private Link Resource

      Get private link resource in private link hub.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      privateLinkHubName - The name of the private link hub.
      privateLinkResourceName - The name of the private link resource.
      Returns:
      private link resource in private link hub.
      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.