# NamespaceReplicaLocationProxy

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

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
  ```
