Partager via


ReplicationNetworkMappings interface

Interface representing a ReplicationNetworkMappings.

Methods

beginCreate(string, string, string, string, string, CreateNetworkMappingInput, ReplicationNetworkMappingsCreateOptionalParams)

The operation to create an ASR network mapping.

beginCreateAndWait(string, string, string, string, string, CreateNetworkMappingInput, ReplicationNetworkMappingsCreateOptionalParams)

The operation to create an ASR network mapping.

beginDelete(string, string, string, string, string, ReplicationNetworkMappingsDeleteOptionalParams)

The operation to delete a network mapping.

beginDeleteAndWait(string, string, string, string, string, ReplicationNetworkMappingsDeleteOptionalParams)

The operation to delete a network mapping.

beginUpdate(string, string, string, string, string, UpdateNetworkMappingInput, ReplicationNetworkMappingsUpdateOptionalParams)

The operation to update an ASR network mapping.

beginUpdateAndWait(string, string, string, string, string, UpdateNetworkMappingInput, ReplicationNetworkMappingsUpdateOptionalParams)

The operation to update an ASR network mapping.

get(string, string, string, string, string, ReplicationNetworkMappingsGetOptionalParams)

Gets the details of an ASR network mapping.

list(string, string, ReplicationNetworkMappingsListOptionalParams)

Lists all ASR network mappings in the vault.

listByReplicationNetworks(string, string, string, string, ReplicationNetworkMappingsListByReplicationNetworksOptionalParams)

Lists all ASR network mappings for the specified network.

Method Details

beginCreate(string, string, string, string, string, CreateNetworkMappingInput, ReplicationNetworkMappingsCreateOptionalParams)

The operation to create an ASR network mapping.

function beginCreate(resourceName: string, resourceGroupName: string, fabricName: string, networkName: string, networkMappingName: string, input: CreateNetworkMappingInput, options?: ReplicationNetworkMappingsCreateOptionalParams): Promise<SimplePollerLike<OperationState<NetworkMapping>, NetworkMapping>>

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

Primary fabric name.

networkName

string

Primary network name.

networkMappingName

string

Network mapping name.

input
CreateNetworkMappingInput

Create network mapping input.

options
ReplicationNetworkMappingsCreateOptionalParams

The options parameters.

Returns

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

beginCreateAndWait(string, string, string, string, string, CreateNetworkMappingInput, ReplicationNetworkMappingsCreateOptionalParams)

The operation to create an ASR network mapping.

function beginCreateAndWait(resourceName: string, resourceGroupName: string, fabricName: string, networkName: string, networkMappingName: string, input: CreateNetworkMappingInput, options?: ReplicationNetworkMappingsCreateOptionalParams): Promise<NetworkMapping>

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

Primary fabric name.

networkName

string

Primary network name.

networkMappingName

string

Network mapping name.

input
CreateNetworkMappingInput

Create network mapping input.

options
ReplicationNetworkMappingsCreateOptionalParams

The options parameters.

Returns

Promise<NetworkMapping>

beginDelete(string, string, string, string, string, ReplicationNetworkMappingsDeleteOptionalParams)

The operation to delete a network mapping.

function beginDelete(resourceName: string, resourceGroupName: string, fabricName: string, networkName: string, networkMappingName: string, options?: ReplicationNetworkMappingsDeleteOptionalParams): 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

Primary fabric name.

networkName

string

Primary network name.

networkMappingName

string

ARM Resource Name for network mapping.

options
ReplicationNetworkMappingsDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, string, string, string, ReplicationNetworkMappingsDeleteOptionalParams)

The operation to delete a network mapping.

function beginDeleteAndWait(resourceName: string, resourceGroupName: string, fabricName: string, networkName: string, networkMappingName: string, options?: ReplicationNetworkMappingsDeleteOptionalParams): 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

Primary fabric name.

networkName

string

Primary network name.

networkMappingName

string

ARM Resource Name for network mapping.

options
ReplicationNetworkMappingsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, string, string, string, UpdateNetworkMappingInput, ReplicationNetworkMappingsUpdateOptionalParams)

The operation to update an ASR network mapping.

function beginUpdate(resourceName: string, resourceGroupName: string, fabricName: string, networkName: string, networkMappingName: string, input: UpdateNetworkMappingInput, options?: ReplicationNetworkMappingsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<NetworkMapping>, NetworkMapping>>

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

Primary fabric name.

networkName

string

Primary network name.

networkMappingName

string

Network mapping name.

input
UpdateNetworkMappingInput

Update network mapping input.

options
ReplicationNetworkMappingsUpdateOptionalParams

The options parameters.

Returns

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

beginUpdateAndWait(string, string, string, string, string, UpdateNetworkMappingInput, ReplicationNetworkMappingsUpdateOptionalParams)

The operation to update an ASR network mapping.

function beginUpdateAndWait(resourceName: string, resourceGroupName: string, fabricName: string, networkName: string, networkMappingName: string, input: UpdateNetworkMappingInput, options?: ReplicationNetworkMappingsUpdateOptionalParams): Promise<NetworkMapping>

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

Primary fabric name.

networkName

string

Primary network name.

networkMappingName

string

Network mapping name.

input
UpdateNetworkMappingInput

Update network mapping input.

options
ReplicationNetworkMappingsUpdateOptionalParams

The options parameters.

Returns

Promise<NetworkMapping>

get(string, string, string, string, string, ReplicationNetworkMappingsGetOptionalParams)

Gets the details of an ASR network mapping.

function get(resourceName: string, resourceGroupName: string, fabricName: string, networkName: string, networkMappingName: string, options?: ReplicationNetworkMappingsGetOptionalParams): Promise<NetworkMapping>

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

Primary fabric name.

networkName

string

Primary network name.

networkMappingName

string

Network mapping name.

options
ReplicationNetworkMappingsGetOptionalParams

The options parameters.

Returns

Promise<NetworkMapping>

list(string, string, ReplicationNetworkMappingsListOptionalParams)

Lists all ASR network mappings in the vault.

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

The options parameters.

Returns

listByReplicationNetworks(string, string, string, string, ReplicationNetworkMappingsListByReplicationNetworksOptionalParams)

Lists all ASR network mappings for the specified network.

function listByReplicationNetworks(resourceName: string, resourceGroupName: string, fabricName: string, networkName: string, options?: ReplicationNetworkMappingsListByReplicationNetworksOptionalParams): PagedAsyncIterableIterator<NetworkMapping, NetworkMapping[], 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

Primary fabric name.

networkName

string

Primary network name.

Returns