# NamespaceReplicaLocationProxy

- Module: [Aspire.Hosting.Azure.Provisioning.EventHubs](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs.md)
- Version: `13.6.0-preview.1.26478.8`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62)

Represents the NamespaceReplicaLocation Azure Provisioning model.

## Definition

```typescript
interface NamespaceReplicaLocationProxy {
  clusterArmId: BicepValueProxy;
  locationName: BicepValueProxy | string;
  roleType: BicepValueProxy | NamespaceGeoDRRoleType;
  clearClusterArmId(): void;
  clearLocationName(): void;
  clearRoleType(): void;
}
```

## Properties

- `clusterArmId`: `BicepValueProxy` `get - set` -- Gets or sets the ClusterArmId provisioning property.
- `locationName`: `BicepValueProxy | string` `get - set` -- Gets or sets the LocationName provisioning property.
- `roleType`: `BicepValueProxy | NamespaceGeoDRRoleType` `get - set` -- Gets or sets the RoleType provisioning property.

## Methods

- [clearClusterArmId](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/namespacereplicalocationproxy/clearclusterarmid.md) -- `method` -- Clears the ClusterArmId provisioning property.
    ```typescript
  clearClusterArmId(): void
  ```
- [clearLocationName](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/namespacereplicalocationproxy/clearlocationname.md) -- `method` -- Clears the LocationName provisioning property.
    ```typescript
  clearLocationName(): void
  ```
- [clearRoleType](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/namespacereplicalocationproxy/clearroletype.md) -- `method` -- Clears the RoleType provisioning property.
    ```typescript
  clearRoleType(): void
  ```
