# SqlServicePrincipalProxy

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

Represents the SqlServicePrincipal Azure Provisioning model.

## Definition

```typescript
interface SqlServicePrincipalProxy {
  readonly clientId: BicepValueProxy | guid;
  readonly principalId: BicepValueProxy | guid;
  principalType: BicepValueProxy | SqlServicePrincipalType;
  readonly tenantId: BicepValueProxy | guid;
  clearPrincipalType(): void;
}
```

## Properties

- `clientId`: `BicepValueProxy | guid` `get` -- Gets the ClientId provisioning property.
- `principalId`: `BicepValueProxy | guid` `get` -- Gets the PrincipalId provisioning property.
- `principalType`: `BicepValueProxy | SqlServicePrincipalType` `get - set` -- Gets or sets the PrincipalType provisioning property.
- `tenantId`: `BicepValueProxy | guid` `get` -- Gets the TenantId provisioning property.

## Methods

- [clearPrincipalType](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserviceprincipalproxy/clearprincipaltype.md) -- `method` -- Clears the PrincipalType provisioning property.
    ```typescript
  clearPrincipalType(): void
  ```
