Partager 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).

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(resourceName: string, resourceGroupName: string, fabricName: string, protectionContainerName: string, creationInput: CreateProtectionContainerInput, options?: ReplicationProtectionContainersCreateOptionalParams): Promise<SimplePollerLike<OperationState<ProtectionContainer>, ProtectionContainer>>

Parameters

resourceName

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

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(resourceName: string, resourceGroupName: string, fabricName: string, protectionContainerName: string, creationInput: CreateProtectionContainerInput, options?: ReplicationProtectionContainersCreateOptionalParams): Promise<ProtectionContainer>

Parameters

resourceName

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

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(resourceName: string, resourceGroupName: string, fabricName: string, protectionContainerName: string, options?: ReplicationProtectionContainersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceName

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

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(resourceName: string, resourceGroupName: string, fabricName: string, protectionContainerName: string, options?: ReplicationProtectionContainersDeleteOptionalParams): Promise<void>

Parameters

resourceName

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

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(resourceName: string, resourceGroupName: string, fabricName: string, protectionContainerName: string, discoverProtectableItemRequest: DiscoverProtectableItemRequest, options?: ReplicationProtectionContainersDiscoverProtectableItemOptionalParams): Promise<SimplePollerLike<OperationState<ProtectionContainer>, ProtectionContainer>>

Parameters

resourceName

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

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(resourceName: string, resourceGroupName: string, fabricName: string, protectionContainerName: string, discoverProtectableItemRequest: DiscoverProtectableItemRequest, options?: ReplicationProtectionContainersDiscoverProtectableItemOptionalParams): Promise<ProtectionContainer>

Parameters

resourceName

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

The name of the fabric.

protectionContainerName

string

The name of the protection container.

discoverProtectableItemRequest
DiscoverProtectableItemRequest

The request object to add a protectable item.

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(resourceName: string, resourceGroupName: string, fabricName: string, protectionContainerName: string, switchInput: SwitchProtectionInput, options?: ReplicationProtectionContainersSwitchProtectionOptionalParams): Promise<SimplePollerLike<OperationState<ProtectionContainer>, ProtectionContainer>>

Parameters

resourceName

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

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(resourceName: string, resourceGroupName: string, fabricName: string, protectionContainerName: string, switchInput: SwitchProtectionInput, options?: ReplicationProtectionContainersSwitchProtectionOptionalParams): Promise<ProtectionContainer>

Parameters

resourceName

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

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(resourceName: string, resourceGroupName: string, fabricName: string, protectionContainerName: string, options?: ReplicationProtectionContainersGetOptionalParams): Promise<ProtectionContainer>

Parameters

resourceName

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.

protectionContainerName

string

Protection container name.

options
ReplicationProtectionContainersGetOptionalParams

The options parameters.

Returns

list(string, string, ReplicationProtectionContainersListOptionalParams)

Lists the protection containers in a vault.

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

Parameters

resourceName

string

The name of the recovery services vault.

resourceGroupName

string

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

options
ReplicationProtectionContainersListOptionalParams

The options parameters.

Returns

listByReplicationFabrics(string, string, string, ReplicationProtectionContainersListByReplicationFabricsOptionalParams)

Lists the protection containers in the specified fabric.

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

Parameters

resourceName

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.

Returns