Create method of the MSFTCluster_ResourceType class

Adds a new resource type to the cluster.

Note  

This method is only supported in Windows Server 2012 R2. In Windows Server Technical Preview, use instead the CreateResourceType method in the MSFTCluster_ClusterService class.

Syntax

uint32 Create(
  [in]  string                   Name,
  [in]  string                   DisplayName,
  [in]  string                   ResourceTypeDllFilePath,
  [in]  uint32                   LooksAlivePollInterval,
  [in]  uint32                   IsAlivePollInterval,
  [out] MSFTCluster_ResourceType ResourceType
);

Parameters

  • Name [in]
    The resource type name.

  • DisplayName [in]
    The localized resource type display name.

  • ResourceTypeDllFilePath [in]
    The full path, including file name, of the resource type DLL.

  • LooksAlivePollInterval [in]
    The default poll interval, in milliseconds, for the LooksAlive function of the new resource type.

  • IsAlivePollInterval [in]
    The default poll interval, in milliseconds, for the IsAlive function of the new resource type.

  • ResourceType [out]
    An embedded instance of the newly created resource type.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012 R2

End of client support

None supported

End of server support

Windows Server 2012 R2

Namespace

Root\Microsoft\Windows\Cluster

MOF

ClusWmiV2.mof

See also

MSFTCluster_ResourceType