UpdatePendingQuestion

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


Properties

array of string
allowed_values Optional

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


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.


string
default_answer Optional

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


description Required

Description of the item


string
regexp Optional

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


text Required

Label for the item to be used in GUI/CLI


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

Possible values are: PLAIN_TEXTBOOLEANPASSWORD

JSON Example

{
	"data_item": "string",
	"description": {
		"args": [
			"string"
		],
		"default_message": "string",
		"id": "string"
	},
	"text": {
		"args": [
			"string"
		],
		"default_message": "string",
		"id": "string"
	},
	"type": "PLAIN_TEXT"
}

Feedback

Was this page helpful?