Update_Pending_Question

Update_Pending_Question
Update_Pending_Question

The Pending.Question structure describes a item of information that must be provided by the user in order to install the update.

JSON Example
{
    "data_item": "string",
    "text": {
        "id": "string",
        "default_message": "string",
        "args": [
            "string"
        ],
        "localized": "string"
    },
    "description": {
        "id": "string",
        "default_message": "string",
        "args": [
            "string"
        ],
        "localized": "string"
    },
    "type": "string",
    "allowed_values": [
        "string"
    ],
    "regexp": "string",
    "default_answer": "string"
}
string
data_item
Required

ID of the data item When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.applicance.update.pending.dataitem. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.applicance.update.pending.dataitem.

text
Required

The LocalizableMessage structure represents localizable string and message template. Services include one or more localizable message templates in the errors they report so that clients can display diagnostic messages in the native language of the user. Services can include localizable strings in the data returned from operations to allow clients to display localized status information in the native language of the user.

description
Required

The LocalizableMessage structure represents localizable string and message template. Services include one or more localizable message templates in the errors they report so that clients can display diagnostic messages in the native language of the user. Services can include localizable strings in the data returned from operations to allow clients to display localized status information in the native language of the user.

type
Required

The Pending.Question.InputType enumerated type defines representation of field fields in GUI or CLI
PLAIN_TEXT : plain text answer
BOOLEAN : Yes/No,On/Off,Checkbox answer
PASSWORD : Password (masked) answer

array of string
allowed_values
Optional

List of allowed values allowedValues If unset any value is valid.

string
regexp
Optional

Regexp to validate the input regexp If unset no validation will be performed.

string
default_answer
Optional

Default answer defaultAnswer If unset then there is no default answer, so an explicit answer must be provided