Interface PrivateEndpointConnectionsClient


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

      • get

        PrivateEndpointConnectionInner get​(String resourceGroupName,
                                           String resourceName,
                                           String privateEndpointConnectionName)
        Get the metadata of a private endpoint connection for the 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.
        privateEndpointConnectionName - The private endpoint connection name.
        Returns:
        the metadata of a private endpoint connection for the 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<PrivateEndpointConnectionInner> getWithResponse​(String resourceGroupName,
                                                                                          String resourceName,
                                                                                          String privateEndpointConnectionName,
                                                                                          com.azure.core.util.Context context)
        Get the metadata of a private endpoint connection for the 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.
        privateEndpointConnectionName - The private endpoint connection name.
        context - The context to associate with this operation.
        Returns:
        the metadata of a private endpoint connection for the 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.
      • beginCreate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,​PrivateEndpointConnectionInner> beginCreate​(String resourceGroupName,
                                                                                                                                                                              String resourceName,
                                                                                                                                                                              String privateEndpointConnectionName,
                                                                                                                                                                              PrivateEndpointConnectionInner privateEndpointConnection)
        Update a private endpoint connection.
        Parameters:
        resourceGroupName - The name of the resource group that contains the IoT Central application.
        resourceName - The ARM resource name of the IoT Central application.
        privateEndpointConnectionName - The private endpoint connection name.
        privateEndpointConnection - The private endpoint connection metadata.
        Returns:
        the SyncPoller for polling of the private endpoint connection resource.
        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.
      • beginCreate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,​PrivateEndpointConnectionInner> beginCreate​(String resourceGroupName,
                                                                                                                                                                              String resourceName,
                                                                                                                                                                              String privateEndpointConnectionName,
                                                                                                                                                                              PrivateEndpointConnectionInner privateEndpointConnection,
                                                                                                                                                                              com.azure.core.util.Context context)
        Update a private endpoint connection.
        Parameters:
        resourceGroupName - The name of the resource group that contains the IoT Central application.
        resourceName - The ARM resource name of the IoT Central application.
        privateEndpointConnectionName - The private endpoint connection name.
        privateEndpointConnection - The private endpoint connection metadata.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of the private endpoint connection resource.
        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.
      • create

        PrivateEndpointConnectionInner create​(String resourceGroupName,
                                              String resourceName,
                                              String privateEndpointConnectionName,
                                              PrivateEndpointConnectionInner privateEndpointConnection)
        Update a private endpoint connection.
        Parameters:
        resourceGroupName - The name of the resource group that contains the IoT Central application.
        resourceName - The ARM resource name of the IoT Central application.
        privateEndpointConnectionName - The private endpoint connection name.
        privateEndpointConnection - The private endpoint connection metadata.
        Returns:
        the private endpoint connection resource.
        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.
      • create

        PrivateEndpointConnectionInner create​(String resourceGroupName,
                                              String resourceName,
                                              String privateEndpointConnectionName,
                                              PrivateEndpointConnectionInner privateEndpointConnection,
                                              com.azure.core.util.Context context)
        Update a private endpoint connection.
        Parameters:
        resourceGroupName - The name of the resource group that contains the IoT Central application.
        resourceName - The ARM resource name of the IoT Central application.
        privateEndpointConnectionName - The private endpoint connection name.
        privateEndpointConnection - The private endpoint connection metadata.
        context - The context to associate with this operation.
        Returns:
        the private endpoint connection resource.
        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.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String resourceName,
                                                                                                                          String privateEndpointConnectionName)
        Deletes a private endpoint connection from the 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.
        privateEndpointConnectionName - The private endpoint connection name.
        Returns:
        the SyncPoller for polling of long-running operation.
        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.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String resourceName,
                                                                                                                          String privateEndpointConnectionName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes a private endpoint connection from the 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.
        privateEndpointConnectionName - The private endpoint connection name.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running operation.
        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.
      • delete

        void delete​(String resourceGroupName,
                    String resourceName,
                    String privateEndpointConnectionName)
        Deletes a private endpoint connection from the 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.
        privateEndpointConnectionName - The private endpoint connection name.
        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.
      • delete

        void delete​(String resourceGroupName,
                    String resourceName,
                    String privateEndpointConnectionName,
                    com.azure.core.util.Context context)
        Deletes a private endpoint connection from the 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.
        privateEndpointConnectionName - The private endpoint connection name.
        context - The context to associate with this operation.
        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<PrivateEndpointConnectionInner> list​(String resourceGroupName,
                                                                                    String resourceName)
        Get all private endpoint connections 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 endpoint connections 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<PrivateEndpointConnectionInner> list​(String resourceGroupName,
                                                                                    String resourceName,
                                                                                    com.azure.core.util.Context context)
        Get all private endpoint connections 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 endpoint connections 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.