Share via


RedisLinkedServerWithProperties Class

Response to put/get linked server (with properties) for Redis cache.

Variables are only populated by the server, and will be ignored when sending a request.

Constructor

RedisLinkedServerWithProperties(*, linked_redis_cache_id: str | None = None, linked_redis_cache_location: str | None = None, server_role: str | _models.ReplicationRole | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
linked_redis_cache_id
str

Fully qualified resourceId of the linked redis cache.

Default value: None
linked_redis_cache_location
str

Location of the linked redis cache.

Default value: None
server_role

Role of the linked server. Known values are: "Primary" and "Secondary".

Default value: None

Variables

Name Description
id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

linked_redis_cache_id
str

Fully qualified resourceId of the linked redis cache.

linked_redis_cache_location
str

Location of the linked redis cache.

server_role

Role of the linked server. Known values are: "Primary" and "Secondary".

geo_replicated_primary_host_name
str

The unchanging DNS name which will always point to current geo-primary cache among the linked redis caches for seamless Geo Failover experience.

primary_host_name
str

The changing DNS name that resolves to the current geo-primary cache among the linked redis caches before or after the Geo Failover.

provisioning_state
str

Terminal state of the link between primary and secondary redis cache.