public interface Question extends Service, QuestionTypes
Question
interface provides methods to get the question raised
during deployment and to answer them. This interface was added in vSphere API
6.7.QuestionTypes.AnswerSpec, QuestionTypes.Info, QuestionTypes.Question, QuestionTypes.QuestionType
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
void |
answer(QuestionTypes.AnswerSpec spec)
Supply answer to the raised question.
|
void |
answer(QuestionTypes.AnswerSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Supply answer to the raised question.
|
void |
answer(QuestionTypes.AnswerSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Supply answer to the raised question.
|
void |
answer(QuestionTypes.AnswerSpec spec,
InvocationConfig invocationConfig)
Supply answer to the raised question.
|
QuestionTypes.Info |
get()
Get the question that was raised during the configuration.
|
void |
get(AsyncCallback<QuestionTypes.Info> asyncCallback)
Get the question that was raised during the configuration.
|
void |
get(AsyncCallback<QuestionTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Get the question that was raised during the configuration.
|
QuestionTypes.Info |
get(InvocationConfig invocationConfig)
Get the question that was raised during the configuration.
|
QuestionTypes.Info get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Unauthenticated
- if the caller is not authenticated.NotAllowedInCurrentState
- if the appliance is not in QUESTION_RAISED state.InternalServerError
- if questions could not be retrieved although the appliance is in QUESTION_RAISED
state.QuestionTypes.Info get(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.Unauthenticated
- if the caller is not authenticated.NotAllowedInCurrentState
- if the appliance is not in QUESTION_RAISED state.InternalServerError
- if questions could not be retrieved although the appliance is in QUESTION_RAISED
state.void get(AsyncCallback<QuestionTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Info structure containing the question.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
NotAllowedInCurrentState
- if the appliance is not in QUESTION_RAISED state.
InternalServerError
- if questions could not be retrieved although the appliance is in QUESTION_RAISED
state.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<QuestionTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
Info structure containing the question.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
NotAllowedInCurrentState
- if the appliance is not in QUESTION_RAISED state.
InternalServerError
- if questions could not be retrieved although the appliance is in QUESTION_RAISED
state.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void answer(QuestionTypes.AnswerSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- AnswerSpec with the answer to the raised question.Unauthenticated
- if the caller is not authenticated.InvalidArgument
- if passed arguments are invalid.NotAllowedInCurrentState
- if the appliance is NOT in QUESTION_RAISED state.InternalServerError
- if answer file could not be created.void answer(QuestionTypes.AnswerSpec spec, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
spec
- AnswerSpec with the answer to the raised question.invocationConfig
- Configuration for the method invocation.Unauthenticated
- if the caller is not authenticated.InvalidArgument
- if passed arguments are invalid.NotAllowedInCurrentState
- if the appliance is NOT in QUESTION_RAISED state.InternalServerError
- if answer file could not be created.void answer(QuestionTypes.AnswerSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
InvalidArgument
- if passed arguments are invalid.
NotAllowedInCurrentState
- if the appliance is NOT in QUESTION_RAISED state.
InternalServerError
- if answer file could not be created.
spec
- AnswerSpec with the answer to the raised question.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void answer(QuestionTypes.AnswerSpec spec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
InvalidArgument
- if passed arguments are invalid.
NotAllowedInCurrentState
- if the appliance is NOT in QUESTION_RAISED state.
InternalServerError
- if answer file could not be created.
spec
- AnswerSpec with the answer to the raised question.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.