addSubnetResource

Method
📦 Aspire.Hosting.Azure.Provisioning.Network v17.0.0-preview.1.26567.5
interface AzureResourceInfrastructure {
// ... omitted for brevity
addSubnetResource(
bicepIdentifier: string,
resourceVersion?: string): SubnetResourceProxy;
}

Signature

methodaddSubnetResource
Adds a SubnetResource provisioning model.
addSubnetResource(
bicepIdentifier: string,
resourceVersion?: string): SubnetResourceProxy
bicepIdentifierstringThe bicepIdentifier value.
resourceVersionstringoptionalThe resourceVersion value.
SubnetResourceProxy

Applies to

This method applies to the following types: