Skip to content
DocsTry Aspire
DocsTry

AzureSubnetResource Properties

ClassProperties5 members
Represents an Azure Subnet resource.
AddressPrefixSection titled AddressPrefixnullablestring?
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; }
AddressPrefixParameterSection titled AddressPrefixParameternullableParameterResource?
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; }
IdSection titled IdBicepOutputReference
Gets the subnet Id output reference.
public BicepOutputReference Id { get; }
Gets the parent Azure Virtual Network resource.
public AzureVirtualNetworkResource Parent { get; }
Gets the subnet name.
public string SubnetName { get; }