共用方式為


ArmRedisModelFactory.RedisLinkedServerWithPropertyCreateOrUpdateContent Method

Definition

public static Azure.ResourceManager.Redis.Models.RedisLinkedServerWithPropertyCreateOrUpdateContent RedisLinkedServerWithPropertyCreateOrUpdateContent (Azure.Core.ResourceIdentifier linkedRedisCacheId = default, Azure.Core.AzureLocation linkedRedisCacheLocation = default, Azure.ResourceManager.Redis.Models.RedisLinkedServerRole serverRole = Azure.ResourceManager.Redis.Models.RedisLinkedServerRole.Primary, string geoReplicatedPrimaryHostName = default, string primaryHostName = default);
static member RedisLinkedServerWithPropertyCreateOrUpdateContent : Azure.Core.ResourceIdentifier * Azure.Core.AzureLocation * Azure.ResourceManager.Redis.Models.RedisLinkedServerRole * string * string -> Azure.ResourceManager.Redis.Models.RedisLinkedServerWithPropertyCreateOrUpdateContent
Public Shared Function RedisLinkedServerWithPropertyCreateOrUpdateContent (Optional linkedRedisCacheId As ResourceIdentifier = Nothing, Optional linkedRedisCacheLocation As AzureLocation = Nothing, Optional serverRole As RedisLinkedServerRole = Azure.ResourceManager.Redis.Models.RedisLinkedServerRole.Primary, Optional geoReplicatedPrimaryHostName As String = Nothing, Optional primaryHostName As String = Nothing) As RedisLinkedServerWithPropertyCreateOrUpdateContent

Parameters

linkedRedisCacheId
ResourceIdentifier

Fully qualified resourceId of the linked redis cache.

linkedRedisCacheLocation
AzureLocation

Location of the linked redis cache.

serverRole
RedisLinkedServerRole

Role of the linked server.

geoReplicatedPrimaryHostName
String

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

primaryHostName
String

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

Returns

A new RedisLinkedServerWithPropertyCreateOrUpdateContent instance for mocking.

Applies to