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
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
fabricTypestringThe Fabric Type.
friendlyNamestringThe Friendly Name.
locationstringResource Location.
networkTypestringThe Network Type.
subnetsarrayThe List of subnets.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, resource_name, fabric_name, network_name, subscription_idGets a network with specified server id and network name. Gets the details of a network.
list_by_replication_fabricsselectresource_group_name, resource_name, fabric_name, subscription_idGets the list of networks under a fabric. Lists the networks available for a fabric.
listselectresource_group_name, resource_name, subscription_idGets the list of networks. View-only API. Lists 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
fabric_namestringFabric name. Required.
network_namestringPrimary network name. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
resource_namestringThe name of the recovery services vault. Required.
subscription_idstring

SELECT examples

Gets a network with specified server id and network name. Gets the details of a network.

SELECT
id,
name,
fabricType,
friendlyName,
location,
networkType,
subnets,
systemData,
type
FROM azure.recovery_services_site_recovery.replication_networks
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND resource_name = '{{ resource_name }}' -- required
AND fabric_name = '{{ fabric_name }}' -- required
AND network_name = '{{ network_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;