Skip to main content

logical_subnets

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

Overview

Namelogical_subnets
TypeResource
Idazure_stack.fabric_admin.logical_subnets

Fields

NameDatatypeDescription
idtextURI of the resource.
nametextName of the resource.
ip_poolstextfield from the properties object
is_publictextfield from the properties object
locationtextThe region where the resource is located.
logicalNetworktextfield from the properties object
logicalSubnettextfield from the properties object
metadatatextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextList of key-value pairs.
typetextType of resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECTlocation, logicalNetwork, logicalSubnet, resourceGroupName, subscriptionIdReturns the requested logical subnet.
listSELECTlocation, logicalNetwork, resourceGroupName, subscriptionIdReturns a list of all logical subnets.

SELECT examples

Returns a list of all logical subnets.

SELECT
id,
name,
ip_pools,
is_public,
location,
logicalNetwork,
logicalSubnet,
metadata,
resourceGroupName,
subscriptionId,
tags,
type
FROM azure_stack.fabric_admin.vw_logical_subnets
WHERE location = '{{ location }}'
AND logicalNetwork = '{{ logicalNetwork }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';