AzureVirtualNetworkResource
Class net8.0
Represents an Azure Virtual Network resource.
namespace Aspire.Hosting.Azure;
public class AzureVirtualNetworkResource : Aspire.Hosting.Azure.AzureProvisioningResource{ // ...} AzureProvisioningResource
8 members
Constructors3
Section titled ConstructorsAzureVirtualNetworkResource(string, Action<AzureResourceInfrastructure>) Represents an Azure Virtual Network resource.
AzureVirtualNetworkResource(string, Action<AzureResourceInfrastructure>, string?) Initializes a new instance of the
AzureVirtualNetworkResource class with a string address prefix. AzureVirtualNetworkResource(string, Action<AzureResourceInfrastructure>, ParameterResource) Initializes a new instance of the
AzureVirtualNetworkResource class with a parameterized address prefix. Properties4
Section titled PropertiesAddressPrefixgetstring? Gets the address prefix for the virtual network (e.g., "10.0.0.0/16"), or
null if the address prefix is provided via a ApplicationModel.ParameterResource. AddressPrefixParametergetParameterResource? Gets the parameter resource containing the address prefix for the virtual network, or
null if the address prefix is provided as a literal string. IdgetBicepOutputReference Gets the "id" output reference from the Azure Virtual Network resource.
NameOutputgetBicepOutputReference Gets the "name" output reference for the resource.