Skip to content
Docs Try Aspire

AzurePublicIPAddressResource Constructors

Class Constructors 1 member
Represents an Azure Public IP Address resource.
Constructor(string, Action<AzureResourceInfrastructure>) Section titled Constructor(string, Action<AzureResourceInfrastructure>)
Represents an Azure Public IP Address resource.
public class AzurePublicIPAddressResource
{
public AzurePublicIPAddressResource(
string name,
Action<AzureResourceInfrastructure> configureInfrastructure)
{
// ...
}
}
name string The name of the resource.
configureInfrastructure Action<AzureResourceInfrastructure> Callback to configure the Azure Public IP Address resource.
Use AzureProvisioningResourceExtensions.ConfigureInfrastructure to configure specific Azure.Provisioning properties such as DNS labels, zones, or IP version.