Virtual Storage Lifecycle Management API
| Local Properties | ||
Managed Object Types | Data Object Types | All Properties | All Methods |
Data Object - LocalizableMessage(vmodl.LocalizableMessage)
- Property of
- AnswerFileStatusError, AnswerFileUpdateFailure, ApplyHostProfileConfigurationSpec, ClusterComputeResourceValidationResultBase, ClusterRecommendation, ComplianceFailure, FolderFailedHostResult, GatewayConnectFault, HostProfileManagerCompositionResult, HostProfileManagerCompositionResultResultElement, HostProfileManagerCompositionValidationResult, HostProfileManagerCompositionValidationResultResultElement, HostProfileManagerConfigTaskList, HostTpmAttestationInfo, HostTrustAuthorityAttestationInfo, HostVsanInternalSystemDeleteVsanObjectsResult, HostVsanInternalSystemVsanObjectOperationResult, MethodFault, OvfOptionInfo, ProfileDescriptionSection, ProfileExecuteError, ProfileMetadataProfileOperationMessage, ProfileUpdateFailedUpdateFailure, TaskInfo, VchaClusterHealth, VsanPolicySatisfiability, VslmTaskInfo
- Parameter to
- SetTaskDescription
- Extends
- DynamicData
- See also
- KeyAnyValue
- Since
- vSphere API Release 4.0
Data Object Description
Message data which is intended to be displayed according to the locale of a client.A LocalizableMessage contains both a formatted, localized version of the text and the data needed to perform localization in conjunction with localization catalogs.
Clients of the VIM API may use vim.SessionManager.setLocale() to cause the server to emit a localized message, or may perform client-side localization based on message catalogs provided by the server.
- If the substition variable is a string, no further lookup is required.
- If the substitution variable is an integer, value is a lookup key.
- If the variable contains '@', value is a label lookup in another
catalog, where {[email protected]} looks up prefix.arg[name].label
in CATALOG.
- arg = [("field" = "queued")]
- CATALOG(locmsg, key) = "State is {[email protected]}"
- CATALOG(enum, TaskInfo.State.queued.label) is "Queued"
- ==> message = "State is Queued"
Properties
Name | Type | Description |
---|---|---|
arg* | KeyAnyValue[] |
Substitution arguments for variables in the localized message.
|
key | xsd:string |
Unique key identifying the message in the localized message catalog.
|
message* | xsd:string |
Message in session locale.
Use vim.SessionManager.setLocale() to change the session locale.
|
Properties inherited from DynamicData | ||
None |
Show WSDL type definition
Top of page | Local Properties | ||
Managed Object Types | Data Object Types | All Properties | All Methods |