# ManagedInstanceExternalAdministratorProxy

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

## Definition

```typescript
interface ManagedInstanceExternalAdministratorProxy {
  administratorType: BicepValueProxy | SqlAdministratorType;
  isAzureADOnlyAuthenticationEnabled: BicepValueProxy | boolean;
  login: BicepValueProxy | string;
  principalType: BicepValueProxy | SqlServerPrincipalType;
  sid: BicepValueProxy | guid;
  tenantId: BicepValueProxy | guid;
  clearAdministratorType(): void;
  clearIsAzureADOnlyAuthenticationEnabled(): void;
  clearLogin(): void;
  clearPrincipalType(): void;
  clearSid(): void;
  clearTenantId(): void;
}
```

## Properties

- `administratorType`: `BicepValueProxy | SqlAdministratorType` `get - set` -- Gets or sets the AdministratorType provisioning property.
- `isAzureADOnlyAuthenticationEnabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsAzureADOnlyAuthenticationEnabled provisioning property.
- `login`: `BicepValueProxy | string` `get - set` -- Gets or sets the Login provisioning property.
- `principalType`: `BicepValueProxy | SqlServerPrincipalType` `get - set` -- Gets or sets the PrincipalType provisioning property.
- `sid`: `BicepValueProxy | guid` `get - set` -- Gets or sets the Sid provisioning property.
- `tenantId`: `BicepValueProxy | guid` `get - set` -- Gets or sets the TenantId provisioning property.

## Methods

- [clearAdministratorType](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/managedinstanceexternaladministratorproxy/clearadministratortype.md) -- `method` -- Clears the AdministratorType provisioning property.
    ```typescript
  clearAdministratorType(): void
  ```
- [clearIsAzureADOnlyAuthenticationEnabled](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/managedinstanceexternaladministratorproxy/clearisazureadonlyauthenticationenabled.md) -- `method` -- Clears the IsAzureADOnlyAuthenticationEnabled provisioning property.
    ```typescript
  clearIsAzureADOnlyAuthenticationEnabled(): void
  ```
- [clearLogin](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/managedinstanceexternaladministratorproxy/clearlogin.md) -- `method` -- Clears the Login provisioning property.
    ```typescript
  clearLogin(): void
  ```
- [clearPrincipalType](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/managedinstanceexternaladministratorproxy/clearprincipaltype.md) -- `method` -- Clears the PrincipalType provisioning property.
    ```typescript
  clearPrincipalType(): void
  ```
- [clearSid](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/managedinstanceexternaladministratorproxy/clearsid.md) -- `method` -- Clears the Sid provisioning property.
    ```typescript
  clearSid(): void
  ```
- [clearTenantId](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/managedinstanceexternaladministratorproxy/cleartenantid.md) -- `method` -- Clears the TenantId provisioning property.
    ```typescript
  clearTenantId(): void
  ```
