# Managed Object - HostSpecificationManager

Property of
  ServiceContent
See also
  HostSpecification, HostSubSpecification, HostSystem
Since
  vSphere API 6.5

## Managed Object Description

Properties

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

Methods

Methods defined in this Managed Object
DeleteHostSpecification, DeleteHostSubSpecification, HostSpecGetUpdatedHosts, RetrieveHostSpecification, UpdateHostSpecification, UpdateHostSubSpecification

# DeleteHostSpecification

Required Privileges
  System.View

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the HostSpecificationManager used to make the method call.
host P | ManagedObjectReference to a HostSystem | Since vSphere API 6.5

P Required privilege: host

Return Value

Type | Description
--- | ---
None

Faults

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

# DeleteHostSubSpecification

Required Privileges
  System.View

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the HostSpecificationManager used to make the method call.
host P | ManagedObjectReference to a HostSystem | Since vSphere API 6.5
subSpecName P | xsd:string | Since vSphere API 6.5

P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
None

Faults

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

# HostSpecGetUpdatedHosts

Required Privileges
  System.View

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the HostSpecificationManager used to make the method call.
startChangeID* P | xsd:string | Since vSphere API 6.5
endChangeID* P | xsd:string | Since vSphere API 6.5

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

Return Value

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

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

# RetrieveHostSpecification

Required Privileges
  System.View

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the HostSpecificationManager used to make the method call.
host P | ManagedObjectReference to a HostSystem | Since vSphere API 6.5
fromHost P | xsd:boolean | Since vSphere API 6.5

P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
HostSpecification |

Faults

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

# UpdateHostSpecification

Required Privileges
  Profile.Edit

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the HostSpecificationManager used to make the method call.
host P | ManagedObjectReference to a HostSystem | Since vSphere API 6.5
hostSpec P | HostSpecification | Since vSphere API 6.5

P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
None

Faults

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

# UpdateHostSubSpecification

Required Privileges
  Profile.Edit

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the HostSpecificationManager used to make the method call.
host P | ManagedObjectReference to a HostSystem | Since vSphere API 6.5
hostSubSpec P | HostSubSpecification | Since vSphere API 6.5

P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
None

Faults

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