# JavaComponentPropertiesScaleProxy

- 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 JavaComponentPropertiesScale Azure Provisioning model.

## Definition

```typescript
interface JavaComponentPropertiesScaleProxy {
  maxReplicas: BicepValueProxy | number;
  minReplicas: BicepValueProxy | number;
  clearMaxReplicas(): void;
  clearMinReplicas(): void;
}
```

## Properties

- `maxReplicas`: `BicepValueProxy | number` `get - set` -- Gets or sets the MaxReplicas provisioning property.
- `minReplicas`: `BicepValueProxy | number` `get - set` -- Gets or sets the MinReplicas provisioning property.

## Methods

- [clearMaxReplicas](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/javacomponentpropertiesscaleproxy/clearmaxreplicas.md) -- `method` -- Clears the MaxReplicas provisioning property.
    ```typescript
  clearMaxReplicas(): void
  ```
- [clearMinReplicas](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/javacomponentpropertiesscaleproxy/clearminreplicas.md) -- `method` -- Clears the MinReplicas provisioning property.
    ```typescript
  clearMinReplicas(): void
  ```
