ArmRedisModelFactory.RedisRebootContent Method

Definition

public static Azure.ResourceManager.Redis.Models.RedisRebootContent RedisRebootContent(Azure.ResourceManager.Redis.Models.RedisRebootType? rebootType = default, int? shardId = default, System.Collections.Generic.IEnumerable<int> ports = default);
static member RedisRebootContent : Nullable<Azure.ResourceManager.Redis.Models.RedisRebootType> * Nullable<int> * seq<int> -> Azure.ResourceManager.Redis.Models.RedisRebootContent
Public Shared Function RedisRebootContent (Optional rebootType As Nullable(Of RedisRebootType) = Nothing, Optional shardId As Nullable(Of Integer) = Nothing, Optional ports As IEnumerable(Of Integer) = Nothing) As RedisRebootContent

Parameters

rebootType
Nullable<RedisRebootType>

Which Redis node(s) to reboot. Depending on this value data loss is possible.

shardId
Nullable<Int32>

If clustering is enabled, the ID of the shard to be rebooted.

ports
IEnumerable<Int32>

A list of redis instances to reboot, specified by per-instance SSL ports or non-SSL ports.

Returns

A new RedisRebootContent instance for mocking.

Applies to