# Managed Object - ExtensionManager

Property of
  ServiceContent
See also
  Extension, ExtensionManagerIpAllocationUsage, ManagedEntity
Since
  VI API 2.5

## Managed Object Description

Properties

Name | Type | Description
--- | --- | ---
extensionList* P | Extension[] |

*May not be present P Required privilege: System.View

Methods

Methods defined in this Managed Object
FindExtension, GetPublicKey, QueryExtensionIpAllocationUsage, QueryManagedBy, RegisterExtension, SetExtensionCertificate, SetPublicKey, UnregisterExtension, UpdateExtension

# FindExtension

Required Privileges
  System.View

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the ExtensionManager used to make the method call.
extensionKey P | xsd:string | Since VI API 2.5

P Required privilege: extensionKey

Return Value

Type | Description
--- | ---
Extension |

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

# GetPublicKey

Deprecated.

Required Privileges
  System.View

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the ExtensionManager used to make the method call.

Return Value

Type | Description
--- | ---
xsd:string |

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

# QueryExtensionIpAllocationUsage

Required Privileges
  System.View
Since
  vSphere API 5.1

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the ExtensionManager used to make the method call.
extensionKeys* P | xsd:string[] | Since vSphere API 5.1

*Need not be set P Required privilege: extensionKeys

Return Value

Type | Description
--- | ---
ExtensionManagerIpAllocationUsage[] |

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

# QueryManagedBy

Required Privileges
  System.View
Since
  vSphere API 5.0

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the ExtensionManager used to make the method call.
extensionKey P | xsd:string | Since vSphere API 5.0

P Required privilege: extensionKey

Return Value

Type | Description
--- | ---
ManagedObjectReference[] to a ManagedEntity[] |

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

# RegisterExtension

Required Privileges
  Extension.Register

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the ExtensionManager used to make the method call.
extension P | Extension | Since VI API 2.5

P Required privilege: extension

Return Value

Type | Description
--- | ---
None

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

# SetExtensionCertificate

Required Privileges
  Extension.Update
Since
  vSphere API 4.0

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the ExtensionManager used to make the method call.
extensionKey P | xsd:string | Since vSphere API 4.0
certificatePem* P | xsd:string | Since vSphere API 4.0

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

Return Value

Type | Description
--- | ---
None

Faults

Type | Description
--- | ---
NoClientCertificate |
NotFound |
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

# SetPublicKey

Deprecated.

Required Privileges
  Extension.Update

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the ExtensionManager used to make the method call.
extensionKey P | xsd:string | Since VI API 2.5
publicKey P | xsd:string | Since VI API 2.5

P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
None

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

# UnregisterExtension

Required Privileges
  Extension.Unregister

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the ExtensionManager used to make the method call.
extensionKey P | xsd:string | Since VI API 2.5

P Required privilege: extensionKey

Return Value

Type | Description
--- | ---
None

Faults

Type | Description
--- | ---
NotFound |
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

# UpdateExtension

Required Privileges
  Extension.Update

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the ExtensionManager used to make the method call.
extension P | Extension | Since VI API 2.5

P Required privilege: extension

Return Value

Type | Description
--- | ---
None

Faults

Type | Description
--- | ---
NotFound |
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