Interface ProtectionPolicyOperationResults


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

      • get

        ProtectionPolicyResource get​(String vaultName,
                                     String resourceGroupName,
                                     String policyName,
                                     String operationId)
        Provides the result of an operation.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        policyName - Backup policy name whose operation's result needs to be fetched.
        operationId - Operation ID which represents the operation whose result needs to be fetched.
        Returns:
        base class for backup policy.
        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<ProtectionPolicyResource> getWithResponse​(String vaultName,
                                                                                    String resourceGroupName,
                                                                                    String policyName,
                                                                                    String operationId,
                                                                                    com.azure.core.util.Context context)
        Provides the result of an operation.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        policyName - Backup policy name whose operation's result needs to 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 backup policy 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.