appliance update pending: question

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

Representation:

{
    "allowed_values"[
        "string",
        "string"
    ],
    "data_item""obj-103",
    "default_answer""string",
    "description"{
        "args"[
            "string",
            "string"
        ],
        "default_message""string",
        "id""string"
    },
    "regexp""string",
    "text"{
        "args"[
            "string",
            "string"
        ],
        "default_message""string",
        "id""string"
    },
    "type""PLAIN_TEXT"
}

Attributes:

Name Type Description
Required
data_item string 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 localizable_message Label for the item to be used in GUI/CLI

description localizable_message Description of the item

type string How this field shoudl be represented in GUI or CLI

Defines representation of field fields in GUI or CLI Value is one of:
PLAIN_TEXT: plain text answer
BOOLEAN: Yes/No,On/Off,Checkbox answer
PASSWORD: Password (masked) answer

Optional
allowed_values string[] List of allowed values

Optional. It is only relevant when type has value [PLAIN_TEXT]. allowedValues If unset any value is valid.

regexp string Regexp to validate the input

Optional. It is only relevant when type has value [PLAIN_TEXT]. regexp If unset no validation will be performed.

default_answer string Default answer

Optional. It is only relevant when type has value [PLAIN_TEXT]. defaultAnswer If unset then there is no default answer, so an explicit answer must be provided.