# SqlServicePrincipalProxy

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

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
  ```
