AzureVirtualNetworkResource
Classnet10.0
Represents an Azure Virtual Network resource.
namespace Aspire.Hosting.Azure;
public class AzureVirtualNetworkResource : Aspire.Hosting.Azure.AzureProvisioningResource{ // ...}AzureProvisioningResource
8 members
Constructors3
Section titled Constructors Represents an Azure Virtual Network resource.
Initializes a new instance of the
AzureVirtualNetworkResource class with a string address prefix. Initializes a new instance of the
AzureVirtualNetworkResource class with a parameterized address prefix. Properties4
Section titled Propertiesstring? 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 . ParameterResource? Gets the parameter resource containing the address prefix for the virtual network, or
null if the address prefix is provided as a literal string. Methods1
Section titled MethodsProvisionableResource Adds a new
Primitives.ProvisionableResource into infra. The new resource represents a reference to the current Azure.AzureProvisioningResource via https://learn.microsoft.com/azure/azure-resource-manager/bicep/existing-resource.