次の方法で共有


ArmRedisModelFactory.RedisInstanceDetails Method

Definition

Initializes a new instance of RedisInstanceDetails.

public static Azure.ResourceManager.Redis.Models.RedisInstanceDetails RedisInstanceDetails (int? sslPort = default, int? nonSslPort = default, string zone = default, int? shardId = default, bool? isMaster = default, bool? isPrimary = default);
static member RedisInstanceDetails : Nullable<int> * Nullable<int> * string * Nullable<int> * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.Redis.Models.RedisInstanceDetails
Public Shared Function RedisInstanceDetails (Optional sslPort As Nullable(Of Integer) = Nothing, Optional nonSslPort As Nullable(Of Integer) = Nothing, Optional zone As String = Nothing, Optional shardId As Nullable(Of Integer) = Nothing, Optional isMaster As Nullable(Of Boolean) = Nothing, Optional isPrimary As Nullable(Of Boolean) = Nothing) As RedisInstanceDetails

Parameters

sslPort
Nullable<Int32>

Redis instance SSL port.

nonSslPort
Nullable<Int32>

If enableNonSslPort is true, provides Redis instance Non-SSL port.

zone
String

If the Cache uses availability zones, specifies availability zone where this instance is located.

shardId
Nullable<Int32>

If clustering is enabled, the Shard ID of Redis Instance.

isMaster
Nullable<Boolean>

Specifies whether the instance is a primary node.

isPrimary
Nullable<Boolean>

Specifies whether the instance is a primary node.

Returns

A new RedisInstanceDetails instance for mocking.

Applies to