Search

Class VcProfile

Extends com.vmware.vmo.plugin.vi4.model.VimContentManagedObject
The Profile managed object is the base class for host and cluster profiles.

Attributes

Name Type Description
complianceStatus String Overall compliance of entities associated with this profile. If one of the entities is out of compliance, the profile is <code>nonCompliant</code>. If all entities are in compliance, the profile is <code>compliant</code>. If the compliance status of one of the entities is not known, compliance status of the profile is <code>unknown</code>. See <a href="VcComplianceResultStatus.html">VcComplianceResultStatus</a>.
config VcProfileConfigInfo Configuration data for the profile.
createdTime Date Time at which the profile was created.
description VcProfileDescription Localizable description of the profile <br/><i>As of vSphere API 5.0. use <a href="VcProfile.html#retrieveDescription">VcProfile</a> instead.</i>
entity VcManagedEntity[] List of managed entities associated with the profile.
id String returns the id of this ManagedObject
modifiedTime Date Time at which the profile was last modified.
name String Name of the profile.
reference VcManagedObjectReference returns the ManagedObjectReference of this ManagedObject
sdkConnection VcSdkConnection returns the parent SdkConnection
vimHost VcSdkConnection returns the parent SdkConnection (deprecated)
vimType String returns the type of this ManagedObject

Methods

Name Returns
VcProfile(com.vmware.vmo.plugin.vi4.model.IVimObjectFactory , VcManagedObjectReference , String ) constructor
associateProfile(VcManagedEntity[] entity) void
associateProfile(com.vmware.vmo.plugin.vi4.model.VimManagedEntity[] ) void
checkProfileCompliance_Task(VcManagedEntity[] entity) VcTask
checkProfileCompliance_Task(com.vmware.vmo.plugin.vi4.model.VimManagedEntity[] ) VcTask
createTrigger(Number timeout, String filter, String condition, String filterToSync) Trigger
destroyProfile() void
dissociateProfile(VcManagedEntity[] entity) void
dissociateProfile(com.vmware.vmo.plugin.vi4.model.VimManagedEntity[] ) void
exportProfile() String
retrieveDescription() VcProfileDescription

Returned by

Method Returns
VcClusterProfileManager.createProfile(VcProfileCreateSpec createSpec) VcProfile
VcClusterProfileManager.findAssociatedProfile(VcManagedEntity entity) VcProfile[]
VcHostProfileManager.createProfile(VcProfileCreateSpec createSpec) VcProfile
VcHostProfileManager.findAssociatedProfile(VcManagedEntity entity) VcProfile[]
VcProfileManager.createProfile(VcProfileCreateSpec createSpec) VcProfile
VcProfileManager.findAssociatedProfile(VcManagedEntity entity) VcProfile[]

Referenced in

Method Returns
VcClusterProfileManager.queryPolicyMetadata(String[] policyName, VcProfile profile) VcProfilePolicyMetadata[]
VcHostProfileManager.createDefaultProfile(String profileType, String profileTypeName, VcProfile profile) VcApplyProfile
VcHostProfileManager.queryHostProfileMetadata(String[] profileName, VcProfile profile) VcProfileMetadata[]
VcHostProfileManager.queryPolicyMetadata(String[] policyName, VcProfile profile) VcProfilePolicyMetadata[]
VcHostProfileManager.queryProfileStructure(VcProfile profile) VcProfileProfileStructure
VcProfileComplianceManager.checkCompliance_Task(VcProfile[] profile, VcManagedEntity[] entity) VcTask
VcProfileComplianceManager.checkCompliance_Task(VcProfile[] , com.vmware.vmo.plugin.vi4.model.VimManagedEntity[] ) VcTask
VcProfileComplianceManager.clearComplianceStatus(VcProfile[] profile, VcManagedEntity[] entity) void
VcProfileComplianceManager.clearComplianceStatus(VcProfile[] , com.vmware.vmo.plugin.vi4.model.VimManagedEntity[] ) void
VcProfileComplianceManager.queryComplianceStatus(VcProfile[] profile, VcManagedEntity[] entity) VcComplianceResult[]
VcProfileComplianceManager.queryComplianceStatus(VcProfile[] , com.vmware.vmo.plugin.vi4.model.VimManagedEntity[] ) VcComplianceResult[]
VcProfileComplianceManager.queryExpressionMetadata(String[] expressionName, VcProfile profile) VcProfileExpressionMetadata[]
VcProfileManager.queryPolicyMetadata(String[] policyName, VcProfile profile) VcProfilePolicyMetadata[]