# JavaComponentProxy

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

Represents the JavaComponent Azure Provisioning model.

## Definition

```typescript
interface JavaComponentProxy {
  readonly id: BicepValueProxy;
  name: BicepValueProxy | string;
  parent: ContainerAppManagedEnvironmentProxy;
  properties: JavaComponentPropertiesProxy;
  readonly systemData: AppContainersSystemDataProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearName(): void;
}
```

## Properties

- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [ContainerAppManagedEnvironmentProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/containerappmanagedenvironmentproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `properties`: [JavaComponentPropertiesProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/javacomponentpropertiesproxy.md) `get - set` -- Gets or sets the Properties provisioning property.
- `systemData`: [AppContainersSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/appcontainerssystemdataproxy.md) `get` -- Gets the SystemData provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/javacomponentproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/javacomponentproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
