Interface PrivateEndpointConnectionsClient


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

      • get

        PrivateEndpointConnectionResourceInner get​(String vaultName,
                                                   String resourceGroupName,
                                                   String privateEndpointConnectionName)
        Get Private Endpoint Connection. This call is made by Backup Admin.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        privateEndpointConnectionName - The name of the private endpoint connection.
        Returns:
        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.
      • getWithResponse

        com.azure.core.http.rest.Response<PrivateEndpointConnectionResourceInner> getWithResponse​(String vaultName,
                                                                                                  String resourceGroupName,
                                                                                                  String privateEndpointConnectionName,
                                                                                                  com.azure.core.util.Context context)
        Get Private Endpoint Connection. This call is made by Backup Admin.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        privateEndpointConnectionName - The name of the private endpoint connection.
        context - The context to associate with this operation.
        Returns:
        private Endpoint Connection 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.
      • beginPut

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionResourceInner>,​PrivateEndpointConnectionResourceInner> beginPut​(String vaultName,
                                                                                                                                                                                           String resourceGroupName,
                                                                                                                                                                                           String privateEndpointConnectionName,
                                                                                                                                                                                           PrivateEndpointConnectionResourceInner parameters)
        Approve or Reject Private Endpoint requests. This call is made by Backup Admin.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        privateEndpointConnectionName - The name of the private endpoint connection.
        parameters - Request body for operation.
        Returns:
        the SyncPoller for polling of private Endpoint Connection Response Properties.
        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.
      • beginPut

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionResourceInner>,​PrivateEndpointConnectionResourceInner> beginPut​(String vaultName,
                                                                                                                                                                                           String resourceGroupName,
                                                                                                                                                                                           String privateEndpointConnectionName,
                                                                                                                                                                                           PrivateEndpointConnectionResourceInner parameters,
                                                                                                                                                                                           com.azure.core.util.Context context)
        Approve or Reject Private Endpoint requests. This call is made by Backup Admin.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        privateEndpointConnectionName - The name of the private endpoint connection.
        parameters - Request body for operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of private Endpoint Connection Response Properties.
        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.
      • put

        PrivateEndpointConnectionResourceInner put​(String vaultName,
                                                   String resourceGroupName,
                                                   String privateEndpointConnectionName,
                                                   PrivateEndpointConnectionResourceInner parameters)
        Approve or Reject Private Endpoint requests. This call is made by Backup Admin.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        privateEndpointConnectionName - The name of the private endpoint connection.
        parameters - Request body for operation.
        Returns:
        private Endpoint Connection Response Properties.
        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.
      • put

        PrivateEndpointConnectionResourceInner put​(String vaultName,
                                                   String resourceGroupName,
                                                   String privateEndpointConnectionName,
                                                   PrivateEndpointConnectionResourceInner parameters,
                                                   com.azure.core.util.Context context)
        Approve or Reject Private Endpoint requests. This call is made by Backup Admin.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        privateEndpointConnectionName - The name of the private endpoint connection.
        parameters - Request body for operation.
        context - The context to associate with this operation.
        Returns:
        private Endpoint Connection Response Properties.
        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 vaultName,
                                                                                                                          String resourceGroupName,
                                                                                                                          String privateEndpointConnectionName)
        Delete Private Endpoint requests. This call is made by Backup Admin.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        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 vaultName,
                                                                                                                          String resourceGroupName,
                                                                                                                          String privateEndpointConnectionName,
                                                                                                                          com.azure.core.util.Context context)
        Delete Private Endpoint requests. This call is made by Backup Admin.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        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 vaultName,
                    String resourceGroupName,
                    String privateEndpointConnectionName)
        Delete Private Endpoint requests. This call is made by Backup Admin.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        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 vaultName,
                    String resourceGroupName,
                    String privateEndpointConnectionName,
                    com.azure.core.util.Context context)
        Delete Private Endpoint requests. This call is made by Backup Admin.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        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.