IRedisCachePremium.ForceReboot(String, Int32) 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.
Reboot specified Redis node(s). This operation requires write permission to the cache resource. There can be potential data loss.
public void ForceReboot (string rebootType, int shardId);
abstract member ForceReboot : string * int -> unit
Public Sub ForceReboot (rebootType As String, shardId As Integer)
Parameters
- rebootType
- String
Specifies which Redis node(s) to reboot. Depending on this value data loss is possible. Possible values include: 'PrimaryNode', 'SecondaryNode', 'AllNodes'.
- shardId
- Int32
In case of cluster cache, this specifies shard id which should be rebooted.
Applies to
Azure SDK for .NET