REST API - get

hlm deployment: get

Gets the current state of the HLM Install. Warning: This operation is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Request:

HTTP request

GET https://{server}/api/hlm/deployment

Response:

HTTP Status Code: 200

Response Body Structure:

{
    "parent""obj-103",
    "cancelable"true,
    "subtasks"{
        "<string>"{
            "parent""obj-103",
            "cancelable"true,
            "end_time""2015-01-01T22:13:05.651Z",
            "description"{
                "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"{},
            "target"{
                "id""obj-103",
                "type""string"
            },
            "result"{
                "warnings"[
                    {
                        "id""string",
                        "time""2015-01-01T22:13:05.651Z",
                        "message"{
                            "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"{}
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "resolution"{
                            "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"{}
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    {
                        "id""string",
                        "time""2015-01-01T22:13:05.651Z",
                        "message"{
                            "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"{}
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "resolution"{
                            "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"{}
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                ],
                "errors"[
                    {
                        "id""string",
                        "time""2015-01-01T22:13:05.651Z",
                        "message"{
                            "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"{}
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "resolution"{
                            "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"{}
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    {
                        "id""string",
                        "time""2015-01-01T22:13:05.651Z",
                        "message"{
                            "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"{}
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "resolution"{
                            "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"{}
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                ],
                "info"[
                    {
                        "id""string",
                        "time""2015-01-01T22:13:05.651Z",
                        "message"{
                            "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"{}
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "resolution"{
                            "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"{}
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    {
                        "id""string",
                        "time""2015-01-01T22:13:05.651Z",
                        "message"{
                            "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"{}
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "resolution"{
                            "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"{}
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                ]
            },
            "start_time""2015-01-01T22:13:05.651Z",
            "service""obj-103",
            "progress"{
                "total"1,
                "completed"1,
                "message"{
                    "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"{}
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "operation""obj-103",
            "user""string",
            "status""PENDING"
        }
    },
    "end_time""2015-01-01T22:13:05.651Z",
    "description"{
        "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"{}
                            }
                        }
                    }
                }
            }
        }
    },
    "subtask_order"[
        "string",
        "string"
    ],
    "error"{},
    "target"{
        "id""obj-103",
        "type""string"
    },
    "start_time""2015-01-01T22:13:05.651Z",
    "service""obj-103",
    "progress"{
        "total"1,
        "completed"1,
        "message"{
            "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"{}
                                }
                            }
                        }
                    }
                }
            }
        }
    },
    "state""NOT_INITIALIZED",
    "operation""obj-103",
    "user""string",
    "status""PENDING"
}

Headers:

None

Type:

Name Type Description
bold = required
- info Info structure containing the state information about the appliance.
-.state string State of the vCenter Server Appliance. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Defines the various states the vCenter Appliance can be in. Value is one of:
NOT_INITIALIZED: The appliance is in the process of being initialized and not ready for configuration.
INITIALIZED: The appliance is initialized and ready to be configured.
CONFIG_IN_PROGRESS: The appliance is in the process of being configured.
QUESTION_RAISED: The deployment script has raised a question and is waiting for an answer to continue with the appliance configuration.
FAILED: The appliance configuration has failed.
CONFIGURED: The appliance has been configured.

-.progress progress The progress of the current appliance. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Optional. It is only relevant when status has value [RUNNING, BLOCKED, SUCCEEDED, FAILED]. This field is optional and it is only relevant when the value of #status is one of RUNNING, BLOCKED, SUCCEEDED, or FAILED.

-.progress.total long Total amount of the work for the operation. This attribute was added in vSphere API 6.7.

-.progress.completed long The amount of work completed for the operation. The value can only be incremented. This attribute was added in vSphere API 6.7.

-.progress.message localizable_message Message about the work progress. This attribute was added in vSphere API 6.7.

-.progress.message.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.

-.progress.message.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.

-.progress.message.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.

-.progress.message.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.

-.progress.message.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.

-.subtask_order string[] The ordered list of subtasks for this deployment operation. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Optional. Only set when the appliance state is RUNNING_IN_PROGRESS, FAILED, CANCELLED and SUCCEEDED.

-.subtasks object The map of the deployment subtasks and their state infomation. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Optional. Only set when the appliance state is RUNNING_IN_PROGRESS, FAILED, CANCELLED and SUCCEEDED.

-.description localizable_message Description of the operation associated with the task. This attribute was added in vSphere API 6.7.

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

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

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

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

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

-.service string Identifier of the service containing the operation. This attribute was added in vSphere API 6.7.

When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.vapi.service. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.vapi.service.

-.operation string Identifier of the operation associated with the task. This attribute was added in vSphere API 6.7.

When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.vapi.operation. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.vapi.operation.

-.parent string Parent of the current task. This attribute was added in vSphere API 6.7.

Optional. This field will be unset if the task has no parent.When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.cis.task. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.cis.task.

-.target dynamic_ID Identifier of the target created by the operation or an existing one the operation performed on. This attribute was added in vSphere API 6.7.

Optional. This field will be unset if the operation has no target or multiple targets.

-.target.type string The type of resource being identified (for example com.acme.Person).

Services that contain operations for creating and deleting resources typically contain a constant specifying the resource type for the resources being created and deleted. The API metamodel metadata services include a service that allows retrieving all the known resource types.

-.target.id string The identifier for a resource whose type is specified by vapi.std.dynamic_ID.type.

When clients pass a value of this structure as a parameter, the field type must contain the actual resource type. When operations return a value of this structure as a result, the field type will contain the actual resource type.

-.status string Status of the operation associated with the task. This attribute was added in vSphere API 6.7.

Defines the status values that can be reported for an operation. This enumeration was added in vSphere API 6.7. Value is one of:
PENDING: The operation is in pending state. This constant was added in vSphere API 6.7.
RUNNING: The operation is in progress. This constant was added in vSphere API 6.7.
BLOCKED: The operation is blocked. This constant was added in vSphere API 6.7.
SUCCEEDED: The operation completed successfully. This constant was added in vSphere API 6.7.
FAILED: The operation failed. This constant was added in vSphere API 6.7.

-.cancelable boolean Flag to indicate whether or not the operation can be cancelled. The value may change as the operation progresses. This attribute was added in vSphere API 6.7.

-.error exception Description of the error if the operation status is "FAILED". This attribute was added in vSphere API 6.7.

Optional. It is only relevant when status has value [FAILED]. If unset the description of why the operation failed will be included in the result of the operation (see cis.task.info.result).

-.start_time date_time Time when the operation is started. This attribute was added in vSphere API 6.7.

Optional. It is only relevant when status has value [RUNNING, BLOCKED, SUCCEEDED, FAILED]. This field is optional and it is only relevant when the value of status is one of RUNNING, BLOCKED, SUCCEEDED, or FAILED.

-.end_time date_time Time when the operation is completed. This attribute was added in vSphere API 6.7.

Optional. It is only relevant when status has value [SUCCEEDED, FAILED]. This field is optional and it is only relevant when the value of status is one of SUCCEEDED or FAILED.

-.user string Name of the user who performed the operation. This attribute was added in vSphere API 6.7.

Optional. This field will be unset if the operation is performed by the system.

Errors:

HTTP Status Code Type Description
401 unauthenticated if the caller is not authenticated.
404 not_found if appliance state cannot be determined.