Interface PrivateEndpointConnectionsClient


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

      • list

        PrivateEndpointConnectionsResponseInner list​(String resourceGroupName,
                                                     String resourceName)
        List private endpoint connection properties.
        Parameters:
        resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
        resourceName - The name of the DigitalTwinsInstance.
        Returns:
        the available private link connections 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<PrivateEndpointConnectionsResponseInner> 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 DigitalTwinsInstance.
        resourceName - The name of the DigitalTwinsInstance.
        context - The context to associate with this operation.
        Returns:
        the available private link connections 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

        PrivateEndpointConnectionInner get​(String resourceGroupName,
                                           String resourceName,
                                           String privateEndpointConnectionName)
        Get private endpoint connection properties for the given private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
        resourceName - The name of the DigitalTwinsInstance.
        privateEndpointConnectionName - The name of the private endpoint connection.
        Returns:
        private endpoint connection properties for the given private endpoint.
        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 private endpoint connection properties for the given private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
        resourceName - The name of the DigitalTwinsInstance.
        privateEndpointConnectionName - The name of the private endpoint connection.
        context - The context to associate with this operation.
        Returns:
        private endpoint connection properties for the given private endpoint 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.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> 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 DigitalTwinsInstance.
        resourceName - The name of the DigitalTwinsInstance.
        privateEndpointConnectionName - The name of the private endpoint connection.
        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)
        Delete private endpoint connection with the specified name.
        Parameters:
        resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
        resourceName - The name of the DigitalTwinsInstance.
        privateEndpointConnectionName - The name of the private endpoint connection.
        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)
        Delete private endpoint connection with the specified name.
        Parameters:
        resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
        resourceName - The name of the DigitalTwinsInstance.
        privateEndpointConnectionName - The name of the private endpoint connection.
        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)
        Delete private endpoint connection with the specified name.
        Parameters:
        resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
        resourceName - The name of the DigitalTwinsInstance.
        privateEndpointConnectionName - The name of the private endpoint connection.
        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.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,​PrivateEndpointConnectionInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                      String resourceName,
                                                                                                                                                                                      String privateEndpointConnectionName,
                                                                                                                                                                                      PrivateEndpointConnectionInner privateEndpointConnection)
        Update the status of a private endpoint connection with the given name.
        Parameters:
        resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
        resourceName - The name of the DigitalTwinsInstance.
        privateEndpointConnectionName - The name of the private endpoint connection.
        privateEndpointConnection - The private endpoint connection with updated properties.
        Returns:
        the SyncPoller for polling of the private endpoint connection of 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.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,​PrivateEndpointConnectionInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                      String resourceName,
                                                                                                                                                                                      String privateEndpointConnectionName,
                                                                                                                                                                                      PrivateEndpointConnectionInner privateEndpointConnection,
                                                                                                                                                                                      com.azure.core.util.Context context)
        Update the status of a private endpoint connection with the given name.
        Parameters:
        resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
        resourceName - The name of the DigitalTwinsInstance.
        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 SyncPoller for polling of the private endpoint connection of 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.
      • createOrUpdate

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

        PrivateEndpointConnectionInner createOrUpdate​(String resourceGroupName,
                                                      String resourceName,
                                                      String privateEndpointConnectionName,
                                                      PrivateEndpointConnectionInner privateEndpointConnection,
                                                      com.azure.core.util.Context context)
        Update the status of a private endpoint connection with the given name.
        Parameters:
        resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
        resourceName - The name of the DigitalTwinsInstance.
        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 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.