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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET