REST API - get

appliance environment: get

Gets the properties of the appliance environment. This operation was added in vSphere API 6.7.

Request:

HTTP request

GET https://{server}/rest/appliance/environment
No request parameters

Response:

HTTP Status Code: 200

Representation:

{
    "value"{
        "managed_by""VMWARE",
        "provider""AWS",
        "display"{
            "database_monitoring"true,
            "sso_status"true
        },
        "deployed_by""VMWARE"
    }
}

Response Type:

Name Type Description
bold = required
value info Structure containing the values of the Environment.
value.managed_by string Who manages this appliance. This attribute was added in vSphere API 6.7.

Defines the possible entities managing the appliance. This enumeration was added in vSphere API 6.7. Value is one of:
VMWARE: Managed by VMware. This constant was added in vSphere API 6.7.
USER: Managed by the user. This constant was added in vSphere API 6.7.

value.deployed_by string Who deployed this appliance. This attribute was added in vSphere API 6.7.

Defines the possible entities deploying the appliance. This enumeration was added in vSphere API 6.7. Value is one of:
VMWARE: Deployed by VMware. This constant was added in vSphere API 6.7.
USER: Deployed by the user. This constant was added in vSphere API 6.7.

value.provider string The cloud provider where this appliance is running. This attribute was added in vSphere API 6.7.

Defines the possible providers. Now it has only AWS, in the future we foresee soft-layer, google cloud, azure, etc. This enumeration was added in vSphere API 6.7. Value is one of:
AWS: The appliance is located in AWS-backed VMC. This constant was added in vSphere API 6.7.
UNKNOWN: The appliance location is UNKNOWN. This constant was added in vSphere API 6.7.

value.display display What UI should display. This attribute was added in vSphere API 6.7.

value.display.database_monitoring boolean Display database monitoring. This attribute was added in vSphere API 6.7.

value.display.sso_status boolean Display SSO status. This attribute was added in vSphere API 6.7.

Errors:

HTTP Status Code Type Description
500 error if any error occurs during the execution of the operation.