Cluster Compute Resource Set Crypto Mode
Set the desired encryption mode and host key for the cluster.
The cryptoMode parameter can be used to set crypto mode policy for the cluster.
The desired host key of the cluster can also be specified optionally using the policy parameter.
Required privileges: Cryptographer.RegisterHost
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case ClusterComputeResource/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
{
"cryptoMode": "string"
}
The encryption mode for the cluster. See ClusterCryptoConfigInfoCryptoModeEnum for supported values. An empty string is treated as a valid input and will be interpreted as onDemand.
No Content
InvalidRequest: if the interface is not implemented.
InvalidArgument: if one of the parameters is invalid.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}