Esx. Settings. Hosts. Configuration Get
Get the standalone host desired configuration and related metadata associated with the ESXi host using vSphere Configuration Profiles workflow. The configuration returned by this API only contains the user-visible configuration properties available for a the host.
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.
Returns an authorization error if you do not have all of the privileges described as follows:
- Operation execution requires VcIntegrity.StandaloneHostConfiguration.View.
- The resource HostSystem referenced by the parameter host requires VcIntegrity.StandaloneHostConfiguration.View.
Identifier of the host.
The parameter must be an identifier for the resource type: HostSystem.
Identifier of the commit to get.
The parameter must be an identifier for the resource type: HostSystem.
Describes how to structure the config document.
Possible values:
- HOST_ORIENTED: The host-specific portions of the document are stored in the "host-specific" object at the top-level with entries for each host, organized by the host's BIOS UUID.
- PROFILE_ORIENTED: The host-specific portions of the document are distributed through the "profile" object hierarchy. Each property that is host-specific will be an object with entries the host where the property is defined. The hosts in the object are organized by BIOS UUID.
For more information see: Esx.Settings.Hosts.Configuration.DocumentStructure.
Success!
"Esx.Settings.Hosts.Configuration.Info Object"
If API is called on a host that is not managed by desired configuration management platform, or if the host is not a standalone host.
"Vapi.Std.Errors.InvalidArgument Object"
If the caller is not authenticated.
"Vapi.Std.Errors.Unauthenticated Object"
If there is no host associated with host or no commit associated with commit in the system.
"Vapi.Std.Errors.NotFound Object"
Vapi.Std.Errors.Error If there is unknown internal error. The accompanying error message will give more details about the failure.
Vapi.Std.Errors.TimedOut If the API timed out before completion.
"Vapi.Std.Errors.Error Object"
If the service is not available.
"Vapi.Std.Errors.ServiceUnavailable Object"
curl -H 'Authorization: <value>' https://{api_host}/esx/settings/hosts/{host}/configuration