Share via


CreateCloudWitness method of the MSCluster_ClusterService class

Creates a cloud witness quorum resource in the cluster.

Syntax

uint32 CreateCloudWitness(
  [in] string AccountName,
  [in] string AccountKey,
  [in] string EndpointInfo,
  [in] string CloudWitnessName
);

Parameters

AccountName [in]

The cloud witness account name.

AccountKey [in]

The cloud witness Account key.

EndpointInfo [in]

The optional endpoint info for the cloud witness account.

CloudWitnessName [in]

The optional cloud witness resource name.

Requirements

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

See also

MSCluster_ClusterService