# CommitmentPlanAccountAssociationProxy

- Module: [Aspire.Hosting.Azure.Provisioning.CognitiveServices](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices.md)
- Version: `13.6.0-preview.1.26478.8`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62)

Represents the CommitmentPlanAccountAssociation Azure Provisioning model.

## Definition

```typescript
interface CommitmentPlanAccountAssociationProxy {
  accountId: BicepValueProxy | string;
  readonly eTag: BicepValueProxy;
  readonly id: BicepValueProxy;
  name: BicepValueProxy | string;
  parent: CognitiveServicesCommitmentPlanProxy;
  readonly systemData: CognitiveServicesSystemDataProxy;
  tags: Aspire_Hosting_Azure_Provisioning_CognitiveServices_Generated_DictionaryOfStringProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearAccountId(): void;
  clearName(): void;
}
```

## Properties

- `accountId`: `BicepValueProxy | string` `get - set` -- Gets or sets the AccountId provisioning property.
- `eTag`: `BicepValueProxy` `get` -- Gets the ETag provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [CognitiveServicesCommitmentPlanProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/cognitiveservicescommitmentplanproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `systemData`: [CognitiveServicesSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/cognitiveservicessystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `tags`: [Aspire_Hosting_Azure_Provisioning_CognitiveServices_Generated_DictionaryOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/aspire-hosting-azure-provisioning-cognitiveservices-generated-dictionaryofstringproxy.md) `get - set` -- Gets or sets the Tags provisioning property.

## Methods

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