Interface ManagedInstancePrivateLinkResourcesClient


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

    • listByManagedInstanceAsync

      com.azure.core.http.rest.PagedFlux<ManagedInstancePrivateLinkInner> listByManagedInstanceAsync(String resourceGroupName, String managedInstanceName)
      Gets the private link resources for SQL server.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      managedInstanceName - The name of the managed instance.
      Returns:
      the private link resources for SQL server as paginated response with PagedFlux.
      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.
    • listByManagedInstance

      com.azure.core.http.rest.PagedIterable<ManagedInstancePrivateLinkInner> listByManagedInstance(String resourceGroupName, String managedInstanceName)
      Gets the private link resources for SQL server.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      managedInstanceName - The name of the managed instance.
      Returns:
      the private link resources for SQL 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.
    • listByManagedInstance

      com.azure.core.http.rest.PagedIterable<ManagedInstancePrivateLinkInner> listByManagedInstance(String resourceGroupName, String managedInstanceName, com.azure.core.util.Context context)
      Gets the private link resources for SQL server.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      managedInstanceName - The name of the managed instance.
      context - The context to associate with this operation.
      Returns:
      the private link resources for SQL 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ManagedInstancePrivateLinkInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, String groupName)
      Gets a private link resource for SQL server.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      managedInstanceName - The name of the managed instance.
      groupName - The name of the private link resource.
      Returns:
      a private link resource for SQL server 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<ManagedInstancePrivateLinkInner> getAsync(String resourceGroupName, String managedInstanceName, String groupName)
      Gets a private link resource for SQL server.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      managedInstanceName - The name of the managed instance.
      groupName - The name of the private link resource.
      Returns:
      a private link resource for SQL server 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.
    • getWithResponse

      com.azure.core.http.rest.Response<ManagedInstancePrivateLinkInner> getWithResponse(String resourceGroupName, String managedInstanceName, String groupName, com.azure.core.util.Context context)
      Gets a private link resource for SQL server.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      managedInstanceName - The name of the managed instance.
      groupName - The name of the private link resource.
      context - The context to associate with this operation.
      Returns:
      a private link resource for SQL 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

      ManagedInstancePrivateLinkInner get(String resourceGroupName, String managedInstanceName, String groupName)
      Gets a private link resource for SQL server.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      managedInstanceName - The name of the managed instance.
      groupName - The name of the private link resource.
      Returns:
      a private link resource for SQL 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.