Interface PrivateEndpointConnectionsClient


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

      • list

        List<PrivateEndpointConnectionInner> list​(String resourceGroupName,
                                                  String resourceName)
        List private endpoint connection properties.
        Parameters:
        resourceGroupName - The name of the resource group that contains the IoT hub.
        resourceName - The name of the IoT hub.
        Returns:
        the list of private endpoint connections 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<List<PrivateEndpointConnectionInner>> listWithResponse​(String resourceGroupName,
                                                                                                 String resourceName,
                                                                                                 com.azure.core.util.Context context)
        List private endpoint connection properties.
        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 list of private endpoint connections 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

        PrivateEndpointConnectionInner get​(String resourceGroupName,
                                           String resourceName,
                                           String privateEndpointConnectionName)
        Get private endpoint connection properties.
        Parameters:
        resourceGroupName - The name of the resource group that contains the IoT hub.
        resourceName - The name of the IoT hub.
        privateEndpointConnectionName - The name of the private endpoint connection.
        Returns:
        private endpoint connection properties.
        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<PrivateEndpointConnectionInner> getWithResponse​(String resourceGroupName,
                                                                                          String resourceName,
                                                                                          String privateEndpointConnectionName,
                                                                                          com.azure.core.util.Context context)
        Get private endpoint connection properties.
        Parameters:
        resourceGroupName - The name of the resource group that contains the IoT hub.
        resourceName - The name of the IoT hub.
        privateEndpointConnectionName - The name of the private endpoint connection.
        context - The context to associate with this operation.
        Returns:
        private endpoint connection properties 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.
      • beginUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,​PrivateEndpointConnectionInner> beginUpdate​(String resourceGroupName,
                                                                                                                                                                              String resourceName,
                                                                                                                                                                              String privateEndpointConnectionName,
                                                                                                                                                                              PrivateEndpointConnectionInner privateEndpointConnection)
        Update the status of a private endpoint connection with the specified name.
        Parameters:
        resourceGroupName - The name of the resource group that contains the IoT hub.
        resourceName - The name of the IoT hub.
        privateEndpointConnectionName - The name of the private endpoint connection.
        privateEndpointConnection - The private endpoint connection with updated properties.
        Returns:
        the private endpoint connection of an IotHub along with Response on successful completion of Mono.
        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.
      • beginUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,​PrivateEndpointConnectionInner> beginUpdate​(String resourceGroupName,
                                                                                                                                                                              String resourceName,
                                                                                                                                                                              String privateEndpointConnectionName,
                                                                                                                                                                              PrivateEndpointConnectionInner privateEndpointConnection,
                                                                                                                                                                              com.azure.core.util.Context context)
        Update the status of a private endpoint connection with the specified name.
        Parameters:
        resourceGroupName - The name of the resource group that contains the IoT hub.
        resourceName - The name of the IoT hub.
        privateEndpointConnectionName - The name of the private endpoint connection.
        privateEndpointConnection - The private endpoint connection with updated properties.
        context - The context to associate with this operation.
        Returns:
        the private endpoint connection of an IotHub along with Response on successful completion of Mono.
        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.
      • update

        PrivateEndpointConnectionInner update​(String resourceGroupName,
                                              String resourceName,
                                              String privateEndpointConnectionName,
                                              PrivateEndpointConnectionInner privateEndpointConnection)
        Update the status of a private endpoint connection with the specified name.
        Parameters:
        resourceGroupName - The name of the resource group that contains the IoT hub.
        resourceName - The name of the IoT hub.
        privateEndpointConnectionName - The name of the private endpoint connection.
        privateEndpointConnection - The private endpoint connection with updated properties.
        Returns:
        the private endpoint connection of 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.
      • update

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

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,​PrivateEndpointConnectionInner> beginDelete​(String resourceGroupName,
                                                                                                                                                                              String resourceName,
                                                                                                                                                                              String privateEndpointConnectionName)
        Delete private endpoint connection with the specified name.
        Parameters:
        resourceGroupName - The name of the resource group that contains the IoT hub.
        resourceName - The name of the IoT hub.
        privateEndpointConnectionName - The name of the private endpoint connection.
        Returns:
        the private endpoint connection of an IotHub along with Response on successful completion of Mono.
        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.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,​PrivateEndpointConnectionInner> beginDelete​(String resourceGroupName,
                                                                                                                                                                              String resourceName,
                                                                                                                                                                              String privateEndpointConnectionName,
                                                                                                                                                                              com.azure.core.util.Context context)
        Delete private endpoint connection with the specified name.
        Parameters:
        resourceGroupName - The name of the resource group that contains the IoT hub.
        resourceName - The name of the IoT hub.
        privateEndpointConnectionName - The name of the private endpoint connection.
        context - The context to associate with this operation.
        Returns:
        the private endpoint connection of an IotHub along with Response on successful completion of Mono.
        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.
      • delete

        PrivateEndpointConnectionInner delete​(String resourceGroupName,
                                              String resourceName,
                                              String privateEndpointConnectionName)
        Delete private endpoint connection with the specified name.
        Parameters:
        resourceGroupName - The name of the resource group that contains the IoT hub.
        resourceName - The name of the IoT hub.
        privateEndpointConnectionName - The name of the private endpoint connection.
        Returns:
        the private endpoint connection of 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.
      • delete

        PrivateEndpointConnectionInner delete​(String resourceGroupName,
                                              String resourceName,
                                              String privateEndpointConnectionName,
                                              com.azure.core.util.Context context)
        Delete private endpoint connection with the specified name.
        Parameters:
        resourceGroupName - The name of the resource group that contains the IoT hub.
        resourceName - The name of the IoT hub.
        privateEndpointConnectionName - The name of the private endpoint connection.
        context - The context to associate with this operation.
        Returns:
        the private endpoint connection of 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.