Partager via


ReplicationProtectionIntents interface

Interface representing a ReplicationProtectionIntents.

Methods

create(string, string, string, CreateProtectionIntentInput, ReplicationProtectionIntentsCreateOptionalParams)

The operation to create an ASR replication protection intent item.

get(string, string, string, ReplicationProtectionIntentsGetOptionalParams)

Gets the details of an ASR replication protection intent.

list(string, string, ReplicationProtectionIntentsListOptionalParams)

Gets the list of ASR replication protection intent objects in the vault.

Method Details

create(string, string, string, CreateProtectionIntentInput, ReplicationProtectionIntentsCreateOptionalParams)

The operation to create an ASR replication protection intent item.

function create(resourceName: string, resourceGroupName: string, intentObjectName: string, input: CreateProtectionIntentInput, options?: ReplicationProtectionIntentsCreateOptionalParams): Promise<ReplicationProtectionIntent>

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.

intentObjectName

string

A name for the replication protection item.

input
CreateProtectionIntentInput

Create Protection Intent Input.

options
ReplicationProtectionIntentsCreateOptionalParams

The options parameters.

Returns

get(string, string, string, ReplicationProtectionIntentsGetOptionalParams)

Gets the details of an ASR replication protection intent.

function get(resourceName: string, resourceGroupName: string, intentObjectName: string, options?: ReplicationProtectionIntentsGetOptionalParams): Promise<ReplicationProtectionIntent>

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.

intentObjectName

string

Replication protection intent name.

options
ReplicationProtectionIntentsGetOptionalParams

The options parameters.

Returns

list(string, string, ReplicationProtectionIntentsListOptionalParams)

Gets the list of ASR replication protection intent objects in the vault.

function list(resourceName: string, resourceGroupName: string, options?: ReplicationProtectionIntentsListOptionalParams): PagedAsyncIterableIterator<ReplicationProtectionIntent, ReplicationProtectionIntent[], 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
ReplicationProtectionIntentsListOptionalParams

The options parameters.

Returns