# Managed Object - DiagnosticManager

Property of
  ServiceContent
See also
  DiagnosticManagerAuditRecordResult, DiagnosticManagerBundleInfo, DiagnosticManagerLogDescriptor, DiagnosticManagerLogHeader, HostSystem
Since
  null

## Managed Object Description

Properties

Name | Type | Description
--- | --- | ---
None

Methods

Methods defined in this Managed Object
BrowseDiagnosticLog, FetchAuditRecords, GenerateLogBundles_Task, QueryDescriptions

# BrowseDiagnosticLog

Required Privileges
  Global.Diagnostics

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the DiagnosticManager used to make the method call.
host* P | ManagedObjectReference to a HostSystem | Since null
key P | xsd:string | Since null
start* P | xsd:int | Since null
lines* P | xsd:int | Since null

*Need not be set P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
DiagnosticManagerLogHeader |

Faults

Type | Description
--- | ---
CannotAccessFile |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

# FetchAuditRecords

Required Privileges
  Global.Diagnostics
Since
  vSphere API 7.0.3.0

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the DiagnosticManager used to make the method call.
token* P | xsd:string | Since vSphere API 7.0.3.0

*Need not be set P Required privilege: token

Return Value

Type | Description
--- | ---
DiagnosticManagerAuditRecordResult |

Faults

Type | Description
--- | ---
InvalidState |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
SystemError |

Events

Type
None

# GenerateLogBundles_Task

Deprecated.

Required Privileges
  Global.Diagnostics

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the DiagnosticManager used to make the method call.
includeDefault P | xsd:boolean | Since null
host* P | ManagedObjectReference[] to a HostSystem[] | Since null

*Need not be set P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
ManagedObjectReference to a ConverterTask |

Faults

Type | Description
--- | ---
LogBundlingFailed |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
TaskInProgress |

Events

Type
None

# QueryDescriptions

Required Privileges
  Global.Diagnostics

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the DiagnosticManager used to make the method call.
host* P | ManagedObjectReference to a HostSystem | Since null

*Need not be set P Required privilege: host

Return Value

Type | Description
--- | ---
DiagnosticManagerLogDescriptor[] |

Faults

Type | Description
--- | ---
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None