Interface PrivateEndpointConnections


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

      • get

        PrivateEndpointConnectionResource 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<PrivateEndpointConnectionResource> 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.
      • 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.
      • getById

        PrivateEndpointConnectionResource getById​(String id)
        Get Private Endpoint Connection. This call is made by Backup Admin.
        Parameters:
        id - the resource ID.
        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.
      • getByIdWithResponse

        com.azure.core.http.rest.Response<PrivateEndpointConnectionResource> getByIdWithResponse​(String id,
                                                                                                 com.azure.core.util.Context context)
        Get Private Endpoint Connection. This call is made by Backup Admin.
        Parameters:
        id - the resource ID.
        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.
      • deleteById

        void deleteById​(String id)
        Delete Private Endpoint requests. This call is made by Backup Admin.
        Parameters:
        id - the resource ID.
        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.
      • deleteByIdWithResponse

        void deleteByIdWithResponse​(String id,
                                    com.azure.core.util.Context context)
        Delete Private Endpoint requests. This call is made by Backup Admin.
        Parameters:
        id - the resource ID.
        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.