Interface ProtectionContainerOperationResults


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

      • get

        ProtectionContainerResource get​(String vaultName,
                                        String resourceGroupName,
                                        String fabricName,
                                        String containerName,
                                        String operationId)
        Fetches the result of any operation on the container.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        fabricName - Fabric name associated with the container.
        containerName - Container name whose information should be fetched.
        operationId - Operation ID which represents the operation whose result needs to be fetched.
        Returns:
        base class for container with backup items.
        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<ProtectionContainerResource> getWithResponse​(String vaultName,
                                                                                       String resourceGroupName,
                                                                                       String fabricName,
                                                                                       String containerName,
                                                                                       String operationId,
                                                                                       com.azure.core.util.Context context)
        Fetches the result of any operation on the container.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        fabricName - Fabric name associated with the container.
        containerName - Container name whose information should be fetched.
        operationId - Operation ID which represents the operation whose result needs to be fetched.
        context - The context to associate with this operation.
        Returns:
        base class for container with backup items 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.