Interface PrivateLinkResourcesClient


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

    • listByServer

      com.azure.core.http.rest.PagedIterable<PrivateLinkResourceInner> listByServer(String resourceGroupName, String serverName)
      Gets the private link resources for MariaDB server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      Returns:
      the private link resources for MariaDB server 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.
    • listByServer

      com.azure.core.http.rest.PagedIterable<PrivateLinkResourceInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)
      Gets the private link resources for MariaDB server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      context - The context to associate with this operation.
      Returns:
      the private link resources for MariaDB server 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 serverName, String groupName, com.azure.core.util.Context context)
      Gets a private link resource for MariaDB server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      groupName - The name of the private link resource.
      context - The context to associate with this operation.
      Returns:
      a private link resource for MariaDB server 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 serverName, String groupName)
      Gets a private link resource for MariaDB server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      groupName - The name of the private link resource.
      Returns:
      a private link resource for MariaDB server.
      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.