Share via


ReplicationProtectionContainers interface

Interface representing a ReplicationProtectionContainers.

Methods

beginCreate(string, string, string, string, CreateProtectionContainerInput, ReplicationProtectionContainersCreateOptionalParams)

Operation to create a protection container.

beginCreateAndWait(string, string, string, string, CreateProtectionContainerInput, ReplicationProtectionContainersCreateOptionalParams)

Operation to create a protection container.

beginDelete(string, string, string, string, ReplicationProtectionContainersDeleteOptionalParams)

Operation to remove a protection container.

beginDeleteAndWait(string, string, string, string, ReplicationProtectionContainersDeleteOptionalParams)

Operation to remove a protection container.

beginDiscoverProtectableItem(string, string, string, string, DiscoverProtectableItemRequest, ReplicationProtectionContainersDiscoverProtectableItemOptionalParams)

The operation to a add a protectable item to a protection container(Add physical server).

beginDiscoverProtectableItemAndWait(string, string, string, string, DiscoverProtectableItemRequest, ReplicationProtectionContainersDiscoverProtectableItemOptionalParams)

The operation to a add a protectable item to a protection container(Add physical server).

beginSwitchClusterProtection(string, string, string, string, SwitchClusterProtectionInput, ReplicationProtectionContainersSwitchClusterProtectionOptionalParams)

Operation to switch protection from one container to another.

beginSwitchClusterProtectionAndWait(string, string, string, string, SwitchClusterProtectionInput, ReplicationProtectionContainersSwitchClusterProtectionOptionalParams)

Operation to switch protection from one container to another.

beginSwitchProtection(string, string, string, string, SwitchProtectionInput, ReplicationProtectionContainersSwitchProtectionOptionalParams)

Operation to switch protection from one container to another or one replication provider to another.

beginSwitchProtectionAndWait(string, string, string, string, SwitchProtectionInput, ReplicationProtectionContainersSwitchProtectionOptionalParams)

Operation to switch protection from one container to another or one replication provider to another.

get(string, string, string, string, ReplicationProtectionContainersGetOptionalParams)

Gets the details of a protection container.

list(string, string, ReplicationProtectionContainersListOptionalParams)

Lists the protection containers in a vault.

listByReplicationFabrics(string, string, string, ReplicationProtectionContainersListByReplicationFabricsOptionalParams)

Lists the protection containers in the specified fabric.

Method Details

beginCreate(string, string, string, string, CreateProtectionContainerInput, ReplicationProtectionContainersCreateOptionalParams)

Operation to create a protection container.

function beginCreate(resourceGroupName: string, resourceName: string, fabricName: string, protectionContainerName: string, creationInput: CreateProtectionContainerInput, options?: ReplicationProtectionContainersCreateOptionalParams): Promise<SimplePollerLike<OperationState<ProtectionContainer>, ProtectionContainer>>

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.

creationInput
CreateProtectionContainerInput

Creation input.

options
ReplicationProtectionContainersCreateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<ProtectionContainer>, ProtectionContainer>>

beginCreateAndWait(string, string, string, string, CreateProtectionContainerInput, ReplicationProtectionContainersCreateOptionalParams)

Operation to create a protection container.

function beginCreateAndWait(resourceGroupName: string, resourceName: string, fabricName: string, protectionContainerName: string, creationInput: CreateProtectionContainerInput, options?: ReplicationProtectionContainersCreateOptionalParams): Promise<ProtectionContainer>

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.

creationInput
CreateProtectionContainerInput

Creation input.

options
ReplicationProtectionContainersCreateOptionalParams

The options parameters.

Returns

beginDelete(string, string, string, string, ReplicationProtectionContainersDeleteOptionalParams)

Operation to remove a protection container.

function beginDelete(resourceGroupName: string, resourceName: string, fabricName: string, protectionContainerName: string, options?: ReplicationProtectionContainersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

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.

options
ReplicationProtectionContainersDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, string, ReplicationProtectionContainersDeleteOptionalParams)

Operation to remove a protection container.

function beginDeleteAndWait(resourceGroupName: string, resourceName: string, fabricName: string, protectionContainerName: string, options?: ReplicationProtectionContainersDeleteOptionalParams): Promise<void>

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.

options
ReplicationProtectionContainersDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginDiscoverProtectableItem(string, string, string, string, DiscoverProtectableItemRequest, ReplicationProtectionContainersDiscoverProtectableItemOptionalParams)

The operation to a add a protectable item to a protection container(Add physical server).

function beginDiscoverProtectableItem(resourceGroupName: string, resourceName: string, fabricName: string, protectionContainerName: string, discoverProtectableItemRequest: DiscoverProtectableItemRequest, options?: ReplicationProtectionContainersDiscoverProtectableItemOptionalParams): Promise<SimplePollerLike<OperationState<ProtectionContainer>, ProtectionContainer>>

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

The name of the fabric.

protectionContainerName

string

The name of the protection container.

