Package version:

Interface representing a ReplicationProtectionContainers.

interface ReplicationProtectionContainers {
    beginCreate(resourceGroupName: string, resourceName: string, fabricName: string, protectionContainerName: string, creationInput: CreateProtectionContainerInput, options?: ReplicationProtectionContainersCreateOptionalParams): Promise<SimplePollerLike<OperationState<ProtectionContainer>, ProtectionContainer>>;
    beginCreateAndWait(resourceGroupName: string, resourceName: string, fabricName: string, protectionContainerName: string, creationInput: CreateProtectionContainerInput, options?: ReplicationProtectionContainersCreateOptionalParams): Promise<ProtectionContainer>;
    beginDelete(resourceGroupName: string, resourceName: string, fabricName: string, protectionContainerName: string, options?: ReplicationProtectionContainersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
    beginDeleteAndWait(resourceGroupName: string, resourceName: string, fabricName: string, protectionContainerName: string, options?: ReplicationProtectionContainersDeleteOptionalParams): Promise<void>;
    beginDiscoverProtectableItem(resourceGroupName: string, resourceName: string, fabricName: string, protectionContainerName: string, discoverProtectableItemRequest: DiscoverProtectableItemRequest, options?: ReplicationProtectionContainersDiscoverProtectableItemOptionalParams): Promise<SimplePollerLike<OperationState<ProtectionContainer>, ProtectionContainer>>;
    beginDiscoverProtectableItemAndWait(resourceGroupName: string, resourceName: string, fabricName: string, protectionContainerName: string, discoverProtectableItemRequest: DiscoverProtectableItemRequest, options?: ReplicationProtectionContainersDiscoverProtectableItemOptionalParams): Promise<ProtectionContainer>;
    beginSwitchClusterProtection(resourceGroupName: string, resourceName: string, fabricName: string, protectionContainerName: string, switchInput: SwitchClusterProtectionInput, options?: ReplicationProtectionContainersSwitchClusterProtectionOptionalParams): Promise<SimplePollerLike<OperationState<ProtectionContainer>, ProtectionContainer>>;
    beginSwitchClusterProtectionAndWait(resourceGroupName: string, resourceName: string, fabricName: string, protectionContainerName: string, switchInput: SwitchClusterProtectionInput, options?: ReplicationProtectionContainersSwitchClusterProtectionOptionalParams): Promise<ProtectionContainer>;
    beginSwitchProtection(resourceGroupName: string, resourceName: string, fabricName: string, protectionContainerName: string, switchInput: SwitchProtectionInput, options?: ReplicationProtectionContainersSwitchProtectionOptionalParams): Promise<SimplePollerLike<OperationState<ProtectionContainer>, ProtectionContainer>>;
    beginSwitchProtectionAndWait(resourceGroupName: string, resourceName: string, fabricName: string, protectionContainerName: string, switchInput: SwitchProtectionInput, options?: ReplicationProtectionContainersSwitchProtectionOptionalParams): Promise<ProtectionContainer>;
    get(resourceGroupName: string, resourceName: string, fabricName: string, protectionContainerName: string, options?: ReplicationProtectionContainersGetOptionalParams): Promise<ProtectionContainer>;
    list(resourceGroupName: string, resourceName: string, options?: ReplicationProtectionContainersListOptionalParams): PagedAsyncIterableIterator<ProtectionContainer>;
    listByReplicationFabrics(resourceGroupName: string, resourceName: string, fabricName: string, options?: ReplicationProtectionContainersListByReplicationFabricsOptionalParams): PagedAsyncIterableIterator<ProtectionContainer>;
}

Methods

  • Operation to remove a protection container.

    Parameters

    • resourceGroupName: string

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

    • resourceName: string

      The name of the recovery services vault.

    • fabricName: string

      Unique fabric ARM name.

    • protectionContainerName: string

      Unique protection container ARM name.

    • Optionaloptions: ReplicationProtectionContainersDeleteOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<void>, void>>

  • Operation to remove a protection container.

    Parameters

    • resourceGroupName: string

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

    • resourceName: string

      The name of the recovery services vault.

    • fabricName: string

      Unique fabric ARM name.

    • protectionContainerName: string

      Unique protection container ARM name.

    • Optionaloptions: ReplicationProtectionContainersDeleteOptionalParams

      The options parameters.

    Returns Promise<void>