Skip to main content

replication_logical_networks

Creates, updates, deletes, gets or lists a replication_logical_networks resource.

Overview

Namereplication_logical_networks
TypeResource
Idazure.recovery_services_site_recovery.replication_logical_networks

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource Id
namestringResource Name
locationstringResource Location
propertiesobjectThe Logical Network Properties.
typestringResource Type

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceName, resourceGroupName, subscriptionId, fabricName, logicalNetworkNameapi-versionGets the details of a logical network.
list_by_replication_fabricsselectresourceName, resourceGroupName, subscriptionId, fabricNameapi-versionLists all the logical networks of the Azure Site Recovery fabric.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
fabricNamestringServer Id.
logicalNetworkNamestringLogical network name.
resourceGroupNamestringThe name of the resource group where the recovery services vault is present.
resourceNamestringThe name of the recovery services vault.
subscriptionIdstringThe subscription Id.
api-versionstringClient Api Version.

SELECT examples

Gets the details of a logical network.

SELECT
id,
name,
location,
properties,
type
FROM azure.recovery_services_site_recovery.replication_logical_networks
WHERE resourceName = '{{ resourceName }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND fabricName = '{{ fabricName }}' -- required
AND logicalNetworkName = '{{ logicalNetworkName }}' -- required
AND api-version = '{{ api-version }}'
;