Scripting Object - VcDiagnosticManager

Scripting-object corresponding to
DiagnosticManager
Attribute of
VcSdkConnection, VcServiceContent

Scripting Object Description

Provides an interface to get low-level debugging logs or diagnostic bundles for a server. For VirtualCenter, this includes the log files for the server daemon. For an ESX Server host, this includes detailed log files for the VMkernel.

Attributes

Name Type Description
idString

@since Unknown
morefVcManagedObjectReference

returns the ManagedObjectReference of this ManagedObject @since Unknown
sdkConnectionVcSdkConnection

@since Unknown
sdkIdString

@since Unknown
typeStringDeprecated.

Returns the name for the this managed object's vim type @since Unknown
vimHostVcSdkConnection

@since Unknown
vimIdString

@since Unknown
vimTypeString

@since Unknown

Methods

Methods defined in this Scripting Object
_getRef, browseDiagnosticLog, createTrigger, generateLogBundles_Task, queryDescriptions, queryFileHash_Task

_getRef

@since Unknown

Parameters

NameTypeDescription
None

Return Value

Type Description
VcManagedObjectReference

createTrigger

@since Unknown

Parameters

NameTypeDescription
timeoutNumber

filterString

conditionString

filterToSyncString


Return Value

Type Description
Trigger

queryDescriptions

Returns a list of diagnostic files for a given system. @since VI API 2.5

Parameters

NameTypeDescription
arg0VcHostSystem


Return Value

Type Description
VcDiagnosticManagerLogDescriptor []

browseDiagnosticLog

Returns part of a log file. Log entries are always returned chronologically, typically with the newest event last. @since VI API 2.5

Parameters

NameTypeDescription
arg0VcHostSystem

arg1String

arg2Number

arg3Number


Return Value

Type Description
VcDiagnosticManagerLogHeader

queryFileHash_Task

Returns file integrity information for the specified files. @since vim unstable version

Parameters

NameTypeDescription
arg0VcDiagnosticManagerFileHashSpec


Return Value

Type Description
VcTask

generateLogBundles_Task

Instructs the server to generate diagnostic bundles. A diagnostic bundle includes log files and other configuration information that can be used to investigate potential server issues. Virtual machine and guest operation system state is excluded from diagnostic bundles.

@since VI API 2.5

Parameters

NameTypeDescription
arg0Boolean

arg1VcHostSystem []

arg2VcKeyValue []


Return Value

Type Description
VcTask