ConfigureStorageDrsForPodRequestType

ConfigureStorageDrsForPodRequestType
ConfigureStorageDrsForPodRequestType

The parameters of ConfigureStorageDrsForPod_Task.

JSON Example
{
    "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
}
pod
Required

The storage pod.

Required privileges: StoragePod.Config

spec
Required

A set of storage Drs configuration changes to apply to the storage pod. The specification can be a complete set of changes or a partial set of changes, applied incrementally.

boolean
modify
Required

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.