RestartPartitionMode Enum
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.
The enum passed into the RestartPartition API to specify what replicas need to be restarted
[System.Serializable]
public enum RestartPartitionMode
[<System.Serializable>]
type RestartPartitionMode =
Public Enum RestartPartitionMode
- Inheritance
-
RestartPartitionMode
- Attributes
Fields
AllReplicasOrInstances | 1 | All replicas or instances in the partition are restarted at once |
Invalid | 0 | Reserved. Do not pass into API. |
OnlyActiveSecondaries | 2 | Only the secondary replicas are restarted. This option can only be used for stateful services and avoids data loss |
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor