Interface ProtectionPolicyOperationResultsClient


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

      • get

        ProtectionPolicyResourceInner 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<ProtectionPolicyResourceInner> 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.