# ElasticPoolProxy

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

## Definition

```typescript
interface ElasticPoolProxy {
  autoPauseDelay: BicepValueProxy | number;
  availabilityZone: BicepValueProxy | SqlAvailabilityZoneType;
  readonly createdOn: BicepValueProxy | datetimeoffset;
  highAvailabilityReplicaCount: BicepValueProxy | number;
  readonly id: BicepValueProxy;
  isZoneRedundant: BicepValueProxy | boolean;
  readonly kind: BicepValueProxy | string;
  licenseType: BicepValueProxy | ElasticPoolLicenseType;
  location: BicepValueProxy;
  maintenanceConfigurationId: BicepValueProxy;
  maxSizeBytes: BicepValueProxy | number;
  minCapacity: BicepValueProxy | number;
  name: BicepValueProxy | string;
  parent: SqlServerProxy;
  perDatabaseSettings: ElasticPoolPerDatabaseSettingsProxy;
  preferredEnclaveType: BicepValueProxy | SqlAlwaysEncryptedEnclaveType;
  sku: SqlSkuProxy;
  readonly state: BicepValueProxy | ElasticPoolState;
  readonly systemData: SqlSystemDataProxy;
  tags: Aspire_Hosting_Azure_Provisioning_Sql_Generated_DictionaryOfStringProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearAutoPauseDelay(): void;
  clearAvailabilityZone(): void;
  clearHighAvailabilityReplicaCount(): void;
  clearIsZoneRedundant(): void;
  clearLicenseType(): void;
  clearLocation(): void;
  clearMaintenanceConfigurationId(): void;
  clearMaxSizeBytes(): void;
  clearMinCapacity(): void;
  clearName(): void;
  clearPreferredEnclaveType(): void;
}
```

## Properties

- `autoPauseDelay`: `BicepValueProxy | number` `get - set` -- Gets or sets the AutoPauseDelay provisioning property.
- `availabilityZone`: `BicepValueProxy | SqlAvailabilityZoneType` `get - set` -- Gets or sets the AvailabilityZone provisioning property.
- `createdOn`: `BicepValueProxy | datetimeoffset` `get` -- Gets the CreatedOn provisioning property.
- `highAvailabilityReplicaCount`: `BicepValueProxy | number` `get - set` -- Gets or sets the HighAvailabilityReplicaCount provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `isZoneRedundant`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsZoneRedundant provisioning property.
- `kind`: `BicepValueProxy | string` `get` -- Gets the Kind provisioning property.
- `licenseType`: `BicepValueProxy | ElasticPoolLicenseType` `get - set` -- Gets or sets the LicenseType provisioning property.
- `location`: `BicepValueProxy` `get - set` -- Gets or sets the Location provisioning property.
- `maintenanceConfigurationId`: `BicepValueProxy` `get - set` -- Gets or sets the MaintenanceConfigurationId provisioning property.
- `maxSizeBytes`: `BicepValueProxy | number` `get - set` -- Gets or sets the MaxSizeBytes provisioning property.
- `minCapacity`: `BicepValueProxy | number` `get - set` -- Gets or sets the MinCapacity provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [SqlServerProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `perDatabaseSettings`: [ElasticPoolPerDatabaseSettingsProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/elasticpoolperdatabasesettingsproxy.md) `get - set` -- Gets or sets the PerDatabaseSettings provisioning property.
- `preferredEnclaveType`: `BicepValueProxy | SqlAlwaysEncryptedEnclaveType` `get - set` -- Gets or sets the PreferredEnclaveType provisioning property.
- `sku`: [SqlSkuProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlskuproxy.md) `get - set` -- Gets or sets the Sku provisioning property.
- `state`: `BicepValueProxy | ElasticPoolState` `get` -- Gets the State provisioning property.
- `systemData`: [SqlSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlsystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `tags`: [Aspire_Hosting_Azure_Provisioning_Sql_Generated_DictionaryOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/aspire-hosting-azure-provisioning-sql-generated-dictionaryofstringproxy.md) `get - set` -- Gets or sets the Tags provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/elasticpoolproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearAutoPauseDelay](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/elasticpoolproxy/clearautopausedelay.md) -- `method` -- Clears the AutoPauseDelay provisioning property.
    ```typescript
  clearAutoPauseDelay(): void
  ```
- [clearAvailabilityZone](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/elasticpoolproxy/clearavailabilityzone.md) -- `method` -- Clears the AvailabilityZone provisioning property.
    ```typescript
  clearAvailabilityZone(): void
  ```
- [clearHighAvailabilityReplicaCount](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/elasticpoolproxy/clearhighavailabilityreplicacount.md) -- `method` -- Clears the HighAvailabilityReplicaCount provisioning property.
    ```typescript
  clearHighAvailabilityReplicaCount(): void
  ```
- [clearIsZoneRedundant](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/elasticpoolproxy/cleariszoneredundant.md) -- `method` -- Clears the IsZoneRedundant provisioning property.
    ```typescript
  clearIsZoneRedundant(): void
  ```
- [clearLicenseType](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/elasticpoolproxy/clearlicensetype.md) -- `method` -- Clears the LicenseType provisioning property.
    ```typescript
  clearLicenseType(): void
  ```
- [clearLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/elasticpoolproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearMaintenanceConfigurationId](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/elasticpoolproxy/clearmaintenanceconfigurationid.md) -- `method` -- Clears the MaintenanceConfigurationId provisioning property.
    ```typescript
  clearMaintenanceConfigurationId(): void
  ```
- [clearMaxSizeBytes](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/elasticpoolproxy/clearmaxsizebytes.md) -- `method` -- Clears the MaxSizeBytes provisioning property.
    ```typescript
  clearMaxSizeBytes(): void
  ```
- [clearMinCapacity](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/elasticpoolproxy/clearmincapacity.md) -- `method` -- Clears the MinCapacity provisioning property.
    ```typescript
  clearMinCapacity(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/elasticpoolproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearPreferredEnclaveType](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/elasticpoolproxy/clearpreferredenclavetype.md) -- `method` -- Clears the PreferredEnclaveType provisioning property.
    ```typescript
  clearPreferredEnclaveType(): void
  ```
