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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET