Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProtectionPoliciesImpl

Package version

Class containing ProtectionPolicies operations.

Hierarchy

  • ProtectionPoliciesImpl

Implements

Index

Constructors

constructor

Methods

beginDelete

  • Deletes specified backup policy from your Recovery Services Vault. This is an asynchronous operation. Status of the operation can be fetched using GetProtectionPolicyOperationResult API.

    Parameters

    • vaultName: string

      The name of the recovery services vault.

    • resourceGroupName: string

      The name of the resource group where the recovery services vault is present.

    • policyName: string

      Backup policy to be deleted.

    • Optional options: ProtectionPoliciesDeleteOptionalParams

      The options parameters.

    Returns Promise<PollerLike<PollOperationState<void>, void>>

beginDeleteAndWait

  • Deletes specified backup policy from your Recovery Services Vault. This is an asynchronous operation. Status of the operation can be fetched using GetProtectionPolicyOperationResult API.

    Parameters

    • vaultName: string

      The name of the recovery services vault.

    • resourceGroupName: string

      The name of the resource group where the recovery services vault is present.

    • policyName: string

      Backup policy to be deleted.

    • Optional options: ProtectionPoliciesDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

createOrUpdate

get

  • Provides the details of the backup policies associated to Recovery Services Vault. This is an asynchronous operation. Status of the operation can be fetched using GetPolicyOperationResult API.

    Parameters

    • vaultName: string

      The name of the recovery services vault.

    • resourceGroupName: string

      The name of the resource group where the recovery services vault is present.

    • policyName: string

      Backup policy information to be fetched.

    • Optional options: ProtectionPoliciesGetOptionalParams

      The options parameters.

    Returns Promise<ProtectionPoliciesGetResponse>

Generated using TypeDoc