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 | Resource Id |
name | string | Resource Name |
location | string | Resource Location |
properties | object | The Logical Network Properties. |
type | string | Resource Type |
Name | Datatype | Description |
---|---|---|
id | string | Resource Id |
name | string | Resource Name |
location | string | Resource Location |
properties | object | The Logical Network Properties. |
type | string | Resource Type |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | resourceName , resourceGroupName , subscriptionId , fabricName , logicalNetworkName | api-version | Gets the details of a logical network. |
list_by_replication_fabrics | select | resourceName , resourceGroupName , subscriptionId , fabricName | api-version | 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 |
---|---|---|
fabricName | string | Server Id. |
logicalNetworkName | string | Logical network name. |
resourceGroupName | string | The name of the resource group where the recovery services vault is present. |
resourceName | string | The name of the recovery services vault. |
subscriptionId | string | The subscription Id. |
api-version | string | Client Api Version. |
SELECT
examples
- get
- list_by_replication_fabrics
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 }}'
;
Lists all the logical networks of the Azure Site Recovery fabric.
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 api-version = '{{ api-version }}'
;