Retrieves information about the current instance.

Return Values

Name Type Meaning
instanceId string Instance ID. For top-level instances it will contain object id, like 5480403d3870abc39eca0117. For non-shared submodules of 2.x manifests it will contain string in format <parentid>.<component>, for example 5480403d3870abc39eca0117.solr.zookeeper
instanceName string Instance name (only for 1.x manifests)
organizationId string Organization ID
organizationName string Organization name
userId string User ID of the instance creator.
userName string User name of the instance creator.
applicationId string Application ID of this instance.

Example Usage

- getContext:
    action: getInstanceContext
        instanceId: instanceId
        instanceName: instanceName