ArmRedisModelFactory.RedisInstanceDetails Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- zone
- String
If the Cache uses availability zones, specifies availability zone where this instance is located.
Returns
A new RedisInstanceDetails instance for mocking.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET