# KubeEnvironmentProxy

- Module: [Aspire.Hosting.Azure.Provisioning.AppService](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Represents the KubeEnvironment Azure Provisioning model.

## Definition

```typescript
interface KubeEnvironmentProxy {
  aksResourceId: BicepValueProxy;
  appLogsConfiguration: AppLogsConfigurationProxy;
  arcConfiguration: ArcConfigurationProxy;
  containerAppsConfiguration: ContainerAppsConfigurationProxy;
  readonly defaultDomain: BicepValueProxy | string;
  readonly deploymentErrors: BicepValueProxy | string;
  environmentType: BicepValueProxy | string;
  extendedLocation: AppServiceExtendedAzureLocationProxy;
  readonly id: BicepValueProxy;
  isInternalLoadBalancerEnabled: BicepValueProxy | boolean;
  kind: BicepValueProxy | string;
  location: BicepValueProxy;
  name: BicepValueProxy | string;
  readonly provisioningState: BicepValueProxy | KubeEnvironmentProvisioningState;
  staticIP: BicepValueProxy | string;
  readonly systemData: AppServiceSystemDataProxy;
  tags: Aspire_Hosting_Azure_Provisioning_AppService_Generated_DictionaryOfStringProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearAksResourceId(): void;
  clearEnvironmentType(): void;
  clearIsInternalLoadBalancerEnabled(): void;
  clearKind(): void;
  clearLocation(): void;
  clearName(): void;
  clearStaticIP(): void;
}
```

## Properties

- `aksResourceId`: `BicepValueProxy` `get - set` -- Gets or sets the AksResourceId provisioning property.
- `appLogsConfiguration`: [AppLogsConfigurationProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/applogsconfigurationproxy.md) `get - set` -- Gets or sets the AppLogsConfiguration provisioning property.
- `arcConfiguration`: [ArcConfigurationProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/arcconfigurationproxy.md) `get - set` -- Gets or sets the ArcConfiguration provisioning property.
- `containerAppsConfiguration`: [ContainerAppsConfigurationProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/containerappsconfigurationproxy.md) `get - set` -- Gets or sets the ContainerAppsConfiguration provisioning property.
- `defaultDomain`: `BicepValueProxy | string` `get` -- Gets the DefaultDomain provisioning property.
- `deploymentErrors`: `BicepValueProxy | string` `get` -- Gets the DeploymentErrors provisioning property.
- `environmentType`: `BicepValueProxy | string` `get - set` -- Gets or sets the EnvironmentType provisioning property.
- `extendedLocation`: [AppServiceExtendedAzureLocationProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appserviceextendedazurelocationproxy.md) `get - set` -- Gets or sets the ExtendedLocation provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `isInternalLoadBalancerEnabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsInternalLoadBalancerEnabled provisioning property.
- `kind`: `BicepValueProxy | string` `get - set` -- Gets or sets the Kind provisioning property.
- `location`: `BicepValueProxy` `get - set` -- Gets or sets the Location provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `provisioningState`: `BicepValueProxy | KubeEnvironmentProvisioningState` `get` -- Gets the ProvisioningState provisioning property.
- `staticIP`: `BicepValueProxy | string` `get - set` -- Gets or sets the StaticIP provisioning property.
- `systemData`: [AppServiceSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicesystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `tags`: [Aspire_Hosting_Azure_Provisioning_AppService_Generated_DictionaryOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/aspire-hosting-azure-provisioning-appservice-generated-dictionaryofstringproxy.md) `get - set` -- Gets or sets the Tags provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/kubeenvironmentproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearAksResourceId](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/kubeenvironmentproxy/clearaksresourceid.md) -- `method` -- Clears the AksResourceId provisioning property.
    ```typescript
  clearAksResourceId(): void
  ```
- [clearEnvironmentType](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/kubeenvironmentproxy/clearenvironmenttype.md) -- `method` -- Clears the EnvironmentType provisioning property.
    ```typescript
  clearEnvironmentType(): void
  ```
- [clearIsInternalLoadBalancerEnabled](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/kubeenvironmentproxy/clearisinternalloadbalancerenabled.md) -- `method` -- Clears the IsInternalLoadBalancerEnabled provisioning property.
    ```typescript
  clearIsInternalLoadBalancerEnabled(): void
  ```
- [clearKind](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/kubeenvironmentproxy/clearkind.md) -- `method` -- Clears the Kind provisioning property.
    ```typescript
  clearKind(): void
  ```
- [clearLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/kubeenvironmentproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/kubeenvironmentproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearStaticIP](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/kubeenvironmentproxy/clearstaticip.md) -- `method` -- Clears the StaticIP provisioning property.
    ```typescript
  clearStaticIP(): void
  ```
