Interface PrivateLinkResourcesClient


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

    • listByPrivateLinkScope

      com.azure.core.http.rest.PagedIterable<PrivateLinkResourceInner> listByPrivateLinkScope(String resourceGroupName, String scopeName)
      Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Arc PrivateLinkScope resource.
      Returns:
      the private link resources that need to be created for a Azure Monitor PrivateLinkScope 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.
    • listByPrivateLinkScope

      com.azure.core.http.rest.PagedIterable<PrivateLinkResourceInner> listByPrivateLinkScope(String resourceGroupName, String scopeName, com.azure.core.util.Context context)
      Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Arc PrivateLinkScope resource.
      context - The context to associate with this operation.
      Returns:
      the private link resources that need to be created for a Azure Monitor PrivateLinkScope 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 scopeName, String groupName, com.azure.core.util.Context context)
      Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Arc PrivateLinkScope resource.
      groupName - The name of the private link resource.
      context - The context to associate with this operation.
      Returns:
      the private link resources that need to be created for a Azure Monitor PrivateLinkScope 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 scopeName, String groupName)
      Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Arc PrivateLinkScope resource.
      groupName - The name of the private link resource.
      Returns:
      the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
      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.