Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProtectedItemsImpl

Package version

Class containing ProtectedItems operations.

Hierarchy

  • ProtectedItemsImpl

Implements

Index

Constructors

Methods

Constructors

constructor

Methods

createOrUpdate

  • Enables backup of an item or to modifies the backup policy information of an already backed up item. This is an asynchronous operation. To know the status of the operation, call the GetItemOperationResult 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.

    • fabricName: string

      Fabric name associated with the backup item.

    • containerName: string

      Container name associated with the backup item.

    • protectedItemName: string

      Item name to be backed up.

    • parameters: ProtectedItemResource

      resource backed up item

    • Optional options: ProtectedItemsCreateOrUpdateOptionalParams

      The options parameters.

    Returns Promise<ProtectedItemsCreateOrUpdateResponse>

delete

  • delete(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, options?: ProtectedItemsDeleteOptionalParams): Promise<void>
  • Used to disable backup of an item within a container. This is an asynchronous operation. To know the status of the request, call the GetItemOperationResult 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.

    • fabricName: string

      Fabric name associated with the backed up item.

    • containerName: string

      Container name associated with the backed up item.

    • protectedItemName: string

      Backed up item to be deleted.

    • Optional options: ProtectedItemsDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

get

  • Provides the details of the backed up item. This is an asynchronous operation. To know the status of the operation, call the GetItemOperationResult 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.

    • fabricName: string

      Fabric name associated with the backed up item.

    • containerName: string

      Container name associated with the backed up item.

    • protectedItemName: string

      Backed up item name whose details are to be fetched.

    • Optional options: ProtectedItemsGetOptionalParams

      The options parameters.

    Returns Promise<ProtectedItemsGetResponse>

Generated using TypeDoc