Skip to main content

logical_networks

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

Overview

Namelogical_networks
TypeResource
Idazure_stack.fabric_admin.logical_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
propertiesobjectProperties of a logical network.
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
getselectsubscriptionId, resourceGroupName, location, logicalNetworkReturns the requested logical network.
listselectsubscriptionId, resourceGroupName, location$filterReturns a list of all logical networks at a location.

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
locationstringThe name of Azure region.
logicalNetworkstringName of the logical network.
resourceGroupNamestringName of the resource group.
subscriptionIdstringThe ID of the target subscription.
$filterstringOData filter parameter.

SELECT examples

Returns the requested logical network.

SELECT
id,
name,
properties,
type
FROM azure_stack.fabric_admin.logical_networks
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND location = '{{ location }}' -- required
AND logicalNetwork = '{{ logicalNetwork }}' -- required
;