Win32 API 日本語リファレンス
ホームNetworking.Clustering › CLUSTER_RESOURCE_RESTART_ACTION

CLUSTER_RESOURCE_RESTART_ACTION

列挙型
基底型i4

メンバー 4

名前10進16進説明
ClusterResourceDontRestart00x0失敗した後にリソースを再起動しません。
ClusterResourceRestartNoNotify10x1失敗した後にリソースを再起動します。再起動期間内にリソースが再起動のしきい値を超えた場合でも、グループクラスター内の別のノードフェールオーバーしようとはしません。
ClusterResourceRestartNotify20x2失敗した後にリソースを再起動します。再起動期間内にリソースが再起動のしきい値を超えた場合は、グループをクラスター内の別のノードへフェールオーバーしようとします。これが既定の設定です。
ClusterResourceRestartActionCount30x3CLUSTER_RESOURCE_RESTART_ACTION 列挙型の最大値を定義します。RestartAction プロパティに指定できる有効な値ではありません。

公式ドキュメント

RestartAction リソース共通プロパティで使用され、リソースが失敗した場合にクラスターサービスが実行する動作を指定します。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum CLUSTER_RESOURCE_RESTART_ACTION : int {
    ClusterResourceDontRestart = 0,
    ClusterResourceRestartNoNotify = 1,
    ClusterResourceRestartNotify = 2,
    ClusterResourceRestartActionCount = 3
} CLUSTER_RESOURCE_RESTART_ACTION;
public enum CLUSTER_RESOURCE_RESTART_ACTION : int
{
    ClusterResourceDontRestart = 0,
    ClusterResourceRestartNoNotify = 1,
    ClusterResourceRestartNotify = 2,
    ClusterResourceRestartActionCount = 3,
}
Public Enum CLUSTER_RESOURCE_RESTART_ACTION As Integer
    ClusterResourceDontRestart = 0
    ClusterResourceRestartNoNotify = 1
    ClusterResourceRestartNotify = 2
    ClusterResourceRestartActionCount = 3
End Enum
import enum

class CLUSTER_RESOURCE_RESTART_ACTION(enum.IntEnum):
    ClusterResourceDontRestart = 0
    ClusterResourceRestartNoNotify = 1
    ClusterResourceRestartNotify = 2
    ClusterResourceRestartActionCount = 3
// CLUSTER_RESOURCE_RESTART_ACTION
pub const ClusterResourceDontRestart: i32 = 0;
pub const ClusterResourceRestartNoNotify: i32 = 1;
pub const ClusterResourceRestartNotify: i32 = 2;
pub const ClusterResourceRestartActionCount: i32 = 3;
// CLUSTER_RESOURCE_RESTART_ACTION
const (
	ClusterResourceDontRestart int32 = 0
	ClusterResourceRestartNoNotify int32 = 1
	ClusterResourceRestartNotify int32 = 2
	ClusterResourceRestartActionCount int32 = 3
)
const
  ClusterResourceDontRestart = 0;
  ClusterResourceRestartNoNotify = 1;
  ClusterResourceRestartNotify = 2;
  ClusterResourceRestartActionCount = 3;
// CLUSTER_RESOURCE_RESTART_ACTION
pub const ClusterResourceDontRestart: i32 = 0;
pub const ClusterResourceRestartNoNotify: i32 = 1;
pub const ClusterResourceRestartNotify: i32 = 2;
pub const ClusterResourceRestartActionCount: i32 = 3;
const
  ClusterResourceDontRestart* = 0
  ClusterResourceRestartNoNotify* = 1
  ClusterResourceRestartNotify* = 2
  ClusterResourceRestartActionCount* = 3
enum CLUSTER_RESOURCE_RESTART_ACTION : int {
    ClusterResourceDontRestart = 0,
    ClusterResourceRestartNoNotify = 1,
    ClusterResourceRestartNotify = 2,
    ClusterResourceRestartActionCount = 3,
}
#define global ClusterResourceDontRestart        0x0
#define global ClusterResourceRestartNoNotify    0x1
#define global ClusterResourceRestartNotify      0x2
#define global ClusterResourceRestartActionCount 0x3