Update Host Config Profiles

Update Host Config Profiles

This API is to be used for updating the host config profiles.

Request
URI
PUT
https://{api_host}/hybridity/api/ztp/v1/host-config-profiles
COPY
Request Body

The request payload for Update host config profiles API.

InlineZtpV1HostConfigProfilesRequestBody of type(s) application/json
Required
{
    "hostProfiles": [
        {
            "id": "string",
            "version": 0,
            "name": "hcp-1",
            "advanceSystemSettings": {
                "attributes": [
                    {
                        "key": "string",
                        "value": "string"
                    }
                ]
            },
            "biosSetting": {
                "attributes": [
                    {
                        "key": "string",
                        "value": "string"
                    }
                ]
            },
            "cpuPowerManagementSpec": [
                {
                    "type": "string",
                    "value": "string"
                }
            ],
            "firmwares": [
                {
                    "name": "string",
                    "softwareId": "string",
                    "version": "string",
                    "location": "string",
                    "checksum": "string"
                }
            ],
            "pciDevices": [
                {
                    "filters": [
                        {
                            "numaId": 0,
                            "vendorId": "string",
                            "deviceIds": [
                                "string"
                            ],
                            "indices": [
                                0
                            ],
                            "alias": "string"
                        }
                    ],
                    "actions": [
                        {
                            "type": "string",
                            "maxVfs": 0,
                            "passthroughEnabled": false,
                            "deviceType": "string",
                            "attributes": [
                                {
                                    "key": "string",
                                    "value": "string"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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
            }
        }
    ]
}
array of object
hostProfiles
Required

hostProfiles

Authentication
This operation uses the following authentication methods.
Responses
200

The submitted host config profiles have been updated successfully.

Returns InlineZtpV1HostConfigProfiles200Response of type(s) application/json
{
    "warnings": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ],
    "errors": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ]
}
array of object
warnings
Optional

The list of warnings.

array of object
errors
Optional

The list of errors.


301

API endpoint has permanently moved.

Returns InlineZtpV1HostConfigProfiles301Response of type(s) application/json
{
    "redirectURL": "string"
}
string
redirectURL
Optional

redirectURL

Response Headers

string
Location

URI where the client will find the new endpoint.


400

Response may include details of why the request is bad.

Returns InlineZtpV1HostConfigProfiles400Response of type(s) application/json
{
    "warnings": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ],
    "errors": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ]
}
array of object
warnings
Optional

The list of warnings.

array of object
errors
Optional

The list of errors.


401

User is not authenticated to invoke this endpoint.

Operation doesn't return any data structure

403

User is not authorized to invoke this endpoint.

Operation doesn't return any data structure

422

The request payload couldn't be processed by the server.

Returns InlineZtpV1HostConfigProfiles422Response of type(s) application/json
{
    "warnings": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ],
    "errors": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ]
}
array of object
warnings
Optional

The list of warnings.

array of object
errors
Optional

The list of errors.


500

An internal server error has occurred.

Returns InlineZtpV1HostConfigProfiles500Response of type(s) application/json
{
    "warnings": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ],
    "errors": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ]
}
array of object
warnings
Optional

The list of warnings.

array of object
errors
Optional

The list of errors.