withDelegatedSubnet

Method
📦 Aspire.Hosting.Azure.Network v17.0.0
interface IAzureDelegatedSubnetResource {
// ... omitted for brevity
withDelegatedSubnet(subnet: AzureSubnetResource): IAzureDelegatedSubnetResource;
}

Signature

methodwithDelegatedSubnetbuilder
Configures the resource to use the specified subnet with appropriate service delegation.
withDelegatedSubnet(subnet: AzureSubnetResource): IAzureDelegatedSubnetResource
subnetAzureSubnetResourceThe subnet to associate with the resource.
IAzureDelegatedSubnetResource

Applies to

This method applies to the following types: