Interface PrivateLinkResourcesOperations


public interface PrivateLinkResourcesOperations
Resource collection API of PrivateLinkResourcesOperations.
  • Method Details

    • list

      PrivateLinkResources list(String resourceGroupName, String resourceName)
      List private link resources

      List private link resources for the given IotHub.

      Parameters:
      resourceGroupName - The name of the resource group that contains the IoT hub.
      resourceName - The name of the IoT hub.
      Returns:
      the available private link resources for an IotHub.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorDetailsException - 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<PrivateLinkResources> listWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
      List private link resources

      List private link resources for the given IotHub.

      Parameters:
      resourceGroupName - The name of the resource group that contains the IoT hub.
      resourceName - The name of the IoT hub.
      context - The context to associate with this operation.
      Returns:
      the available private link resources for an IotHub along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorDetailsException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • get

      GroupIdInformation get(String resourceGroupName, String resourceName, String groupId)
      Get the specified private link resource

      Get the specified private link resource for the given IotHub.

      Parameters:
      resourceGroupName - The name of the resource group that contains the IoT hub.
      resourceName - The name of the IoT hub.
      groupId - The name of the private link resource.
      Returns:
      the specified private link resource for the given IotHub.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorDetailsException - 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<GroupIdInformation> getWithResponse(String resourceGroupName, String resourceName, String groupId, com.azure.core.util.Context context)
      Get the specified private link resource

      Get the specified private link resource for the given IotHub.

      Parameters:
      resourceGroupName - The name of the resource group that contains the IoT hub.
      resourceName - The name of the IoT hub.
      groupId - The name of the private link resource.
      context - The context to associate with this operation.
      Returns:
      the specified private link resource for the given IotHub along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorDetailsException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.