vcenter vcha cluster: error condition

The error_condition structure contains an error condition and a recommendation to handle the error condition. This structure was added in vSphere API 6.7.1.

Representation:

{
    "recommendation"{
        "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"{}
                            }
                        }
                    }
                }
            }
        }
    },
    "error"{
        "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"{}
                            }
                        }
                    }
                }
            }
        }
    }
}
{
    "recommendation"{
        "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"
            }
        ]
    },
    "error"{
        "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"
            }
        ]
    }
}

Attributes:

Name Type Description
Required
-.error localizable_message Contains an error condition. This attribute was added in vSphere API 6.7.1.

-.error.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.

-.error.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.

-.error.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.

-.recommendation.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.

-.recommendation.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.

-.recommendation.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.

Optional
-.error.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.

-.error.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.

-.recommendation localizable_message Contains a recommendation on handling the error condition. This attribute was added in vSphere API 6.7.1.

Optional. If unset, there is no tip for the error condition.

-.recommendation.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.

-.recommendation.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.