Skip to content
DocsTry Aspire
DocsTry

AzureSubnetServiceDelegationAnnotation Constructors

ClassConstructors1 member
Annotation to specify a service delegation for an Azure Subnet.
Annotation to specify a service delegation for an Azure Subnet.
public sealed class AzureSubnetServiceDelegationAnnotation
{
public AzureSubnetServiceDelegationAnnotation(
string name,
string serviceName)
{
// ...
}
}
namestringThe name of the service delegation.
serviceNamestringThe service name for the delegation (e.g., "Microsoft.App/environments").