Interface PrivateLinkResources


public interface PrivateLinkResources
Resource collection API of PrivateLinkResources.
  • Method Details

    • listByAccount

      com.azure.core.http.rest.PagedIterable<PrivateLinkResource> listByAccount(String resourceGroupName, String accountName)
      Gets a list of privately linkable resources for an account.

      Gets a list of privately linkable resources for an account.

      Parameters:
      resourceGroupName - The resource group name.
      accountName - The name of the account.
      Returns:
      a list of privately linkable resources for an account 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.
    • listByAccount

      com.azure.core.http.rest.PagedIterable<PrivateLinkResource> listByAccount(String resourceGroupName, String accountName, com.azure.core.util.Context context)
      Gets a list of privately linkable resources for an account.

      Gets a list of privately linkable resources for an account.

      Parameters:
      resourceGroupName - The resource group name.
      accountName - The name of the account.
      context - The context to associate with this operation.
      Returns:
      a list of privately linkable resources for an account 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.
    • getByGroupIdWithResponse

      com.azure.core.http.rest.Response<PrivateLinkResource> getByGroupIdWithResponse(String resourceGroupName, String accountName, String groupId, com.azure.core.util.Context context)
      Gets a privately linkable resources for an account with given group identifier.

      Gets a privately linkable resources for an account with given group identifier.

      Parameters:
      resourceGroupName - The resource group name.
      accountName - The name of the account.
      groupId - The group identifier.
      context - The context to associate with this operation.
      Returns:
      a privately linkable resources for an account with given group identifier 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.
    • getByGroupId

      PrivateLinkResource getByGroupId(String resourceGroupName, String accountName, String groupId)
      Gets a privately linkable resources for an account with given group identifier.

      Gets a privately linkable resources for an account with given group identifier.

      Parameters:
      resourceGroupName - The resource group name.
      accountName - The name of the account.
      groupId - The group identifier.
      Returns:
      a privately linkable resources for an account with given group identifier.
      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.