Skip to content
Docs Try Aspire

AzureSubnetResource Properties

Class Properties 5 members
Represents an Azure Subnet resource.
AddressPrefix Section titled AddressPrefix nullable string?
Gets the address prefix for the subnet (e.g., "10.0.1.0/24"), or null if the address prefix is provided via a ApplicationModel.ParameterResource.
public string? AddressPrefix { get; }
AddressPrefixParameter Section titled AddressPrefixParameter nullable ParameterResource?
Gets the parameter resource containing the address prefix for the subnet, or null if the address prefix is provided as a literal string.
public ParameterResource? AddressPrefixParameter { get; }
Id Section titled Id BicepOutputReference
Gets the subnet Id output reference.
public BicepOutputReference Id { get; }
Gets the parent Azure Virtual Network resource.
public AzureVirtualNetworkResource Parent { get; }
SubnetName Section titled SubnetName string
Gets the subnet name.
public string SubnetName { get; }