次の方法で共有


MSCluster_ClusterService class

Service class for the cluster.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.0"), dynamic, provider("MSCLUSTEREXT"), AMENDMENT]
class MSCluster_ClusterService
{
  string ElementName;
};

Members

The MSCluster_ClusterService class has these types of members:

Methods

The MSCluster_ClusterService class has these methods.

Method Description
AddHealthProviders Add health providers to health service
ClusterIsReadyForUpgrade Determines whether the cluster's functional level can be updated.
CreateCloudWitness Creates a cloud witness quorum resource in the cluster
CreateVmReservation Reserves a virtual machine in the cluster.
DisableHealth Disables the health service in the cluster.
EnableHealth Enables the health service in the cluster.
GetPlacementScore Gets the placement score for a virtual machine.
RemoveHealthProviders Remove health providers from health service
RemoveVmReservation Removes the reservation of a virtual machine in the cluster.
UpdateCloudWitnessKey Updates the account key associated with the cloud witness
UpdateFunctionalLevel Updates the cluster's functional level.

Properties

The MSCluster_ClusterService class has these properties.

ElementName

Data type: string

Access type: Read-only

Qualifiers: key

The Id that uniquely identifies the cluster service.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\MSCluster
MOF
ClusWmiExt.mof
DLL
ClusWMI.dll