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.subnetName stringThe subnet name.addressPrefix stringThe address prefix for the subnet.parentAzureConstructor(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.subnetName stringThe subnet name.addressPrefix ParameterResource The parameter resource containing the address prefix for the subnet.parentAzure