Service Instance Retrieve Service Content

Service Instance Retrieve Service Content

Retrieves the properties of the service instance.

Required privileges: System.Anonymous

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/ServiceInstance/{moId}/RetrieveServiceContent
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId, in this case ServiceInstance/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.


Authentication
This operation uses the following authentication methods.
Responses
200

The properties belonging to the service instance, including various object managers.

Returns ServiceContent of type(s) application/json
"ServiceContent Object"
rootFolder
Required

Reference to the top of the inventory managed by this service.

propertyCollector
Required

Reference to a per-session object for retrieving properties and updates.

viewManager
Optional

A singleton managed object for tracking custom sets of objects.

about
Required

Information about the service, such as the software version.

setting
Optional

Generic configuration for a management server.

This is for example by vCenter to store the vCenter Settings. This is not used for a stand-alone host, instead the vim.host.ConfigManager.advancedOption is used.

See also HostConfigManager.

userDirectory
Optional

A user directory managed object.

sessionManager
Optional

Managed object for logging in and managing sessions.

authorizationManager
Optional

Manages permissions for managed entities in the service.

serviceManager
Optional

A singleton managed object that manages local services.

perfManager
Optional

A singleton managed object that manages the collection and reporting of performance statistics.

scheduledTaskManager
Optional

A singleton managed object that manages scheduled tasks.

alarmManager
Optional

A singleton managed object that manages alarms.

eventManager
Optional

A singleton managed object that manages events.

taskManager
Optional

A singleton managed object that manages tasks.

extensionManager
Optional

A singleton managed object that manages extensions.

customizationSpecManager
Optional

A singleton managed object that manages saved guest customization specifications.

guestCustomizationManager
Optional

A singleton managed object that manages guest customization of a running VM.

The typical usage is for the guest customization after the InstantClone operation. See VirtualMachine.InstantClone_Task.

customFieldsManager
Optional

A singleton managed object that managed custom fields.

accountManager
Optional

A singleton managed object that manages host local user and group accounts.

diagnosticManager
Optional

A singleton managed object that provides access to low-level log files.

licenseManager
Optional

A singleton managed object that manages licensing

searchIndex
Optional

A singleton managed object that allows search of the inventory

fileManager
Optional

A singleton managed object that allows management of files present on datastores.

datastoreNamespaceManager
Optional

Datastore Namespace manager.

A singleton managed object that is used to manage manipulations related to datastores' namespaces.

virtualDiskManager
Optional

A singleton managed object that allows management of virtual disks on datastores.

virtualizationManager
Optional

Deprecated as of VI API 2.5, use the VMware vCenter Converter plug-in.

A singleton managed object that manages the discovery, analysis, recommendation and virtualization of physical machines

snmpSystem
Optional

A singleton managed object that allows SNMP configuration.

Not set if not supported on a particular platform.

vmProvisioningChecker
Optional

A singleton managed object that can answer questions about the feasibility of certain provisioning operations.

vmCompatibilityChecker
Optional

A singleton managed object that can answer questions about compatibility of a virtual machine with a host.

ovfManager
Optional

A singleton managed object that can generate OVF descriptors (export) and create vApps (single-VM or vApp container-based) from OVF descriptors (import).

ipPoolManager
Optional

A singleton managed object that supports management of IpPool objects.

IP pools are used when allocating IPv4 and IPv6 addresses to vApps.

dvSwitchManager
Optional

A singleton managed object that provides relevant information of DistributedVirtualSwitch.

hostProfileManager
Optional

A singleton managed object that manages the host profiles.

clusterProfileManager
Optional

A singleton managed object that manages the cluster profiles.

complianceManager
Optional

A singleton managed object that manages compliance aspects of entities.

localizationManager
Optional

A singleton managed object that provides methods for retrieving message catalogs for client-side localization support.

storageResourceManager
Optional

A singleton managed object that provides methods for storage resource management.

guestOperationsManager
Optional

A singleton managed object that provides methods for guest operations.

overheadMemoryManager
Optional

A singleton managed object that provides methods for looking up static VM overhead memory.

certificateManager
Optional

host certificate manager A singleton managed object to manage the certificates between the Certificate Server and the host.

ioFilterManager
Optional

A singleton managed object that manages IO Filters installed on the ESXi hosts and IO Filter configuration of virtual disks.

vStorageObjectManager
Optional

A singleton managed object that manages all storage objects in the Virtual Infrastructure.

If connected to a vCenter, this is the VcenterVStorageObjectManager; If connected to an ESXi host, this is the HostVStorageObjectManager.

A storage object in the Virtual Infrastructure is represented by a vStorageObject.

hostSpecManager
Optional

A singleton managed object that manages the host specification data.

cryptoManager
Optional

A singleton managed object used to manage cryptographic keys.

healthUpdateManager
Optional

A singleton managed object that manages the health updates.

failoverClusterConfigurator
Optional

A singleton managed object that manages the VCHA Cluster configuration.

failoverClusterManager
Optional

A singleton managed object for managing a configured VCHA Cluster.

tenantManager
Optional

A singleton managed object used to configure tenants.

siteInfoManager
Optional

A singleton managed object used to manage site related capabilities.

storageQueryManager
Optional

A singleton managed object used to query storage related entities.

directPathProfileManager
Optional

A singleton managed object used to query DirectPath profiles.

Since: vSphere API Release 9.0.0.0


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' https://{api_host}/sdk/vim25/{release}/ServiceInstance/{moId}/RetrieveServiceContent