AzureSubnetResource Constructors
ClassConstructors2 members
Represents an Azure Subnet resource.
Constructor(string, string, string, AzureVirtualNetworkResource)Section titled Constructor(string, string, string, AzureVirtualNetworkResource) Initializes a new instance of the
AzureSubnetResource class. public class AzureSubnetResource{ public AzureSubnetResource( string name, string subnetName, string addressPrefix, AzureVirtualNetworkResource parent) { // ... }}Parameters
namestringThe name of the resource.subnetNamestringThe subnet name.addressPrefixstringThe address prefix for the subnet.parentAzureVirtualNetworkResourceThe parent Virtual Network resource.Constructor(string, string, ParameterResource, AzureVirtualNetworkResource)Section titled Constructor(string, string, ParameterResource, AzureVirtualNetworkResource) Initializes a new instance of the
AzureSubnetResource class with a parameterized address prefix. public class AzureSubnetResource{ public AzureSubnetResource( string name, string subnetName, ParameterResource addressPrefix, AzureVirtualNetworkResource parent) { // ... }}Parameters
namestringThe name of the resource.subnetNamestringThe subnet name.addressPrefixParameterResourceThe parameter resource containing the address prefix for the subnet.parentAzureVirtualNetworkResourceThe parent Virtual Network resource.