replication_logical_networks
Creates, updates, deletes, gets or lists a replication_logical_networks resource.
Overview
| Name | replication_logical_networks |
| Type | Resource |
| Id | azure.recovery_services_site_recovery.replication_logical_networks |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_replication_fabrics
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
friendlyName | string | The Friendly Name. |
location | string | Resource Location. |
logicalNetworkDefinitionsStatus | string | A value indicating whether logical network definitions are isolated. |
logicalNetworkUsage | string | A value indicating whether logical network is used as private test network by test failover. |
networkVirtualizationStatus | string | A value indicating whether Network Virtualization is enabled for the logical network. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
friendlyName | string | The Friendly Name. |
location | string | Resource Location. |
logicalNetworkDefinitionsStatus | string | A value indicating whether logical network definitions are isolated. |
logicalNetworkUsage | string | A value indicating whether logical network is used as private test network by test failover. |
networkVirtualizationStatus | string | A value indicating whether Network Virtualization is enabled for the logical network. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, resource_name, fabric_name, logical_network_name, subscription_id | Gets a logical network with specified server id and logical network name. Gets the details of a logical network. | |
list_by_replication_fabrics | select | resource_group_name, resource_name, fabric_name, subscription_id | Gets the list of logical networks under a fabric. Lists 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.
| Name | Datatype | Description |
|---|---|---|
fabric_name | string | Fabric name. Required. |
logical_network_name | string | Logical network name. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
resource_name | string | The name of the Vault. Required. |
subscription_id | string |
SELECT examples
- get
- list_by_replication_fabrics
Gets a logical network with specified server id and logical network name. Gets the details of a logical network.
SELECT
id,
name,
friendlyName,
location,
logicalNetworkDefinitionsStatus,
logicalNetworkUsage,
networkVirtualizationStatus,
systemData,
type
FROM azure.recovery_services_site_recovery.replication_logical_networks
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND resource_name = '{{ resource_name }}' -- required
AND fabric_name = '{{ fabric_name }}' -- required
AND logical_network_name = '{{ logical_network_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Gets the list of logical networks under a fabric. Lists all the logical networks of the Azure Site Recovery fabric.
SELECT
id,
name,
friendlyName,
location,
logicalNetworkDefinitionsStatus,
logicalNetworkUsage,
networkVirtualizationStatus,
systemData,
type
FROM azure.recovery_services_site_recovery.replication_logical_networks
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND resource_name = '{{ resource_name }}' -- required
AND fabric_name = '{{ fabric_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;