Interface PrivateLinkResourcesClient


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

    • list

      GroupIdInformationResponseInner list(String resourceGroupName, String resourceName)
      List private link resources for given Digital Twin.
      Parameters:
      resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
      resourceName - The name of the DigitalTwinsInstance.
      Returns:
      the available private link resources for a Digital Twin.
      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.
    • listWithResponse

      com.azure.core.http.rest.Response<GroupIdInformationResponseInner> listWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
      List private link resources for given Digital Twin.
      Parameters:
      resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
      resourceName - The name of the DigitalTwinsInstance.
      context - The context to associate with this operation.
      Returns:
      the available private link resources for a Digital Twin 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

      GroupIdInformationInner get(String resourceGroupName, String resourceName, String resourceId)
      Get the specified private link resource for the given Digital Twin.
      Parameters:
      resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
      resourceName - The name of the DigitalTwinsInstance.
      resourceId - The name of the private link resource.
      Returns:
      the specified private link resource for the given Digital Twin.
      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<GroupIdInformationInner> getWithResponse(String resourceGroupName, String resourceName, String resourceId, com.azure.core.util.Context context)
      Get the specified private link resource for the given Digital Twin.
      Parameters:
      resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
      resourceName - The name of the DigitalTwinsInstance.
      resourceId - The name of the private link resource.
      context - The context to associate with this operation.
      Returns:
      the specified private link resource for the given Digital Twin 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.