# CosmosDBAccountLocationProxy

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

Represents the CosmosDBAccountLocation Azure Provisioning model.

## Definition

```typescript
interface CosmosDBAccountLocationProxy {
  readonly documentEndpoint: BicepValueProxy | string;
  failoverPriority: BicepValueProxy | number;
  readonly id: BicepValueProxy | string;
  isZoneRedundant: BicepValueProxy | boolean;
  locationName: BicepValueProxy;
  readonly provisioningState: BicepValueProxy | string;
  clearFailoverPriority(): void;
  clearIsZoneRedundant(): void;
  clearLocationName(): void;
}
```

## Properties

- `documentEndpoint`: `BicepValueProxy | string` `get` -- Gets the DocumentEndpoint provisioning property.
- `failoverPriority`: `BicepValueProxy | number` `get - set` -- Gets or sets the FailoverPriority provisioning property.
- `id`: `BicepValueProxy | string` `get` -- Gets the Id provisioning property.
- `isZoneRedundant`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsZoneRedundant provisioning property.
- `locationName`: `BicepValueProxy` `get - set` -- Gets or sets the LocationName provisioning property.
- `provisioningState`: `BicepValueProxy | string` `get` -- Gets the ProvisioningState provisioning property.

## Methods

- [clearFailoverPriority](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/cosmosdbaccountlocationproxy/clearfailoverpriority.md) -- `method` -- Clears the FailoverPriority provisioning property.
    ```typescript
  clearFailoverPriority(): void
  ```
- [clearIsZoneRedundant](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/cosmosdbaccountlocationproxy/cleariszoneredundant.md) -- `method` -- Clears the IsZoneRedundant provisioning property.
    ```typescript
  clearIsZoneRedundant(): void
  ```
- [clearLocationName](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/cosmosdbaccountlocationproxy/clearlocationname.md) -- `method` -- Clears the LocationName provisioning property.
    ```typescript
  clearLocationName(): void
  ```
