# RedisLinkedServerWithPropertyProxy

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

Represents the RedisLinkedServerWithProperty Azure Provisioning model.

## Definition

```typescript
interface RedisLinkedServerWithPropertyProxy {
  readonly geoReplicatedPrimaryHostName: BicepValueProxy | string;
  readonly id: BicepValueProxy;
  linkedRedisCacheId: BicepValueProxy;
  linkedRedisCacheLocation: BicepValueProxy;
  name: BicepValueProxy | string;
  parent: RedisResourceProxy;
  readonly primaryHostName: BicepValueProxy | string;
  readonly provisioningState: BicepValueProxy | string;
  serverRole: BicepValueProxy | RedisLinkedServerRole;
  readonly systemData: RedisSystemDataProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearLinkedRedisCacheId(): void;
  clearLinkedRedisCacheLocation(): void;
  clearName(): void;
  clearServerRole(): void;
}
```

## Properties

- `geoReplicatedPrimaryHostName`: `BicepValueProxy | string` `get` -- Gets the GeoReplicatedPrimaryHostName provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `linkedRedisCacheId`: `BicepValueProxy` `get - set` -- Gets or sets the LinkedRedisCacheId provisioning property.
- `linkedRedisCacheLocation`: `BicepValueProxy` `get - set` -- Gets or sets the LinkedRedisCacheLocation provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [RedisResourceProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.redis/redisresourceproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `primaryHostName`: `BicepValueProxy | string` `get` -- Gets the PrimaryHostName provisioning property.
- `provisioningState`: `BicepValueProxy | string` `get` -- Gets the ProvisioningState provisioning property.
- `serverRole`: `BicepValueProxy | RedisLinkedServerRole` `get - set` -- Gets or sets the ServerRole provisioning property.
- `systemData`: [RedisSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.redis/redissystemdataproxy.md) `get` -- Gets the SystemData provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.redis/redislinkedserverwithpropertyproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearLinkedRedisCacheId](/reference/api/typescript/aspire.hosting.azure.provisioning.redis/redislinkedserverwithpropertyproxy/clearlinkedrediscacheid.md) -- `method` -- Clears the LinkedRedisCacheId provisioning property.
    ```typescript
  clearLinkedRedisCacheId(): void
  ```
- [clearLinkedRedisCacheLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.redis/redislinkedserverwithpropertyproxy/clearlinkedrediscachelocation.md) -- `method` -- Clears the LinkedRedisCacheLocation provisioning property.
    ```typescript
  clearLinkedRedisCacheLocation(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.redis/redislinkedserverwithpropertyproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearServerRole](/reference/api/typescript/aspire.hosting.azure.provisioning.redis/redislinkedserverwithpropertyproxy/clearserverrole.md) -- `method` -- Clears the ServerRole provisioning property.
    ```typescript
  clearServerRole(): void
  ```
