# ServiceAccountApiPropertiesProxy

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

Represents the ServiceAccountApiProperties Azure Provisioning model.

## Definition

```typescript
interface ServiceAccountApiPropertiesProxy {
  aadClientId: BicepValueProxy | guid;
  aadTenantId: BicepValueProxy | guid;
  enableStatistics: BicepValueProxy | boolean;
  eventHubConnectionString: BicepValueProxy | string;
  qnaAzureSearchEndpointId: BicepValueProxy;
  qnaAzureSearchEndpointKey: BicepValueProxy | string;
  qnaRuntimeEndpoint: BicepValueProxy | string;
  storageAccountConnectionString: BicepValueProxy | string;
  superUser: BicepValueProxy | string;
  websiteName: BicepValueProxy | string;
  clearAadClientId(): void;
  clearAadTenantId(): void;
  clearEnableStatistics(): void;
  clearEventHubConnectionString(): void;
  clearQnaAzureSearchEndpointId(): void;
  clearQnaAzureSearchEndpointKey(): void;
  clearQnaRuntimeEndpoint(): void;
  clearStorageAccountConnectionString(): void;
  clearSuperUser(): void;
  clearWebsiteName(): void;
}
```

## Properties

- `aadClientId`: `BicepValueProxy | guid` `get - set` -- Gets or sets the AadClientId provisioning property.
- `aadTenantId`: `BicepValueProxy | guid` `get - set` -- Gets or sets the AadTenantId provisioning property.
- `enableStatistics`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the EnableStatistics provisioning property.
- `eventHubConnectionString`: `BicepValueProxy | string` `get - set` -- Gets or sets the EventHubConnectionString provisioning property.
- `qnaAzureSearchEndpointId`: `BicepValueProxy` `get - set` -- Gets or sets the QnaAzureSearchEndpointId provisioning property.
- `qnaAzureSearchEndpointKey`: `BicepValueProxy | string` `get - set` -- Gets or sets the QnaAzureSearchEndpointKey provisioning property.
- `qnaRuntimeEndpoint`: `BicepValueProxy | string` `get - set` -- Gets or sets the QnaRuntimeEndpoint provisioning property.
- `storageAccountConnectionString`: `BicepValueProxy | string` `get - set` -- Gets or sets the StorageAccountConnectionString provisioning property.
- `superUser`: `BicepValueProxy | string` `get - set` -- Gets or sets the SuperUser provisioning property.
- `websiteName`: `BicepValueProxy | string` `get - set` -- Gets or sets the WebsiteName provisioning property.

## Methods

- [clearAadClientId](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/serviceaccountapipropertiesproxy/clearaadclientid.md) -- `method` -- Clears the AadClientId provisioning property.
    ```typescript
  clearAadClientId(): void
  ```
- [clearAadTenantId](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/serviceaccountapipropertiesproxy/clearaadtenantid.md) -- `method` -- Clears the AadTenantId provisioning property.
    ```typescript
  clearAadTenantId(): void
  ```
- [clearEnableStatistics](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/serviceaccountapipropertiesproxy/clearenablestatistics.md) -- `method` -- Clears the EnableStatistics provisioning property.
    ```typescript
  clearEnableStatistics(): void
  ```
- [clearEventHubConnectionString](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/serviceaccountapipropertiesproxy/cleareventhubconnectionstring.md) -- `method` -- Clears the EventHubConnectionString provisioning property.
    ```typescript
  clearEventHubConnectionString(): void
  ```
- [clearQnaAzureSearchEndpointId](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/serviceaccountapipropertiesproxy/clearqnaazuresearchendpointid.md) -- `method` -- Clears the QnaAzureSearchEndpointId provisioning property.
    ```typescript
  clearQnaAzureSearchEndpointId(): void
  ```
- [clearQnaAzureSearchEndpointKey](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/serviceaccountapipropertiesproxy/clearqnaazuresearchendpointkey.md) -- `method` -- Clears the QnaAzureSearchEndpointKey provisioning property.
    ```typescript
  clearQnaAzureSearchEndpointKey(): void
  ```
- [clearQnaRuntimeEndpoint](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/serviceaccountapipropertiesproxy/clearqnaruntimeendpoint.md) -- `method` -- Clears the QnaRuntimeEndpoint provisioning property.
    ```typescript
  clearQnaRuntimeEndpoint(): void
  ```
- [clearStorageAccountConnectionString](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/serviceaccountapipropertiesproxy/clearstorageaccountconnectionstring.md) -- `method` -- Clears the StorageAccountConnectionString provisioning property.
    ```typescript
  clearStorageAccountConnectionString(): void
  ```
- [clearSuperUser](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/serviceaccountapipropertiesproxy/clearsuperuser.md) -- `method` -- Clears the SuperUser provisioning property.
    ```typescript
  clearSuperUser(): void
  ```
- [clearWebsiteName](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/serviceaccountapipropertiesproxy/clearwebsitename.md) -- `method` -- Clears the WebsiteName provisioning property.
    ```typescript
  clearWebsiteName(): void
  ```
