Interface PrivateLinkResourcesClient


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

      • listByService

        PrivateLinkResourceListResultDescriptionInner listByService​(String resourceGroupName,
                                                                    String resourceName)
        Gets the private link resources that need to be created for a service.
        Parameters:
        resourceGroupName - The name of the resource group that contains the service instance.
        resourceName - The name of the service instance.
        Returns:
        the private link resources that need to be created for a service.
        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.
      • listByServiceWithResponse

        com.azure.core.http.rest.Response<PrivateLinkResourceListResultDescriptionInner> listByServiceWithResponse​(String resourceGroupName,
                                                                                                                   String resourceName,
                                                                                                                   com.azure.core.util.Context context)
        Gets the private link resources that need to be created for a service.
        Parameters:
        resourceGroupName - The name of the resource group that contains the service instance.
        resourceName - The name of the service instance.
        context - The context to associate with this operation.
        Returns:
        the private link resources that need to be created for a service 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

        PrivateLinkResourceDescriptionInner get​(String resourceGroupName,
                                                String resourceName,
                                                String groupName)
        Gets a private link resource that need to be created for a service.
        Parameters:
        resourceGroupName - The name of the resource group that contains the service instance.
        resourceName - The name of the service instance.
        groupName - The name of the private link resource group.
        Returns:
        a private link resource that need to be created for a service.
        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<PrivateLinkResourceDescriptionInner> getWithResponse​(String resourceGroupName,
                                                                                               String resourceName,
                                                                                               String groupName,
                                                                                               com.azure.core.util.Context context)
        Gets a private link resource that need to be created for a service.
        Parameters:
        resourceGroupName - The name of the resource group that contains the service instance.
        resourceName - The name of the service instance.
        groupName - The name of the private link resource group.
        context - The context to associate with this operation.
        Returns:
        a private link resource that need to be created for a service 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.