discoverProtectableItemRequest
DiscoverProtectableItemRequest

The request object to add a protectable item.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<ProtectionContainer>, ProtectionContainer>>

beginDiscoverProtectableItemAndWait(string, string, string, string, DiscoverProtectableItemRequest, ReplicationProtectionContainersDiscoverProtectableItemOptionalParams)

The operation to a add a protectable item to a protection container(Add physical server).

function beginDiscoverProtectableItemAndWait(resourceGroupName: string, resourceName: string, fabricName: string, protectionContainerName: string, discoverProtectableItemRequest: DiscoverProtectableItemRequest, options?: ReplicationProtectionContainersDiscoverProtectableItemOptionalParams): Promise<ProtectionContainer>

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

The name of the fabric.

protectionContainerName

string

The name of the protection container.

discoverProtectableItemRequest
DiscoverProtectableItemRequest

The request object to add a protectable item.

Returns

beginSwitchClusterProtection(string, string, string, string, SwitchClusterProtectionInput, ReplicationProtectionContainersSwitchClusterProtectionOptionalParams)

Operation to switch protection from one container to another.

function beginSwitchClusterProtection(resourceGroupName: string, resourceName: string, fabricName: string, protectionContainerName: string, switchInput: SwitchClusterProtectionInput, options?: ReplicationProtectionContainersSwitchClusterProtectionOptionalParams): Promise<SimplePollerLike<OperationState<ProtectionContainer>, ProtectionContainer>>

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

Fabric name.

protectionContainerName

string

Protection container name.

switchInput
SwitchClusterProtectionInput

Switch protection input.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<ProtectionContainer>, ProtectionContainer>>

beginSwitchClusterProtectionAndWait(string, string, string, string, SwitchClusterProtectionInput, ReplicationProtectionContainersSwitchClusterProtectionOptionalParams)

Operation to switch protection from one container to another.

function beginSwitchClusterProtectionAndWait(resourceGroupName: string, resourceName: string, fabricName: string, protectionContainerName: string, switchInput: SwitchClusterProtectionInput, options?: ReplicationProtectionContainersSwitchClusterProtectionOptionalParams): Promise<ProtectionContainer>

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

Fabric name.

protectionContainerName

string

Protection container name.

switchInput
SwitchClusterProtectionInput

Switch protection input.

Returns

beginSwitchProtection(string, string, string, string, SwitchProtectionInput, ReplicationProtectionContainersSwitchProtectionOptionalParams)

Operation to switch protection from one container to another or one replication provider to another.

function beginSwitchProtection(resourceGroupName: string, resourceName: string, fabricName: string, protectionContainerName: string, switchInput: SwitchProtectionInput, options?: ReplicationProtectionContainersSwitchProtectionOptionalParams): Promise<SimplePollerLike<OperationState<ProtectionContainer>, ProtectionContainer>>

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

protectionContainerName

string

Protection container name.

switchInput
SwitchProtectionInput

Switch protection input.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<ProtectionContainer>, ProtectionContainer>>

beginSwitchProtectionAndWait(string, string, string, string, SwitchProtectionInput, ReplicationProtectionContainersSwitchProtectionOptionalParams)

Operation to switch protection from one container to another or one replication provider to another.

function beginSwitchProtectionAndWait(resourceGroupName: string, resourceName: string, fabricName: string, protectionContainerName: string, switchInput: SwitchProtectionInput, options?: ReplicationProtectionContainersSwitchProtectionOptionalParams): Promise<ProtectionContainer>

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

protectionContainerName

string

Protection container name.

switchInput
SwitchProtectionInput

Switch protection input.

Returns

get(string, string, string, string, ReplicationProtectionContainersGetOptionalParams)

Gets the details of a protection container.

function get(resourceGroupName: string, resourceName: string, fabricName: string, protectionContainerName: string, options?: ReplicationProtectionContainersGetOptionalParams): Promise<ProtectionContainer>

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

Fabric name.

protectionContainerName

string

Protection container name.

options
ReplicationProtectionContainersGetOptionalParams

The options parameters.

Returns

list(string, string, ReplicationProtectionContainersListOptionalParams)

Lists the protection containers in a vault.

function list(resourceGroupName: string, resourceName: string, options?: ReplicationProtectionContainersListOptionalParams): PagedAsyncIterableIterator<ProtectionContainer, ProtectionContainer[], PageSettings>

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.

options
ReplicationProtectionContainersListOptionalParams

The options parameters.

Returns

listByReplicationFabrics(string, string, string, ReplicationProtectionContainersListByReplicationFabricsOptionalParams)

Lists the protection containers in the specified fabric.

function listByReplicationFabrics(resourceGroupName: string, resourceName: string, fabricName: string, options?: ReplicationProtectionContainersListByReplicationFabricsOptionalParams): PagedAsyncIterableIterator<ProtectionContainer, ProtectionContainer[], PageSettings>

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

Fabric name.

Returns