Service Instance Get Content

Service Instance Get Content

The properties of the ServiceInstance managed object.

The content property is identical to the return value from the RetrieveServiceContent method.

Use the content property with the PropertyCollector to perform inventory traversal that includes the ServiceInstance. (In the absence of a content property, a traversal that encounters the ServiceInstance would require calling the RetrieveServiceContent method, and then invoking a second traversal to continue.)

Required privileges: System.Anonymous

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

The unique identifier for the managed object to which the property 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 8.0.2.0 APIs.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

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

Reference to an instance of the Folder managed object.

object
propertyCollector
Required

Reference to an instance of the PropertyCollector managed object.

object
viewManager
Optional

Reference to an instance of the ViewManager managed object.

object
about
Required

This data object type describes system information including the name, type, version, and build number.

object
setting
Optional

Reference to an instance of the OptionManager managed object.

object
userDirectory
Optional

Reference to an instance of the UserDirectory managed object.

object
sessionManager
Optional

Reference to an instance of the SessionManager managed object.

object
authorizationManager
Optional

Reference to an instance of the AuthorizationManager managed object.

object
serviceManager
Optional

Reference to an instance of the ServiceManager managed object.

object
perfManager
Optional

Reference to an instance of the PerformanceManager managed object.

object
scheduledTaskManager
Optional

Reference to an instance of the ScheduledTaskManager managed object.

object
alarmManager
Optional

Reference to an instance of the AlarmManager managed object.

object
eventManager
Optional

Reference to an instance of the EventManager managed object.

object
taskManager
Optional

Reference to an instance of the TaskManager managed object.

object
extensionManager
Optional

Reference to an instance of the ExtensionManager managed object.

object
customizationSpecManager
Optional

Reference to an instance of the CustomizationSpecManager managed object.

object
guestCustomizationManager
Optional

Reference to an instance of the VirtualMachineGuestCustomizationManager managed object.

object
customFieldsManager
Optional

Reference to an instance of the CustomFieldsManager managed object.

object
accountManager
Optional

Reference to an instance of the HostLocalAccountManager managed object.

object
diagnosticManager
Optional

Reference to an instance of the DiagnosticManager managed object.

object
licenseManager
Optional

Reference to an instance of the LicenseManager managed object.

object
searchIndex
Optional

Reference to an instance of the SearchIndex managed object.

object
fileManager
Optional

Reference to an instance of the FileManager managed object.

object
datastoreNamespaceManager
Optional

Reference to an instance of the DatastoreNamespaceManager managed object.

object
virtualDiskManager
Optional

Reference to an instance of the VirtualDiskManager managed object.

object
virtualizationManager
Optional

Reference to an instance of the VirtualizationManager managed object.

object
snmpSystem
Optional

Reference to an instance of the HostSnmpSystem managed object.

object
vmProvisioningChecker
Optional

Reference to an instance of the VirtualMachineProvisioningChecker managed object.

object
vmCompatibilityChecker
Optional

Reference to an instance of the VirtualMachineCompatibilityChecker managed object.

object
ovfManager
Optional

Reference to an instance of the OvfManager managed object.

object
ipPoolManager
Optional

Reference to an instance of the IpPoolManager managed object.

object
dvSwitchManager
Optional

Reference to an instance of the DistributedVirtualSwitchManager managed object.

object
hostProfileManager
Optional

Reference to an instance of the HostProfileManager managed object.

object
clusterProfileManager
Optional

Reference to an instance of the ClusterProfileManager managed object.

object
complianceManager
Optional

Reference to an instance of the ProfileComplianceManager managed object.

object
localizationManager
Optional

Reference to an instance of the LocalizationManager managed object.

object
storageResourceManager
Optional

Reference to an instance of the StorageResourceManager managed object.

object
guestOperationsManager
Optional

Reference to an instance of the GuestOperationsManager managed object.

object
overheadMemoryManager
Optional

Reference to an instance of the OverheadMemoryManager managed object.

object
certificateManager
Optional

Reference to an instance of the CertificateManager managed object.

object
ioFilterManager
Optional

Reference to an instance of the IoFilterManager managed object.

object
vStorageObjectManager
Optional

Reference to an instance of the VStorageObjectManagerBase managed object.

object
hostSpecManager
Optional

Reference to an instance of the HostSpecificationManager managed object.

object
cryptoManager
Optional

Reference to an instance of the CryptoManager managed object.

object
healthUpdateManager
Optional

Reference to an instance of the HealthUpdateManager managed object.

object
failoverClusterConfigurator
Optional

Reference to an instance of the FailoverClusterConfigurator managed object.

object
failoverClusterManager
Optional

Reference to an instance of the FailoverClusterManager managed object.

object
tenantManager
Optional

Reference to an instance of the TenantTenantManager managed object.

object
siteInfoManager
Optional

Reference to an instance of the SiteInfoManager managed object.

object
storageQueryManager
Optional

Reference to an instance of the StorageQueryManager managed object.


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