com.vmware.appliance.vcenter.settings package¶
Subpackages¶
- com.vmware.appliance.vcenter.settings.v1 package
- Subpackages
- com.vmware.appliance.vcenter.settings.v1.config package
- Subpackages
- com.vmware.appliance.vcenter.settings.v1.config.components package
- Subpackages
- com.vmware.appliance.vcenter.settings.v1.config.components.inventory package
- Subpackages
- Submodules
- com.vmware.appliance.vcenter.settings.v1.config.components.inventory.cluster_client module
- com.vmware.appliance.vcenter.settings.v1.config.components.inventory.common_client module
- com.vmware.appliance.vcenter.settings.v1.config.components.inventory.datacenter_client module
- com.vmware.appliance.vcenter.settings.v1.config.components.inventory.datastore_client module
- com.vmware.appliance.vcenter.settings.v1.config.components.inventory.folder_client module
- com.vmware.appliance.vcenter.settings.v1.config.components.inventory.host_client module
- com.vmware.appliance.vcenter.settings.v1.config.components.inventory.network_client module
- com.vmware.appliance.vcenter.settings.v1.config.components.inventory.resourcepool_client module
- com.vmware.appliance.vcenter.settings.v1.config.components.inventory.vm_client module
- com.vmware.appliance.vcenter.settings.v1.config.components.inventory package
- Submodules
- com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt_client module
- com.vmware.appliance.vcenter.settings.v1.config.components.authcommon_client module
- com.vmware.appliance.vcenter.settings.v1.config.components.authmanagement_client module
- com.vmware.appliance.vcenter.settings.v1.config.components.inventory_client module
- com.vmware.appliance.vcenter.settings.v1.config.components.inventoryauthorization_client module
- com.vmware.appliance.vcenter.settings.v1.config.components.managementcluster_client module
- com.vmware.appliance.vcenter.settings.v1.config.components.vsphereuiconfiguration_client module
- Subpackages
- com.vmware.appliance.vcenter.settings.v1.config.components package
- Submodules
- com.vmware.appliance.vcenter.settings.v1.config.components_client module
- Subpackages
- com.vmware.appliance.vcenter.settings.v1.config package
- Submodules
- com.vmware.appliance.vcenter.settings.v1.config_client module
- Subpackages
Submodules¶
com.vmware.appliance.vcenter.settings.v1_client module¶
The com.vmware.appliance.vcenter.settings.v1_client module provides classes
to manage the ConfigManagement.
-
class
com.vmware.appliance.vcenter.settings.v1_client.ApplyImpact(string)¶ Bases:
vmware.vapi.bindings.enum.EnumThe
ApplyImpactclass contains information about the impact of applying the target state. Warning: This enumeration is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.Note
This class represents an enumerated type in the interface language definition. The class contains class attributes which represent the values in the current version of the enumerated type. Newer versions of the enumerated type may contain new values. To use new values of the enumerated type in communication with a server that supports the newer version of the API, you instantiate this class. See enumerated type description page.
- Parameters
string (
str) – String value for theApplyImpactinstance.
-
NO_IMPACT= ApplyImpact(string='NO_IMPACT')¶ Appliance has no impact. Warning: This class attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
-
REBOOT_REQUIRED= ApplyImpact(string='REBOOT_REQUIRED')¶ Appliance requires reboot to reach this target state. Warning: This class attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
-
RESTART_SERVICE= ApplyImpact(string='RESTART_SERVICE')¶ To reach the target state appliance requires services to restart. Warning: This class attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
-
class
com.vmware.appliance.vcenter.settings.v1_client.CheckResult(impact=None, start_time=None, end_time=None, profile=None, version=None, valid=None, invalid=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStructThe
CheckResultclass contains attributes that describe the precheck results of an appliance. method. Warning: This class is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
impact (
Impact) – Overall Impact. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.start_time (
datetime.datetime) – Time when the method started. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.end_time (
datetime.datetimeorNone) – Time when the method completed. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. If None, the endTime will be empty.profile (
str) – Identifier of the profile on which the prechek is run to generate this result. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. When clients pass a value of this class as a parameter, the attribute must be an identifier for the resource type:com.vmware.appliance.vcenter.settings.v1.config.profile. When methods return a value of this class as a return value, the attribute will be an identifier for the resource type:com.vmware.appliance.vcenter.settings.v1.config.profile.version (
str) – The version of the profile. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. When clients pass a value of this class as a parameter, the attribute must be an identifier for the resource type:com.vmware.appliance.vcenter.settings.v1.config.component. When methods return a value of this class as a return value, the attribute will be an identifier for the resource type:com.vmware.appliance.vcenter.settings.v1.config.component.valid (
setofstr) – Identifiers of the valid components. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. When clients pass a value of this class as a parameter, the attribute must contain identifiers for the resource type:com.vmware.appliance.vcenter.settings.v1.config.component. When methods return a value of this class as a return value, the attribute will contain identifiers for the resource type:com.vmware.appliance.vcenter.settings.v1.config.component.invalid (
setofstr) – Identifiers of the Invalid components. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. When clients pass a value of this class as a parameter, the attribute must contain identifiers for the resource type:com.vmware.appliance.vcenter.settings.v1.config.component. When methods return a value of this class as a return value, the attribute will contain identifiers for the resource type:com.vmware.appliance.vcenter.settings.v1.config.component.
-
class
com.vmware.appliance.vcenter.settings.v1_client.ComplianceResult(diff_results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStructThe
ComplianceResultclass defines the information about scan results. Warning: This class is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
diff_results (
dictofstrandDiffResult) – Map of property value differences between current software state and working profile. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
-
class
com.vmware.appliance.vcenter.settings.v1_client.Config(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterfaceThe
Configclass provides methods to manage desired configuration specification of vCenter.- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.
-
class
ApplyDesiredStateSpec(desired_state=None, apply_spec=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStructThe
Config.ApplyDesiredStateSpecclass contains attributes that describe desired state spec apply specification for vCenter. Warning: This class is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
desired_state (
DesiredState) – Defines the desired state. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.apply_spec (
Config.ApplySpec) – applySpec to include a message with the apply. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
-
class
ApplyResult(status=None, start_time=None, end_time=None, notifications=None, profile=None, version=None, success=None, failed=None, skipped=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStructThe
Config.ApplyResultclass contains attributes that describe the result of an apply operation. Warning: This class is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
status (
Config.ApplyStatus) – Specifies the aggregated status. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.start_time (
datetime.datetime) – Time when the method started. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.end_time (
datetime.datetimeorNone) – Time when the method completed. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. If None, the endTime will be empty.notifications (
Notifications) – Notifications providing additional information about the status of the method. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.profile (
str) – The identifier of the commit used to fetch the configuration state to be applied to all components within the appliance. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. When clients pass a value of this class as a parameter, the attribute must be an identifier for the resource type:com.vmware.appliance.vcenter.settings.v1.config.profile. When methods return a value of this class as a return value, the attribute will be an identifier for the resource type:com.vmware.appliance.vcenter.settings.v1.config.profile.version (
str) – The version of the profile. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. When clients pass a value of this class as a parameter, the attribute must be an identifier for the resource type:com.vmware.appliance.vcenter.settings.v1.config.version. When methods return a value of this class as a return value, the attribute will be an identifier for the resource type:com.vmware.appliance.vcenter.settings.v1.config.version.success (
setofstr) – Set of successfully applied components. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. When clients pass a value of this class as a parameter, the attribute must contain identifiers for the resource type:com.vmware.appliance.vcenter.settings.v1.config.component. When methods return a value of this class as a return value, the attribute will contain identifiers for the resource type:com.vmware.appliance.vcenter.settings.v1.config.component.failed (
setofstr) – Set of failed components. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. When clients pass a value of this class as a parameter, the attribute must contain identifiers for the resource type:com.vmware.appliance.vcenter.settings.v1.config.component. When methods return a value of this class as a return value, the attribute will contain identifiers for the resource type:com.vmware.appliance.vcenter.settings.v1.config.component.skipped (
setofstr) – Set of skipped components. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. When clients pass a value of this class as a parameter, the attribute must contain identifiers for the resource type:com.vmware.appliance.vcenter.settings.v1.config.component. When methods return a value of this class as a return value, the attribute will contain identifiers for the resource type:com.vmware.appliance.vcenter.settings.v1.config.component.
-
class
ApplySpec(message=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStructThe
Config.ApplySpecclass contains attributes that describe desired profile apply specification for vCenter. Warning: This class is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
message (
str) – Message to include with the apply. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
-
class
ApplyStatus(string)¶ Bases:
vmware.vapi.bindings.enum.EnumThe
Config.ApplyStatusclass contains the possible different status codes that can be returned while trying to apply the configuration specification to the vcenter. Warning: This enumeration is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.Note
This class represents an enumerated type in the interface language definition. The class contains class attributes which represent the values in the current version of the enumerated type. Newer versions of the enumerated type may contain new values. To use new values of the enumerated type in communication with a server that supports the newer version of the API, you instantiate this class. See enumerated type description page.
- Parameters
string (
str) – String value for theApplyStatusinstance.
-
ERROR= ApplyStatus(string='ERROR')¶ The method encountered an error. Warning: This class attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
-
SKIPPED= ApplyStatus(string='SKIPPED')¶ The method was skipped. Warning: This class attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
-
SUCCESS= ApplyStatus(string='SUCCESS')¶ The method completed successfully. Warning: This class attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
-
TIMED_OUT= ApplyStatus(string='TIMED_OUT')¶ The method timed out. Warning: This class attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
-
class
CheckDesiredStateSpec(desired_state=None, check_spec=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStructThe
Config.CheckDesiredStateSpecclass contains attributes that describe desired state spec check specification for vCenter. Warning: This class is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
desired_state (
DesiredState) – Defines the desired state. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.check_spec (
Config.CheckSpec) – checkSpec to include a message with the apply. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
-
class
CheckSpec(message=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStructThe
Config.CheckSpecclass contains attributes that describe desired profile check specification for vCenter. Warning: This class is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
message (
str) – Message to include with the check. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
-
class
CreateSpec(name=None, description=None, desired_state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStructThe
Config.CreateSpecclass contains the specification required to create a profile in vCenter. the spec contains attributes that describe information about the profile. Warning: This class is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
name (
str) – Name of the profile. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.description (
strorNone) – Description of the profile. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. If None, the description will be empty.desired_state (
DesiredState) – Defines the desired state. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
-
class
Info(profile=None, version=None, name=None, creation_time=None, owner=None, description=None, desired_state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStructThe
Config.Infoclass represents information about the config profile. the spec contains attributes that describe information about the profile. Warning: This class is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
profile (
str) – The identifier of the profile. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. When clients pass a value of this class as a parameter, the attribute must be an identifier for the resource type:com.vmware.appliance.vcenter.settings.v1.config.profile. When methods return a value of this class as a return value, the attribute will be an identifier for the resource type:com.vmware.appliance.vcenter.settings.v1.config.profile.version (
str) – Version of the profile. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. When clients pass a value of this class as a parameter, the attribute must be an identifier for the resource type:com.vmware.appliance.vcenter.settings.v1.config.version. When methods return a value of this class as a return value, the attribute will be an identifier for the resource type:com.vmware.appliance.vcenter.settings.v1.config.version.name (
str) – Name of the profile. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.creation_time (
datetime.datetime) – Creation time of the profile. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.owner (
str) – Owner of the profile, the one who created. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.description (
strorNone) – Custom description provided by the user. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. If None description will be empty.desired_state (
DesiredState) – The desired state. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
-
class
ScanSpec(message=None, desired_state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStructThe
Config.ScanSpecclass contains the specification required for compliance check against the vCenter current config state. Warning: This class is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
message (
strorNone) – Message for the scan. This may act as an identification for the scan operation. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. If None, the message will be empty.desired_state (
DesiredState) – Defines the desired state. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
-
apply_desired_state_task(spec)¶ Apply the specified DesiredState spec to the vCenter. The result of this operation can be queried by calling the cis/tasks/{task-id} where the task-id is the response of this operation. Warning: This method is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
- Parameters
spec (
Config.ApplyDesiredStateSpec) – ApplyDesiredStateSpec spec to be validated and applied.- Return type
- class
vmware.vapi.stdlib.client.task.Task
- Returns
Task instance
- Raise
com.vmware.vapi.std.errors_client.ErrorIf there is unknown internal error. The accompanying error message will give more details about the failure.- Raise
com.vmware.vapi.std.errors_client.NotAllowedInCurrentStateIf there is another operation in progress.- Raise
com.vmware.vapi.std.errors_client.InvalidArgumentIf validation of the desired-state spec fails. The value of the data attribute ofcom.vmware.vapi.std.errors_client.Errorwill be a class that contains all the attributes defined inConfig.ApplyResult.- Raise
com.vmware.vapi.std.errors_client.ServiceUnavailableIf the service is not available.- Raise
com.vmware.vapi.std.errors_client.UnauthenticatedIf the caller is not authenticated.
-
check_desired_state_task(spec)¶ Validate (Check) the specified DesiredState spec containing configurations, and verify if it can be applied to the vCenter. The result of this operation can be queried by calling the cis/tasks/{task-id} where the task-id is the response of this operation. Warning: This method is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
- Parameters
spec (
Config.CheckDesiredStateSpec) – CheckDesiredStateSpec spec to be validated.- Return type
- class
vmware.vapi.stdlib.client.task.Task
- Returns
Task instance
- Raise
com.vmware.vapi.std.errors_client.ErrorIf there is unknown internal error. The accompanying error message will give more details about the failure.- Raise
com.vmware.vapi.std.errors_client.ServiceUnavailableIf the service is not available.- Raise
com.vmware.vapi.std.errors_client.UnauthenticatedIf the caller is not authenticated.
-
create(spec)¶ Creates a Profile. Warning: This method is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
- Parameters
spec (
Config.CreateSpec) – Specification of the profile to be created.- Return type
str- Returns
ID of newly-created profile. The return value will be an identifier for the resource type:
com.vmware.appliance.vcenter.settings.v1.config.profile.- Raise
com.vmware.vapi.std.errors_client.AlreadyExistsif a profile with the specified name already exists.- Raise
com.vmware.vapi.std.errors_client.Errorif the system reports an error while responding to the request.- Raise
com.vmware.vapi.std.errors_client.InvalidArgumentif any of the specified parameters are invalid.- Raise
com.vmware.vapi.std.errors_client.ServiceUnavailableif the system is unable to communicate with a service to complete the request.- Raise
com.vmware.vapi.std.errors_client.Unauthenticatedif the user can not be authenticated.
-
delete()¶ Deletes a profile. Warning: This method is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
- Raise
com.vmware.vapi.std.errors_client.Errorif the system reports an error while responding to the request.- Raise
com.vmware.vapi.std.errors_client.NotAllowedInCurrentStateif any other operation running on the same profile.- Raise
com.vmware.vapi.std.errors_client.NotFoundif the profile is not found.- Raise
com.vmware.vapi.std.errors_client.ServiceUnavailableif the system is unable to communicate service to complete the request.- Raise
com.vmware.vapi.std.errors_client.Unauthenticatedif the user can not be authenticated.
-
get()¶ Returns information about a profile. Warning: This method is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
- Return type
- Returns
Information about the specified profile.
- Raise
com.vmware.vapi.std.errors_client.Errorif the system reports an error while responding to the request.- Raise
com.vmware.vapi.std.errors_client.InvalidArgumentIf given version is different than the latest one.- Raise
com.vmware.vapi.std.errors_client.NotFoundIf there is no profile or version associated withprofileorversionin the system.- Raise
com.vmware.vapi.std.errors_client.ServiceUnavailableif the system is unable to communicate with a service to complete the request.- Raise
com.vmware.vapi.std.errors_client.Unauthenticatedif the user can not be authenticated.
-
scan_desired_state_task(spec)¶ Scans all the components in the desired state against the applied profile. result of this operation can be queried by calling the api cis/tasks/{task-id} where the task-id is the response of this operation. Warning: This method is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
- Parameters
spec (
Config.ScanSpec) –- Return type
- class
vmware.vapi.stdlib.client.task.Task
- Returns
Task instance
- Raise
com.vmware.vapi.std.errors_client.ErrorIf there is unknown internal error. The accompanying error message will give more details about the failure.- Raise
com.vmware.vapi.std.errors_client.ServiceUnavailableIf the service is not available.- Raise
com.vmware.vapi.std.errors_client.UnauthenticatedIf the caller is not authenticated.
-
scan_task(version)¶ Scans all the components in the profiles against the applied profile. result of this operation can be queried by calling the api cis/tasks/{task-id} where the task-id is the response of this operation. Warning: This method is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
- Parameters
version (
str) – version of the profile. The parameter must be an identifier for the resource type:com.vmware.appliance.vcenter.settings.v1.config.version.- Return type
- class
vmware.vapi.stdlib.client.task.Task
- Returns
Task instance
- Raise
com.vmware.vapi.std.errors_client.ErrorIf there is unknown internal error. The accompanying error message will give more details about the failure.- Raise
com.vmware.vapi.std.errors_client.NotFoundIf there is no profile associated withprofilein the system.- Raise
com.vmware.vapi.std.errors_client.ServiceUnavailableIf the service is not available.- Raise
com.vmware.vapi.std.errors_client.UnauthenticatedIf the caller is not authenticated.
-
class
com.vmware.appliance.vcenter.settings.v1_client.ConfigCurrent(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterfaceThe
ConfigCurrentclass provides methods to get the current state of the vCenter. Warning: This class is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.
-
get()¶ Returns the current state of the vCenter. Warning: This method is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
- Return type
- Returns
- Raise
com.vmware.vapi.std.errors_client.ErrorIf there is unknown internal error. The accompanying error message will give more details about the failure.- Raise
com.vmware.vapi.std.errors_client.ServiceUnavailableIf the service is not available.- Raise
com.vmware.vapi.std.errors_client.UnauthenticatedIf the caller is not authenticated.
-
class
com.vmware.appliance.vcenter.settings.v1_client.DesiredState(appliance=None, authmgmt=None, inventory=None, vsphereuiconfiguration=None, invtauthmgmt=None, managementcluster=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStructThe
DesiredStateclass defines the configuration about different components in vCenter. Warning: This class is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
appliance (
com.vmware.appliance.vcenter.settings.v1.config.components.applmgmt_client.ApplianceManagementorNone) – Appliance Management component desired spec. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.authmgmt (
com.vmware.appliance.vcenter.settings.v1.config.components.authmanagement_client.AuthenticationManagementorNone) – Authentication Management component desired spec. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.inventory (
com.vmware.appliance.vcenter.settings.v1.config.components.inventory_client.InventoryManagementorNone) – Inventory Configurations. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.vsphereuiconfiguration (
com.vmware.appliance.vcenter.settings.v1.config.components.vsphereuiconfiguration_client.VsphereUIConfigurationorNone) – Clientcapabilities Configurations. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.invtauthmgmt (
com.vmware.appliance.vcenter.settings.v1.config.components.inventoryauthorization_client.InventoryAuthorizationorNone) – Inventory Authorization. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.managementcluster (
com.vmware.appliance.vcenter.settings.v1.config.components.managementcluster_client.ManagementClusterorNone) – Management Cluster Configurations. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. This attribute is optional because it was added in a newer version than its parent node.
-
class
com.vmware.appliance.vcenter.settings.v1_client.DiffResult(current_value=None, desired_value=None, category=None, path=None, description=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStructThe
DiffResultclass defines the information about the feature configuration. Warning: This class is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
current_value (
DataValue) – Current property value. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.desired_value (
DataValue) – Desired property value. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.category (
str) – Category of component configuration. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.path (
str) – Path of the component configuration. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.description (
str) – Description of the component configuration. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
-
class
com.vmware.appliance.vcenter.settings.v1_client.Impact(apply_impact=None, vcenter_services=None, system_services=None, message=None, status=None, notifications=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStructThe
Impactclass contains attributes that describe the impact during apply. method. Warning: This class is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
apply_impact (
ApplyImpact) – Impact to the vCenter if the profile is applied. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.vcenter_services (
setofstrorNone) – List of the vCenter services to be restarted. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. If None there no impact on system.system_services (
setofstrorNone) – List of the System services to be restarted. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. If None there no impact on system.message (
listofcom.vmware.vapi.std_client.LocalizableMessage) – Description of the impact. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.status (
StatusType) – Validation status of the appliance. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.notifications (
Notifications) – Notifications returned by the validation operation. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
-
class
com.vmware.appliance.vcenter.settings.v1_client.Notification(notification=None, time=None, message=None, resolution=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStructThe
Notificationclass contains attributes to describe any info/warning/error messages that Tasks can raise. Warning: This class is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
notification (
str) – The notification Identifier. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. When clients pass a value of this class as a parameter, the attribute must be an identifier for the resource type:com.vmware.appliance.vcenter.settings.v1.config.notification. When methods return a value of this class as a return value, the attribute will be an identifier for the resource type:com.vmware.appliance.vcenter.settings.v1.config.notification.time (
datetime.datetimeorNone) – The time the notification was raised. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. Onlysetif the time information is available.message (
com.vmware.vapi.std_client.LocalizableMessage) – The notification message. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.resolution (
com.vmware.vapi.std_client.LocalizableMessageorNone) – The resolution message, if any. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. Onlysetfor warnings and errors.
-
class
com.vmware.appliance.vcenter.settings.v1_client.Notifications(info=None, warnings=None, errors=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStructThe
Notificationsclass contains info/warning/error messages that can be reported be the task. Warning: This class is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
info (
listofNotificationorNone) – Info notification messages reported. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. Onlysetif an info was reported by the task.warnings (
listofNotificationorNone) – Warning notification messages reported. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. Onlysetif an warning was reported by the task.errors (
listofNotificationorNone) – Error notification messages reported. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. Onlysetif an error was reported by the task.
-
class
com.vmware.appliance.vcenter.settings.v1_client.ScanResult(status=None, notifications=None, start_time=None, end_time=None, profile=None, version=None, compliant=None, non_compliant=None, unavailable=None, compliance_result=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStructThe
ScanResultclass contains attributes to describe the scan result of a appliance. Warning: This class is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
status (
ScanResult.ComplianceStatus) – Aggregrated compliance state of the appliance. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.notifications (
Notifications) – Notifications returned by the scan operation. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.start_time (
datetime.datetime) – Time when the method started. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.end_time (
datetime.datetimeorNone) – Time when the method completed. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. If None, the endTime will be empty.profile (
str) – Identifier of the apply on which the scan is run to generate this result. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. When clients pass a value of this class as a parameter, the attribute must be an identifier for the resource type:com.vmware.appliance.vcenter.settings.v1.config.profile. When methods return a value of this class as a return value, the attribute will be an identifier for the resource type:com.vmware.appliance.vcenter.settings.v1.config.profile.version (
str) – The version of the profile. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. When clients pass a value of this class as a parameter, the attribute must be an identifier for the resource type:com.vmware.appliance.vcenter.settings.v1.config.version. When methods return a value of this class as a return value, the attribute will be an identifier for the resource type:com.vmware.appliance.vcenter.settings.v1.config.version.compliant (
setofstr) – Identifiers of compliant components. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. When clients pass a value of this class as a parameter, the attribute must contain identifiers for the resource type:com.vmware.appliance.vcenter.settings.v1.config.component. When methods return a value of this class as a return value, the attribute will contain identifiers for the resource type:com.vmware.appliance.vcenter.settings.v1.config.component.non_compliant (
setofstr) – Identifiers of non-compliant components. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. When clients pass a value of this class as a parameter, the attribute must contain identifiers for the resource type:com.vmware.appliance.vcenter.settings.v1.config.component. When methods return a value of this class as a return value, the attribute will contain identifiers for the resource type:com.vmware.appliance.vcenter.settings.v1.config.component.unavailable (
setofstr) – Identifiers of unavailable components. There will not be compliance details for these components. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. When clients pass a value of this class as a parameter, the attribute must contain identifiers for the resource type:com.vmware.appliance.vcenter.settings.v1.config.component. When methods return a value of this class as a return value, the attribute will contain identifiers for the resource type:com.vmware.appliance.vcenter.settings.v1.config.component.compliance_result (
dictofstrandComplianceResult) – Mapping of component identifier to the compliance result. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. When clients pass a value of this class as a parameter, the key in the attributedictmust be an identifier for the resource type:com.vmware.appliance.vcenter.settings.v1.config.component. When methods return a value of this class as a return value, the key in the attributedictwill be an identifier for the resource type:com.vmware.appliance.vcenter.settings.v1.config.component.
-
class
ComplianceStatus(string)¶ Bases:
vmware.vapi.bindings.enum.EnumThe
ScanResult.ComplianceStatusclass contains the possible different status of compliance with respect to target version. Warning: This enumeration is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.Note
This class represents an enumerated type in the interface language definition. The class contains class attributes which represent the values in the current version of the enumerated type. Newer versions of the enumerated type may contain new values. To use new values of the enumerated type in communication with a server that supports the newer version of the API, you instantiate this class. See enumerated type description page.
- Parameters
string (
str) – String value for theComplianceStatusinstance.
-
COMPLIANT= ComplianceStatus(string='COMPLIANT')¶ Target configuration is same as the current configuration?. Warning: This class attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
-
NON_COMPLIANT= ComplianceStatus(string='NON_COMPLIANT')¶ Target configuration is not same as the current configuration. Warning: This class attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
-
UNAVAILABLE= ComplianceStatus(string='UNAVAILABLE')¶ Scan check failed due to unknown error or check hasn’t happened yet and the results are not available. Warning: This class attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
-
class
com.vmware.appliance.vcenter.settings.v1_client.StatusType(string)¶ Bases:
vmware.vapi.bindings.enum.EnumThe
StatusTypeclass defines possible values of profile status. Warning: This enumeration is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.Note
This class represents an enumerated type in the interface language definition. The class contains class attributes which represent the values in the current version of the enumerated type. Newer versions of the enumerated type may contain new values. To use new values of the enumerated type in communication with a server that supports the newer version of the API, you instantiate this class. See enumerated type description page.
- Parameters
string (
str) – String value for theStatusTypeinstance.
-
INVALID= StatusType(string='INVALID')¶ Profile Configuration is invalid. Warning: This class attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
-
VALID= StatusType(string='VALID')¶ Profile configuration is valid. Warning: This class attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
-
class
com.vmware.appliance.vcenter.settings.v1_client.StubFactory(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBaseInitialize StubFactoryBase
- Parameters
stub_config (
vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance
-
class
com.vmware.appliance.vcenter.settings.v1_client.TaskInfo(progress=None, notifications=None, result=None, description=None, service=None, operation=None, parent=None, target=None, status=None, cancelable=None, error=None, start_time=None, end_time=None, user=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStructThe
TaskInfoclass contains information about a task. Warning: This class is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
progress (
com.vmware.cis.task_client.Progress) – Progress of the operation. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. This attribute is optional and it is only relevant when the value ofCommonInfo#statusis one ofcom.vmware.cis.task_client.Status.RUNNING,com.vmware.cis.task_client.Status.BLOCKED,com.vmware.cis.task_client.Status.SUCCEEDED, orcom.vmware.cis.task_client.Status.FAILED.notifications (
NotificationsorNone) – Notifications to the user. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. Onlysetif the notifications were reported by this particular task.result (
DataValueorNone) – Task result. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. This attribute will be None if the task has no result.description (
com.vmware.vapi.std_client.LocalizableMessage) – Description of the operation associated with the task.service (
str) – Identifier of the service containing the operation. When clients pass a value of this class as a parameter, the attribute must be an identifier for the resource type:com.vmware.vapi.service. When methods return a value of this class as a return value, the attribute will be an identifier for the resource type:com.vmware.vapi.service.operation (
str) – Identifier of the operation associated with the task. When clients pass a value of this class as a parameter, the attribute must be an identifier for the resource type:com.vmware.vapi.operation. When methods return a value of this class as a return value, the attribute will be an identifier for the resource type:com.vmware.vapi.operation.parent (
strorNone) – Parent of the current task. When clients pass a value of this class as a parameter, the attribute must be an identifier for the resource type:com.vmware.cis.task. When methods return a value of this class as a return value, the attribute will be an identifier for the resource type:com.vmware.cis.task. This attribute will be None if the task has no parent.target (
com.vmware.vapi.std_client.DynamicIDorNone) – Identifier of the target created by the operation or an existing one the operation performed on. This attribute will be None if the operation has no target or multiple targets.status (
com.vmware.cis.task_client.Status) – Status of the operation associated with the task.cancelable (
bool) – Flag to indicate whether or not the operation can be cancelled. The value may change as the operation progresses.error (
ExceptionorNone) – Description of the error if the operation status is “FAILED”. If None the description of why the operation failed will be included in the result of the operation (seecom.vmware.cis.task_client.Info.result).start_time (
datetime.datetime) – Time when the operation is started. This attribute is optional and it is only relevant when the value ofstatusis one ofcom.vmware.cis.task_client.Status.RUNNING,com.vmware.cis.task_client.Status.BLOCKED,com.vmware.cis.task_client.Status.SUCCEEDED, orcom.vmware.cis.task_client.Status.FAILED.end_time (
datetime.datetime) – Time when the operation is completed. This attribute is optional and it is only relevant when the value ofstatusis one ofcom.vmware.cis.task_client.Status.SUCCEEDEDorcom.vmware.cis.task_client.Status.FAILED.user (
strorNone) – Name of the user who performed the operation. This attribute will be None if the operation is performed by the system.