Storage Resource Manager Configure Storage Drs For Pod Task

Storage Resource Manager Configure Storage Drs For Pod Task

Change the storage DRS configuration for a pod StoragePod.

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/StorageResourceManager/{moId}/ConfigureStorageDrsForPod_Task
COPY
Path Parameters
string
moId
Required

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}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Request Body
ConfigureStorageDrsForPodRequestType of type(s) application/json
Required
{
    "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

Reference to an instance of the StoragePod managed object.

spec
Required

The StorageDrsConfigSpec data object provides a set of update specifications for storage DRS configuration.

To support incremental changes, these properties are all optional.

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.

Authentication
This operation uses the following authentication methods.
Responses
200

This method returns a Task object with which to monitor the operation.

Returns MoRefTask of type(s) application/json
This response body class contains all of the following: MoRefExtensibleManagedObject
{
    "_typeName": "string",
    "type": "string",
    "value": "string"
}