|
| Local Methods | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |
Properties
| Name | Type | Description |
|---|---|---|
| None | ||
| Properties inherited from ProfileManager | ||
| profile | ||
Methods
| Methods defined in this Managed Object |
|---|
| ApplyHostConfig_Task, CheckAnswerFileStatus_Task, CreateDefaultProfile, ExportAnswerFile_Task, GenerateConfigTaskList, GenerateHostProfileTaskList_Task, QueryAnswerFileStatus, QueryHostProfileMetadata, QueryProfileStructure, RetrieveAnswerFile, RetrieveAnswerFileForProfile, UpdateAnswerFile_Task |
| Methods inherited from ProfileManager |
| CreateProfile, FindAssociatedProfile, QueryPolicyMetadata |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the HostProfileManager used to make the method call. |
| host | ManagedObjectReference
to a HostSystem |
Host to be updated. User must have sufficient credentials and privileges
to satisfy the contents of the configSpec.
|
| configSpec | HostConfigSpec |
Set of configuration changes to be applied to the host.
The changes are returned by the
HostProfile.ExecuteHostProfile
method in the
ProfileExecuteResult.configSpec
property.
|
| userInput* | ProfileDeferredPolicyOptionParameter[] |
Additional host-specific data to be applied to the host.
This data is the complete list of deferred parameters verified by the
HostProfile.ExecuteHostProfile
method, contained in the ProfileExecuteResult object
returned by the method.
Since vSphere API 5.0 |
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task | This method returns a Task object with which to monitor the operation. |
Faults
| Type | Description |
|---|---|
| HostConfigFailed | Thrown if the ESX Server cannot apply the configuration changes. |
| InvalidState | Thrown if the host is not in maintenance mode and the configuration specification requires it. |
| 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 | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the HostProfileManager used to make the method call. |
| host | ManagedObjectReference[]
to a HostSystem[] |
Set of hosts for which the answer file status will be checked.
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task | This method returns a Task object with which to monitor the operation. If the task is successful, the Task.info.result property contains a list of AnswerFileStatusResult objects. |
Faults
| Type | Description |
|---|---|
| InvalidProfileReferenceHost | Thrown if the reference host associated with the profile is incompatible or there is no reference host for the profile. |
| 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 | |
CreateDefaultProfile method.VirtualSwitchProfile, you would add it to the list
of virtual switches in the network profile for the configuration specification
(NetworkProfile.vswitch[]).
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the HostProfileManager used to make the method call. |
| profileType | xsd:string |
Type of profile to create. The profile types
are system-defined
(ApplyProfile.profileTypeName).
|
| profileTypeName* | xsd:string |
If specified, the method returns a profile object
containing data for the named profile. The type name does not have
to be system-defined. A user-defined profile can include various
dynamically-defined profiles.
Since vSphere API 5.0 |
| profile* | ManagedObjectReference
to a Profile |
Base profile used during the operation.
Since vSphere API 5.0 |
Return Value
| Type | Description |
|---|---|
| ApplyProfile | Derived subprofile of type profileType. |
Faults
| Type | Description |
|---|---|
| InvalidArgument | Thrown if either the profileType or profileTypeName is incorrect. |
| InvalidProfileReferenceHost | Thrown if the reference host associated with the profile is incompatible or there is no reference host for the profile. |
| 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 | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the HostProfileManager used to make the method call. |
| host | ManagedObjectReference
to a HostSystem |
Host with which the answer file is associated.
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task | This method returns a Task object with which to monitor the operation. If the task is successful, the Task.info.result property is a string that contains a serialized form of the answer file. |
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 | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the HostProfileManager used to make the method call. |
| configSpec | HostConfigSpec |
ConfigSpec which was proposed by
ExecuteHostProfile method.
|
| host | ManagedObjectReference
to a HostSystem |
Host on which the HostProfile application needs to be
carried out.
|
Return Value
| Type | Description |
|---|---|
| HostProfileManagerConfigTaskList | List of Configuration tasks. |
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 | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the HostProfileManager used to make the method call. |
| configSpec | HostConfigSpec |
ConfigSpec which was proposed by
ExecuteHostProfile method.
|
| host | ManagedObjectReference
to a HostSystem |
Host on which the HostProfile application needs to be
carried out.
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task | This method returns a Task object with which to monitor the operation. If the task is successful, the Task.info.result property is a HostProfileManagerConfigTaskList object. |
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 | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the HostProfileManager used to make the method call. |
| host | ManagedObjectReference[]
to a HostSystem[] |
The hosts the answer file is associated with.
|
Return Value
| Type | Description |
|---|---|
| AnswerFileStatusResult[] | List of answer file status objects. |
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 | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the HostProfileManager used to make the method call. |
| profileName* | xsd:string[] |
Names of the profiles for which metadata is requested.
If not set, the method returns metadata for all the profiles.
|
| profile* | ManagedObjectReference
to a Profile |
Base profile whose context needs to be used during the operation
Since vSphere API 5.0 |
Return Value
| Type | Description |
|---|---|
| ProfileMetadata[] | List of profile metadata objects. |
Faults
| Type | Description |
|---|---|
| InvalidArgument | Thrown if profileName parameter is invalid. |
| InvalidProfileReferenceHost | Thrown if the reference host associated with the profile is incompatible or there is no reference host for the profile. |
| 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 | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the HostProfileManager used to make the method call. |
| profile* | ManagedObjectReference
to a Profile |
Base profile whose context needs to be used during the operation
Since vSphere API 5.0 |
Return Value
| Type | Description |
|---|---|
| ProfileProfileStructure | The profile structure. |
Faults
| Type | Description |
|---|---|
| InvalidProfileReferenceHost | Thrown if the reference host associated with the profile is incompatible or there is no reference host for the profile. |
| 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 | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the HostProfileManager used to make the method call. |
| host P | ManagedObjectReference
to a HostSystem |
Host with which the answer file is associated.
|
Return Value
| Type | Description |
|---|---|
| AnswerFile | Answer file object will be returned if it exists. |
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 | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the HostProfileManager used to make the method call. |
| host P | ManagedObjectReference
to a HostSystem |
Host with which the answer file is associated.
|
| applyProfile | HostApplyProfile |
Profile configuration used to generate answer file
|
Return Value
| Type | Description |
|---|---|
| AnswerFile | Answer file object will be returned. |
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 | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the HostProfileManager used to make the method call. |
| host | ManagedObjectReference
to a HostSystem |
Host with which the answer file is associated.
|
| configSpec | AnswerFileCreateSpec |
Host-specific configuration data. If the configuration
specification does not contain any host-specific user input
(configSpec.userInput),
the method does not perform any operation on the answer file.
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task | This method returns a Task object with which to monitor the operation. |
Faults
| Type | Description |
|---|---|
| AnswerFileUpdateFailed | Thrown if the answer file could not be updated. |
| InvalidArgument | Thrown if the input parameteres are incorrect. |
| 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 | |
| Top of page | Local Methods | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |