# SqlServerAzureADAdministratorProxy

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

## Definition

```typescript
interface SqlServerAzureADAdministratorProxy {
  administratorType: BicepValueProxy | SqlAdministratorType;
  readonly id: BicepValueProxy;
  readonly isAzureADOnlyAuthenticationEnabled: BicepValueProxy | boolean;
  login: BicepValueProxy | string;
  parent: SqlServerProxy;
  sid: BicepValueProxy | guid;
  readonly systemData: SqlSystemDataProxy;
  tenantId: BicepValueProxy | guid;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearAdministratorType(): void;
  clearLogin(): void;
  clearSid(): void;
  clearTenantId(): void;
}
```

## Properties

- `administratorType`: `BicepValueProxy | SqlAdministratorType` `get - set` -- Gets or sets the AdministratorType provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `isAzureADOnlyAuthenticationEnabled`: `BicepValueProxy | boolean` `get` -- Gets the IsAzureADOnlyAuthenticationEnabled provisioning property.
- `login`: `BicepValueProxy | string` `get - set` -- Gets or sets the Login provisioning property.
- `parent`: [SqlServerProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `sid`: `BicepValueProxy | guid` `get - set` -- Gets or sets the Sid provisioning property.
- `systemData`: [SqlSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlsystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `tenantId`: `BicepValueProxy | guid` `get - set` -- Gets or sets the TenantId provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverazureadadministratorproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearAdministratorType](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverazureadadministratorproxy/clearadministratortype.md) -- `method` -- Clears the AdministratorType provisioning property.
    ```typescript
  clearAdministratorType(): void
  ```
- [clearLogin](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverazureadadministratorproxy/clearlogin.md) -- `method` -- Clears the Login provisioning property.
    ```typescript
  clearLogin(): void
  ```
- [clearSid](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverazureadadministratorproxy/clearsid.md) -- `method` -- Clears the Sid provisioning property.
    ```typescript
  clearSid(): void
  ```
- [clearTenantId](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverazureadadministratorproxy/cleartenantid.md) -- `method` -- Clears the TenantId provisioning property.
    ```typescript
  clearTenantId(): void
  ```
