ArmRedisModelFactory.RedisLinkedServerWithPropertyData Method

Definition

Initializes a new instance of RedisLinkedServerWithPropertyData.

public static Azure.ResourceManager.Redis.RedisLinkedServerWithPropertyData RedisLinkedServerWithPropertyData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.ResourceIdentifier linkedRedisCacheId = default, Azure.Core.AzureLocation? linkedRedisCacheLocation = default, Azure.ResourceManager.Redis.Models.RedisLinkedServerRole? serverRole = default, string geoReplicatedPrimaryHostName = default, string primaryHostName = default, string provisioningState = default);
static member RedisLinkedServerWithPropertyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.Core.ResourceIdentifier * Nullable<Azure.Core.AzureLocation> * Nullable<Azure.ResourceManager.Redis.Models.RedisLinkedServerRole> * string * string * string -> Azure.ResourceManager.Redis.RedisLinkedServerWithPropertyData
Public Shared Function RedisLinkedServerWithPropertyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional linkedRedisCacheId As ResourceIdentifier = Nothing, Optional linkedRedisCacheLocation As Nullable(Of AzureLocation) = Nothing, Optional serverRole As Nullable(Of RedisLinkedServerRole) = Nothing, Optional geoReplicatedPrimaryHostName As String = Nothing, Optional primaryHostName As String = Nothing, Optional provisioningState As String = Nothing) As RedisLinkedServerWithPropertyData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

linkedRedisCacheId
ResourceIdentifier

Fully qualified resourceId of the linked redis cache.

linkedRedisCacheLocation
Nullable<AzureLocation>

Location of the linked redis cache.

serverRole
Nullable<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.

provisioningState
String

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

Returns

A new RedisLinkedServerWithPropertyData instance for mocking.

Applies to