AzureVirtualNetworkResource Constructors
ClassConstructors3 members
Represents an Azure Virtual Network resource.
Constructor(string, Action<AzureResourceInfrastructure>)Section titled Constructor(string, Action<AzureResourceInfrastructure>) Represents an Azure Virtual Network resource.
public class AzureVirtualNetworkResource{ public AzureVirtualNetworkResource( string name, Action<AzureResourceInfrastructure> configureInfrastructure) { // ... }}Parameters
namestringThe name of the resource.configureInfrastructureAction<AzureResourceInfrastructure>Callback to configure the Azure Virtual Network resource.Constructor(string, Action<AzureResourceInfrastructure>, string?)Section titled Constructor(string, Action<AzureResourceInfrastructure>, string?) Initializes a new instance of the
AzureVirtualNetworkResource class with a string address prefix. public class AzureVirtualNetworkResource{ public AzureVirtualNetworkResource( string name, Action<AzureResourceInfrastructure> configureInfrastructure, string? addressPrefix) { // ... }}Parameters
namestringThe name of the resource.configureInfrastructureAction<AzureResourceInfrastructure>Callback to configure the Azure Virtual Network resource.addressPrefixstring?The address prefix for the virtual network (e.g., "10.0.0.0/16").Constructor(string, Action<AzureResourceInfrastructure>, ParameterResource)Section titled Constructor(string, Action<AzureResourceInfrastructure>, ParameterResource) Initializes a new instance of the
AzureVirtualNetworkResource class with a parameterized address prefix. public class AzureVirtualNetworkResource{ public AzureVirtualNetworkResource( string name, Action<AzureResourceInfrastructure> configureInfrastructure, ParameterResource addressPrefix) { // ... }}Parameters
namestringThe name of the resource.configureInfrastructureAction<AzureResourceInfrastructure>Callback to configure the Azure Virtual Network resource.addressPrefixParameterResourceThe parameter resource containing the address prefix for the virtual network.