Skip to main content

replication_networks

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

Overview

Namereplication_networks
TypeResource
Idazure.recovery_services_site_recovery.replication_networks

Fields

The following fields are returned by SELECT queries:

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

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceName, resourceGroupName, subscriptionId, fabricName, networkNameapi-versionGets the details of a network.
list_by_replication_fabricsselectresourceName, resourceGroupName, subscriptionId, fabricNameapi-versionLists the networks available for a fabric.
listselectresourceName, resourceGroupName, subscriptionIdapi-versionLists the networks available in a vault.

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
fabricNamestringFabric name.
networkNamestringPrimary 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 network.

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