Storage Resource Manager Configure Storage Drs For Pod Task
Change the storage DRS configuration for a pod StoragePod.
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 StorageResourceManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
Show optional properties
{
"pod": {},
"spec": {},
"modify": false
}
{
"pod": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"spec": {
"_typeName": "string",
"podConfigSpec": {
"_typeName": "string",
"enabled": false,
"ioLoadBalanceEnabled": false,
"defaultVmBehavior": "string",
"loadBalanceInterval": 0,
"defaultIntraVmAffinity": false,
"spaceLoadBalanceConfig": {
"_typeName": "string",
"spaceThresholdMode": "string",
"spaceUtilizationThreshold": 0,
"freeSpaceThresholdGB": 0,
"minSpaceUtilizationDifference": 0
},
"ioLoadBalanceConfig": {
"_typeName": "string",
"reservablePercentThreshold": 0,
"reservableIopsThreshold": 0,
"reservableThresholdMode": "string",
"ioLatencyThreshold": 0,
"ioLoadImbalanceThreshold": 0
},
"automationOverrides": {
"_typeName": "string",
"spaceLoadBalanceAutomationMode": "string",
"ioLoadBalanceAutomationMode": "string",
"ruleEnforcementAutomationMode": "string",
"policyEnforcementAutomationMode": "string",
"vmEvacuationAutomationMode": "string"
},
"rule": [
{
"_typeName": "string",
"operation": "string",
"removeKey": {
"_typeName": "string"
},
"info": {
"_typeName": "string",
"key": 0,
"status": "string",
"enabled": false,
"name": "string",
"mandatory": false,
"userCreated": false,
"inCompliance": false,
"ruleUuid": "string"
}
}
],
"option": [
{
"_typeName": "string",
"operation": "string",
"removeKey": {
"_typeName": "string"
},
"option": {
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
}
]
},
"vmConfigSpec": [
{
"_typeName": "string",
"operation": "string",
"removeKey": {
"_typeName": "string"
},
"info": {
"_typeName": "string",
"vm": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"enabled": false,
"behavior": "string",
"intraVmAffinity": false,
"intraVmAntiAffinity": {
"_typeName": "string",
"key": 0,
"status": "string",
"enabled": false,
"name": "string",
"mandatory": false,
"userCreated": false,
"inCompliance": false,
"ruleUuid": "string",
"diskId": [
0
]
},
"virtualDiskRules": [
{
"_typeName": "string",
"key": 0,
"status": "string",
"enabled": false,
"name": "string",
"mandatory": false,
"userCreated": false,
"inCompliance": false,
"ruleUuid": "string",
"diskRuleType": "string",
"diskId": [
0
]
}
]
}
}
]
},
"modify": false
}
The StorageDrsConfigSpec data object provides a set of update specifications for storage DRS configuration.
To support incremental changes, these properties are all optional.
Flag to specify whether the specification ("spec") should be applied incrementally. If "modify" is false and the operation succeeds, then the configuration of the storage pod matches the specification exactly; in this case any unset portions of the specification will result in unset or default portions of the configuration.
This method returns a Task object with which to monitor the operation.
{
"_typeName": "string",
"type": "string",
"value": "string"
}