addSubnet
Method
interface AzureVirtualNetworkResource { // ... omitted for brevity addSubnet( name: string, addressPrefix: ParameterResource, subnetName?: string): AzureSubnetResource;}Signature
method
addSubnetbuilderAdds an Azure subnet resource to an Azure Virtual Network resource.
addSubnet( name: string, addressPrefix: ParameterResource, subnetName?: string): AzureSubnetResourceParameters
namestringaddressPrefixParameterResourcesubnetNamestringoptionalReturns
AzureSubnetResourceApplies to
This method applies to the following types: