Host Profile Manager Apply Entities Config Task

Host Profile Manager Apply Entities Config Task

The task for applying host configuration on a list of hosts.

This is the batch version of applyHostConfiguration. The implementation of this method will: When a host is in a DRS cluster but doesn't satisfy the state requirement such as that the host is not in the required maintenance mode, this method uses DRS feature to put the host into maintenance mode. This method will apply a host profile to a stateful host or stateless host; or apply a host profile to a stateless host by reboot. After a host is reboot, a check compliance is done to update the latest compliance status.

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/HostProfileManager/{moId}/ApplyEntitiesConfig_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 HostProfileManager/{moId}.

string
release
Required

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


Request Body
ApplyEntitiesConfigRequestType of type(s) application/json
Required
{
    "applyConfigSpecs": [
        {
            "_typeName": "string",
            "status": "string",
            "configSpec": {
                "nasDatastore": [
                    {
                        "_typeName": "string",
                        "changeOperation": "string",
                        "spec": {
                            "remoteHost": "string",
                            "remotePath": "string",
                            "localPath": "string",
                            "accessMode": "string",
                            "type": "string",
                            "userName": "string",
                            "password": "string",
                            "remoteHostNames": [
                                "string"
                            ],
                            "securityType": "string",
                            "vmknicToBind": "string",
                            "vmknicBound": false,
                            "connections": 0
                        }
                    }
                ],
                "network": {
                    "vswitch": [
                        {
                            "_typeName": "string",
                            "changeOperation": "string",
                            "name": "string",
                            "spec": {
                                "numPorts": 0,
                                "bridge": {
                                    "_typeName": "string"
                                },
                                "policy": {
                                    "security": {
                                        "allowPromiscuous": false,
                                        "macChanges": false,
                                        "forgedTransmits": false
                                    },
                                    "nicTeaming": {
                                        "policy": "string",
                                        "reversePolicy": false,
                                        "notifySwitches": false,
                                        "rollingOrder": false,
                                        "failureCriteria": {
                                            "checkSpeed": "string",
                                            "speed": 0,
                                            "checkDuplex": false,
                                            "fullDuplex": false,
                                            "checkErrorPercent": false,
                                            "percentage": 0,
                                            "checkBeacon": false
                                        },
                                        "nicOrder": {
                                            "activeNic": [
                                                "string"
                                            ],
                                            "standbyNic": [
                                                "string"
                                            ]
                                        }
                                    },
                                    "offloadPolicy": {
                                        "csumOffload": false,
                                        "tcpSegmentation": false,
                                        "zeroCopyXmit": false
                                    },
                                    "shapingPolicy": {
                                        "enabled": false,
                                        "averageBandwidth": 0,
                                        "peakBandwidth": 0,
                                        "burstSize": 0
                                    }
                                },
                                "mtu": 0
                            }
                        }
                    ],
                    "proxySwitch": [
                        {
                            "_typeName": "string",
                            "changeOperation": "string",
                            "uuid": "string",
                            "spec": {
                                "backing": {
                                    "_typeName": "string"
                                }
                            }
                        }
                    ],
                    "portgroup": [
                        {
                            "_typeName": "string",
                            "changeOperation": "string",
                            "spec": {
                                "name": "string",
                                "vlanId": 0,
                                "vswitchName": "string",
                                "policy": {
                                    "security": {
                                        "allowPromiscuous": false,
                                        "macChanges": false,
                                        "forgedTransmits": false
                                    },
                                    "nicTeaming": {
                                        "policy": "string",
                                        "reversePolicy": false,
                                        "notifySwitches": false,
                                        "rollingOrder": false,
                                        "failureCriteria": {
                                            "checkSpeed": "string",
                                            "speed": 0,
                                            "checkDuplex": false,
                                            "fullDuplex": false,
                                            "checkErrorPercent": false,
                                            "percentage": 0,
                                            "checkBeacon": false
                                        },
                                        "nicOrder": {
                                            "activeNic": [
                                                "string"
                                            ],
                                            "standbyNic": [
                                                "string"
                                            ]
                                        }
                                    },
                                    "offloadPolicy": {
                                        "csumOffload": false,
                                        "tcpSegmentation": false,
                                        "zeroCopyXmit": false
                                    },
                                    "shapingPolicy": {
                                        "enabled": false,
                                        "averageBandwidth": 0,
                                        "peakBandwidth": 0,
                                        "burstSize": 0
                                    }
                                }
                            }
                        }
                    ],
                    "pnic": [
                        {
                            "_typeName": "string",
                            "device": "string",
                            "spec": {
                                "ip": {
                                    "dhcp": false,
                                    "ipAddress": "string",
                                    "subnetMask": "string",
                                    "ipV6Config": {
                                        "ipV6Address": [
                                            {
                                                "_typeName": "string",
                                                "ipAddress": "string",
                                                "prefixLength": 0,
                                                "origin": "string",
                                                "dadState": "string",
                                                "lifetime": "string",
                                                "operation": "string"
                                            }
                                        ],
                                        "autoConfigurationEnabled": false,
                                        "dhcpV6Enabled": false
                                    }
                                },
                                "linkSpeed": {
                                    "speedMb": 0,
                                    "duplex": false
                                },
                                "enableEnhancedNetworkingStack": false,
                                "ensInterruptEnabled": false
                            }
                        }
                    ],
                    "vnic": [
                        {
                            "_typeName": "string",
                            "changeOperation": "string",
                            "device": "string",
                            "portgroup": "string",
                            "spec": {
                                "dynamicProperty": [
                                    {
                                        "_typeName": "string",
                                        "name": "string",
                                        "val": {
                                            "_typeName": "string"
                                        }
                                    }
                                ],
                                "ip": {
                                    "dhcp": false,
                                    "ipAddress": "string",
                                    "subnetMask": "string",
                                    "ipV6Config": {
                                        "ipV6Address": [
                                            {
                                                "_typeName": "string",
                                                "ipAddress": "string",
                                                "prefixLength": 0,
                                                "origin": "string",
                                                "dadState": "string",
                                                "lifetime": "string",
                                                "operation": "string"
                                            }
                                        ],
                                        "autoConfigurationEnabled": false,
                                        "dhcpV6Enabled": false
                                    }
                                },
                                "mac": "string",
                                "distributedVirtualPort": {
                                    "switchUuid": "string",
                                    "portgroupKey": "string",
                                    "portKey": "string",
                                    "connectionCookie": 0
                                },
                                "portgroup": "string",
                                "mtu": 0,
                                "tsoEnabled": false,
                                "netStackInstanceKey": "string",
                                "opaqueNetwork": {
                                    "opaqueNetworkId": "string",
                                    "opaqueNetworkType": "string"
                                },
                                "externalId": "string",
                                "pinnedPnic": "string",
                                "ipRouteSpec": {
                                    "ipRouteConfig": {
                                        "defaultGateway": "string",
                                        "gatewayDevice": "string",
                                        "ipV6DefaultGateway": "string",
                                        "ipV6GatewayDevice": "string"
                                    }
                                },
                                "systemOwned": false,
                                "dpuId": "string"
                            }
                        }
                    ],
                    "consoleVnic": [
                        {
                            "_typeName": "string",
                            "changeOperation": "string",
                            "device": "string",
                            "portgroup": "string",
                            "spec": {
                                "dynamicProperty": [
                                    {
                                        "_typeName": "string",
                                        "name": "string",
                                        "val": {
                                            "_typeName": "string"
                                        }
                                    }
                                ],
                                "ip": {
                                    "dhcp": false,
                                    "ipAddress": "string",
                                    "subnetMask": "string",
                                    "ipV6Config": {
                                        "ipV6Address": [
                                            {
                                                "_typeName": "string",
                                                "ipAddress": "string",
                                                "prefixLength": 0,
                                                "origin": "string",
                                                "dadState": "string",
                                                "lifetime": "string",
                                                "operation": "string"
                                            }
                                        ],
                                        "autoConfigurationEnabled": false,
                                        "dhcpV6Enabled": false
                                    }
                                },
                                "mac": "string",
                                "distributedVirtualPort": {
                                    "switchUuid": "string",
                                    "portgroupKey": "string",
                                    "portKey": "string",
                                    "connectionCookie": 0
                                },
                                "portgroup": "string",
                                "mtu": 0,
                                "tsoEnabled": false,
                                "netStackInstanceKey": "string",
                                "opaqueNetwork": {
                                    "opaqueNetworkId": "string",
                                    "opaqueNetworkType": "string"
                                },
                                "externalId": "string",
                                "pinnedPnic": "string",
                                "ipRouteSpec": {
                                    "ipRouteConfig": {
                                        "defaultGateway": "string",
                                        "gatewayDevice": "string",
                                        "ipV6DefaultGateway": "string",
                                        "ipV6GatewayDevice": "string"
                                    }
                                },
                                "systemOwned": false,
                                "dpuId": "string"
                            }
                        }
                    ],
                    "dnsConfig": {
                        "dhcp": false,
                        "virtualNicDevice": "string",
                        "ipv6VirtualNicDevice": "string",
                        "hostName": "string",
                        "domainName": "string",
                        "address": [
                            "string"
                        ],
                        "searchDomain": [
                            "string"
                        ]
                    },
                    "ipRouteConfig": {
                        "defaultGateway": "string",
                        "gatewayDevice": "string",
                        "ipV6DefaultGateway": "string",
                        "ipV6GatewayDevice": "string"
                    },
                    "consoleIpRouteConfig": {
                        "defaultGateway": "string",
                        "gatewayDevice": "string",
                        "ipV6DefaultGateway": "string",
                        "ipV6GatewayDevice": "string"
                    },
                    "routeTableConfig": {
                        "ipRoute": [
                            {
                                "_typeName": "string",
                                "changeOperation": "string",
                                "route": {
                                    "network": "string",
                                    "prefixLength": 0,
                                    "gateway": "string",
                                    "deviceName": "string"
                                }
                            }
                        ],
                        "ipv6Route": [
                            {
                                "_typeName": "string",
                                "changeOperation": "string",
                                "route": {
                                    "network": "string",
                                    "prefixLength": 0,
                                    "gateway": "string",
                                    "deviceName": "string"
                                }
                            }
                        ]
                    },
                    "dhcp": [
                        {
                            "_typeName": "string",
                            "changeOperation": "string",
                            "key": "string",
                            "spec": {
                                "virtualSwitch": "string",
                                "defaultLeaseDuration": 0,
                                "leaseBeginIp": "string",
                                "leaseEndIp": "string",
                                "maxLeaseDuration": 0,
                                "unlimitedLease": false,
                                "ipSubnetAddr": "string",
                                "ipSubnetMask": "string"
                            }
                        }
                    ],
                    "nat": [
                        {
                            "_typeName": "string",
                            "changeOperation": "string",
                            "key": "string",
                            "spec": {
                                "virtualSwitch": "string",
                                "activeFtp": false,
                                "allowAnyOui": false,
                                "configPort": false,
                                "ipGatewayAddress": "string",
                                "udpTimeout": 0,
                                "portForward": [
                                    {
                                        "_typeName": "string",
                                        "type": "string",
                                        "name": "string",
                                        "hostPort": 0,
                                        "guestPort": 0,
                                        "guestIpAddress": "string"
                                    }
                                ],
                                "nameService": {
                                    "dnsAutoDetect": false,
                                    "dnsPolicy": "string",
                                    "dnsRetries": 0,
                                    "dnsTimeout": 0,
                                    "dnsNameServer": [
                                        "string"
                                    ],
                                    "nbdsTimeout": 0,
                                    "nbnsRetries": 0,
                                    "nbnsTimeout": 0
                                }
                            }
                        }
                    ],
                    "ipV6Enabled": false,
                    "netStackSpec": [
                        {
                            "_typeName": "string",
                            "netStackInstance": {
                                "key": "string",
                                "name": "string",
                                "dnsConfig": {
                                    "dhcp": false,
                                    "virtualNicDevice": "string",
                                    "ipv6VirtualNicDevice": "string",
                                    "hostName": "string",
                                    "domainName": "string",
                                    "address": [
                                        "string"
                                    ],
                                    "searchDomain": [
                                        "string"
                                    ]
                                },
                                "ipRouteConfig": {
                                    "defaultGateway": "string",
                                    "gatewayDevice": "string",
                                    "ipV6DefaultGateway": "string",
                                    "ipV6GatewayDevice": "string"
                                },
                                "requestedMaxNumberOfConnections": 0,
                                "congestionControlAlgorithm": "string",
                                "ipV6Enabled": false,
                                "routeTableConfig": {
                                    "ipRoute": [
                                        {
                                            "_typeName": "string",
                                            "changeOperation": "string",
                                            "route": {
                                                "network": "string",
                                                "prefixLength": 0,
                                                "gateway": "string",
                                                "deviceName": "string"
                                            }
                                        }
                                    ],
                                    "ipv6Route": [
                                        {
                                            "_typeName": "string",
                                            "changeOperation": "string",
                                            "route": {
                                                "network": "string",
                                                "prefixLength": 0,
                                                "gateway": "string",
                                                "deviceName": "string"
                                            }
                                        }
                                    ]
                                }
                            },
                            "operation": "string"
                        }
                    ],
                    "migrationStatus": "string"
                },
                "nicTypeSelection": [
                    {
                        "_typeName": "string",
                        "vnic": {
                            "portgroup": "string",
                            "dvPort": {
                                "switchUuid": "string",
                                "portgroupKey": "string",
                                "portKey": "string",
                                "connectionCookie": 0
                            },
                            "opNetwork": {
                                "opaqueNetworkId": "string",
                                "opaqueNetworkType": "string"
                            }
                        },
                        "nicType": [
                            "string"
                        ]
                    }
                ],
                "service": [
                    {
                        "_typeName": "string",
                        "serviceId": "string",
                        "startupPolicy": "string"
                    }
                ],
                "firewall": {
                    "rule": [
                        {
                            "_typeName": "string",
                            "rulesetId": "string",
                            "enabled": false,
                            "allowedHosts": {
                                "ipAddress": [
                                    "string"
                                ],
                                "ipNetwork": [
                                    {
                                        "_typeName": "string",
                                        "network": "string",
                                        "prefixLength": 0
                                    }
                                ],
                                "allIp": false
                            }
                        }
                    ],
                    "defaultBlockingPolicy": {
                        "incomingBlocked": false,
                        "outgoingBlocked": false
                    }
                },
                "option": [
                    {
                        "_typeName": "string",
                        "key": "string",
                        "value": {
                            "_typeName": "string"
                        }
                    }
                ],
                "datastorePrincipal": "string",
                "datastorePrincipalPasswd": "string",
                "datetime": {
                    "timeZone": "string",
                    "ntpConfig": {
                        "server": [
                            "string"
                        ],
                        "configFile": [
                            "string"
                        ]
                    },
                    "ptpConfig": {
                        "domain": 0,
                        "port": [
                            {
                                "_typeName": "string",
                                "index": 0,
                                "deviceType": "string",
                                "device": "string",
                                "ipConfig": {
                                    "dhcp": false,
                                    "ipAddress": "string",
                                    "subnetMask": "string",
                                    "ipV6Config": {
                                        "ipV6Address": [
                                            {
                                                "_typeName": "string",
                                                "ipAddress": "string",
                                                "prefixLength": 0,
                                                "origin": "string",
                                                "dadState": "string",
                                                "lifetime": "string",
                                                "operation": "string"
                                            }
                                        ],
                                        "autoConfigurationEnabled": false,
                                        "dhcpV6Enabled": false
                                    }
                                }
                            }
                        ]
                    },
                    "protocol": "string",
                    "enabled": false,
                    "disableEvents": false,
                    "disableFallback": false,
                    "resetToFactoryDefaults": false
                },
                "storageDevice": {
                    "hostBusAdapter": [
                        {
                            "_typeName": "string",
                            "key": "string",
                            "device": "string",
                            "bus": 0,
                            "status": "string",
                            "model": "string",
                            "driver": "string",
                            "pci": "string",
                            "storageProtocol": "string"
                        }
                    ],
                    "scsiLun": [
                        {
                            "_typeName": "string",
                            "deviceName": "string",
                            "deviceType": "string",
                            "key": "string",
                            "uuid": "string",
                            "descriptor": [
                                {
                                    "_typeName": "string",
                                    "quality": "string",
                                    "id": "string"
                                }
                            ],
                            "canonicalName": "string",
                            "displayName": "string",
                            "lunType": "string",
                            "vendor": "string",
                            "model": "string",
                            "revision": "string",
                            "scsiLevel": 0,
                            "serialNumber": "string",
                            "durableName": {
                                "namespace": "string",
                                "namespaceId": 0,
                                "data": [
                                    0
                                ]
                            },
                            "alternateName": [
                                {
                                    "_typeName": "string",
                                    "namespace": "string",
                                    "namespaceId": 0,
                                    "data": [
                                        0
                                    ]
                                }
                            ],
                            "standardInquiry": [
                                0
                            ],
                            "queueDepth": 0,
                            "operationalState": [
                                "string"
                            ],
                            "capabilities": {
                                "updateDisplayNameSupported": false
                            },
                            "vStorageSupport": "string",
                            "protocolEndpoint": false,
                            "perenniallyReserved": false,
                            "clusteredVmdkSupported": false,
                            "applicationProtocol": "string",
                            "dispersedNs": false
                        }
                    ],
                    "scsiTopology": {
                        "adapter": [
                            {
                                "_typeName": "string",
                                "key": "string",
                                "adapter": {
                                    "key": "string",
                                    "device": "string",
                                    "bus": 0,
                                    "status": "string",
                                    "model": "string",
                                    "driver": "string",
                                    "pci": "string",
                                    "storageProtocol": "string"
                                },
                                "target": [
                                    {
                                        "_typeName": "string",
                                        "key": "string",
                                        "target": 0,
                                        "lun": [
                                            {
                                                "_typeName": "string",
                                                "key": "string",
                                                "lun": 0,
                                                "scsiLun": {
                                                    "key": "string",
                                                    "uuid": "string",
                                                    "descriptor": [
                                                        {
                                                            "_typeName": "string",
                                                            "quality": "string",
                                                            "id": "string"
                                                        }
                                                    ],
                                                    "canonicalName": "string",
                                                    "displayName": "string",
                                                    "lunType": "string",
                                                    "vendor": "string",
                                                    "model": "string",
                                                    "revision": "string",
                                                    "scsiLevel": 0,
                                                    "serialNumber": "string",
                                                    "durableName": {
                                                        "namespace": "string",
                                                        "namespaceId": 0,
                                                        "data": [
                                                            0
                                                        ]
                                                    },
                                                    "alternateName": [
                                                        {
                                                            "_typeName": "string",
                                                            "namespace": "string",
                                                            "namespaceId": 0,
                                                            "data": [
                                                                0
                                                            ]
                                                        }
                                                    ],
                                                    "standardInquiry": [
                                                        0
                                                    ],
                                                    "queueDepth": 0,
                                                    "operationalState": [
                                                        "string"
                                                    ],
                                                    "capabilities": {
                                                        "updateDisplayNameSupported": false
                                                    },
                                                    "vStorageSupport": "string",
                                                    "protocolEndpoint": false,
                                                    "perenniallyReserved": false,
                                                    "clusteredVmdkSupported": false,
                                                    "applicationProtocol": "string",
                                                    "dispersedNs": false
                                                }
                                            }
                                        ],
                                        "transport": {
                                            "_typeName": "string"
                                        }
                                    }
                                ]
                            }
                        ]
                    },
                    "nvmeTopology": {
                        "adapter": [
                            {
                                "_typeName": "string",
                                "key": "string",
                                "adapter": {
                                    "key": "string",
                                    "device": "string",
                                    "bus": 0,
                                    "status": "string",
                                    "model": "string",
                                    "driver": "string",
                                    "pci": "string",
                                    "storageProtocol": "string"
                                },
                                "connectedController": [
                                    {
                                        "_typeName": "string",
                                        "key": "string",
                                        "controllerNumber": 0,
                                        "subnqn": "string",
                                        "name": "string",
                                        "associatedAdapter": {
                                            "key": "string",
                                            "device": "string",
                                            "bus": 0,
                                            "status": "string",
                                            "model": "string",
                                            "driver": "string",
                                            "pci": "string",
                                            "storageProtocol": "string"
                                        },
                                        "transportType": "string",
                                        "fusedOperationSupported": false,
                                        "numberOfQueues": 0,
                                        "queueSize": 0,
                                        "attachedNamespace": [
                                            {
                                                "_typeName": "string",
                                                "key": "string",
                                                "name": "string",
                                                "id": 0,
                                                "blockSize": 0,
                                                "capacityInBlocks": 0
                                            }
                                        ],
                                        "vendorId": "string",
                                        "model": "string",
                                        "serialNumber": "string",
                                        "firmwareVersion": "string"
                                    }
                                ]
                            }
                        ]
                    },
                    "multipathInfo": {
                        "lun": [
                            {
                                "_typeName": "string",
                                "key": "string",
                                "id": "string",
                                "lun": {
                                    "key": "string",
                                    "uuid": "string",
                                    "descriptor": [
                                        {
                                            "_typeName": "string",
                                            "quality": "string",
                                            "id": "string"
                                        }
                                    ],
                                    "canonicalName": "string",
                                    "displayName": "string",
                                    "lunType": "string",
                                    "vendor": "string",
                                    "model": "string",
                                    "revision": "string",
                                    "scsiLevel": 0,
                                    "serialNumber": "string",
                                    "durableName": {
                                        "namespace": "string",
                                        "namespaceId": 0,
                                        "data": [
                                            0
                                        ]
                                    },
                                    "alternateName": [
                                        {
                                            "_typeName": "string",
                                            "namespace": "string",
                                            "namespaceId": 0,
                                            "data": [
                                                0
                                            ]
                                        }
                                    ],
                                    "standardInquiry": [
                                        0
                                    ],
                                    "queueDepth": 0,
                                    "operationalState": [
                                        "string"
                                    ],
                                    "capabilities": {
                                        "updateDisplayNameSupported": false
                                    },
                                    "vStorageSupport": "string",
                                    "protocolEndpoint": false,
                                    "perenniallyReserved": false,
                                    "clusteredVmdkSupported": false,
                                    "applicationProtocol": "string",
                                    "dispersedNs": false
                                },
                                "path": [
                                    "HostMultipathInfoPath Object"
                                ],
                                "policy": {
                                    "policy": "string"
                                },
                                "storageArrayTypePolicy": {
                                    "policy": "string"
                                }
                            }
                        ]
                    },
                    "plugStoreTopology": {
                        "adapter": [
                            {
                                "_typeName": "string",
                                "key": "string",
                                "adapter": {
                                    "key": "string",
                                    "device": "string",
                                    "bus": 0,
                                    "status": "string",
                                    "model": "string",
                                    "driver": "string",
                                    "pci": "string",
                                    "storageProtocol": "string"
                                },
                                "path": [
                                    "HostPlugStoreTopologyPath Object"
                                ]
                            }
                        ],
                        "path": [
                            {
                                "_typeName": "string",
                                "key": "string",
                                "name": "string",
                                "channelNumber": 0,
                                "targetNumber": 0,
                                "lunNumber": 0,
                                "adapter": "HostPlugStoreTopologyAdapter Object",
                                "target": {
                                    "key": "string",
                                    "transport": {
                                        "_typeName": "string"
                                    }
                                },
                                "device": "HostPlugStoreTopologyDevice Object"
                            }
                        ],
                        "target": [
                            {
                                "_typeName": "string",
                                "key": "string",
                                "transport": {
                                    "_typeName": "string"
                                }
                            }
                        ],
                        "device": [
                            {
                                "_typeName": "string",
                                "key": "string",
                                "lun": {
                                    "key": "string",
                                    "uuid": "string",
                                    "descriptor": [
                                        {
                                            "_typeName": "string",
                                            "quality": "string",
                                            "id": "string"
                                        }
                                    ],
                                    "canonicalName": "string",
                                    "displayName": "string",
                                    "lunType": "string",
                                    "vendor": "string",
                                    "model": "string",
                                    "revision": "string",
                                    "scsiLevel": 0,
                                    "serialNumber": "string",
                                    "durableName": {
                                        "namespace": "string",
                                        "namespaceId": 0,
                                        "data": [
                                            0
                                        ]
                                    },
                                    "alternateName": [
                                        {
                                            "_typeName": "string",
                                            "namespace": "string",
                                            "namespaceId": 0,
                                            "data": [
                                                0
                                            ]
                                        }
                                    ],
                                    "standardInquiry": [
                                        0
                                    ],
                                    "queueDepth": 0,
                                    "operationalState": [
                                        "string"
                                    ],
                                    "capabilities": {
                                        "updateDisplayNameSupported": false
                                    },
                                    "vStorageSupport": "string",
                                    "protocolEndpoint": false,
                                    "perenniallyReserved": false,
                                    "clusteredVmdkSupported": false,
                                    "applicationProtocol": "string",
                                    "dispersedNs": false
                                },
                                "path": [
                                    "HostPlugStoreTopologyPath Object"
                                ]
                            }
                        ],
                        "plugin": [
                            {
                                "_typeName": "string",
                                "key": "string",
                                "name": "string",
                                "device": [
                                    {
                                        "_typeName": "string",
                                        "key": "string",
                                        "lun": {
                                            "key": "string",
                                            "uuid": "string",
                                            "descriptor": [
                                                {
                                                    "_typeName": "string",
                                                    "quality": "string",
                                                    "id": "string"
                                                }
                                            ],
                                            "canonicalName": "string",
                                            "displayName": "string",
                                            "lunType": "string",
                                            "vendor": "string",
                                            "model": "string",
                                            "revision": "string",
                                            "scsiLevel": 0,
                                            "serialNumber": "string",
                                            "durableName": {
                                                "namespace": "string",
                                                "namespaceId": 0,
                                                "data": [
                                                    0
                                                ]
                                            },
                                            "alternateName": [
                                                {
                                                    "_typeName": "string",
                                                    "namespace": "string",
                                                    "namespaceId": 0,
                                                    "data": [
                                                        0
                                                    ]
                                                }
                                            ],
                                            "standardInquiry": [
                                                0
                                            ],
                                            "queueDepth": 0,
                                            "operationalState": [
                                                "string"
                                            ],
                                            "capabilities": {
                                                "updateDisplayNameSupported": false
                                            },
                                            "vStorageSupport": "string",
                                            "protocolEndpoint": false,
                                            "perenniallyReserved": false,
                                            "clusteredVmdkSupported": false,
                                            "applicationProtocol": "string",
                                            "dispersedNs": false
                                        },
                                        "path": [
                                            "HostPlugStoreTopologyPath Object"
                                        ]
                                    }
                                ],
                                "claimedPath": [
                                    {
                                        "_typeName": "string",
                                        "key": "string",
                                        "name": "string",
                                        "channelNumber": 0,
                                        "targetNumber": 0,
                                        "lunNumber": 0,
                                        "adapter": "HostPlugStoreTopologyAdapter Object",
                                        "target": {
                                            "key": "string",
                                            "transport": {
                                                "_typeName": "string"
                                            }
                                        },
                                        "device": "HostPlugStoreTopologyDevice Object"
                                    }
                                ]
                            }
                        ]
                    },
                    "softwareInternetScsiEnabled": false
                },
                "license": {
                    "source": {
                        "_typeName": "string"
                    },
                    "editionKey": "string",
                    "disabledFeatureKey": [
                        "string"
                    ],
                    "enabledFeatureKey": [
                        "string"
                    ]
                },
                "security": {
                    "adminPassword": "string",
                    "removePermission": [
                        {
                            "_typeName": "string",
                            "entity": {
                                "type": "string",
                                "value": "string"
                            },
                            "principal": "string",
                            "group": false,
                            "roleId": 0,
                            "propagate": false
                        }
                    ],
                    "addPermission": [
                        {
                            "_typeName": "string",
                            "entity": {
                                "type": "string",
                                "value": "string"
                            },
                            "principal": "string",
                            "group": false,
                            "roleId": 0,
                            "propagate": false
                        }
                    ]
                },
                "userAccount": [
                    {
                        "_typeName": "string",
                        "id": "string",
                        "password": "string",
                        "description": "string"
                    }
                ],
                "usergroupAccount": [
                    {
                        "_typeName": "string",
                        "id": "string",
                        "password": "string",
                        "description": "string"
                    }
                ],
                "memory": {
                    "serviceConsoleReservation": 0
                },
                "activeDirectory": [
                    {
                        "_typeName": "string",
                        "changeOperation": "string",
                        "spec": {
                            "domainName": "string",
                            "userName": "string",
                            "password": "string",
                            "camServer": "string",
                            "thumbprint": "string",
                            "smartCardAuthenticationEnabled": false,
                            "smartCardTrustAnchors": [
                                "string"
                            ]
                        }
                    }
                ],
                "genericConfig": [
                    {
                        "_typeName": "string",
                        "key": "string",
                        "value": {
                            "_typeName": "string"
                        }
                    }
                ],
                "graphicsConfig": {
                    "hostDefaultGraphicsType": "string",
                    "sharedPassthruAssignmentPolicy": "string",
                    "deviceType": [
                        {
                            "_typeName": "string",
                            "deviceId": "string",
                            "graphicsType": "string"
                        }
                    ]
                },
                "assignableHardwareConfig": {
                    "attributeOverride": [
                        {
                            "_typeName": "string",
                            "instanceId": "string",
                            "name": "string",
                            "value": {
                                "_typeName": "string"
                            }
                        }
                    ]
                }
            },
            "inapplicablePath": [
                "string"
            ],
            "requireInput": [
                {
                    "_typeName": "string",
                    "inputPath": {
                        "profilePath": "string",
                        "policyId": "string",
                        "parameterId": "string",
                        "policyOptionId": "string"
                    },
                    "parameter": [
                        {
                            "_typeName": "string",
                            "key": "string",
                            "value": {
                                "_typeName": "string"
                            }
                        }
                    ]
                }
            ],
            "error": [
                {
                    "_typeName": "string",
                    "path": {
                        "profilePath": "string",
                        "policyId": "string",
                        "parameterId": "string",
                        "policyOptionId": "string"
                    },
                    "message": {
                        "key": "string",
                        "arg": [
                            {
                                "_typeName": "string",
                                "key": "string",
                                "value": {
                                    "_typeName": "string"
                                }
                            }
                        ],
                        "message": "string"
                    }
                }
            ],
            "host": {
                "type": "string",
                "value": "string"
            },
            "taskListRequirement": [
                "string"
            ],
            "taskDescription": [
                {
                    "_typeName": "string",
                    "key": "string",
                    "arg": [
                        {
                            "_typeName": "string",
                            "key": "string",
                            "value": {
                                "_typeName": "string"
                            }
                        }
                    ],
                    "message": "string"
                }
            ],
            "rebootStateless": false,
            "rebootHost": false,
            "faultData": {
                "faultCause": "MethodFault Object",
                "faultMessage": [
                    {
                        "_typeName": "string",
                        "key": "string",
                        "arg": [
                            {
                                "_typeName": "string",
                                "key": "string",
                                "value": {
                                    "_typeName": "string"
                                }
                            }
                        ],
                        "message": "string"
                    }
                ]
            }
        }
    ]
}
applyConfigSpecs
Optional

An array of ApplyHostProfileConfigurationSpec objects. Each applyConfigSpecs object contains the data objects required to remediate a host. The API caller should expand a cluster to all its hosts for the purpose of providing the required data object for configuration apply of each host.

Authentication
This operation uses the following authentication methods.
Responses
200

This method returns a Task object with which to monitor the operation. If the task is successful, the Task.info.result property is an array of ApplyHostProfileConfigurationResult objects. Each ApplyHostProfileConfigurationResult is for each host in the provided host list.

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