# AzureKubernetesEnvironmentResource

- Kind: `class`
- Package: [Aspire.Hosting.Azure.Kubernetes](/reference/api/csharp/aspire.hosting.azure.kubernetes.md)
- Version: `13.3.0-preview.1.26254.5`
- Namespace: `Aspire.Hosting.Azure.Kubernetes`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Azure.Kubernetes/AzureKubernetesEnvironmentResource.AksPipeline.cs)
- Inherits: `AzureProvisioningResource`
- Implements: `IComputeEnvironmentResource`, `IResource`, `IAzureComputeEnvironmentResource`, `IAzureNspAssociationTarget`

AKS-specific pipeline step implementations for [AzureKubernetesEnvironmentResource](/reference/api/csharp/aspire.hosting.azure.kubernetes/azurekubernetesenvironmentresource.md).

## Definition

```csharp
namespace Aspire.Hosting.Azure.Kubernetes;

public class AzureKubernetesEnvironmentResource
    : Aspire.Hosting.Azure.AzureProvisioningResource,
      Aspire.Hosting.ApplicationModel.IComputeEnvironmentResource,
      Aspire.Hosting.ApplicationModel.IResource,
      Aspire.Hosting.Azure.IAzureComputeEnvironmentResource,
      Aspire.Hosting.Azure.IAzureNspAssociationTarget
{
    // ...
}
```

## Constructors

- [AzureKubernetesEnvironmentResource(string, Action<AzureResourceInfrastructure>)](/reference/api/csharp/aspire.hosting.azure.kubernetes/azurekubernetesenvironmentresource/constructors.md#constructor-string-action-azureresourceinfrastructure) -- Initializes a new instance of the [AzureKubernetesEnvironmentResource](/reference/api/csharp/aspire.hosting.azure.kubernetes/azurekubernetesenvironmentresource.md) class.

## Properties

- [ClusterFqdn](/reference/api/csharp/aspire.hosting.azure.kubernetes/azurekubernetesenvironmentresource/properties.md#clusterfqdn) : `BicepOutputReference` `get` -- Gets the fully qualified domain name of the AKS cluster.
- [Id](/reference/api/csharp/aspire.hosting.azure.kubernetes/azurekubernetesenvironmentresource/properties.md#id) : `BicepOutputReference` `get` -- Gets the resource ID of the AKS cluster.
- [KubeletIdentityObjectId](/reference/api/csharp/aspire.hosting.azure.kubernetes/azurekubernetesenvironmentresource/properties.md#kubeletidentityobjectid) : `BicepOutputReference` `get` -- Gets the object ID of the kubelet managed identity.
- [NameOutputReference](/reference/api/csharp/aspire.hosting.azure.kubernetes/azurekubernetesenvironmentresource/properties.md#nameoutputreference) : `BicepOutputReference` `get` -- Gets the name output reference for the AKS cluster.
- [NodeResourceGroup](/reference/api/csharp/aspire.hosting.azure.kubernetes/azurekubernetesenvironmentresource/properties.md#noderesourcegroup) : `BicepOutputReference` `get` -- Gets the name of the node resource group.
- [OidcIssuerUrl](/reference/api/csharp/aspire.hosting.azure.kubernetes/azurekubernetesenvironmentresource/properties.md#oidcissuerurl) : `BicepOutputReference` `get` -- Gets the OIDC issuer URL for the AKS cluster, used for workload identity federation.
