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.3.0 APIs.
Show optional properties
{
"cryptoMode": "string"
}
{
"cryptoMode": "string",
"policy": {
"_typeName": "string",
"keyId": {
"_typeName": "string",
"keyId": "string",
"providerId": {
"_typeName": "string",
"id": "string"
}
},
"providerId": {
"_typeName": "string",
"id": "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.
The encryption mode policy for a cluster.
Since: vSphere API Release 8.0.3.0
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"
}
]
}