# ContainerAppRevisionTrafficWeightProxy

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

## Definition

```typescript
interface ContainerAppRevisionTrafficWeightProxy {
  isLatestRevision: BicepValueProxy | boolean;
  label: BicepValueProxy | string;
  revisionName: BicepValueProxy | string;
  weight: BicepValueProxy | number;
  clearIsLatestRevision(): void;
  clearLabel(): void;
  clearRevisionName(): void;
  clearWeight(): void;
}
```

## Properties

- `isLatestRevision`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsLatestRevision provisioning property.
- `label`: `BicepValueProxy | string` `get - set` -- Gets or sets the Label provisioning property.
- `revisionName`: `BicepValueProxy | string` `get - set` -- Gets or sets the RevisionName provisioning property.
- `weight`: `BicepValueProxy | number` `get - set` -- Gets or sets the Weight provisioning property.

## Methods

- [clearIsLatestRevision](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/containerapprevisiontrafficweightproxy/clearislatestrevision.md) -- `method` -- Clears the IsLatestRevision provisioning property.
    ```typescript
  clearIsLatestRevision(): void
  ```
- [clearLabel](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/containerapprevisiontrafficweightproxy/clearlabel.md) -- `method` -- Clears the Label provisioning property.
    ```typescript
  clearLabel(): void
  ```
- [clearRevisionName](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/containerapprevisiontrafficweightproxy/clearrevisionname.md) -- `method` -- Clears the RevisionName provisioning property.
    ```typescript
  clearRevisionName(): void
  ```
- [clearWeight](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/containerapprevisiontrafficweightproxy/clearweight.md) -- `method` -- Clears the Weight provisioning property.
    ```typescript
  clearWeight(): void
  ```
