Update Hostconfigprofiles

Update Hostconfigprofiles

Api to Update HostconfigProfiles

Request
URI
PUT
https://{api_host}/tca/hostcustomization/api/v1/hostprofiles
COPY
Request Body

update hostconfigprofiles

Array of hostconfigProfile of type(s) application/json
Optional
[
    {
        "name": "string",
        "advanceSystemSettings": {
            "attributes": [
                {
                    "key": "string",
                    "value": "string"
                }
            ]
        },
        "biosSetting": {
            "attributes": [
                {
                    "key": "string",
                    "value": "string"
                }
            ]
        },
        "cpuPowerManagementSpec": [
            {
                "type": "string",
                "value": "string"
            }
        ],
        "firmwares": [
            {
                "softwareId": "string",
                "version": "string",
                "location": "string",
                "checksum": "string",
                "name": "string"
            }
        ],
        "pciDevices": [
            {
                "filters": [
                    {
                        "numaId": 0,
                        "vendorId": "string",
                        "deviceIds": [
                            "string"
                        ],
                        "indices": [
                            0
                        ],
                        "alias": "string"
                    }
                ],
                "actions": [
                    {
                        "maxVfs": 0,
                        "deviceType": "string",
                        "type": "string",
                        "passthroughEnabled": false,
                        "attributes": [
                            {}
                        ]
                    }
                ]
            }
        ],
        "pciGroups": [
            {
                "name": "string",
                "filters": [
                    {
                        "isVf": false,
                        "deviceIds": [
                            "string"
                        ],
                        "vendorId": "string",
                        "sriovEnabled": false,
                        "numaId": 0,
                        "indices": [
                            0
                        ],
                        "alias": "string"
                    }
                ]
            }
        ],
        "reservation": {
            "reservedCoresPerNumaNode": 0,
            "reservedMemoryPerNumaNode": 0,
            "minCoresForCPUReservationPerNumaNode": 0
        }
    }
]
Authentication
This operation uses the following authentication methods.
Responses
201

Successfully update hostconfig profiles.

Returns Array of hostconfigProfile of type(s) application/json
[
    {
        "name": "string",
        "advanceSystemSettings": {
            "attributes": [
                {
                    "key": "string",
                    "value": "string"
                }
            ]
        },
        "biosSetting": {
            "attributes": [
                {
                    "key": "string",
                    "value": "string"
                }
            ]
        },
        "cpuPowerManagementSpec": [
            {
                "type": "string",
                "value": "string"
            }
        ],
        "firmwares": [
            {
                "softwareId": "string",
                "version": "string",
                "location": "string",
                "checksum": "string",
                "name": "string"
            }
        ],
        "pciDevices": [
            {
                "filters": [
                    {
                        "numaId": 0,
                        "vendorId": "string",
                        "deviceIds": [
                            "string"
                        ],
                        "indices": [
                            0
                        ],
                        "alias": "string"
                    }
                ],
                "actions": [
                    {
                        "maxVfs": 0,
                        "deviceType": "string",
                        "type": "string",
                        "passthroughEnabled": false,
                        "attributes": [
                            {}
                        ]
                    }
                ]
            }
        ],
        "pciGroups": [
            {
                "name": "string",
                "filters": [
                    {
                        "isVf": false,
                        "deviceIds": [
                            "string"
                        ],
                        "vendorId": "string",
                        "sriovEnabled": false,
                        "numaId": 0,
                        "indices": [
                            0
                        ],
                        "alias": "string"
                    }
                ]
            }
        ],
        "reservation": {
            "reservedCoresPerNumaNode": 0,
            "reservedMemoryPerNumaNode": 0,
            "minCoresForCPUReservationPerNumaNode": 0
        }
    }
]

400
Returns BadRequest of type(s) application/json
{
    "errors": [
        {
            "code": "string",
            "message": "string"
        }
    ]
}
array of error
errors
Optional

errors


500
Returns InternalServerError of type(s) application/json
{
    "errors": [
        {
            "code": "string",
            "message": "string"
        }
    ]
}
array of error
errors
Optional

errors