vcenter deployment question: question
The
question
structure contains fields to describe a deployment question. This structure was added in vSphere API 6.7.Representation:
{
"question" : {
"args" : [
"string",
"string"
],
"default_message" : "string",
"localized" : "string",
"id" : "string",
"params" : {
"<string>" : {
"dt" : "2015-01-01T22:13:05.651Z",
"s" : "string",
"d" : 1.5,
"precision" : 1,
"format" : "SHORT_DATE",
"i" : 1,
"l" : {
"id" : "string",
"params" : {
"<string>" : {
"dt" : "2015-01-01T22:13:05.651Z",
"s" : "string",
"d" : 1.5,
"precision" : 1,
"format" : "SHORT_DATE",
"i" : 1,
"l" : {
"id" : "string",
"params" : {}
}
}
}
}
}
}
},
"possible_answers" : [
"string",
"string"
],
"default_answer" : "string",
"id" : "string",
"type" : "YES_NO"
}
"question" : {
"args" : [
"string",
"string"
],
"default_message" : "string",
"localized" : "string",
"id" : "string",
"params" : {
"<string>" : {
"dt" : "2015-01-01T22:13:05.651Z",
"s" : "string",
"d" : 1.5,
"precision" : 1,
"format" : "SHORT_DATE",
"i" : 1,
"l" : {
"id" : "string",
"params" : {
"<string>" : {
"dt" : "2015-01-01T22:13:05.651Z",
"s" : "string",
"d" : 1.5,
"precision" : 1,
"format" : "SHORT_DATE",
"i" : 1,
"l" : {
"id" : "string",
"params" : {}
}
}
}
}
}
}
},
"possible_answers" : [
"string",
"string"
],
"default_answer" : "string",
"id" : "string",
"type" : "YES_NO"
}
{
"question" : {
"args" : [
"string",
"string"
],
"default_message" : "string",
"localized" : "string",
"id" : "string",
"params" : [
{
"value" : {
"dt" : "2015-01-01T22:13:05.651Z",
"s" : "string",
"d" : 1.5,
"precision" : 1,
"format" : "SHORT_DATE",
"i" : 1,
"l" : {
"id" : "string",
"params" : [
{
"value" : {
"dt" : "2015-01-01T22:13:05.651Z",
"s" : "string",
"d" : 1.5,
"precision" : 1,
"format" : "SHORT_DATE",
"i" : 1,
"l" : {
"id" : "string",
"params" : [
{
"key" : "string"
}
]
}
},
"key" : "string"
}
]
}
},
"key" : "string"
}
]
},
"possible_answers" : [
"string",
"string"
],
"default_answer" : "string",
"id" : "string",
"type" : "YES_NO"
}
"question" : {
"args" : [
"string",
"string"
],
"default_message" : "string",
"localized" : "string",
"id" : "string",
"params" : [
{
"value" : {
"dt" : "2015-01-01T22:13:05.651Z",
"s" : "string",
"d" : 1.5,
"precision" : 1,
"format" : "SHORT_DATE",
"i" : 1,
"l" : {
"id" : "string",
"params" : [
{
"value" : {
"dt" : "2015-01-01T22:13:05.651Z",
"s" : "string",
"d" : 1.5,
"precision" : 1,
"format" : "SHORT_DATE",
"i" : 1,
"l" : {
"id" : "string",
"params" : [
{
"key" : "string"
}
]
}
},
"key" : "string"
}
]
}
},
"key" : "string"
}
]
},
"possible_answers" : [
"string",
"string"
],
"default_answer" : "string",
"id" : "string",
"type" : "YES_NO"
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
-.id | string | Id of the question raised. This attribute was added in vSphere API 6.7. |
-.question | localizable_message | Message describing the question. This attribute was added in vSphere API 6.7. |
-.question.id | string | Unique identifier of the localizable string or message template. This identifier is typically used to retrieve a locale-specific string or message template from a message catalog. |
-.question.default_message | string | The value of this localizable string or message template in the en_US (English) locale. If vapi.std.localizable_message.id refers to a message template, the default message will contain the substituted arguments. This value can be used by clients that do not need to display strings and messages in the native language of the user. It could also be used as a fallback if a client is unable to access the appropriate message catalog. |
-.question.args | string[] | Positional arguments to be substituted into the message template. This list will be empty if the message uses named arguments or has no arguments. |
-.type | string | Type of the question raised. This attribute was added in vSphere API 6.7. Defines the type of the question raised. This enumeration was added in vSphere API 6.7. Value is one of: YES_NO: Question with answer values Yes/No. This constant was added in vSphere API 6.7. OK_CANCEL: Question with answer values Ok/Cancel. This constant was added in vSphere API 6.7. ABORT_RETRY_IGNORE: Question with answer values Abort/Retry/Ignore. This constant was added in vSphere API 6.7. |
-.default_answer | string | Default answer value. This attribute was added in vSphere API 6.7. |
-.possible_answers | string[] | Possible answers values. This attribute was added in vSphere API 6.7. |
Optional | ||
-.question.params | object | Named arguments to be substituted into the message template. This attribute was added in vSphere API 7.0.0.0. Optional. Unset means that the message template requires no arguments or positional arguments are used. |
-.question.localized | string | Localized string value as per request requirements. This attribute was added in vSphere API 7.0.0.0. Optional. when the client has not requested specific locale the implementation may not populate this field to conserve resources. |
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
id | string | Id of the question raised. This attribute was added in vSphere API 6.7. |
question | localizable_message | Message describing the question. This attribute was added in vSphere API 6.7. |
question.id | string | Unique identifier of the localizable string or message template. This identifier is typically used to retrieve a locale-specific string or message template from a message catalog. |
question.default_message | string | The value of this localizable string or message template in the en_US (English) locale. If vapi.std.localizable_message.id refers to a message template, the default message will contain the substituted arguments. This value can be used by clients that do not need to display strings and messages in the native language of the user. It could also be used as a fallback if a client is unable to access the appropriate message catalog. |
question.args | string[] | Positional arguments to be substituted into the message template. This list will be empty if the message uses named arguments or has no arguments. |
type | string | Type of the question raised. This attribute was added in vSphere API 6.7. Defines the type of the question raised. This enumeration was added in vSphere API 6.7. Value is one of: YES_NO: Question with answer values Yes/No. This constant was added in vSphere API 6.7. OK_CANCEL: Question with answer values Ok/Cancel. This constant was added in vSphere API 6.7. ABORT_RETRY_IGNORE: Question with answer values Abort/Retry/Ignore. This constant was added in vSphere API 6.7. |
default_answer | string | Default answer value. This attribute was added in vSphere API 6.7. |
possible_answers | string[] | Possible answers values. This attribute was added in vSphere API 6.7. |
Optional | ||
question.params | list | Named arguments to be substituted into the message template. This attribute was added in vSphere API 7.0.0.0. Optional. Unset means that the message template requires no arguments or positional arguments are used. |
question.localized | string | Localized string value as per request requirements. This attribute was added in vSphere API 7.0.0.0. Optional. when the client has not requested specific locale the implementation may not populate this field to conserve resources. |