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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET