Interface PrivateLinks


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

      • get

        PrivateLinkResource get​(String resourceGroupName,
                                String resourceName,
                                String groupId)
        Get a private link resource of a IoT Central Application.
        Parameters:
        resourceGroupName - The name of the resource group that contains the IoT Central application.
        resourceName - The ARM resource name of the IoT Central application.
        groupId - The private link resource name.
        Returns:
        a private link resource of a IoT Central Application.
        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 resourceName,
                                                                               String groupId,
                                                                               com.azure.core.util.Context context)
        Get a private link resource of a IoT Central Application.
        Parameters:
        resourceGroupName - The name of the resource group that contains the IoT Central application.
        resourceName - The ARM resource name of the IoT Central application.
        groupId - The private link resource name.
        context - The context to associate with this operation.
        Returns:
        a private link resource of a IoT Central Application 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.
      • list

        com.azure.core.http.rest.PagedIterable<PrivateLinkResource> list​(String resourceGroupName,
                                                                         String resourceName)
        Get all private link resources of a IoT Central Application.
        Parameters:
        resourceGroupName - The name of the resource group that contains the IoT Central application.
        resourceName - The ARM resource name of the IoT Central application.
        Returns:
        all private link resources of a IoT Central Application 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 resourceName,
                                                                         com.azure.core.util.Context context)
        Get all private link resources of a IoT Central Application.
        Parameters:
        resourceGroupName - The name of the resource group that contains the IoT Central application.
        resourceName - The ARM resource name of the IoT Central application.
        context - The context to associate with this operation.
        Returns:
        all private link resources of a IoT Central Application 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.