Interface PrivateLinkResources


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

      • list

        com.azure.core.http.rest.PagedIterable<PrivateLinkResource> list​(String resourceGroupName,
                                                                         String workspaceName)
        Get all private link resources for a workspaces.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        Returns:
        all private link resources for a workspaces 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<PrivateLinkResource> list​(String resourceGroupName,
                                                                         String workspaceName,
                                                                         com.azure.core.util.Context context)
        Get all private link resources for a workspaces.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        context - The context to associate with this operation.
        Returns:
        all private link resources for a workspaces 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.
      • get

        PrivateLinkResource get​(String resourceGroupName,
                                String workspaceName,
                                String privateLinkResourceName)
        Get private link resource in workspace.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        privateLinkResourceName - The name of the private link resource.
        Returns:
        private link resource in workspace.
        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<PrivateLinkResource> getWithResponse​(String resourceGroupName,
                                                                               String workspaceName,
                                                                               String privateLinkResourceName,
                                                                               com.azure.core.util.Context context)
        Get private link resource in workspace.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        privateLinkResourceName - The name of the private link resource.
        context - The context to associate with this operation.
        Returns:
        private link resource in workspace 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.