Skip to content
DocsTry Aspire
DocsTry

AzureKubernetesEnvironmentResource Constructors

ClassConstructors1 member
AKS-specific pipeline step implementations for AzureKubernetesEnvironmentResource.
Constructor(string, Action<AzureResourceInfrastructure>)Section titled Constructor(string, Action<AzureResourceInfrastructure>)
Initializes a new instance of the AzureKubernetesEnvironmentResource class.
public class AzureKubernetesEnvironmentResource
{
public AzureKubernetesEnvironmentResource(
string name,
Action<AzureResourceInfrastructure> configureInfrastructure)
{
// ...
}
}
namestringThe name of the resource.
configureInfrastructureAction<AzureResourceInfrastructure>Callback to configure the Azure infrastructure.