diff --git a/vsphere/7.0.0.1/_sources/com.rst.txt b/vsphere/7.0.0.1/_sources/com.rst.txt new file mode 100644 index 00000000..67cd77f5 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.rst.txt @@ -0,0 +1,14 @@ +com package +=========== + +.. automodule:: com + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware diff --git a/vsphere/7.0.0.1/_sources/com.vmware.appliance.networking.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.appliance.networking.rst.txt new file mode 100644 index 00000000..633defba --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.appliance.networking.rst.txt @@ -0,0 +1,35 @@ +com.vmware.appliance.networking package +======================================= + +.. automodule:: com.vmware.appliance.networking + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.appliance.networking.dns\_client module +-------------------------------------------------- + +.. automodule:: com.vmware.appliance.networking.dns_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.appliance.networking.firewall\_client module +------------------------------------------------------- + +.. automodule:: com.vmware.appliance.networking.firewall_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.appliance.networking.interfaces\_client module +--------------------------------------------------------- + +.. automodule:: com.vmware.appliance.networking.interfaces_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.appliance.recovery.backup.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.appliance.recovery.backup.rst.txt new file mode 100644 index 00000000..4ec9a12d --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.appliance.recovery.backup.rst.txt @@ -0,0 +1,27 @@ +com.vmware.appliance.recovery.backup package +============================================ + +.. automodule:: com.vmware.appliance.recovery.backup + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.appliance.recovery.backup.job\_client module +------------------------------------------------------- + +.. automodule:: com.vmware.appliance.recovery.backup.job_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.appliance.recovery.backup.system\_name\_client module +---------------------------------------------------------------- + +.. automodule:: com.vmware.appliance.recovery.backup.system_name_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.appliance.recovery.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.appliance.recovery.rst.txt new file mode 100644 index 00000000..9f3dae58 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.appliance.recovery.rst.txt @@ -0,0 +1,42 @@ +com.vmware.appliance.recovery package +===================================== + +.. automodule:: com.vmware.appliance.recovery + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.appliance.recovery.backup + +Submodules +---------- + +com.vmware.appliance.recovery.backup\_client module +--------------------------------------------------- + +.. automodule:: com.vmware.appliance.recovery.backup_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.appliance.recovery.reconciliation\_client module +----------------------------------------------------------- + +.. automodule:: com.vmware.appliance.recovery.reconciliation_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.appliance.recovery.restore\_client module +---------------------------------------------------- + +.. automodule:: com.vmware.appliance.recovery.restore_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.appliance.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.appliance.rst.txt new file mode 100644 index 00000000..3c10abf2 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.appliance.rst.txt @@ -0,0 +1,140 @@ +com.vmware.appliance package +============================ + +.. automodule:: com.vmware.appliance + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.appliance.networking + com.vmware.appliance.recovery + com.vmware.appliance.system + +Submodules +---------- + +com.vmware.appliance.access\_client module +------------------------------------------ + +.. automodule:: com.vmware.appliance.access_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.appliance.health\_client module +------------------------------------------ + +.. automodule:: com.vmware.appliance.health_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.appliance.infraprofile\_client module +------------------------------------------------ + +.. automodule:: com.vmware.appliance.infraprofile_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.appliance.local\_accounts\_client module +--------------------------------------------------- + +.. automodule:: com.vmware.appliance.local_accounts_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.appliance.localaccounts\_client module +------------------------------------------------- + +.. automodule:: com.vmware.appliance.localaccounts_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.appliance.logging\_client module +------------------------------------------- + +.. automodule:: com.vmware.appliance.logging_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.appliance.monitoring\_client module +---------------------------------------------- + +.. automodule:: com.vmware.appliance.monitoring_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.appliance.networking\_client module +---------------------------------------------- + +.. automodule:: com.vmware.appliance.networking_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.appliance.ntp\_client module +--------------------------------------- + +.. automodule:: com.vmware.appliance.ntp_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.appliance.recovery\_client module +-------------------------------------------- + +.. automodule:: com.vmware.appliance.recovery_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.appliance.shutdown\_client module +-------------------------------------------- + +.. automodule:: com.vmware.appliance.shutdown_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.appliance.system\_client module +------------------------------------------ + +.. automodule:: com.vmware.appliance.system_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.appliance.tymesync\_client module +-------------------------------------------- + +.. automodule:: com.vmware.appliance.tymesync_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.appliance.update\_client module +------------------------------------------ + +.. automodule:: com.vmware.appliance.update_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.appliance.vmon\_client module +---------------------------------------- + +.. automodule:: com.vmware.appliance.vmon_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.appliance.system.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.appliance.system.rst.txt new file mode 100644 index 00000000..a7f54616 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.appliance.system.rst.txt @@ -0,0 +1,19 @@ +com.vmware.appliance.system package +=================================== + +.. automodule:: com.vmware.appliance.system + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.appliance.system.time\_client module +----------------------------------------------- + +.. automodule:: com.vmware.appliance.system.time_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.cis.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.cis.rst.txt new file mode 100644 index 00000000..aeaf7d2a --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.cis.rst.txt @@ -0,0 +1,27 @@ +com.vmware.cis package +====================== + +.. automodule:: com.vmware.cis + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.cis.tagging\_client module +------------------------------------- + +.. automodule:: com.vmware.cis.tagging_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.cis.task\_client module +---------------------------------- + +.. automodule:: com.vmware.cis.task_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.content.library.item.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.content.library.item.rst.txt new file mode 100644 index 00000000..c3ca1d48 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.content.library.item.rst.txt @@ -0,0 +1,27 @@ +com.vmware.content.library.item package +======================================= + +.. automodule:: com.vmware.content.library.item + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.content.library.item.downloadsession\_client module +-------------------------------------------------------------- + +.. automodule:: com.vmware.content.library.item.downloadsession_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.content.library.item.updatesession\_client module +------------------------------------------------------------ + +.. automodule:: com.vmware.content.library.item.updatesession_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.content.library.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.content.library.rst.txt new file mode 100644 index 00000000..0a684082 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.content.library.rst.txt @@ -0,0 +1,26 @@ +com.vmware.content.library package +================================== + +.. automodule:: com.vmware.content.library + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.content.library.item + +Submodules +---------- + +com.vmware.content.library.item\_client module +---------------------------------------------- + +.. automodule:: com.vmware.content.library.item_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.content.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.content.rst.txt new file mode 100644 index 00000000..772d5a7f --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.content.rst.txt @@ -0,0 +1,27 @@ +com.vmware.content package +========================== + +.. automodule:: com.vmware.content + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.content.library + com.vmware.content.type + +Submodules +---------- + +com.vmware.content.library\_client module +----------------------------------------- + +.. automodule:: com.vmware.content.library_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.content.type.ovf.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.content.type.ovf.rst.txt new file mode 100644 index 00000000..02f8366d --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.content.type.ovf.rst.txt @@ -0,0 +1,19 @@ +com.vmware.content.type.ovf package +=================================== + +.. automodule:: com.vmware.content.type.ovf + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.content.type.ovf.policy\_client module +------------------------------------------------- + +.. automodule:: com.vmware.content.type.ovf.policy_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.content.type.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.content.type.rst.txt new file mode 100644 index 00000000..67805cd6 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.content.type.rst.txt @@ -0,0 +1,26 @@ +com.vmware.content.type package +=============================== + +.. automodule:: com.vmware.content.type + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.content.type.ovf + +Submodules +---------- + +com.vmware.content.type.ovf\_client module +------------------------------------------ + +.. automodule:: com.vmware.content.type.ovf_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.esx.hcl.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.esx.hcl.rst.txt new file mode 100644 index 00000000..65ffab18 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.esx.hcl.rst.txt @@ -0,0 +1,19 @@ +com.vmware.esx.hcl package +========================== + +.. automodule:: com.vmware.esx.hcl + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.esx.hcl.hosts\_client module +--------------------------------------- + +.. automodule:: com.vmware.esx.hcl.hosts_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.esx.hosts.health.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.esx.hosts.health.rst.txt new file mode 100644 index 00000000..255191f6 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.esx.hosts.health.rst.txt @@ -0,0 +1,19 @@ +com.vmware.esx.hosts.health package +=================================== + +.. automodule:: com.vmware.esx.hosts.health + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.esx.hosts.health.perspectives\_client module +------------------------------------------------------- + +.. automodule:: com.vmware.esx.hosts.health.perspectives_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.esx.hosts.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.esx.hosts.rst.txt new file mode 100644 index 00000000..66bd26f9 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.esx.hosts.rst.txt @@ -0,0 +1,26 @@ +com.vmware.esx.hosts package +============================ + +.. automodule:: com.vmware.esx.hosts + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.esx.hosts.health + +Submodules +---------- + +com.vmware.esx.hosts.software\_client module +-------------------------------------------- + +.. automodule:: com.vmware.esx.hosts.software_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.esx.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.esx.rst.txt new file mode 100644 index 00000000..dd1db23b --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.esx.rst.txt @@ -0,0 +1,44 @@ +com.vmware.esx package +====================== + +.. automodule:: com.vmware.esx + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.esx.hcl + com.vmware.esx.hosts + com.vmware.esx.settings + +Submodules +---------- + +com.vmware.esx.hcl\_client module +--------------------------------- + +.. automodule:: com.vmware.esx.hcl_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.esx.hosts\_client module +----------------------------------- + +.. automodule:: com.vmware.esx.hosts_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.esx.settings\_client module +-------------------------------------- + +.. automodule:: com.vmware.esx.settings_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.clusters.policies.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.clusters.policies.rst.txt new file mode 100644 index 00000000..c7de4236 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.clusters.policies.rst.txt @@ -0,0 +1,19 @@ +com.vmware.esx.settings.clusters.policies package +================================================= + +.. automodule:: com.vmware.esx.settings.clusters.policies + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.esx.settings.clusters.policies.apply\_client module +-------------------------------------------------------------- + +.. automodule:: com.vmware.esx.settings.clusters.policies.apply_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.clusters.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.clusters.rst.txt new file mode 100644 index 00000000..d77235f6 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.clusters.rst.txt @@ -0,0 +1,43 @@ +com.vmware.esx.settings.clusters package +======================================== + +.. automodule:: com.vmware.esx.settings.clusters + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.esx.settings.clusters.policies + com.vmware.esx.settings.clusters.software + +Submodules +---------- + +com.vmware.esx.settings.clusters.enablement\_client module +---------------------------------------------------------- + +.. automodule:: com.vmware.esx.settings.clusters.enablement_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.esx.settings.clusters.policies\_client module +-------------------------------------------------------- + +.. automodule:: com.vmware.esx.settings.clusters.policies_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.esx.settings.clusters.software\_client module +-------------------------------------------------------- + +.. automodule:: com.vmware.esx.settings.clusters.software_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.clusters.software.drafts.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.clusters.software.drafts.rst.txt new file mode 100644 index 00000000..000620a1 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.clusters.software.drafts.rst.txt @@ -0,0 +1,19 @@ +com.vmware.esx.settings.clusters.software.drafts package +======================================================== + +.. automodule:: com.vmware.esx.settings.clusters.software.drafts + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.esx.settings.clusters.software.drafts.software\_client module +------------------------------------------------------------------------ + +.. automodule:: com.vmware.esx.settings.clusters.software.drafts.software_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.clusters.software.reports.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.clusters.software.reports.rst.txt new file mode 100644 index 00000000..4249ac8f --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.clusters.software.reports.rst.txt @@ -0,0 +1,19 @@ +com.vmware.esx.settings.clusters.software.reports package +========================================================= + +.. automodule:: com.vmware.esx.settings.clusters.software.reports + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.esx.settings.clusters.software.reports.hardware\_compatibility\_client module +---------------------------------------------------------------------------------------- + +.. automodule:: com.vmware.esx.settings.clusters.software.reports.hardware_compatibility_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.clusters.software.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.clusters.software.rst.txt new file mode 100644 index 00000000..bd539922 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.clusters.software.rst.txt @@ -0,0 +1,35 @@ +com.vmware.esx.settings.clusters.software package +================================================= + +.. automodule:: com.vmware.esx.settings.clusters.software + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.esx.settings.clusters.software.drafts + com.vmware.esx.settings.clusters.software.reports + +Submodules +---------- + +com.vmware.esx.settings.clusters.software.drafts\_client module +--------------------------------------------------------------- + +.. automodule:: com.vmware.esx.settings.clusters.software.drafts_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.esx.settings.clusters.software.reports\_client module +---------------------------------------------------------------- + +.. automodule:: com.vmware.esx.settings.clusters.software.reports_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.defaults.clusters.policies.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.defaults.clusters.policies.rst.txt new file mode 100644 index 00000000..3e63a70e --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.defaults.clusters.policies.rst.txt @@ -0,0 +1,19 @@ +com.vmware.esx.settings.defaults.clusters.policies package +========================================================== + +.. automodule:: com.vmware.esx.settings.defaults.clusters.policies + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.esx.settings.defaults.clusters.policies.apply\_client module +----------------------------------------------------------------------- + +.. automodule:: com.vmware.esx.settings.defaults.clusters.policies.apply_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.defaults.clusters.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.defaults.clusters.rst.txt new file mode 100644 index 00000000..fa0a8d3e --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.defaults.clusters.rst.txt @@ -0,0 +1,26 @@ +com.vmware.esx.settings.defaults.clusters package +================================================= + +.. automodule:: com.vmware.esx.settings.defaults.clusters + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.esx.settings.defaults.clusters.policies + +Submodules +---------- + +com.vmware.esx.settings.defaults.clusters.policies\_client module +----------------------------------------------------------------- + +.. automodule:: com.vmware.esx.settings.defaults.clusters.policies_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.defaults.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.defaults.rst.txt new file mode 100644 index 00000000..d8ff2eda --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.defaults.rst.txt @@ -0,0 +1,26 @@ +com.vmware.esx.settings.defaults package +======================================== + +.. automodule:: com.vmware.esx.settings.defaults + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.esx.settings.defaults.clusters + +Submodules +---------- + +com.vmware.esx.settings.defaults.clusters\_client module +-------------------------------------------------------- + +.. automodule:: com.vmware.esx.settings.defaults.clusters_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.depot_content.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.depot_content.rst.txt new file mode 100644 index 00000000..e246df52 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.depot_content.rst.txt @@ -0,0 +1,35 @@ +com.vmware.esx.settings.depot\_content package +============================================== + +.. automodule:: com.vmware.esx.settings.depot_content + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.esx.settings.depot\_content.add\_ons\_client module +-------------------------------------------------------------- + +.. automodule:: com.vmware.esx.settings.depot_content.add_ons_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.esx.settings.depot\_content.base\_images\_client module +------------------------------------------------------------------ + +.. automodule:: com.vmware.esx.settings.depot_content.base_images_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.esx.settings.depot\_content.components\_client module +---------------------------------------------------------------- + +.. automodule:: com.vmware.esx.settings.depot_content.components_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.rst.txt new file mode 100644 index 00000000..b9dac44f --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.esx.settings.rst.txt @@ -0,0 +1,60 @@ +com.vmware.esx.settings package +=============================== + +.. automodule:: com.vmware.esx.settings + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.esx.settings.clusters + com.vmware.esx.settings.defaults + com.vmware.esx.settings.depot_content + +Submodules +---------- + +com.vmware.esx.settings.clusters\_client module +----------------------------------------------- + +.. automodule:: com.vmware.esx.settings.clusters_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.esx.settings.defaults\_client module +----------------------------------------------- + +.. automodule:: com.vmware.esx.settings.defaults_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.esx.settings.depot\_content\_client module +----------------------------------------------------- + +.. automodule:: com.vmware.esx.settings.depot_content_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.esx.settings.depots\_client module +--------------------------------------------- + +.. automodule:: com.vmware.esx.settings.depots_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.esx.settings.hosts\_client module +-------------------------------------------- + +.. automodule:: com.vmware.esx.settings.hosts_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.rst.txt new file mode 100644 index 00000000..28d86944 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.rst.txt @@ -0,0 +1,71 @@ +com.vmware package +================== + +.. automodule:: com.vmware + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.appliance + com.vmware.cis + com.vmware.content + com.vmware.esx + com.vmware.vapi + com.vmware.vcenter + +Submodules +---------- + +com.vmware.appliance\_client module +----------------------------------- + +.. automodule:: com.vmware.appliance_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.cis\_client module +----------------------------- + +.. automodule:: com.vmware.cis_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.content\_client module +--------------------------------- + +.. automodule:: com.vmware.content_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vapi\_client module +------------------------------ + +.. automodule:: com.vmware.vapi_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter\_client module +--------------------------------- + +.. automodule:: com.vmware.vcenter_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vstats\_client module +-------------------------------- + +.. automodule:: com.vmware.vstats_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vapi.metadata.authentication.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vapi.metadata.authentication.rst.txt new file mode 100644 index 00000000..79223818 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vapi.metadata.authentication.rst.txt @@ -0,0 +1,19 @@ +com.vmware.vapi.metadata.authentication package +=============================================== + +.. automodule:: com.vmware.vapi.metadata.authentication + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.vapi.metadata.authentication.service\_client module +-------------------------------------------------------------- + +.. automodule:: com.vmware.vapi.metadata.authentication.service_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vapi.metadata.metamodel.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vapi.metadata.metamodel.rst.txt new file mode 100644 index 00000000..49ae3b64 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vapi.metadata.metamodel.rst.txt @@ -0,0 +1,27 @@ +com.vmware.vapi.metadata.metamodel package +========================================== + +.. automodule:: com.vmware.vapi.metadata.metamodel + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.vapi.metadata.metamodel.resource\_client module +---------------------------------------------------------- + +.. automodule:: com.vmware.vapi.metadata.metamodel.resource_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vapi.metadata.metamodel.service\_client module +--------------------------------------------------------- + +.. automodule:: com.vmware.vapi.metadata.metamodel.service_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vapi.metadata.privilege.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vapi.metadata.privilege.rst.txt new file mode 100644 index 00000000..23211222 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vapi.metadata.privilege.rst.txt @@ -0,0 +1,19 @@ +com.vmware.vapi.metadata.privilege package +========================================== + +.. automodule:: com.vmware.vapi.metadata.privilege + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.vapi.metadata.privilege.service\_client module +--------------------------------------------------------- + +.. automodule:: com.vmware.vapi.metadata.privilege.service_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vapi.metadata.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vapi.metadata.rst.txt new file mode 100644 index 00000000..ce36bb8d --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vapi.metadata.rst.txt @@ -0,0 +1,52 @@ +com.vmware.vapi.metadata package +================================ + +.. automodule:: com.vmware.vapi.metadata + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.vapi.metadata.authentication + com.vmware.vapi.metadata.metamodel + com.vmware.vapi.metadata.privilege + +Submodules +---------- + +com.vmware.vapi.metadata.authentication\_client module +------------------------------------------------------ + +.. automodule:: com.vmware.vapi.metadata.authentication_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vapi.metadata.cli\_client module +------------------------------------------- + +.. automodule:: com.vmware.vapi.metadata.cli_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vapi.metadata.metamodel\_client module +------------------------------------------------- + +.. automodule:: com.vmware.vapi.metadata.metamodel_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vapi.metadata.privilege\_client module +------------------------------------------------- + +.. automodule:: com.vmware.vapi.metadata.privilege_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vapi.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vapi.rst.txt new file mode 100644 index 00000000..a630be4c --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vapi.rst.txt @@ -0,0 +1,35 @@ +com.vmware.vapi package +======================= + +.. automodule:: com.vmware.vapi + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.vapi.metadata + com.vmware.vapi.std + +Submodules +---------- + +com.vmware.vapi.metadata\_client module +--------------------------------------- + +.. automodule:: com.vmware.vapi.metadata_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vapi.std\_client module +---------------------------------- + +.. automodule:: com.vmware.vapi.std_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vapi.std.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vapi.std.rst.txt new file mode 100644 index 00000000..2aa44e84 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vapi.std.rst.txt @@ -0,0 +1,27 @@ +com.vmware.vapi.std package +=========================== + +.. automodule:: com.vmware.vapi.std + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.vapi.std.errors\_client module +----------------------------------------- + +.. automodule:: com.vmware.vapi.std.errors_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vapi.std.interposition\_client module +------------------------------------------------ + +.. automodule:: com.vmware.vapi.std.interposition_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.certificate_management.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.certificate_management.rst.txt new file mode 100644 index 00000000..6d81dd40 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.certificate_management.rst.txt @@ -0,0 +1,19 @@ +com.vmware.vcenter.certificate\_management package +================================================== + +.. automodule:: com.vmware.vcenter.certificate_management + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.vcenter.certificate\_management.vcenter\_client module +----------------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.certificate_management.vcenter_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.compute.policies.capabilities.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.compute.policies.capabilities.rst.txt new file mode 100644 index 00000000..3355c291 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.compute.policies.capabilities.rst.txt @@ -0,0 +1,66 @@ +com.vmware.vcenter.compute.policies.capabilities package +======================================================== + +.. automodule:: com.vmware.vcenter.compute.policies.capabilities + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.vcenter.compute.policies.capabilities.vm + +Submodules +---------- + +com.vmware.vcenter.compute.policies.capabilities.cluster\_scale\_in\_ignore\_vm\_capabilities\_client module +------------------------------------------------------------------------------------------------------------ + +.. automodule:: com.vmware.vcenter.compute.policies.capabilities.cluster_scale_in_ignore_vm_capabilities_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.compute.policies.capabilities.disable\_drs\_vmotion\_client module +------------------------------------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.compute.policies.capabilities.disable_drs_vmotion_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.compute.policies.capabilities.vm\_host\_affinity\_client module +---------------------------------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.compute.policies.capabilities.vm_host_affinity_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.compute.policies.capabilities.vm\_host\_anti\_affinity\_client module +---------------------------------------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.compute.policies.capabilities.vm_host_anti_affinity_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.compute.policies.capabilities.vm\_vm\_affinity\_client module +-------------------------------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.compute.policies.capabilities.vm_vm_affinity_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.compute.policies.capabilities.vm\_vm\_anti\_affinity\_client module +-------------------------------------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.compute.policies.capabilities.vm_vm_anti_affinity_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.compute.policies.capabilities.vm.evacuation.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.compute.policies.capabilities.vm.evacuation.rst.txt new file mode 100644 index 00000000..b27203bb --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.compute.policies.capabilities.vm.evacuation.rst.txt @@ -0,0 +1,19 @@ +com.vmware.vcenter.compute.policies.capabilities.vm.evacuation package +====================================================================== + +.. automodule:: com.vmware.vcenter.compute.policies.capabilities.vm.evacuation + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.vcenter.compute.policies.capabilities.vm.evacuation.vmotion\_client module +------------------------------------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.compute.policies.capabilities.vm.evacuation.vmotion_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.compute.policies.capabilities.vm.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.compute.policies.capabilities.vm.rst.txt new file mode 100644 index 00000000..d966a947 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.compute.policies.capabilities.vm.rst.txt @@ -0,0 +1,14 @@ +com.vmware.vcenter.compute.policies.capabilities.vm package +=========================================================== + +.. automodule:: com.vmware.vcenter.compute.policies.capabilities.vm + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.vcenter.compute.policies.capabilities.vm.evacuation diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.compute.policies.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.compute.policies.rst.txt new file mode 100644 index 00000000..aa460a6c --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.compute.policies.rst.txt @@ -0,0 +1,26 @@ +com.vmware.vcenter.compute.policies package +=========================================== + +.. automodule:: com.vmware.vcenter.compute.policies + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.vcenter.compute.policies.capabilities + +Submodules +---------- + +com.vmware.vcenter.compute.policies.capabilities\_client module +--------------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.compute.policies.capabilities_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.compute.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.compute.rst.txt new file mode 100644 index 00000000..848b521d --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.compute.rst.txt @@ -0,0 +1,26 @@ +com.vmware.vcenter.compute package +================================== + +.. automodule:: com.vmware.vcenter.compute + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.vcenter.compute.policies + +Submodules +---------- + +com.vmware.vcenter.compute.policies\_client module +-------------------------------------------------- + +.. automodule:: com.vmware.vcenter.compute.policies_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.content.registries.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.content.registries.rst.txt new file mode 100644 index 00000000..d4cf8b35 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.content.registries.rst.txt @@ -0,0 +1,19 @@ +com.vmware.vcenter.content.registries package +============================================= + +.. automodule:: com.vmware.vcenter.content.registries + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.vcenter.content.registries.harbor\_client module +----------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.content.registries.harbor_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.content.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.content.rst.txt new file mode 100644 index 00000000..a315fa30 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.content.rst.txt @@ -0,0 +1,26 @@ +com.vmware.vcenter.content package +================================== + +.. automodule:: com.vmware.vcenter.content + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.vcenter.content.registries + +Submodules +---------- + +com.vmware.vcenter.content.registries\_client module +---------------------------------------------------- + +.. automodule:: com.vmware.vcenter.content.registries_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.deployment.install.initial_config.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.deployment.install.initial_config.rst.txt new file mode 100644 index 00000000..9e547997 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.deployment.install.initial_config.rst.txt @@ -0,0 +1,19 @@ +com.vmware.vcenter.deployment.install.initial\_config package +============================================================= + +.. automodule:: com.vmware.vcenter.deployment.install.initial_config + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.vcenter.deployment.install.initial\_config.remote\_psc\_client module +-------------------------------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.deployment.install.initial_config.remote_psc_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.deployment.install.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.deployment.install.rst.txt new file mode 100644 index 00000000..929ce13e --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.deployment.install.rst.txt @@ -0,0 +1,26 @@ +com.vmware.vcenter.deployment.install package +============================================= + +.. automodule:: com.vmware.vcenter.deployment.install + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.vcenter.deployment.install.initial_config + +Submodules +---------- + +com.vmware.vcenter.deployment.install.psc\_client module +-------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.deployment.install.psc_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.deployment.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.deployment.rst.txt new file mode 100644 index 00000000..20e6c66d --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.deployment.rst.txt @@ -0,0 +1,34 @@ +com.vmware.vcenter.deployment package +===================================== + +.. automodule:: com.vmware.vcenter.deployment + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.vcenter.deployment.install + +Submodules +---------- + +com.vmware.vcenter.deployment.install\_client module +---------------------------------------------------- + +.. automodule:: com.vmware.vcenter.deployment.install_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.deployment.migrate\_client module +---------------------------------------------------- + +.. automodule:: com.vmware.vcenter.deployment.migrate_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.hvc.links.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.hvc.links.rst.txt new file mode 100644 index 00000000..227e6bb7 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.hvc.links.rst.txt @@ -0,0 +1,19 @@ +com.vmware.vcenter.hvc.links package +==================================== + +.. automodule:: com.vmware.vcenter.hvc.links + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.vcenter.hvc.links.sync\_client module +------------------------------------------------ + +.. automodule:: com.vmware.vcenter.hvc.links.sync_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.hvc.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.hvc.rst.txt new file mode 100644 index 00000000..375b2dee --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.hvc.rst.txt @@ -0,0 +1,34 @@ +com.vmware.vcenter.hvc package +============================== + +.. automodule:: com.vmware.vcenter.hvc + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.vcenter.hvc.links + +Submodules +---------- + +com.vmware.vcenter.hvc.links\_client module +------------------------------------------- + +.. automodule:: com.vmware.vcenter.hvc.links_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.hvc.management\_client module +------------------------------------------------ + +.. automodule:: com.vmware.vcenter.hvc.management_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.lcm.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.lcm.rst.txt new file mode 100644 index 00000000..5a428d66 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.lcm.rst.txt @@ -0,0 +1,27 @@ +com.vmware.vcenter.lcm package +============================== + +.. automodule:: com.vmware.vcenter.lcm + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.vcenter.lcm.discovery\_client module +----------------------------------------------- + +.. automodule:: com.vmware.vcenter.lcm.discovery_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.lcm.update\_client module +-------------------------------------------- + +.. automodule:: com.vmware.vcenter.lcm.update_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.namespace_management.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.namespace_management.rst.txt new file mode 100644 index 00000000..9359daf8 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.namespace_management.rst.txt @@ -0,0 +1,27 @@ +com.vmware.vcenter.namespace\_management package +================================================ + +.. automodule:: com.vmware.vcenter.namespace_management + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.vcenter.namespace\_management.software\_client module +---------------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.namespace_management.software_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.namespace\_management.stats\_client module +------------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.namespace_management.stats_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.namespaces.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.namespaces.rst.txt new file mode 100644 index 00000000..f25932a8 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.namespaces.rst.txt @@ -0,0 +1,19 @@ +com.vmware.vcenter.namespaces package +===================================== + +.. automodule:: com.vmware.vcenter.namespaces + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.vcenter.namespaces.user\_client module +------------------------------------------------- + +.. automodule:: com.vmware.vcenter.namespaces.user_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.rst.txt new file mode 100644 index 00000000..5d47e085 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.rst.txt @@ -0,0 +1,215 @@ +com.vmware.vcenter package +========================== + +.. automodule:: com.vmware.vcenter + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.vcenter.certificate_management + com.vmware.vcenter.compute + com.vmware.vcenter.content + com.vmware.vcenter.deployment + com.vmware.vcenter.hvc + com.vmware.vcenter.lcm + com.vmware.vcenter.namespace_management + com.vmware.vcenter.namespaces + com.vmware.vcenter.storage + com.vmware.vcenter.system_config + com.vmware.vcenter.trusted_infrastructure + com.vmware.vcenter.vcha + com.vmware.vcenter.vm + com.vmware.vcenter.vm_template + +Submodules +---------- + +com.vmware.vcenter.certificate\_management\_client module +--------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.certificate_management_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.compute\_client module +----------------------------------------- + +.. automodule:: com.vmware.vcenter.compute_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.datastore\_client module +------------------------------------------- + +.. automodule:: com.vmware.vcenter.datastore_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.deployment\_client module +-------------------------------------------- + +.. automodule:: com.vmware.vcenter.deployment_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.guest\_client module +--------------------------------------- + +.. automodule:: com.vmware.vcenter.guest_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.hvc\_client module +------------------------------------- + +.. automodule:: com.vmware.vcenter.hvc_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.identity\_client module +------------------------------------------ + +.. automodule:: com.vmware.vcenter.identity_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.inventory\_client module +------------------------------------------- + +.. automodule:: com.vmware.vcenter.inventory_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.iso\_client module +------------------------------------- + +.. automodule:: com.vmware.vcenter.iso_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.lcm\_client module +------------------------------------- + +.. automodule:: com.vmware.vcenter.lcm_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.namespace\_management\_client module +------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.namespace_management_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.namespaces\_client module +-------------------------------------------- + +.. automodule:: com.vmware.vcenter.namespaces_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.ovf\_client module +------------------------------------- + +.. automodule:: com.vmware.vcenter.ovf_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.services\_client module +------------------------------------------ + +.. automodule:: com.vmware.vcenter.services_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.storage\_client module +----------------------------------------- + +.. automodule:: com.vmware.vcenter.storage_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.system\_config\_client module +------------------------------------------------ + +.. automodule:: com.vmware.vcenter.system_config_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.tagging\_client module +----------------------------------------- + +.. automodule:: com.vmware.vcenter.tagging_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.tokenservice\_client module +---------------------------------------------- + +.. automodule:: com.vmware.vcenter.tokenservice_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.topology\_client module +------------------------------------------ + +.. automodule:: com.vmware.vcenter.topology_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.trusted\_infrastructure\_client module +--------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.trusted_infrastructure_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.vcha\_client module +-------------------------------------- + +.. automodule:: com.vmware.vcenter.vcha_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.vm\_client module +------------------------------------ + +.. automodule:: com.vmware.vcenter.vm_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.vm\_template\_client module +---------------------------------------------- + +.. automodule:: com.vmware.vcenter.vm_template_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.storage.policies.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.storage.policies.rst.txt new file mode 100644 index 00000000..3987b2a5 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.storage.policies.rst.txt @@ -0,0 +1,19 @@ +com.vmware.vcenter.storage.policies package +=========================================== + +.. automodule:: com.vmware.vcenter.storage.policies + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.vcenter.storage.policies.compliance\_client module +------------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.storage.policies.compliance_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.storage.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.storage.rst.txt new file mode 100644 index 00000000..eb12d268 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.storage.rst.txt @@ -0,0 +1,26 @@ +com.vmware.vcenter.storage package +================================== + +.. automodule:: com.vmware.vcenter.storage + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.vcenter.storage.policies + +Submodules +---------- + +com.vmware.vcenter.storage.policies\_client module +-------------------------------------------------- + +.. automodule:: com.vmware.vcenter.storage.policies_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.system_config.features.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.system_config.features.rst.txt new file mode 100644 index 00000000..3cd22d12 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.system_config.features.rst.txt @@ -0,0 +1,19 @@ +com.vmware.vcenter.system\_config.features package +================================================== + +.. automodule:: com.vmware.vcenter.system_config.features + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.vcenter.system\_config.features.tech\_preview\_client module +----------------------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.system_config.features.tech_preview_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.system_config.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.system_config.rst.txt new file mode 100644 index 00000000..bf7e53da --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.system_config.rst.txt @@ -0,0 +1,14 @@ +com.vmware.vcenter.system\_config package +========================================= + +.. automodule:: com.vmware.vcenter.system_config + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.vcenter.system_config.features diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.trusted_infrastructure.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.trusted_infrastructure.rst.txt new file mode 100644 index 00000000..a7031e4c --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.trusted_infrastructure.rst.txt @@ -0,0 +1,51 @@ +com.vmware.vcenter.trusted\_infrastructure package +================================================== + +.. automodule:: com.vmware.vcenter.trusted_infrastructure + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters + com.vmware.vcenter.trusted_infrastructure.trusted_clusters + +Submodules +---------- + +com.vmware.vcenter.trusted\_infrastructure.attestation\_client module +--------------------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.trusted_infrastructure.attestation_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.trusted\_infrastructure.kms\_client module +------------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.trusted_infrastructure.kms_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.trusted\_infrastructure.trust\_authority\_clusters\_client module +------------------------------------------------------------------------------------ + +.. automodule:: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.trusted\_infrastructure.trust\_authority\_hosts\_client module +--------------------------------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.trusted_infrastructure.trust_authority_hosts_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os.rst.txt new file mode 100644 index 00000000..9dee311e --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os.rst.txt @@ -0,0 +1,19 @@ +com.vmware.vcenter.trusted\_infrastructure.trust\_authority\_clusters.attestation.os package +============================================================================================ + +.. automodule:: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.vcenter.trusted\_infrastructure.trust\_authority\_clusters.attestation.os.esx\_client module +------------------------------------------------------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os.esx_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.rst.txt new file mode 100644 index 00000000..147bc5c9 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.rst.txt @@ -0,0 +1,26 @@ +com.vmware.vcenter.trusted\_infrastructure.trust\_authority\_clusters.attestation package +========================================================================================= + +.. automodule:: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os + +Submodules +---------- + +com.vmware.vcenter.trusted\_infrastructure.trust\_authority\_clusters.attestation.tpm2\_client module +----------------------------------------------------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers.rst.txt new file mode 100644 index 00000000..4be7fe0e --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers.rst.txt @@ -0,0 +1,19 @@ +com.vmware.vcenter.trusted\_infrastructure.trust\_authority\_clusters.kms.providers package +=========================================================================================== + +.. automodule:: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.vcenter.trusted\_infrastructure.trust\_authority\_clusters.kms.providers.client\_certificate\_client module +---------------------------------------------------------------------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers.client_certificate_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.rst.txt new file mode 100644 index 00000000..c7c1529c --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.rst.txt @@ -0,0 +1,26 @@ +com.vmware.vcenter.trusted\_infrastructure.trust\_authority\_clusters.kms package +================================================================================= + +.. automodule:: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers + +Submodules +---------- + +com.vmware.vcenter.trusted\_infrastructure.trust\_authority\_clusters.kms.providers\_client module +-------------------------------------------------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.rst.txt new file mode 100644 index 00000000..8de31ea3 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.rst.txt @@ -0,0 +1,35 @@ +com.vmware.vcenter.trusted\_infrastructure.trust\_authority\_clusters package +============================================================================= + +.. automodule:: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation + com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms + +Submodules +---------- + +com.vmware.vcenter.trusted\_infrastructure.trust\_authority\_clusters.attestation\_client module +------------------------------------------------------------------------------------------------ + +.. automodule:: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.trusted\_infrastructure.trust\_authority\_clusters.kms\_client module +---------------------------------------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.trusted_infrastructure.trusted_clusters.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.trusted_infrastructure.trusted_clusters.rst.txt new file mode 100644 index 00000000..ae112d3d --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.trusted_infrastructure.trusted_clusters.rst.txt @@ -0,0 +1,27 @@ +com.vmware.vcenter.trusted\_infrastructure.trusted\_clusters package +==================================================================== + +.. automodule:: com.vmware.vcenter.trusted_infrastructure.trusted_clusters + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.vcenter.trusted\_infrastructure.trusted\_clusters.attestation\_client module +--------------------------------------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.trusted_infrastructure.trusted_clusters.attestation_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.trusted\_infrastructure.trusted\_clusters.kms\_client module +------------------------------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.trusted_infrastructure.trusted_clusters.kms_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.vcha.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.vcha.rst.txt new file mode 100644 index 00000000..25ef40e1 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.vcha.rst.txt @@ -0,0 +1,19 @@ +com.vmware.vcenter.vcha package +=============================== + +.. automodule:: com.vmware.vcenter.vcha + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.vcenter.vcha.cluster\_client module +---------------------------------------------- + +.. automodule:: com.vmware.vcenter.vcha.cluster_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.vm.guest.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.vm.guest.rst.txt new file mode 100644 index 00000000..c74ea559 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.vm.guest.rst.txt @@ -0,0 +1,19 @@ +com.vmware.vcenter.vm.guest package +=================================== + +.. automodule:: com.vmware.vcenter.vm.guest + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.vcenter.vm.guest.networking\_client module +----------------------------------------------------- + +.. automodule:: com.vmware.vcenter.vm.guest.networking_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.vm.hardware.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.vm.hardware.rst.txt new file mode 100644 index 00000000..12ba5449 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.vm.hardware.rst.txt @@ -0,0 +1,27 @@ +com.vmware.vcenter.vm.hardware package +====================================== + +.. automodule:: com.vmware.vcenter.vm.hardware + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.vcenter.vm.hardware.adapter\_client module +----------------------------------------------------- + +.. automodule:: com.vmware.vcenter.vm.hardware.adapter_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.vm.hardware.boot\_client module +-------------------------------------------------- + +.. automodule:: com.vmware.vcenter.vm.hardware.boot_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.vm.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.vm.rst.txt new file mode 100644 index 00000000..bf3c5719 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.vm.rst.txt @@ -0,0 +1,68 @@ +com.vmware.vcenter.vm package +============================= + +.. automodule:: com.vmware.vcenter.vm + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + com.vmware.vcenter.vm.guest + com.vmware.vcenter.vm.hardware + com.vmware.vcenter.vm.storage + +Submodules +---------- + +com.vmware.vcenter.vm.compute\_client module +-------------------------------------------- + +.. automodule:: com.vmware.vcenter.vm.compute_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.vm.console\_client module +-------------------------------------------- + +.. automodule:: com.vmware.vcenter.vm.console_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.vm.guest\_client module +------------------------------------------ + +.. automodule:: com.vmware.vcenter.vm.guest_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.vm.hardware\_client module +--------------------------------------------- + +.. automodule:: com.vmware.vcenter.vm.hardware_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.vm.storage\_client module +-------------------------------------------- + +.. automodule:: com.vmware.vcenter.vm.storage_client + :members: + :undoc-members: + :show-inheritance: + +com.vmware.vcenter.vm.tools\_client module +------------------------------------------ + +.. automodule:: com.vmware.vcenter.vm.tools_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.vm.storage.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.vm.storage.rst.txt new file mode 100644 index 00000000..111dd8d8 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.vm.storage.rst.txt @@ -0,0 +1,19 @@ +com.vmware.vcenter.vm.storage package +===================================== + +.. automodule:: com.vmware.vcenter.vm.storage + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.vcenter.vm.storage.policy\_client module +--------------------------------------------------- + +.. automodule:: com.vmware.vcenter.vm.storage.policy_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/com.vmware.vcenter.vm_template.rst.txt b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.vm_template.rst.txt new file mode 100644 index 00000000..6e804fd8 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/com.vmware.vcenter.vm_template.rst.txt @@ -0,0 +1,19 @@ +com.vmware.vcenter.vm\_template package +======================================= + +.. automodule:: com.vmware.vcenter.vm_template + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +com.vmware.vcenter.vm\_template.library\_items\_client module +------------------------------------------------------------- + +.. automodule:: com.vmware.vcenter.vm_template.library_items_client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/enumeration.rst.txt b/vsphere/7.0.0.1/_sources/enumeration.rst.txt new file mode 100644 index 00000000..afe09e47 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/enumeration.rst.txt @@ -0,0 +1,82 @@ +.. _enumeration_description: + +Interface definition language to python mapping for enumerated types +-------------------------------------------------------------------- + +The interface language definition type system includes enumerated types. Python +SDK supports both 2.x and 3.x versions of Python. Since Python 2.x does +not have first class support for enumerations, special classes are +generated to represent enumerated types from the interface definition +language. The special class contains class attributes which represent +the values of the enumerated type. + +This documentation explains the following: + +* How the class variables are defined in the module. This specifies the names that you can use in your program. +* How you instantiate a class to use it for communication with future versions of the service. + +Example of an enumerated type documentation +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +*class* com.vmware.vapi.metadata_client. **SourceType** (string) + Bases: vmware.vapi.bindings.enum.Enum + + Metadata source type + + .. note:: + This class represents an enumerated type in the interface language definition type system. 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 a newer version of the API, you instantiate this class. See :ref:`enumerated type description page `. + + **Parameters** : **string** (``str``) – String value for the SourceType instance. + + **FILE** = *SourceType(string='FILE')* + If the source is backed by a file. + + **REMOTE** = *SourceType(string='REMOTE')* + If the source is backed by a remote service. + +Code Examples +^^^^^^^^^^^^^ + +The enumerated type classes are defined in python modules that your code +imports. You can use these in your code. + +1. If you want to pass an enumerated type value in a method to a server, specify the class variable of the enumerated type class. + +.. code-block:: python + + # SourceType is an enumerated type + from com.vmware.vapi.metadata_client import SourceType + + # SourceType has two class attrites, SourceType.FILE and SourceType.REMOTE + spec = Source.CreateSpec(type=SourceType.FILE, filepath='entity_metadata.json', description='Entity service') + source_svc.create(id='entity', spec=spec) + +2. When you receive an enumerated type value in the response from a server, allow for unknown enumerated type values. + +.. code-block:: python + + # SourceType is an enumerated type + from com.vmware.vapi.metadata_client import SourceType + + source_info = source_svc.get(id='entity') + if (source_info.type == SourceType.FILE) { + print 'Source is a file' + } else if (source_info.type == SourceType.REMOTE) { + print 'Source is a remote provider' + } else { + print 'Unknown source type: %s' % str(source_info.type) + } + +3. Sending a new enumerated type value to a server that has a newer version of the enumerated type. + +To use new values of the enumerated type in communication with a server that supports a newer version of the API, you instantiate the +enumerated type class. + +.. code-block:: python + + # If a newer version of SourceType has a new value FOLDER, FOLDER would be one + # of the class attributes for SourceType. In the older version, SourceType has + # only two class attributes, FILE and REMOTE + from com.vmware.vapi.metadata_client import SourceType + spec = Source.CreateSpec(type=SourceType('FOLDER'), filepath='entity_metadata', description='Entity service') + source_svc.create(id='entity', spec=spec) diff --git a/vsphere/7.0.0.1/_sources/index.rst.txt b/vsphere/7.0.0.1/_sources/index.rst.txt new file mode 100644 index 00000000..d080b926 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/index.rst.txt @@ -0,0 +1,22 @@ +.. vSphere Automation SDK for Python. documentation master file, created by + sphinx-quickstart on Wed Mar 18 08:52:19 2020. + You can adapt this file completely to your liking, but it should at least + contain the root `toctree` directive. + +Welcome to vSphere Automation SDK for Python.'s documentation! +============================================================== + +.. toctree:: + :maxdepth: 10 + :caption: Contents: + + com + vmware + + +Indices and tables +================== + +* :ref:`genindex` +* :ref:`modindex` +* :ref:`search` diff --git a/vsphere/7.0.0.1/_sources/vmware.rst.txt b/vsphere/7.0.0.1/_sources/vmware.rst.txt new file mode 100644 index 00000000..4c078217 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/vmware.rst.txt @@ -0,0 +1,14 @@ +vmware package +============== + +.. automodule:: vmware + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + vmware.vapi diff --git a/vsphere/7.0.0.1/_sources/vmware.vapi.lib.rst.txt b/vsphere/7.0.0.1/_sources/vmware.vapi.lib.rst.txt new file mode 100644 index 00000000..1e929d32 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/vmware.vapi.lib.rst.txt @@ -0,0 +1,19 @@ +vmware.vapi.lib package +======================= + +.. automodule:: vmware.vapi.lib + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +vmware.vapi.lib.connect module +------------------------------ + +.. automodule:: vmware.vapi.lib.connect + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/vmware.vapi.rst.txt b/vsphere/7.0.0.1/_sources/vmware.vapi.rst.txt new file mode 100644 index 00000000..3ccbc92a --- /dev/null +++ b/vsphere/7.0.0.1/_sources/vmware.vapi.rst.txt @@ -0,0 +1,44 @@ +vmware.vapi package +=================== + +.. automodule:: vmware.vapi + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + vmware.vapi.lib + vmware.vapi.security + vmware.vapi.vsphere + +Submodules +---------- + +vmware.vapi.core module +----------------------- + +.. automodule:: vmware.vapi.core + :members: + :undoc-members: + :show-inheritance: + +vmware.vapi.exception module +---------------------------- + +.. automodule:: vmware.vapi.exception + :members: + :undoc-members: + :show-inheritance: + +vmware.vapi.message module +-------------------------- + +.. automodule:: vmware.vapi.message + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/vmware.vapi.security.client.rst.txt b/vsphere/7.0.0.1/_sources/vmware.vapi.security.client.rst.txt new file mode 100644 index 00000000..fe619f52 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/vmware.vapi.security.client.rst.txt @@ -0,0 +1,19 @@ +vmware.vapi.security.client package +=================================== + +.. automodule:: vmware.vapi.security.client + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +vmware.vapi.security.client.security\_context\_filter module +------------------------------------------------------------ + +.. automodule:: vmware.vapi.security.client.security_context_filter + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/vmware.vapi.security.rst.txt b/vsphere/7.0.0.1/_sources/vmware.vapi.security.rst.txt new file mode 100644 index 00000000..82f09886 --- /dev/null +++ b/vsphere/7.0.0.1/_sources/vmware.vapi.security.rst.txt @@ -0,0 +1,42 @@ +vmware.vapi.security package +============================ + +.. automodule:: vmware.vapi.security + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + + vmware.vapi.security.client + +Submodules +---------- + +vmware.vapi.security.session module +----------------------------------- + +.. automodule:: vmware.vapi.security.session + :members: + :undoc-members: + :show-inheritance: + +vmware.vapi.security.sso module +------------------------------- + +.. automodule:: vmware.vapi.security.sso + :members: + :undoc-members: + :show-inheritance: + +vmware.vapi.security.user\_password module +------------------------------------------ + +.. automodule:: vmware.vapi.security.user_password + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_sources/vmware.vapi.vsphere.rst.txt b/vsphere/7.0.0.1/_sources/vmware.vapi.vsphere.rst.txt new file mode 100644 index 00000000..4e255dee --- /dev/null +++ b/vsphere/7.0.0.1/_sources/vmware.vapi.vsphere.rst.txt @@ -0,0 +1,19 @@ +vmware.vapi.vsphere package +=========================== + +.. automodule:: vmware.vapi.vsphere + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +vmware.vapi.vsphere.client module +--------------------------------- + +.. automodule:: vmware.vapi.vsphere.client + :members: + :undoc-members: + :show-inheritance: + diff --git a/vsphere/7.0.0.1/_static/basic.css b/vsphere/7.0.0.1/_static/basic.css new file mode 100644 index 00000000..01192852 --- /dev/null +++ b/vsphere/7.0.0.1/_static/basic.css @@ -0,0 +1,768 @@ +/* + * basic.css + * ~~~~~~~~~ + * + * Sphinx stylesheet -- basic theme. + * + * :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/* -- main layout ----------------------------------------------------------- */ + +div.clearer { + clear: both; +} + +/* -- relbar ---------------------------------------------------------------- */ + +div.related { + width: 100%; + font-size: 90%; +} + +div.related h3 { + display: none; +} + +div.related ul { + margin: 0; + padding: 0 0 0 10px; + list-style: none; +} + +div.related li { + display: inline; +} + +div.related li.right { + float: right; + margin-right: 5px; +} + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; + word-wrap: break-word; + overflow-wrap : break-word; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +div.sphinxsidebar #searchbox form.search { + overflow: hidden; +} + +div.sphinxsidebar #searchbox input[type="text"] { + float: left; + width: 80%; + padding: 0.25em; + box-sizing: border-box; +} + +div.sphinxsidebar #searchbox input[type="submit"] { + float: left; + width: 20%; + border-left: none; + padding: 0.25em; + box-sizing: border-box; +} + + +img { + border: 0; + max-width: 100%; +} + +/* -- search page ----------------------------------------------------------- */ + +ul.search { + margin: 10px 0 0 20px; + padding: 0; +} + +ul.search li { + padding: 5px 0 5px 20px; + background-image: url(file.png); + background-repeat: no-repeat; + background-position: 0 7px; +} + +ul.search li a { + font-weight: bold; +} + +ul.search li div.context { + color: #888; + margin: 2px 0 0 30px; + text-align: left; +} + +ul.keywordmatches li.goodmatch a { + font-weight: bold; +} + +/* -- index page ------------------------------------------------------------ */ + +table.contentstable { + width: 90%; + margin-left: auto; + margin-right: auto; +} + +table.contentstable p.biglink { + line-height: 150%; +} + +a.biglink { + font-size: 1.3em; +} + +span.linkdescr { + font-style: italic; + padding-top: 5px; + font-size: 90%; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable { + width: 100%; +} + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable ul { + margin-top: 0; + margin-bottom: 0; + list-style-type: none; +} + +table.indextable > tbody > tr > td > ul { + padding-left: 0em; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +div.modindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +div.genindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +/* -- domain module index --------------------------------------------------- */ + +table.modindextable td { + padding: 2px; + border-collapse: collapse; +} + +/* -- general body styles --------------------------------------------------- */ + +div.body { + min-width: 450px; + max-width: 800px; +} + +div.body p, div.body dd, div.body li, div.body blockquote { + -moz-hyphens: auto; + -ms-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; +} + +a.headerlink { + visibility: hidden; +} + +a.brackets:before, +span.brackets > a:before{ + content: "["; +} + +a.brackets:after, +span.brackets > a:after { + content: "]"; +} + +h1:hover > a.headerlink, +h2:hover > a.headerlink, +h3:hover > a.headerlink, +h4:hover > a.headerlink, +h5:hover > a.headerlink, +h6:hover > a.headerlink, +dt:hover > a.headerlink, +caption:hover > a.headerlink, +p.caption:hover > a.headerlink, +div.code-block-caption:hover > a.headerlink { + visibility: visible; +} + +div.body p.caption { + text-align: inherit; +} + +div.body td { + text-align: left; +} + +.first { + margin-top: 0 !important; +} + +p.rubric { + margin-top: 30px; + font-weight: bold; +} + +img.align-left, .figure.align-left, object.align-left { + clear: left; + float: left; + margin-right: 1em; +} + +img.align-right, .figure.align-right, object.align-right { + clear: right; + float: right; + margin-left: 1em; +} + +img.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +img.align-default, .figure.align-default { + display: block; + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left; +} + +.align-center { + text-align: center; +} + +.align-default { + text-align: center; +} + +.align-right { + text-align: right; +} + +/* -- sidebars -------------------------------------------------------------- */ + +div.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px 7px 0 7px; + background-color: #ffe; + width: 40%; + float: right; +} + +p.sidebar-title { + font-weight: bold; +} + +/* -- topics ---------------------------------------------------------------- */ + +div.topic { + border: 1px solid #ccc; + padding: 7px 7px 0 7px; + margin: 10px 0 10px 0; +} + +p.topic-title { + font-size: 1.1em; + font-weight: bold; + margin-top: 10px; +} + +/* -- admonitions ----------------------------------------------------------- */ + +div.admonition { + margin-top: 10px; + margin-bottom: 10px; + padding: 7px; +} + +div.admonition dt { + font-weight: bold; +} + +div.admonition dl { + margin-bottom: 0; +} + +p.admonition-title { + margin: 0px 10px 5px 0px; + font-weight: bold; +} + +div.body p.centered { + text-align: center; + margin-top: 25px; +} + +/* -- tables ---------------------------------------------------------------- */ + +table.docutils { + border: 0; + border-collapse: collapse; +} + +table.align-center { + margin-left: auto; + margin-right: auto; +} + +table.align-default { + margin-left: auto; + margin-right: auto; +} + +table caption span.caption-number { + font-style: italic; +} + +table caption span.caption-text { +} + +table.docutils td, table.docutils th { + padding: 1px 8px 1px 5px; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #aaa; +} + +table.footnote td, table.footnote th { + border: 0 !important; +} + +th { + text-align: left; + padding-right: 5px; +} + +table.citation { + border-left: solid 1px gray; + margin-left: 1px; +} + +table.citation td { + border-bottom: none; +} + +th > p:first-child, +td > p:first-child { + margin-top: 0px; +} + +th > p:last-child, +td > p:last-child { + margin-bottom: 0px; +} + +/* -- figures --------------------------------------------------------------- */ + +div.figure { + margin: 0.5em; + padding: 0.5em; +} + +div.figure p.caption { + padding: 0.3em; +} + +div.figure p.caption span.caption-number { + font-style: italic; +} + +div.figure p.caption span.caption-text { +} + +/* -- field list styles ----------------------------------------------------- */ + +table.field-list td, table.field-list th { + border: 0 !important; +} + +.field-list ul { + margin: 0; + padding-left: 1em; +} + +.field-list p { + margin: 0; +} + +.field-name { + -moz-hyphens: manual; + -ms-hyphens: manual; + -webkit-hyphens: manual; + hyphens: manual; +} + +/* -- hlist styles ---------------------------------------------------------- */ + +table.hlist td { + vertical-align: top; +} + + +/* -- other body styles ----------------------------------------------------- */ + +ol.arabic { + list-style: decimal; +} + +ol.loweralpha { + list-style: lower-alpha; +} + +ol.upperalpha { + list-style: upper-alpha; +} + +ol.lowerroman { + list-style: lower-roman; +} + +ol.upperroman { + list-style: upper-roman; +} + +li > p:first-child { + margin-top: 0px; +} + +li > p:last-child { + margin-bottom: 0px; +} + +dl.footnote > dt, +dl.citation > dt { + float: left; +} + +dl.footnote > dd, +dl.citation > dd { + margin-bottom: 0em; +} + +dl.footnote > dd:after, +dl.citation > dd:after { + content: ""; + clear: both; +} + +dl.field-list { + display: grid; + grid-template-columns: fit-content(30%) auto; +} + +dl.field-list > dt { + font-weight: bold; + word-break: break-word; + padding-left: 0.5em; + padding-right: 5px; +} + +dl.field-list > dt:after { + content: ":"; +} + +dl.field-list > dd { + padding-left: 0.5em; + margin-top: 0em; + margin-left: 0em; + margin-bottom: 0em; +} + +dl { + margin-bottom: 15px; +} + +dd > p:first-child { + margin-top: 0px; +} + +dd ul, dd table { + margin-bottom: 10px; +} + +dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 30px; +} + +dt:target, span.highlighted { + background-color: #fbe54e; +} + +rect.highlighted { + fill: #fbe54e; +} + +dl.glossary dt { + font-weight: bold; + font-size: 1.1em; +} + +.optional { + font-size: 1.3em; +} + +.sig-paren { + font-size: larger; +} + +.versionmodified { + font-style: italic; +} + +.system-message { + background-color: #fda; + padding: 5px; + border: 3px solid red; +} + +.footnote:target { + background-color: #ffa; +} + +.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em; +} + +.line-block .line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em; +} + +.guilabel, .menuselection { + font-family: sans-serif; +} + +.accelerator { + text-decoration: underline; +} + +.classifier { + font-style: oblique; +} + +.classifier:before { + font-style: normal; + margin: 0.5em; + content: ":"; +} + +abbr, acronym { + border-bottom: dotted 1px; + cursor: help; +} + +/* -- code displays --------------------------------------------------------- */ + +pre { + overflow: auto; + overflow-y: hidden; /* fixes display issues on Chrome browsers */ +} + +span.pre { + -moz-hyphens: none; + -ms-hyphens: none; + -webkit-hyphens: none; + hyphens: none; +} + +td.linenos pre { + padding: 5px 0px; + border: 0; + background-color: transparent; + color: #aaa; +} + +table.highlighttable { + margin-left: 0.5em; +} + +table.highlighttable td { + padding: 0 0.5em 0 0.5em; +} + +div.code-block-caption { + padding: 2px 5px; + font-size: small; +} + +div.code-block-caption code { + background-color: transparent; +} + +div.code-block-caption + div > div.highlight > pre { + margin-top: 0; +} + +div.doctest > div.highlight span.gp { /* gp: Generic.Prompt */ + user-select: none; +} + +div.code-block-caption span.caption-number { + padding: 0.1em 0.3em; + font-style: italic; +} + +div.code-block-caption span.caption-text { +} + +div.literal-block-wrapper { + padding: 1em 1em 0; +} + +div.literal-block-wrapper div.highlight { + margin: 0; +} + +code.descname { + background-color: transparent; + font-weight: bold; + font-size: 1.2em; +} + +code.descclassname { + background-color: transparent; +} + +code.xref, a code { + background-color: transparent; + font-weight: bold; +} + +h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { + background-color: transparent; +} + +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: sans-serif; +} + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; +} + +/* -- math display ---------------------------------------------------------- */ + +img.math { + vertical-align: middle; +} + +div.body div.math p { + text-align: center; +} + +span.eqno { + float: right; +} + +span.eqno a.headerlink { + position: relative; + left: 0px; + z-index: 1; +} + +div.math:hover a.headerlink { + visibility: visible; +} + +/* -- printout stylesheet --------------------------------------------------- */ + +@media print { + div.document, + div.documentwrapper, + div.bodywrapper { + margin: 0 !important; + width: 100%; + } + + div.sphinxsidebar, + div.related, + div.footer, + #top-link { + display: none; + } +} \ No newline at end of file diff --git a/vsphere/7.0.0.1/_static/css/badge_only.css b/vsphere/7.0.0.1/_static/css/badge_only.css new file mode 100644 index 00000000..3c33cef5 --- /dev/null +++ b/vsphere/7.0.0.1/_static/css/badge_only.css @@ -0,0 +1 @@ +.fa:before{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}@font-face{font-family:FontAwesome;font-weight:normal;font-style:normal;src:url("../fonts/fontawesome-webfont.eot");src:url("../fonts/fontawesome-webfont.eot?#iefix") format("embedded-opentype"),url("../fonts/fontawesome-webfont.woff") format("woff"),url("../fonts/fontawesome-webfont.ttf") format("truetype"),url("../fonts/fontawesome-webfont.svg#FontAwesome") format("svg")}.fa:before{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;text-decoration:inherit}a .fa{display:inline-block;text-decoration:inherit}li .fa{display:inline-block}li .fa-large:before,li .fa-large:before{width:1.875em}ul.fas{list-style-type:none;margin-left:2em;text-indent:-0.8em}ul.fas li .fa{width:.8em}ul.fas li .fa-large:before,ul.fas li .fa-large:before{vertical-align:baseline}.fa-book:before{content:""}.icon-book:before{content:""}.fa-caret-down:before{content:""}.icon-caret-down:before{content:""}.fa-caret-up:before{content:""}.icon-caret-up:before{content:""}.fa-caret-left:before{content:""}.icon-caret-left:before{content:""}.fa-caret-right:before{content:""}.icon-caret-right:before{content:""}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;z-index:400}.rst-versions a{color:#2980B9;text-decoration:none}.rst-versions .rst-badge-small{display:none}.rst-versions .rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27AE60;*zoom:1}.rst-versions .rst-current-version:before,.rst-versions .rst-current-version:after{display:table;content:""}.rst-versions .rst-current-version:after{clear:both}.rst-versions .rst-current-version .fa{color:#fcfcfc}.rst-versions .rst-current-version .fa-book{float:left}.rst-versions .rst-current-version .icon-book{float:left}.rst-versions .rst-current-version.rst-out-of-date{background-color:#E74C3C;color:#fff}.rst-versions .rst-current-version.rst-active-old-version{background-color:#F1C40F;color:#000}.rst-versions.shift-up{height:auto;max-height:100%;overflow-y:scroll}.rst-versions.shift-up .rst-other-versions{display:block}.rst-versions .rst-other-versions{font-size:90%;padding:12px;color:gray;display:none}.rst-versions .rst-other-versions hr{display:block;height:1px;border:0;margin:20px 0;padding:0;border-top:solid 1px #413d3d}.rst-versions .rst-other-versions dd{display:inline-block;margin:0}.rst-versions .rst-other-versions dd a{display:inline-block;padding:6px;color:#fcfcfc}.rst-versions.rst-badge{width:auto;bottom:20px;right:20px;left:auto;border:none;max-width:300px;max-height:90%}.rst-versions.rst-badge .icon-book{float:none}.rst-versions.rst-badge .fa-book{float:none}.rst-versions.rst-badge.shift-up .rst-current-version{text-align:right}.rst-versions.rst-badge.shift-up .rst-current-version .fa-book{float:left}.rst-versions.rst-badge.shift-up .rst-current-version .icon-book{float:left}.rst-versions.rst-badge .rst-current-version{width:auto;height:30px;line-height:30px;padding:0 6px;display:block;text-align:center}@media screen and (max-width: 768px){.rst-versions{width:85%;display:none}.rst-versions.shift{display:block}} diff --git a/vsphere/7.0.0.1/_static/css/theme.css b/vsphere/7.0.0.1/_static/css/theme.css new file mode 100644 index 00000000..aed8cef0 --- /dev/null +++ b/vsphere/7.0.0.1/_static/css/theme.css @@ -0,0 +1,6 @@ +/* sphinx_rtd_theme version 0.4.3 | MIT license */ +/* Built 20190212 16:02 */ +*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}[hidden]{display:none}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:hover,a:active{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}blockquote{margin:0}dfn{font-style:italic}ins{background:#ff9;color:#000;text-decoration:none}mark{background:#ff0;color:#000;font-style:italic;font-weight:bold}pre,code,.rst-content tt,.rst-content code,kbd,samp{font-family:monospace,serif;_font-family:"courier new",monospace;font-size:1em}pre{white-space:pre}q{quotes:none}q:before,q:after{content:"";content:none}small{font-size:85%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}ul,ol,dl{margin:0;padding:0;list-style:none;list-style-image:none}li{list-style:none}dd{margin:0}img{border:0;-ms-interpolation-mode:bicubic;vertical-align:middle;max-width:100%}svg:not(:root){overflow:hidden}figure{margin:0}form{margin:0}fieldset{border:0;margin:0;padding:0}label{cursor:pointer}legend{border:0;*margin-left:-7px;padding:0;white-space:normal}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;*overflow:visible}button[disabled],input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;*width:13px;*height:13px}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top;resize:vertical}table{border-collapse:collapse;border-spacing:0}td{vertical-align:top}.chromeframe{margin:.2em 0;background:#ccc;color:#000;padding:.2em 0}.ir{display:block;border:0;text-indent:-999em;overflow:hidden;background-color:transparent;background-repeat:no-repeat;text-align:left;direction:ltr;*line-height:0}.ir br{display:none}.hidden{display:none !important;visibility:hidden}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.relative{position:relative}big,small{font-size:100%}@media print{html,body,section{background:none !important}*{box-shadow:none !important;text-shadow:none !important;filter:none !important;-ms-filter:none !important}a,a:visited{text-decoration:underline}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100% !important}@page{margin:.5cm}p,h2,.rst-content .toctree-wrapper p.caption,h3{orphans:3;widows:3}h2,.rst-content .toctree-wrapper p.caption,h3{page-break-after:avoid}}.fa:before,.wy-menu-vertical li span.toctree-expand:before,.wy-menu-vertical li.on a span.toctree-expand:before,.wy-menu-vertical li.current>a span.toctree-expand:before,.rst-content .admonition-title:before,.rst-content h1 .headerlink:before,.rst-content h2 .headerlink:before,.rst-content h3 .headerlink:before,.rst-content h4 .headerlink:before,.rst-content h5 .headerlink:before,.rst-content h6 .headerlink:before,.rst-content dl dt .headerlink:before,.rst-content p.caption .headerlink:before,.rst-content table>caption .headerlink:before,.rst-content .code-block-caption .headerlink:before,.rst-content tt.download span:first-child:before,.rst-content code.download span:first-child:before,.icon:before,.wy-dropdown .caret:before,.wy-inline-validate.wy-inline-validate-success .wy-input-context:before,.wy-inline-validate.wy-inline-validate-danger .wy-input-context:before,.wy-inline-validate.wy-inline-validate-warning .wy-input-context:before,.wy-inline-validate.wy-inline-validate-info .wy-input-context:before,.wy-alert,.rst-content .note,.rst-content .attention,.rst-content .caution,.rst-content .danger,.rst-content .error,.rst-content .hint,.rst-content .important,.rst-content .tip,.rst-content .warning,.rst-content .seealso,.rst-content .admonition-todo,.rst-content .admonition,.btn,input[type="text"],input[type="password"],input[type="email"],input[type="url"],input[type="date"],input[type="month"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="week"],input[type="number"],input[type="search"],input[type="tel"],input[type="color"],select,textarea,.wy-menu-vertical li.on a,.wy-menu-vertical li.current>a,.wy-side-nav-search>a,.wy-side-nav-search .wy-dropdown>a,.wy-nav-top a{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}/*! + * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + */@font-face{font-family:'FontAwesome';src:url("../fonts/fontawesome-webfont.eot?v=4.7.0");src:url("../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0") format("embedded-opentype"),url("../fonts/fontawesome-webfont.woff2?v=4.7.0") format("woff2"),url("../fonts/fontawesome-webfont.woff?v=4.7.0") format("woff"),url("../fonts/fontawesome-webfont.ttf?v=4.7.0") format("truetype"),url("../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular") format("svg");font-weight:normal;font-style:normal}.fa,.wy-menu-vertical li span.toctree-expand,.wy-menu-vertical li.on a span.toctree-expand,.wy-menu-vertical li.current>a span.toctree-expand,.rst-content .admonition-title,.rst-content h1 .headerlink,.rst-content h2 .headerlink,.rst-content h3 .headerlink,.rst-content h4 .headerlink,.rst-content h5 .headerlink,.rst-content h6 .headerlink,.rst-content dl dt .headerlink,.rst-content p.caption .headerlink,.rst-content table>caption .headerlink,.rst-content .code-block-caption .headerlink,.rst-content tt.download span:first-child,.rst-content code.download span:first-child,.icon{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.3333333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.2857142857em;text-align:center}.fa-ul{padding-left:0;margin-left:2.1428571429em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.1428571429em;width:2.1428571429em;top:.1428571429em;text-align:center}.fa-li.fa-lg{left:-1.8571428571em}.fa-border{padding:.2em .25em .15em;border:solid 0.08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.wy-menu-vertical li span.fa-pull-left.toctree-expand,.wy-menu-vertical li.on a span.fa-pull-left.toctree-expand,.wy-menu-vertical li.current>a span.fa-pull-left.toctree-expand,.rst-content .fa-pull-left.admonition-title,.rst-content h1 .fa-pull-left.headerlink,.rst-content h2 .fa-pull-left.headerlink,.rst-content h3 .fa-pull-left.headerlink,.rst-content h4 .fa-pull-left.headerlink,.rst-content h5 .fa-pull-left.headerlink,.rst-content h6 .fa-pull-left.headerlink,.rst-content dl dt .fa-pull-left.headerlink,.rst-content p.caption .fa-pull-left.headerlink,.rst-content table>caption .fa-pull-left.headerlink,.rst-content .code-block-caption .fa-pull-left.headerlink,.rst-content tt.download span.fa-pull-left:first-child,.rst-content code.download span.fa-pull-left:first-child,.fa-pull-left.icon{margin-right:.3em}.fa.fa-pull-right,.wy-menu-vertical li span.fa-pull-right.toctree-expand,.wy-menu-vertical li.on a span.fa-pull-right.toctree-expand,.wy-menu-vertical li.current>a span.fa-pull-right.toctree-expand,.rst-content .fa-pull-right.admonition-title,.rst-content h1 .fa-pull-right.headerlink,.rst-content h2 .fa-pull-right.headerlink,.rst-content h3 .fa-pull-right.headerlink,.rst-content h4 .fa-pull-right.headerlink,.rst-content h5 .fa-pull-right.headerlink,.rst-content h6 .fa-pull-right.headerlink,.rst-content dl dt .fa-pull-right.headerlink,.rst-content p.caption .fa-pull-right.headerlink,.rst-content table>caption .fa-pull-right.headerlink,.rst-content .code-block-caption .fa-pull-right.headerlink,.rst-content tt.download span.fa-pull-right:first-child,.rst-content code.download span.fa-pull-right:first-child,.fa-pull-right.icon{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left,.wy-menu-vertical li span.pull-left.toctree-expand,.wy-menu-vertical li.on a span.pull-left.toctree-expand,.wy-menu-vertical li.current>a span.pull-left.toctree-expand,.rst-content .pull-left.admonition-title,.rst-content h1 .pull-left.headerlink,.rst-content h2 .pull-left.headerlink,.rst-content h3 .pull-left.headerlink,.rst-content h4 .pull-left.headerlink,.rst-content h5 .pull-left.headerlink,.rst-content h6 .pull-left.headerlink,.rst-content dl dt .pull-left.headerlink,.rst-content p.caption .pull-left.headerlink,.rst-content table>caption .pull-left.headerlink,.rst-content .code-block-caption .pull-left.headerlink,.rst-content tt.download span.pull-left:first-child,.rst-content code.download span.pull-left:first-child,.pull-left.icon{margin-right:.3em}.fa.pull-right,.wy-menu-vertical li span.pull-right.toctree-expand,.wy-menu-vertical li.on a span.pull-right.toctree-expand,.wy-menu-vertical li.current>a span.pull-right.toctree-expand,.rst-content .pull-right.admonition-title,.rst-content h1 .pull-right.headerlink,.rst-content h2 .pull-right.headerlink,.rst-content h3 .pull-right.headerlink,.rst-content h4 .pull-right.headerlink,.rst-content h5 .pull-right.headerlink,.rst-content h6 .pull-right.headerlink,.rst-content dl dt .pull-right.headerlink,.rst-content p.caption .pull-right.headerlink,.rst-content table>caption .pull-right.headerlink,.rst-content .code-block-caption .pull-right.headerlink,.rst-content tt.download span.pull-right:first-child,.rst-content code.download span.pull-right:first-child,.pull-right.icon{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:""}.fa-music:before{content:""}.fa-search:before,.icon-search:before{content:""}.fa-envelope-o:before{content:""}.fa-heart:before{content:""}.fa-star:before{content:""}.fa-star-o:before{content:""}.fa-user:before{content:""}.fa-film:before{content:""}.fa-th-large:before{content:""}.fa-th:before{content:""}.fa-th-list:before{content:""}.fa-check:before{content:""}.fa-remove:before,.fa-close:before,.fa-times:before{content:""}.fa-search-plus:before{content:""}.fa-search-minus:before{content:""}.fa-power-off:before{content:""}.fa-signal:before{content:""}.fa-gear:before,.fa-cog:before{content:""}.fa-trash-o:before{content:""}.fa-home:before,.icon-home:before{content:""}.fa-file-o:before{content:""}.fa-clock-o:before{content:""}.fa-road:before{content:""}.fa-download:before,.rst-content tt.download span:first-child:before,.rst-content code.download span:first-child:before{content:""}.fa-arrow-circle-o-down:before{content:""}.fa-arrow-circle-o-up:before{content:""}.fa-inbox:before{content:""}.fa-play-circle-o:before{content:""}.fa-rotate-right:before,.fa-repeat:before{content:""}.fa-refresh:before{content:""}.fa-list-alt:before{content:""}.fa-lock:before{content:""}.fa-flag:before{content:""}.fa-headphones:before{content:""}.fa-volume-off:before{content:""}.fa-volume-down:before{content:""}.fa-volume-up:before{content:""}.fa-qrcode:before{content:""}.fa-barcode:before{content:""}.fa-tag:before{content:""}.fa-tags:before{content:""}.fa-book:before,.icon-book:before{content:""}.fa-bookmark:before{content:""}.fa-print:before{content:""}.fa-camera:before{content:""}.fa-font:before{content:""}.fa-bold:before{content:""}.fa-italic:before{content:""}.fa-text-height:before{content:""}.fa-text-width:before{content:""}.fa-align-left:before{content:""}.fa-align-center:before{content:""}.fa-align-right:before{content:""}.fa-align-justify:before{content:""}.fa-list:before{content:""}.fa-dedent:before,.fa-outdent:before{content:""}.fa-indent:before{content:""}.fa-video-camera:before{content:""}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:""}.fa-pencil:before{content:""}.fa-map-marker:before{content:""}.fa-adjust:before{content:""}.fa-tint:before{content:""}.fa-edit:before,.fa-pencil-square-o:before{content:""}.fa-share-square-o:before{content:""}.fa-check-square-o:before{content:""}.fa-arrows:before{content:""}.fa-step-backward:before{content:""}.fa-fast-backward:before{content:""}.fa-backward:before{content:""}.fa-play:before{content:""}.fa-pause:before{content:""}.fa-stop:before{content:""}.fa-forward:before{content:""}.fa-fast-forward:before{content:""}.fa-step-forward:before{content:""}.fa-eject:before{content:""}.fa-chevron-left:before{content:""}.fa-chevron-right:before{content:""}.fa-plus-circle:before{content:""}.fa-minus-circle:before{content:""}.fa-times-circle:before,.wy-inline-validate.wy-inline-validate-danger .wy-input-context:before{content:""}.fa-check-circle:before,.wy-inline-validate.wy-inline-validate-success .wy-input-context:before{content:""}.fa-question-circle:before{content:""}.fa-info-circle:before{content:""}.fa-crosshairs:before{content:""}.fa-times-circle-o:before{content:""}.fa-check-circle-o:before{content:""}.fa-ban:before{content:""}.fa-arrow-left:before{content:""}.fa-arrow-right:before{content:""}.fa-arrow-up:before{content:""}.fa-arrow-down:before{content:""}.fa-mail-forward:before,.fa-share:before{content:""}.fa-expand:before{content:""}.fa-compress:before{content:""}.fa-plus:before{content:""}.fa-minus:before{content:""}.fa-asterisk:before{content:""}.fa-exclamation-circle:before,.wy-inline-validate.wy-inline-validate-warning .wy-input-context:before,.wy-inline-validate.wy-inline-validate-info .wy-input-context:before,.rst-content .admonition-title:before{content:""}.fa-gift:before{content:""}.fa-leaf:before{content:""}.fa-fire:before,.icon-fire:before{content:""}.fa-eye:before{content:""}.fa-eye-slash:before{content:""}.fa-warning:before,.fa-exclamation-triangle:before{content:""}.fa-plane:before{content:""}.fa-calendar:before{content:""}.fa-random:before{content:""}.fa-comment:before{content:""}.fa-magnet:before{content:""}.fa-chevron-up:before{content:""}.fa-chevron-down:before{content:""}.fa-retweet:before{content:""}.fa-shopping-cart:before{content:""}.fa-folder:before{content:""}.fa-folder-open:before{content:""}.fa-arrows-v:before{content:""}.fa-arrows-h:before{content:""}.fa-bar-chart-o:before,.fa-bar-chart:before{content:""}.fa-twitter-square:before{content:""}.fa-facebook-square:before{content:""}.fa-camera-retro:before{content:""}.fa-key:before{content:""}.fa-gears:before,.fa-cogs:before{content:""}.fa-comments:before{content:""}.fa-thumbs-o-up:before{content:""}.fa-thumbs-o-down:before{content:""}.fa-star-half:before{content:""}.fa-heart-o:before{content:""}.fa-sign-out:before{content:""}.fa-linkedin-square:before{content:""}.fa-thumb-tack:before{content:""}.fa-external-link:before{content:""}.fa-sign-in:before{content:""}.fa-trophy:before{content:""}.fa-github-square:before{content:""}.fa-upload:before{content:""}.fa-lemon-o:before{content:""}.fa-phone:before{content:""}.fa-square-o:before{content:""}.fa-bookmark-o:before{content:""}.fa-phone-square:before{content:""}.fa-twitter:before{content:""}.fa-facebook-f:before,.fa-facebook:before{content:""}.fa-github:before,.icon-github:before{content:""}.fa-unlock:before{content:""}.fa-credit-card:before{content:""}.fa-feed:before,.fa-rss:before{content:""}.fa-hdd-o:before{content:""}.fa-bullhorn:before{content:""}.fa-bell:before{content:""}.fa-certificate:before{content:""}.fa-hand-o-right:before{content:""}.fa-hand-o-left:before{content:""}.fa-hand-o-up:before{content:""}.fa-hand-o-down:before{content:""}.fa-arrow-circle-left:before,.icon-circle-arrow-left:before{content:""}.fa-arrow-circle-right:before,.icon-circle-arrow-right:before{content:""}.fa-arrow-circle-up:before{content:""}.fa-arrow-circle-down:before{content:""}.fa-globe:before{content:""}.fa-wrench:before{content:""}.fa-tasks:before{content:""}.fa-filter:before{content:""}.fa-briefcase:before{content:""}.fa-arrows-alt:before{content:""}.fa-group:before,.fa-users:before{content:""}.fa-chain:before,.fa-link:before,.icon-link:before{content:""}.fa-cloud:before{content:""}.fa-flask:before{content:""}.fa-cut:before,.fa-scissors:before{content:""}.fa-copy:before,.fa-files-o:before{content:""}.fa-paperclip:before{content:""}.fa-save:before,.fa-floppy-o:before{content:""}.fa-square:before{content:""}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:""}.fa-list-ul:before{content:""}.fa-list-ol:before{content:""}.fa-strikethrough:before{content:""}.fa-underline:before{content:""}.fa-table:before{content:""}.fa-magic:before{content:""}.fa-truck:before{content:""}.fa-pinterest:before{content:""}.fa-pinterest-square:before{content:""}.fa-google-plus-square:before{content:""}.fa-google-plus:before{content:""}.fa-money:before{content:""}.fa-caret-down:before,.wy-dropdown .caret:before,.icon-caret-down:before{content:""}.fa-caret-up:before{content:""}.fa-caret-left:before{content:""}.fa-caret-right:before{content:""}.fa-columns:before{content:""}.fa-unsorted:before,.fa-sort:before{content:""}.fa-sort-down:before,.fa-sort-desc:before{content:""}.fa-sort-up:before,.fa-sort-asc:before{content:""}.fa-envelope:before{content:""}.fa-linkedin:before{content:""}.fa-rotate-left:before,.fa-undo:before{content:""}.fa-legal:before,.fa-gavel:before{content:""}.fa-dashboard:before,.fa-tachometer:before{content:""}.fa-comment-o:before{content:""}.fa-comments-o:before{content:""}.fa-flash:before,.fa-bolt:before{content:""}.fa-sitemap:before{content:""}.fa-umbrella:before{content:""}.fa-paste:before,.fa-clipboard:before{content:""}.fa-lightbulb-o:before{content:""}.fa-exchange:before{content:""}.fa-cloud-download:before{content:""}.fa-cloud-upload:before{content:""}.fa-user-md:before{content:""}.fa-stethoscope:before{content:""}.fa-suitcase:before{content:""}.fa-bell-o:before{content:""}.fa-coffee:before{content:""}.fa-cutlery:before{content:""}.fa-file-text-o:before{content:""}.fa-building-o:before{content:""}.fa-hospital-o:before{content:""}.fa-ambulance:before{content:""}.fa-medkit:before{content:""}.fa-fighter-jet:before{content:""}.fa-beer:before{content:""}.fa-h-square:before{content:""}.fa-plus-square:before{content:""}.fa-angle-double-left:before{content:""}.fa-angle-double-right:before{content:""}.fa-angle-double-up:before{content:""}.fa-angle-double-down:before{content:""}.fa-angle-left:before{content:""}.fa-angle-right:before{content:""}.fa-angle-up:before{content:""}.fa-angle-down:before{content:""}.fa-desktop:before{content:""}.fa-laptop:before{content:""}.fa-tablet:before{content:""}.fa-mobile-phone:before,.fa-mobile:before{content:""}.fa-circle-o:before{content:""}.fa-quote-left:before{content:""}.fa-quote-right:before{content:""}.fa-spinner:before{content:""}.fa-circle:before{content:""}.fa-mail-reply:before,.fa-reply:before{content:""}.fa-github-alt:before{content:""}.fa-folder-o:before{content:""}.fa-folder-open-o:before{content:""}.fa-smile-o:before{content:""}.fa-frown-o:before{content:""}.fa-meh-o:before{content:""}.fa-gamepad:before{content:""}.fa-keyboard-o:before{content:""}.fa-flag-o:before{content:""}.fa-flag-checkered:before{content:""}.fa-terminal:before{content:""}.fa-code:before{content:""}.fa-mail-reply-all:before,.fa-reply-all:before{content:""}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:""}.fa-location-arrow:before{content:""}.fa-crop:before{content:""}.fa-code-fork:before{content:""}.fa-unlink:before,.fa-chain-broken:before{content:""}.fa-question:before{content:""}.fa-info:before{content:""}.fa-exclamation:before{content:""}.fa-superscript:before{content:""}.fa-subscript:before{content:""}.fa-eraser:before{content:""}.fa-puzzle-piece:before{content:""}.fa-microphone:before{content:""}.fa-microphone-slash:before{content:""}.fa-shield:before{content:""}.fa-calendar-o:before{content:""}.fa-fire-extinguisher:before{content:""}.fa-rocket:before{content:""}.fa-maxcdn:before{content:""}.fa-chevron-circle-left:before{content:""}.fa-chevron-circle-right:before{content:""}.fa-chevron-circle-up:before{content:""}.fa-chevron-circle-down:before{content:""}.fa-html5:before{content:""}.fa-css3:before{content:""}.fa-anchor:before{content:""}.fa-unlock-alt:before{content:""}.fa-bullseye:before{content:""}.fa-ellipsis-h:before{content:""}.fa-ellipsis-v:before{content:""}.fa-rss-square:before{content:""}.fa-play-circle:before{content:""}.fa-ticket:before{content:""}.fa-minus-square:before{content:""}.fa-minus-square-o:before,.wy-menu-vertical li.on a span.toctree-expand:before,.wy-menu-vertical li.current>a span.toctree-expand:before{content:""}.fa-level-up:before{content:""}.fa-level-down:before{content:""}.fa-check-square:before{content:""}.fa-pencil-square:before{content:""}.fa-external-link-square:before{content:""}.fa-share-square:before{content:""}.fa-compass:before{content:""}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:""}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:""}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:""}.fa-euro:before,.fa-eur:before{content:""}.fa-gbp:before{content:""}.fa-dollar:before,.fa-usd:before{content:""}.fa-rupee:before,.fa-inr:before{content:""}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:""}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:""}.fa-won:before,.fa-krw:before{content:""}.fa-bitcoin:before,.fa-btc:before{content:""}.fa-file:before{content:""}.fa-file-text:before{content:""}.fa-sort-alpha-asc:before{content:""}.fa-sort-alpha-desc:before{content:""}.fa-sort-amount-asc:before{content:""}.fa-sort-amount-desc:before{content:""}.fa-sort-numeric-asc:before{content:""}.fa-sort-numeric-desc:before{content:""}.fa-thumbs-up:before{content:""}.fa-thumbs-down:before{content:""}.fa-youtube-square:before{content:""}.fa-youtube:before{content:""}.fa-xing:before{content:""}.fa-xing-square:before{content:""}.fa-youtube-play:before{content:""}.fa-dropbox:before{content:""}.fa-stack-overflow:before{content:""}.fa-instagram:before{content:""}.fa-flickr:before{content:""}.fa-adn:before{content:""}.fa-bitbucket:before,.icon-bitbucket:before{content:""}.fa-bitbucket-square:before{content:""}.fa-tumblr:before{content:""}.fa-tumblr-square:before{content:""}.fa-long-arrow-down:before{content:""}.fa-long-arrow-up:before{content:""}.fa-long-arrow-left:before{content:""}.fa-long-arrow-right:before{content:""}.fa-apple:before{content:""}.fa-windows:before{content:""}.fa-android:before{content:""}.fa-linux:before{content:""}.fa-dribbble:before{content:""}.fa-skype:before{content:""}.fa-foursquare:before{content:""}.fa-trello:before{content:""}.fa-female:before{content:""}.fa-male:before{content:""}.fa-gittip:before,.fa-gratipay:before{content:""}.fa-sun-o:before{content:""}.fa-moon-o:before{content:""}.fa-archive:before{content:""}.fa-bug:before{content:""}.fa-vk:before{content:""}.fa-weibo:before{content:""}.fa-renren:before{content:""}.fa-pagelines:before{content:""}.fa-stack-exchange:before{content:""}.fa-arrow-circle-o-right:before{content:""}.fa-arrow-circle-o-left:before{content:""}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:""}.fa-dot-circle-o:before{content:""}.fa-wheelchair:before{content:""}.fa-vimeo-square:before{content:""}.fa-turkish-lira:before,.fa-try:before{content:""}.fa-plus-square-o:before,.wy-menu-vertical li span.toctree-expand:before{content:""}.fa-space-shuttle:before{content:""}.fa-slack:before{content:""}.fa-envelope-square:before{content:""}.fa-wordpress:before{content:""}.fa-openid:before{content:""}.fa-institution:before,.fa-bank:before,.fa-university:before{content:""}.fa-mortar-board:before,.fa-graduation-cap:before{content:""}.fa-yahoo:before{content:""}.fa-google:before{content:""}.fa-reddit:before{content:""}.fa-reddit-square:before{content:""}.fa-stumbleupon-circle:before{content:""}.fa-stumbleupon:before{content:""}.fa-delicious:before{content:""}.fa-digg:before{content:""}.fa-pied-piper-pp:before{content:""}.fa-pied-piper-alt:before{content:""}.fa-drupal:before{content:""}.fa-joomla:before{content:""}.fa-language:before{content:""}.fa-fax:before{content:""}.fa-building:before{content:""}.fa-child:before{content:""}.fa-paw:before{content:""}.fa-spoon:before{content:""}.fa-cube:before{content:""}.fa-cubes:before{content:""}.fa-behance:before{content:""}.fa-behance-square:before{content:""}.fa-steam:before{content:""}.fa-steam-square:before{content:""}.fa-recycle:before{content:""}.fa-automobile:before,.fa-car:before{content:""}.fa-cab:before,.fa-taxi:before{content:""}.fa-tree:before{content:""}.fa-spotify:before{content:""}.fa-deviantart:before{content:""}.fa-soundcloud:before{content:""}.fa-database:before{content:""}.fa-file-pdf-o:before{content:""}.fa-file-word-o:before{content:""}.fa-file-excel-o:before{content:""}.fa-file-powerpoint-o:before{content:""}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:""}.fa-file-zip-o:before,.fa-file-archive-o:before{content:""}.fa-file-sound-o:before,.fa-file-audio-o:before{content:""}.fa-file-movie-o:before,.fa-file-video-o:before{content:""}.fa-file-code-o:before{content:""}.fa-vine:before{content:""}.fa-codepen:before{content:""}.fa-jsfiddle:before{content:""}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:""}.fa-circle-o-notch:before{content:""}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:""}.fa-ge:before,.fa-empire:before{content:""}.fa-git-square:before{content:""}.fa-git:before{content:""}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:""}.fa-tencent-weibo:before{content:""}.fa-qq:before{content:""}.fa-wechat:before,.fa-weixin:before{content:""}.fa-send:before,.fa-paper-plane:before{content:""}.fa-send-o:before,.fa-paper-plane-o:before{content:""}.fa-history:before{content:""}.fa-circle-thin:before{content:""}.fa-header:before{content:""}.fa-paragraph:before{content:""}.fa-sliders:before{content:""}.fa-share-alt:before{content:""}.fa-share-alt-square:before{content:""}.fa-bomb:before{content:""}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:""}.fa-tty:before{content:""}.fa-binoculars:before{content:""}.fa-plug:before{content:""}.fa-slideshare:before{content:""}.fa-twitch:before{content:""}.fa-yelp:before{content:""}.fa-newspaper-o:before{content:""}.fa-wifi:before{content:""}.fa-calculator:before{content:""}.fa-paypal:before{content:""}.fa-google-wallet:before{content:""}.fa-cc-visa:before{content:""}.fa-cc-mastercard:before{content:""}.fa-cc-discover:before{content:""}.fa-cc-amex:before{content:""}.fa-cc-paypal:before{content:""}.fa-cc-stripe:before{content:""}.fa-bell-slash:before{content:""}.fa-bell-slash-o:before{content:""}.fa-trash:before{content:""}.fa-copyright:before{content:""}.fa-at:before{content:""}.fa-eyedropper:before{content:""}.fa-paint-brush:before{content:""}.fa-birthday-cake:before{content:""}.fa-area-chart:before{content:""}.fa-pie-chart:before{content:""}.fa-line-chart:before{content:""}.fa-lastfm:before{content:""}.fa-lastfm-square:before{content:""}.fa-toggle-off:before{content:""}.fa-toggle-on:before{content:""}.fa-bicycle:before{content:""}.fa-bus:before{content:""}.fa-ioxhost:before{content:""}.fa-angellist:before{content:""}.fa-cc:before{content:""}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:""}.fa-meanpath:before{content:""}.fa-buysellads:before{content:""}.fa-connectdevelop:before{content:""}.fa-dashcube:before{content:""}.fa-forumbee:before{content:""}.fa-leanpub:before{content:""}.fa-sellsy:before{content:""}.fa-shirtsinbulk:before{content:""}.fa-simplybuilt:before{content:""}.fa-skyatlas:before{content:""}.fa-cart-plus:before{content:""}.fa-cart-arrow-down:before{content:""}.fa-diamond:before{content:""}.fa-ship:before{content:""}.fa-user-secret:before{content:""}.fa-motorcycle:before{content:""}.fa-street-view:before{content:""}.fa-heartbeat:before{content:""}.fa-venus:before{content:""}.fa-mars:before{content:""}.fa-mercury:before{content:""}.fa-intersex:before,.fa-transgender:before{content:""}.fa-transgender-alt:before{content:""}.fa-venus-double:before{content:""}.fa-mars-double:before{content:""}.fa-venus-mars:before{content:""}.fa-mars-stroke:before{content:""}.fa-mars-stroke-v:before{content:""}.fa-mars-stroke-h:before{content:""}.fa-neuter:before{content:""}.fa-genderless:before{content:""}.fa-facebook-official:before{content:""}.fa-pinterest-p:before{content:""}.fa-whatsapp:before{content:""}.fa-server:before{content:""}.fa-user-plus:before{content:""}.fa-user-times:before{content:""}.fa-hotel:before,.fa-bed:before{content:""}.fa-viacoin:before{content:""}.fa-train:before{content:""}.fa-subway:before{content:""}.fa-medium:before{content:""}.fa-yc:before,.fa-y-combinator:before{content:""}.fa-optin-monster:before{content:""}.fa-opencart:before{content:""}.fa-expeditedssl:before{content:""}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:""}.fa-battery-3:before,.fa-battery-three-quarters:before{content:""}.fa-battery-2:before,.fa-battery-half:before{content:""}.fa-battery-1:before,.fa-battery-quarter:before{content:""}.fa-battery-0:before,.fa-battery-empty:before{content:""}.fa-mouse-pointer:before{content:""}.fa-i-cursor:before{content:""}.fa-object-group:before{content:""}.fa-object-ungroup:before{content:""}.fa-sticky-note:before{content:""}.fa-sticky-note-o:before{content:""}.fa-cc-jcb:before{content:""}.fa-cc-diners-club:before{content:""}.fa-clone:before{content:""}.fa-balance-scale:before{content:""}.fa-hourglass-o:before{content:""}.fa-hourglass-1:before,.fa-hourglass-start:before{content:""}.fa-hourglass-2:before,.fa-hourglass-half:before{content:""}.fa-hourglass-3:before,.fa-hourglass-end:before{content:""}.fa-hourglass:before{content:""}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:""}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:""}.fa-hand-scissors-o:before{content:""}.fa-hand-lizard-o:before{content:""}.fa-hand-spock-o:before{content:""}.fa-hand-pointer-o:before{content:""}.fa-hand-peace-o:before{content:""}.fa-trademark:before{content:""}.fa-registered:before{content:""}.fa-creative-commons:before{content:""}.fa-gg:before{content:""}.fa-gg-circle:before{content:""}.fa-tripadvisor:before{content:""}.fa-odnoklassniki:before{content:""}.fa-odnoklassniki-square:before{content:""}.fa-get-pocket:before{content:""}.fa-wikipedia-w:before{content:""}.fa-safari:before{content:""}.fa-chrome:before{content:""}.fa-firefox:before{content:""}.fa-opera:before{content:""}.fa-internet-explorer:before{content:""}.fa-tv:before,.fa-television:before{content:""}.fa-contao:before{content:""}.fa-500px:before{content:""}.fa-amazon:before{content:""}.fa-calendar-plus-o:before{content:""}.fa-calendar-minus-o:before{content:""}.fa-calendar-times-o:before{content:""}.fa-calendar-check-o:before{content:""}.fa-industry:before{content:""}.fa-map-pin:before{content:""}.fa-map-signs:before{content:""}.fa-map-o:before{content:""}.fa-map:before{content:""}.fa-commenting:before{content:""}.fa-commenting-o:before{content:""}.fa-houzz:before{content:""}.fa-vimeo:before{content:""}.fa-black-tie:before{content:""}.fa-fonticons:before{content:""}.fa-reddit-alien:before{content:""}.fa-edge:before{content:""}.fa-credit-card-alt:before{content:""}.fa-codiepie:before{content:""}.fa-modx:before{content:""}.fa-fort-awesome:before{content:""}.fa-usb:before{content:""}.fa-product-hunt:before{content:""}.fa-mixcloud:before{content:""}.fa-scribd:before{content:""}.fa-pause-circle:before{content:""}.fa-pause-circle-o:before{content:""}.fa-stop-circle:before{content:""}.fa-stop-circle-o:before{content:""}.fa-shopping-bag:before{content:""}.fa-shopping-basket:before{content:""}.fa-hashtag:before{content:""}.fa-bluetooth:before{content:""}.fa-bluetooth-b:before{content:""}.fa-percent:before{content:""}.fa-gitlab:before,.icon-gitlab:before{content:""}.fa-wpbeginner:before{content:""}.fa-wpforms:before{content:""}.fa-envira:before{content:""}.fa-universal-access:before{content:""}.fa-wheelchair-alt:before{content:""}.fa-question-circle-o:before{content:""}.fa-blind:before{content:""}.fa-audio-description:before{content:""}.fa-volume-control-phone:before{content:""}.fa-braille:before{content:""}.fa-assistive-listening-systems:before{content:""}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:""}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:""}.fa-glide:before{content:""}.fa-glide-g:before{content:""}.fa-signing:before,.fa-sign-language:before{content:""}.fa-low-vision:before{content:""}.fa-viadeo:before{content:""}.fa-viadeo-square:before{content:""}.fa-snapchat:before{content:""}.fa-snapchat-ghost:before{content:""}.fa-snapchat-square:before{content:""}.fa-pied-piper:before{content:""}.fa-first-order:before{content:""}.fa-yoast:before{content:""}.fa-themeisle:before{content:""}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:""}.fa-fa:before,.fa-font-awesome:before{content:""}.fa-handshake-o:before{content:""}.fa-envelope-open:before{content:""}.fa-envelope-open-o:before{content:""}.fa-linode:before{content:""}.fa-address-book:before{content:""}.fa-address-book-o:before{content:""}.fa-vcard:before,.fa-address-card:before{content:""}.fa-vcard-o:before,.fa-address-card-o:before{content:""}.fa-user-circle:before{content:""}.fa-user-circle-o:before{content:""}.fa-user-o:before{content:""}.fa-id-badge:before{content:""}.fa-drivers-license:before,.fa-id-card:before{content:""}.fa-drivers-license-o:before,.fa-id-card-o:before{content:""}.fa-quora:before{content:""}.fa-free-code-camp:before{content:""}.fa-telegram:before{content:""}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:""}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:""}.fa-thermometer-2:before,.fa-thermometer-half:before{content:""}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:""}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:""}.fa-shower:before{content:""}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:""}.fa-podcast:before{content:""}.fa-window-maximize:before{content:""}.fa-window-minimize:before{content:""}.fa-window-restore:before{content:""}.fa-times-rectangle:before,.fa-window-close:before{content:""}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:""}.fa-bandcamp:before{content:""}.fa-grav:before{content:""}.fa-etsy:before{content:""}.fa-imdb:before{content:""}.fa-ravelry:before{content:""}.fa-eercast:before{content:""}.fa-microchip:before{content:""}.fa-snowflake-o:before{content:""}.fa-superpowers:before{content:""}.fa-wpexplorer:before{content:""}.fa-meetup:before{content:""}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.fa,.wy-menu-vertical li span.toctree-expand,.wy-menu-vertical li.on a span.toctree-expand,.wy-menu-vertical li.current>a span.toctree-expand,.rst-content .admonition-title,.rst-content h1 .headerlink,.rst-content h2 .headerlink,.rst-content h3 .headerlink,.rst-content h4 .headerlink,.rst-content h5 .headerlink,.rst-content h6 .headerlink,.rst-content dl dt .headerlink,.rst-content p.caption .headerlink,.rst-content table>caption .headerlink,.rst-content .code-block-caption .headerlink,.rst-content tt.download span:first-child,.rst-content code.download span:first-child,.icon,.wy-dropdown .caret,.wy-inline-validate.wy-inline-validate-success .wy-input-context,.wy-inline-validate.wy-inline-validate-danger .wy-input-context,.wy-inline-validate.wy-inline-validate-warning .wy-input-context,.wy-inline-validate.wy-inline-validate-info .wy-input-context{font-family:inherit}.fa:before,.wy-menu-vertical li span.toctree-expand:before,.wy-menu-vertical li.on a span.toctree-expand:before,.wy-menu-vertical li.current>a span.toctree-expand:before,.rst-content .admonition-title:before,.rst-content h1 .headerlink:before,.rst-content h2 .headerlink:before,.rst-content h3 .headerlink:before,.rst-content h4 .headerlink:before,.rst-content h5 .headerlink:before,.rst-content h6 .headerlink:before,.rst-content dl dt .headerlink:before,.rst-content p.caption .headerlink:before,.rst-content table>caption .headerlink:before,.rst-content .code-block-caption .headerlink:before,.rst-content tt.download span:first-child:before,.rst-content code.download span:first-child:before,.icon:before,.wy-dropdown .caret:before,.wy-inline-validate.wy-inline-validate-success .wy-input-context:before,.wy-inline-validate.wy-inline-validate-danger .wy-input-context:before,.wy-inline-validate.wy-inline-validate-warning .wy-input-context:before,.wy-inline-validate.wy-inline-validate-info .wy-input-context:before{font-family:"FontAwesome";display:inline-block;font-style:normal;font-weight:normal;line-height:1;text-decoration:inherit}a .fa,a .wy-menu-vertical li span.toctree-expand,.wy-menu-vertical li a span.toctree-expand,.wy-menu-vertical li.on a span.toctree-expand,.wy-menu-vertical li.current>a span.toctree-expand,a .rst-content .admonition-title,.rst-content a .admonition-title,a .rst-content h1 .headerlink,.rst-content h1 a .headerlink,a .rst-content h2 .headerlink,.rst-content h2 a .headerlink,a .rst-content h3 .headerlink,.rst-content h3 a .headerlink,a .rst-content h4 .headerlink,.rst-content h4 a .headerlink,a .rst-content h5 .headerlink,.rst-content h5 a .headerlink,a .rst-content h6 .headerlink,.rst-content h6 a .headerlink,a .rst-content dl dt .headerlink,.rst-content dl dt a .headerlink,a .rst-content p.caption .headerlink,.rst-content p.caption a .headerlink,a .rst-content table>caption .headerlink,.rst-content table>caption a .headerlink,a .rst-content .code-block-caption .headerlink,.rst-content .code-block-caption a .headerlink,a .rst-content tt.download span:first-child,.rst-content tt.download a span:first-child,a .rst-content code.download span:first-child,.rst-content code.download a span:first-child,a .icon{display:inline-block;text-decoration:inherit}.btn .fa,.btn .wy-menu-vertical li span.toctree-expand,.wy-menu-vertical li .btn span.toctree-expand,.btn .wy-menu-vertical li.on a span.toctree-expand,.wy-menu-vertical li.on a .btn span.toctree-expand,.btn .wy-menu-vertical li.current>a span.toctree-expand,.wy-menu-vertical li.current>a .btn span.toctree-expand,.btn .rst-content .admonition-title,.rst-content .btn .admonition-title,.btn .rst-content h1 .headerlink,.rst-content h1 .btn .headerlink,.btn .rst-content h2 .headerlink,.rst-content h2 .btn .headerlink,.btn .rst-content h3 .headerlink,.rst-content h3 .btn .headerlink,.btn .rst-content h4 .headerlink,.rst-content h4 .btn .headerlink,.btn .rst-content h5 .headerlink,.rst-content h5 .btn .headerlink,.btn .rst-content h6 .headerlink,.rst-content h6 .btn .headerlink,.btn .rst-content dl dt .headerlink,.rst-content dl dt .btn .headerlink,.btn .rst-content p.caption .headerlink,.rst-content p.caption .btn .headerlink,.btn .rst-content table>caption .headerlink,.rst-content table>caption .btn .headerlink,.btn .rst-content .code-block-caption .headerlink,.rst-content .code-block-caption .btn .headerlink,.btn .rst-content tt.download span:first-child,.rst-content tt.download .btn span:first-child,.btn .rst-content code.download span:first-child,.rst-content code.download .btn span:first-child,.btn .icon,.nav .fa,.nav .wy-menu-vertical li span.toctree-expand,.wy-menu-vertical li .nav span.toctree-expand,.nav .wy-menu-vertical li.on a span.toctree-expand,.wy-menu-vertical li.on a .nav span.toctree-expand,.nav .wy-menu-vertical li.current>a span.toctree-expand,.wy-menu-vertical li.current>a .nav span.toctree-expand,.nav .rst-content .admonition-title,.rst-content .nav .admonition-title,.nav .rst-content h1 .headerlink,.rst-content h1 .nav .headerlink,.nav .rst-content h2 .headerlink,.rst-content h2 .nav .headerlink,.nav .rst-content h3 .headerlink,.rst-content h3 .nav .headerlink,.nav .rst-content h4 .headerlink,.rst-content h4 .nav .headerlink,.nav .rst-content h5 .headerlink,.rst-content h5 .nav .headerlink,.nav .rst-content h6 .headerlink,.rst-content h6 .nav .headerlink,.nav .rst-content dl dt .headerlink,.rst-content dl dt .nav .headerlink,.nav .rst-content p.caption .headerlink,.rst-content p.caption .nav .headerlink,.nav .rst-content table>caption .headerlink,.rst-content table>caption .nav .headerlink,.nav .rst-content .code-block-caption .headerlink,.rst-content .code-block-caption .nav .headerlink,.nav .rst-content tt.download span:first-child,.rst-content tt.download .nav span:first-child,.nav .rst-content code.download span:first-child,.rst-content code.download .nav span:first-child,.nav .icon{display:inline}.btn .fa.fa-large,.btn .wy-menu-vertical li span.fa-large.toctree-expand,.wy-menu-vertical li .btn span.fa-large.toctree-expand,.btn .rst-content .fa-large.admonition-title,.rst-content .btn .fa-large.admonition-title,.btn .rst-content h1 .fa-large.headerlink,.rst-content h1 .btn .fa-large.headerlink,.btn .rst-content h2 .fa-large.headerlink,.rst-content h2 .btn .fa-large.headerlink,.btn .rst-content h3 .fa-large.headerlink,.rst-content h3 .btn .fa-large.headerlink,.btn .rst-content h4 .fa-large.headerlink,.rst-content h4 .btn .fa-large.headerlink,.btn .rst-content h5 .fa-large.headerlink,.rst-content h5 .btn .fa-large.headerlink,.btn .rst-content h6 .fa-large.headerlink,.rst-content h6 .btn .fa-large.headerlink,.btn .rst-content dl dt .fa-large.headerlink,.rst-content dl dt .btn .fa-large.headerlink,.btn .rst-content p.caption .fa-large.headerlink,.rst-content p.caption .btn .fa-large.headerlink,.btn .rst-content table>caption .fa-large.headerlink,.rst-content table>caption .btn .fa-large.headerlink,.btn .rst-content .code-block-caption .fa-large.headerlink,.rst-content .code-block-caption .btn .fa-large.headerlink,.btn .rst-content tt.download span.fa-large:first-child,.rst-content tt.download .btn span.fa-large:first-child,.btn .rst-content code.download span.fa-large:first-child,.rst-content code.download .btn span.fa-large:first-child,.btn .fa-large.icon,.nav .fa.fa-large,.nav .wy-menu-vertical li span.fa-large.toctree-expand,.wy-menu-vertical li .nav span.fa-large.toctree-expand,.nav .rst-content .fa-large.admonition-title,.rst-content .nav .fa-large.admonition-title,.nav .rst-content h1 .fa-large.headerlink,.rst-content h1 .nav .fa-large.headerlink,.nav .rst-content h2 .fa-large.headerlink,.rst-content h2 .nav .fa-large.headerlink,.nav .rst-content h3 .fa-large.headerlink,.rst-content h3 .nav .fa-large.headerlink,.nav .rst-content h4 .fa-large.headerlink,.rst-content h4 .nav .fa-large.headerlink,.nav .rst-content h5 .fa-large.headerlink,.rst-content h5 .nav .fa-large.headerlink,.nav .rst-content h6 .fa-large.headerlink,.rst-content h6 .nav .fa-large.headerlink,.nav .rst-content dl dt .fa-large.headerlink,.rst-content dl dt .nav .fa-large.headerlink,.nav .rst-content p.caption .fa-large.headerlink,.rst-content p.caption .nav .fa-large.headerlink,.nav .rst-content table>caption .fa-large.headerlink,.rst-content table>caption .nav .fa-large.headerlink,.nav .rst-content .code-block-caption .fa-large.headerlink,.rst-content .code-block-caption .nav .fa-large.headerlink,.nav .rst-content tt.download span.fa-large:first-child,.rst-content tt.download .nav span.fa-large:first-child,.nav .rst-content code.download span.fa-large:first-child,.rst-content code.download .nav span.fa-large:first-child,.nav .fa-large.icon{line-height:.9em}.btn .fa.fa-spin,.btn .wy-menu-vertical li span.fa-spin.toctree-expand,.wy-menu-vertical li .btn span.fa-spin.toctree-expand,.btn .rst-content .fa-spin.admonition-title,.rst-content .btn .fa-spin.admonition-title,.btn .rst-content h1 .fa-spin.headerlink,.rst-content h1 .btn .fa-spin.headerlink,.btn .rst-content h2 .fa-spin.headerlink,.rst-content h2 .btn .fa-spin.headerlink,.btn .rst-content h3 .fa-spin.headerlink,.rst-content h3 .btn .fa-spin.headerlink,.btn .rst-content h4 .fa-spin.headerlink,.rst-content h4 .btn .fa-spin.headerlink,.btn .rst-content h5 .fa-spin.headerlink,.rst-content h5 .btn .fa-spin.headerlink,.btn .rst-content h6 .fa-spin.headerlink,.rst-content h6 .btn .fa-spin.headerlink,.btn .rst-content dl dt .fa-spin.headerlink,.rst-content dl dt .btn .fa-spin.headerlink,.btn .rst-content p.caption .fa-spin.headerlink,.rst-content p.caption .btn .fa-spin.headerlink,.btn .rst-content table>caption .fa-spin.headerlink,.rst-content table>caption .btn .fa-spin.headerlink,.btn .rst-content .code-block-caption .fa-spin.headerlink,.rst-content .code-block-caption .btn .fa-spin.headerlink,.btn .rst-content tt.download span.fa-spin:first-child,.rst-content tt.download .btn span.fa-spin:first-child,.btn .rst-content code.download span.fa-spin:first-child,.rst-content code.download .btn span.fa-spin:first-child,.btn .fa-spin.icon,.nav .fa.fa-spin,.nav .wy-menu-vertical li span.fa-spin.toctree-expand,.wy-menu-vertical li .nav span.fa-spin.toctree-expand,.nav .rst-content .fa-spin.admonition-title,.rst-content .nav .fa-spin.admonition-title,.nav .rst-content h1 .fa-spin.headerlink,.rst-content h1 .nav .fa-spin.headerlink,.nav .rst-content h2 .fa-spin.headerlink,.rst-content h2 .nav .fa-spin.headerlink,.nav .rst-content h3 .fa-spin.headerlink,.rst-content h3 .nav .fa-spin.headerlink,.nav .rst-content h4 .fa-spin.headerlink,.rst-content h4 .nav .fa-spin.headerlink,.nav .rst-content h5 .fa-spin.headerlink,.rst-content h5 .nav .fa-spin.headerlink,.nav .rst-content h6 .fa-spin.headerlink,.rst-content h6 .nav .fa-spin.headerlink,.nav .rst-content dl dt .fa-spin.headerlink,.rst-content dl dt .nav .fa-spin.headerlink,.nav .rst-content p.caption .fa-spin.headerlink,.rst-content p.caption .nav .fa-spin.headerlink,.nav .rst-content table>caption .fa-spin.headerlink,.rst-content table>caption .nav .fa-spin.headerlink,.nav .rst-content .code-block-caption .fa-spin.headerlink,.rst-content .code-block-caption .nav .fa-spin.headerlink,.nav .rst-content tt.download span.fa-spin:first-child,.rst-content tt.download .nav span.fa-spin:first-child,.nav .rst-content code.download span.fa-spin:first-child,.rst-content code.download .nav span.fa-spin:first-child,.nav .fa-spin.icon{display:inline-block}.btn.fa:before,.wy-menu-vertical li span.btn.toctree-expand:before,.rst-content .btn.admonition-title:before,.rst-content h1 .btn.headerlink:before,.rst-content h2 .btn.headerlink:before,.rst-content h3 .btn.headerlink:before,.rst-content h4 .btn.headerlink:before,.rst-content h5 .btn.headerlink:before,.rst-content h6 .btn.headerlink:before,.rst-content dl dt .btn.headerlink:before,.rst-content p.caption .btn.headerlink:before,.rst-content table>caption .btn.headerlink:before,.rst-content .code-block-caption .btn.headerlink:before,.rst-content tt.download span.btn:first-child:before,.rst-content code.download span.btn:first-child:before,.btn.icon:before{opacity:.5;-webkit-transition:opacity .05s ease-in;-moz-transition:opacity .05s ease-in;transition:opacity .05s ease-in}.btn.fa:hover:before,.wy-menu-vertical li span.btn.toctree-expand:hover:before,.rst-content .btn.admonition-title:hover:before,.rst-content h1 .btn.headerlink:hover:before,.rst-content h2 .btn.headerlink:hover:before,.rst-content h3 .btn.headerlink:hover:before,.rst-content h4 .btn.headerlink:hover:before,.rst-content h5 .btn.headerlink:hover:before,.rst-content h6 .btn.headerlink:hover:before,.rst-content dl dt .btn.headerlink:hover:before,.rst-content p.caption .btn.headerlink:hover:before,.rst-content table>caption .btn.headerlink:hover:before,.rst-content .code-block-caption .btn.headerlink:hover:before,.rst-content tt.download span.btn:first-child:hover:before,.rst-content code.download span.btn:first-child:hover:before,.btn.icon:hover:before{opacity:1}.btn-mini .fa:before,.btn-mini .wy-menu-vertical li span.toctree-expand:before,.wy-menu-vertical li .btn-mini span.toctree-expand:before,.btn-mini .rst-content .admonition-title:before,.rst-content .btn-mini .admonition-title:before,.btn-mini .rst-content h1 .headerlink:before,.rst-content h1 .btn-mini .headerlink:before,.btn-mini .rst-content h2 .headerlink:before,.rst-content h2 .btn-mini .headerlink:before,.btn-mini .rst-content h3 .headerlink:before,.rst-content h3 .btn-mini .headerlink:before,.btn-mini .rst-content h4 .headerlink:before,.rst-content h4 .btn-mini .headerlink:before,.btn-mini .rst-content h5 .headerlink:before,.rst-content h5 .btn-mini .headerlink:before,.btn-mini .rst-content h6 .headerlink:before,.rst-content h6 .btn-mini .headerlink:before,.btn-mini .rst-content dl dt .headerlink:before,.rst-content dl dt .btn-mini .headerlink:before,.btn-mini .rst-content p.caption .headerlink:before,.rst-content p.caption .btn-mini .headerlink:before,.btn-mini .rst-content table>caption .headerlink:before,.rst-content table>caption .btn-mini .headerlink:before,.btn-mini .rst-content .code-block-caption .headerlink:before,.rst-content .code-block-caption .btn-mini .headerlink:before,.btn-mini .rst-content tt.download span:first-child:before,.rst-content tt.download .btn-mini span:first-child:before,.btn-mini .rst-content code.download span:first-child:before,.rst-content code.download .btn-mini span:first-child:before,.btn-mini .icon:before{font-size:14px;vertical-align:-15%}.wy-alert,.rst-content .note,.rst-content .attention,.rst-content .caution,.rst-content .danger,.rst-content .error,.rst-content .hint,.rst-content .important,.rst-content .tip,.rst-content .warning,.rst-content .seealso,.rst-content .admonition-todo,.rst-content .admonition{padding:12px;line-height:24px;margin-bottom:24px;background:#e7f2fa}.wy-alert-title,.rst-content .admonition-title{color:#fff;font-weight:bold;display:block;color:#fff;background:#6ab0de;margin:-12px;padding:6px 12px;margin-bottom:12px}.wy-alert.wy-alert-danger,.rst-content .wy-alert-danger.note,.rst-content .wy-alert-danger.attention,.rst-content .wy-alert-danger.caution,.rst-content .danger,.rst-content .error,.rst-content .wy-alert-danger.hint,.rst-content .wy-alert-danger.important,.rst-content .wy-alert-danger.tip,.rst-content .wy-alert-danger.warning,.rst-content .wy-alert-danger.seealso,.rst-content .wy-alert-danger.admonition-todo,.rst-content .wy-alert-danger.admonition{background:#fdf3f2}.wy-alert.wy-alert-danger .wy-alert-title,.rst-content .wy-alert-danger.note .wy-alert-title,.rst-content .wy-alert-danger.attention .wy-alert-title,.rst-content .wy-alert-danger.caution .wy-alert-title,.rst-content .danger .wy-alert-title,.rst-content .error .wy-alert-title,.rst-content .wy-alert-danger.hint .wy-alert-title,.rst-content .wy-alert-danger.important .wy-alert-title,.rst-content .wy-alert-danger.tip .wy-alert-title,.rst-content .wy-alert-danger.warning .wy-alert-title,.rst-content .wy-alert-danger.seealso .wy-alert-title,.rst-content .wy-alert-danger.admonition-todo .wy-alert-title,.rst-content .wy-alert-danger.admonition .wy-alert-title,.wy-alert.wy-alert-danger .rst-content .admonition-title,.rst-content .wy-alert.wy-alert-danger .admonition-title,.rst-content .wy-alert-danger.note .admonition-title,.rst-content .wy-alert-danger.attention .admonition-title,.rst-content .wy-alert-danger.caution .admonition-title,.rst-content .danger .admonition-title,.rst-content .error .admonition-title,.rst-content .wy-alert-danger.hint .admonition-title,.rst-content .wy-alert-danger.important .admonition-title,.rst-content .wy-alert-danger.tip .admonition-title,.rst-content .wy-alert-danger.warning .admonition-title,.rst-content .wy-alert-danger.seealso .admonition-title,.rst-content .wy-alert-danger.admonition-todo .admonition-title,.rst-content .wy-alert-danger.admonition .admonition-title{background:#f29f97}.wy-alert.wy-alert-warning,.rst-content .wy-alert-warning.note,.rst-content .attention,.rst-content .caution,.rst-content .wy-alert-warning.danger,.rst-content .wy-alert-warning.error,.rst-content .wy-alert-warning.hint,.rst-content .wy-alert-warning.important,.rst-content .wy-alert-warning.tip,.rst-content .warning,.rst-content .wy-alert-warning.seealso,.rst-content .admonition-todo,.rst-content .wy-alert-warning.admonition{background:#ffedcc}.wy-alert.wy-alert-warning .wy-alert-title,.rst-content .wy-alert-warning.note .wy-alert-title,.rst-content .attention .wy-alert-title,.rst-content .caution .wy-alert-title,.rst-content .wy-alert-warning.danger .wy-alert-title,.rst-content .wy-alert-warning.error .wy-alert-title,.rst-content .wy-alert-warning.hint .wy-alert-title,.rst-content .wy-alert-warning.important .wy-alert-title,.rst-content .wy-alert-warning.tip .wy-alert-title,.rst-content .warning .wy-alert-title,.rst-content .wy-alert-warning.seealso .wy-alert-title,.rst-content .admonition-todo .wy-alert-title,.rst-content .wy-alert-warning.admonition .wy-alert-title,.wy-alert.wy-alert-warning .rst-content .admonition-title,.rst-content .wy-alert.wy-alert-warning .admonition-title,.rst-content .wy-alert-warning.note .admonition-title,.rst-content .attention .admonition-title,.rst-content .caution .admonition-title,.rst-content .wy-alert-warning.danger .admonition-title,.rst-content .wy-alert-warning.error .admonition-title,.rst-content .wy-alert-warning.hint .admonition-title,.rst-content .wy-alert-warning.important .admonition-title,.rst-content .wy-alert-warning.tip .admonition-title,.rst-content .warning .admonition-title,.rst-content .wy-alert-warning.seealso .admonition-title,.rst-content .admonition-todo .admonition-title,.rst-content .wy-alert-warning.admonition .admonition-title{background:#f0b37e}.wy-alert.wy-alert-info,.rst-content .note,.rst-content .wy-alert-info.attention,.rst-content .wy-alert-info.caution,.rst-content .wy-alert-info.danger,.rst-content .wy-alert-info.error,.rst-content .wy-alert-info.hint,.rst-content .wy-alert-info.important,.rst-content .wy-alert-info.tip,.rst-content .wy-alert-info.warning,.rst-content .seealso,.rst-content .wy-alert-info.admonition-todo,.rst-content .wy-alert-info.admonition{background:#e7f2fa}.wy-alert.wy-alert-info .wy-alert-title,.rst-content .note .wy-alert-title,.rst-content .wy-alert-info.attention .wy-alert-title,.rst-content .wy-alert-info.caution .wy-alert-title,.rst-content .wy-alert-info.danger .wy-alert-title,.rst-content .wy-alert-info.error .wy-alert-title,.rst-content .wy-alert-info.hint .wy-alert-title,.rst-content .wy-alert-info.important .wy-alert-title,.rst-content .wy-alert-info.tip .wy-alert-title,.rst-content .wy-alert-info.warning .wy-alert-title,.rst-content .seealso .wy-alert-title,.rst-content .wy-alert-info.admonition-todo .wy-alert-title,.rst-content .wy-alert-info.admonition .wy-alert-title,.wy-alert.wy-alert-info .rst-content .admonition-title,.rst-content .wy-alert.wy-alert-info .admonition-title,.rst-content .note .admonition-title,.rst-content .wy-alert-info.attention .admonition-title,.rst-content .wy-alert-info.caution .admonition-title,.rst-content .wy-alert-info.danger .admonition-title,.rst-content .wy-alert-info.error .admonition-title,.rst-content .wy-alert-info.hint .admonition-title,.rst-content .wy-alert-info.important .admonition-title,.rst-content .wy-alert-info.tip .admonition-title,.rst-content .wy-alert-info.warning .admonition-title,.rst-content .seealso .admonition-title,.rst-content .wy-alert-info.admonition-todo .admonition-title,.rst-content .wy-alert-info.admonition .admonition-title{background:#6ab0de}.wy-alert.wy-alert-success,.rst-content .wy-alert-success.note,.rst-content .wy-alert-success.attention,.rst-content .wy-alert-success.caution,.rst-content .wy-alert-success.danger,.rst-content .wy-alert-success.error,.rst-content .hint,.rst-content .important,.rst-content .tip,.rst-content .wy-alert-success.warning,.rst-content .wy-alert-success.seealso,.rst-content .wy-alert-success.admonition-todo,.rst-content .wy-alert-success.admonition{background:#dbfaf4}.wy-alert.wy-alert-success .wy-alert-title,.rst-content .wy-alert-success.note .wy-alert-title,.rst-content .wy-alert-success.attention .wy-alert-title,.rst-content .wy-alert-success.caution .wy-alert-title,.rst-content .wy-alert-success.danger .wy-alert-title,.rst-content .wy-alert-success.error .wy-alert-title,.rst-content .hint .wy-alert-title,.rst-content .important .wy-alert-title,.rst-content .tip .wy-alert-title,.rst-content .wy-alert-success.warning .wy-alert-title,.rst-content .wy-alert-success.seealso .wy-alert-title,.rst-content .wy-alert-success.admonition-todo .wy-alert-title,.rst-content .wy-alert-success.admonition .wy-alert-title,.wy-alert.wy-alert-success .rst-content .admonition-title,.rst-content .wy-alert.wy-alert-success .admonition-title,.rst-content .wy-alert-success.note .admonition-title,.rst-content .wy-alert-success.attention .admonition-title,.rst-content .wy-alert-success.caution .admonition-title,.rst-content .wy-alert-success.danger .admonition-title,.rst-content .wy-alert-success.error .admonition-title,.rst-content .hint .admonition-title,.rst-content .important .admonition-title,.rst-content .tip .admonition-title,.rst-content .wy-alert-success.warning .admonition-title,.rst-content .wy-alert-success.seealso .admonition-title,.rst-content .wy-alert-success.admonition-todo .admonition-title,.rst-content .wy-alert-success.admonition .admonition-title{background:#1abc9c}.wy-alert.wy-alert-neutral,.rst-content .wy-alert-neutral.note,.rst-content .wy-alert-neutral.attention,.rst-content .wy-alert-neutral.caution,.rst-content .wy-alert-neutral.danger,.rst-content .wy-alert-neutral.error,.rst-content .wy-alert-neutral.hint,.rst-content .wy-alert-neutral.important,.rst-content .wy-alert-neutral.tip,.rst-content .wy-alert-neutral.warning,.rst-content .wy-alert-neutral.seealso,.rst-content .wy-alert-neutral.admonition-todo,.rst-content .wy-alert-neutral.admonition{background:#f3f6f6}.wy-alert.wy-alert-neutral .wy-alert-title,.rst-content .wy-alert-neutral.note .wy-alert-title,.rst-content .wy-alert-neutral.attention .wy-alert-title,.rst-content .wy-alert-neutral.caution .wy-alert-title,.rst-content .wy-alert-neutral.danger .wy-alert-title,.rst-content .wy-alert-neutral.error .wy-alert-title,.rst-content .wy-alert-neutral.hint .wy-alert-title,.rst-content .wy-alert-neutral.important .wy-alert-title,.rst-content .wy-alert-neutral.tip .wy-alert-title,.rst-content .wy-alert-neutral.warning .wy-alert-title,.rst-content .wy-alert-neutral.seealso .wy-alert-title,.rst-content .wy-alert-neutral.admonition-todo .wy-alert-title,.rst-content .wy-alert-neutral.admonition .wy-alert-title,.wy-alert.wy-alert-neutral .rst-content .admonition-title,.rst-content .wy-alert.wy-alert-neutral .admonition-title,.rst-content .wy-alert-neutral.note .admonition-title,.rst-content .wy-alert-neutral.attention .admonition-title,.rst-content .wy-alert-neutral.caution .admonition-title,.rst-content .wy-alert-neutral.danger .admonition-title,.rst-content .wy-alert-neutral.error .admonition-title,.rst-content .wy-alert-neutral.hint .admonition-title,.rst-content .wy-alert-neutral.important .admonition-title,.rst-content .wy-alert-neutral.tip .admonition-title,.rst-content .wy-alert-neutral.warning .admonition-title,.rst-content .wy-alert-neutral.seealso .admonition-title,.rst-content .wy-alert-neutral.admonition-todo .admonition-title,.rst-content .wy-alert-neutral.admonition .admonition-title{color:#404040;background:#e1e4e5}.wy-alert.wy-alert-neutral a,.rst-content .wy-alert-neutral.note a,.rst-content .wy-alert-neutral.attention a,.rst-content .wy-alert-neutral.caution a,.rst-content .wy-alert-neutral.danger a,.rst-content .wy-alert-neutral.error a,.rst-content .wy-alert-neutral.hint a,.rst-content .wy-alert-neutral.important a,.rst-content .wy-alert-neutral.tip a,.rst-content .wy-alert-neutral.warning a,.rst-content .wy-alert-neutral.seealso a,.rst-content .wy-alert-neutral.admonition-todo a,.rst-content .wy-alert-neutral.admonition a{color:#2980B9}.wy-alert p:last-child,.rst-content .note p:last-child,.rst-content .attention p:last-child,.rst-content .caution p:last-child,.rst-content .danger p:last-child,.rst-content .error p:last-child,.rst-content .hint p:last-child,.rst-content .important p:last-child,.rst-content .tip p:last-child,.rst-content .warning p:last-child,.rst-content .seealso p:last-child,.rst-content .admonition-todo p:last-child,.rst-content .admonition p:last-child{margin-bottom:0}.wy-tray-container{position:fixed;bottom:0px;left:0;z-index:600}.wy-tray-container li{display:block;width:300px;background:transparent;color:#fff;text-align:center;box-shadow:0 5px 5px 0 rgba(0,0,0,0.1);padding:0 24px;min-width:20%;opacity:0;height:0;line-height:56px;overflow:hidden;-webkit-transition:all .3s ease-in;-moz-transition:all .3s ease-in;transition:all .3s ease-in}.wy-tray-container li.wy-tray-item-success{background:#27AE60}.wy-tray-container li.wy-tray-item-info{background:#2980B9}.wy-tray-container li.wy-tray-item-warning{background:#E67E22}.wy-tray-container li.wy-tray-item-danger{background:#E74C3C}.wy-tray-container li.on{opacity:1;height:56px}@media screen and (max-width: 768px){.wy-tray-container{bottom:auto;top:0;width:100%}.wy-tray-container li{width:100%}}button{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle;cursor:pointer;line-height:normal;-webkit-appearance:button;*overflow:visible}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}button[disabled]{cursor:default}.btn{display:inline-block;border-radius:2px;line-height:normal;white-space:nowrap;text-align:center;cursor:pointer;font-size:100%;padding:6px 12px 8px 12px;color:#fff;border:1px solid rgba(0,0,0,0.1);background-color:#27AE60;text-decoration:none;font-weight:normal;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;box-shadow:0px 1px 2px -1px rgba(255,255,255,0.5) inset,0px -2px 0px 0px rgba(0,0,0,0.1) inset;outline-none:false;vertical-align:middle;*display:inline;zoom:1;-webkit-user-drag:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transition:all .1s linear;-moz-transition:all .1s linear;transition:all .1s linear}.btn-hover{background:#2e8ece;color:#fff}.btn:hover{background:#2cc36b;color:#fff}.btn:focus{background:#2cc36b;outline:0}.btn:active{box-shadow:0px -1px 0px 0px rgba(0,0,0,0.05) inset,0px 2px 0px 0px rgba(0,0,0,0.1) inset;padding:8px 12px 6px 12px}.btn:visited{color:#fff}.btn:disabled{background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);filter:alpha(opacity=40);opacity:.4;cursor:not-allowed;box-shadow:none}.btn-disabled{background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);filter:alpha(opacity=40);opacity:.4;cursor:not-allowed;box-shadow:none}.btn-disabled:hover,.btn-disabled:focus,.btn-disabled:active{background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);filter:alpha(opacity=40);opacity:.4;cursor:not-allowed;box-shadow:none}.btn::-moz-focus-inner{padding:0;border:0}.btn-small{font-size:80%}.btn-info{background-color:#2980B9 !important}.btn-info:hover{background-color:#2e8ece !important}.btn-neutral{background-color:#f3f6f6 !important;color:#404040 !important}.btn-neutral:hover{background-color:#e5ebeb !important;color:#404040}.btn-neutral:visited{color:#404040 !important}.btn-success{background-color:#27AE60 !important}.btn-success:hover{background-color:#295 !important}.btn-danger{background-color:#E74C3C !important}.btn-danger:hover{background-color:#ea6153 !important}.btn-warning{background-color:#E67E22 !important}.btn-warning:hover{background-color:#e98b39 !important}.btn-invert{background-color:#222}.btn-invert:hover{background-color:#2f2f2f !important}.btn-link{background-color:transparent !important;color:#2980B9;box-shadow:none;border-color:transparent !important}.btn-link:hover{background-color:transparent !important;color:#409ad5 !important;box-shadow:none}.btn-link:active{background-color:transparent !important;color:#409ad5 !important;box-shadow:none}.btn-link:visited{color:#9B59B6}.wy-btn-group .btn,.wy-control .btn{vertical-align:middle}.wy-btn-group{margin-bottom:24px;*zoom:1}.wy-btn-group:before,.wy-btn-group:after{display:table;content:""}.wy-btn-group:after{clear:both}.wy-dropdown{position:relative;display:inline-block}.wy-dropdown-active .wy-dropdown-menu{display:block}.wy-dropdown-menu{position:absolute;left:0;display:none;float:left;top:100%;min-width:100%;background:#fcfcfc;z-index:100;border:solid 1px #cfd7dd;box-shadow:0 2px 2px 0 rgba(0,0,0,0.1);padding:12px}.wy-dropdown-menu>dd>a{display:block;clear:both;color:#404040;white-space:nowrap;font-size:90%;padding:0 12px;cursor:pointer}.wy-dropdown-menu>dd>a:hover{background:#2980B9;color:#fff}.wy-dropdown-menu>dd.divider{border-top:solid 1px #cfd7dd;margin:6px 0}.wy-dropdown-menu>dd.search{padding-bottom:12px}.wy-dropdown-menu>dd.search input[type="search"]{width:100%}.wy-dropdown-menu>dd.call-to-action{background:#e3e3e3;text-transform:uppercase;font-weight:500;font-size:80%}.wy-dropdown-menu>dd.call-to-action:hover{background:#e3e3e3}.wy-dropdown-menu>dd.call-to-action .btn{color:#fff}.wy-dropdown.wy-dropdown-up .wy-dropdown-menu{bottom:100%;top:auto;left:auto;right:0}.wy-dropdown.wy-dropdown-bubble .wy-dropdown-menu{background:#fcfcfc;margin-top:2px}.wy-dropdown.wy-dropdown-bubble .wy-dropdown-menu a{padding:6px 12px}.wy-dropdown.wy-dropdown-bubble .wy-dropdown-menu a:hover{background:#2980B9;color:#fff}.wy-dropdown.wy-dropdown-left .wy-dropdown-menu{right:0;left:auto;text-align:right}.wy-dropdown-arrow:before{content:" ";border-bottom:5px solid #f5f5f5;border-left:5px solid transparent;border-right:5px solid transparent;position:absolute;display:block;top:-4px;left:50%;margin-left:-3px}.wy-dropdown-arrow.wy-dropdown-arrow-left:before{left:11px}.wy-form-stacked select{display:block}.wy-form-aligned input,.wy-form-aligned textarea,.wy-form-aligned select,.wy-form-aligned .wy-help-inline,.wy-form-aligned label{display:inline-block;*display:inline;*zoom:1;vertical-align:middle}.wy-form-aligned .wy-control-group>label{display:inline-block;vertical-align:middle;width:10em;margin:6px 12px 0 0;float:left}.wy-form-aligned .wy-control{float:left}.wy-form-aligned .wy-control label{display:block}.wy-form-aligned .wy-control select{margin-top:6px}fieldset{border:0;margin:0;padding:0}legend{display:block;width:100%;border:0;padding:0;white-space:normal;margin-bottom:24px;font-size:150%;*margin-left:-7px}label{display:block;margin:0 0 .3125em 0;color:#333;font-size:90%}input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}.wy-control-group{margin-bottom:24px;*zoom:1;max-width:68em;margin-left:auto;margin-right:auto;*zoom:1}.wy-control-group:before,.wy-control-group:after{display:table;content:""}.wy-control-group:after{clear:both}.wy-control-group:before,.wy-control-group:after{display:table;content:""}.wy-control-group:after{clear:both}.wy-control-group.wy-control-group-required>label:after{content:" *";color:#E74C3C}.wy-control-group .wy-form-full,.wy-control-group .wy-form-halves,.wy-control-group .wy-form-thirds{padding-bottom:12px}.wy-control-group .wy-form-full select,.wy-control-group .wy-form-halves select,.wy-control-group .wy-form-thirds select{width:100%}.wy-control-group .wy-form-full input[type="text"],.wy-control-group .wy-form-full input[type="password"],.wy-control-group .wy-form-full input[type="email"],.wy-control-group .wy-form-full input[type="url"],.wy-control-group .wy-form-full input[type="date"],.wy-control-group .wy-form-full input[type="month"],.wy-control-group .wy-form-full input[type="time"],.wy-control-group .wy-form-full input[type="datetime"],.wy-control-group .wy-form-full input[type="datetime-local"],.wy-control-group .wy-form-full input[type="week"],.wy-control-group .wy-form-full input[type="number"],.wy-control-group .wy-form-full input[type="search"],.wy-control-group .wy-form-full input[type="tel"],.wy-control-group .wy-form-full input[type="color"],.wy-control-group .wy-form-halves input[type="text"],.wy-control-group .wy-form-halves input[type="password"],.wy-control-group .wy-form-halves input[type="email"],.wy-control-group .wy-form-halves input[type="url"],.wy-control-group .wy-form-halves input[type="date"],.wy-control-group .wy-form-halves input[type="month"],.wy-control-group .wy-form-halves input[type="time"],.wy-control-group .wy-form-halves input[type="datetime"],.wy-control-group .wy-form-halves input[type="datetime-local"],.wy-control-group .wy-form-halves input[type="week"],.wy-control-group .wy-form-halves input[type="number"],.wy-control-group .wy-form-halves input[type="search"],.wy-control-group .wy-form-halves input[type="tel"],.wy-control-group .wy-form-halves input[type="color"],.wy-control-group .wy-form-thirds input[type="text"],.wy-control-group .wy-form-thirds input[type="password"],.wy-control-group .wy-form-thirds input[type="email"],.wy-control-group .wy-form-thirds input[type="url"],.wy-control-group .wy-form-thirds input[type="date"],.wy-control-group .wy-form-thirds input[type="month"],.wy-control-group .wy-form-thirds input[type="time"],.wy-control-group .wy-form-thirds input[type="datetime"],.wy-control-group .wy-form-thirds input[type="datetime-local"],.wy-control-group .wy-form-thirds input[type="week"],.wy-control-group .wy-form-thirds input[type="number"],.wy-control-group .wy-form-thirds input[type="search"],.wy-control-group .wy-form-thirds input[type="tel"],.wy-control-group .wy-form-thirds input[type="color"]{width:100%}.wy-control-group .wy-form-full{float:left;display:block;margin-right:2.3576515979%;width:100%;margin-right:0}.wy-control-group .wy-form-full:last-child{margin-right:0}.wy-control-group .wy-form-halves{float:left;display:block;margin-right:2.3576515979%;width:48.821174201%}.wy-control-group .wy-form-halves:last-child{margin-right:0}.wy-control-group .wy-form-halves:nth-of-type(2n){margin-right:0}.wy-control-group .wy-form-halves:nth-of-type(2n+1){clear:left}.wy-control-group .wy-form-thirds{float:left;display:block;margin-right:2.3576515979%;width:31.7615656014%}.wy-control-group .wy-form-thirds:last-child{margin-right:0}.wy-control-group .wy-form-thirds:nth-of-type(3n){margin-right:0}.wy-control-group .wy-form-thirds:nth-of-type(3n+1){clear:left}.wy-control-group.wy-control-group-no-input .wy-control{margin:6px 0 0 0;font-size:90%}.wy-control-no-input{display:inline-block;margin:6px 0 0 0;font-size:90%}.wy-control-group.fluid-input input[type="text"],.wy-control-group.fluid-input input[type="password"],.wy-control-group.fluid-input input[type="email"],.wy-control-group.fluid-input input[type="url"],.wy-control-group.fluid-input input[type="date"],.wy-control-group.fluid-input input[type="month"],.wy-control-group.fluid-input input[type="time"],.wy-control-group.fluid-input input[type="datetime"],.wy-control-group.fluid-input input[type="datetime-local"],.wy-control-group.fluid-input input[type="week"],.wy-control-group.fluid-input input[type="number"],.wy-control-group.fluid-input input[type="search"],.wy-control-group.fluid-input input[type="tel"],.wy-control-group.fluid-input input[type="color"]{width:100%}.wy-form-message-inline{display:inline-block;padding-left:.3em;color:#666;vertical-align:middle;font-size:90%}.wy-form-message{display:block;color:#999;font-size:70%;margin-top:.3125em;font-style:italic}.wy-form-message p{font-size:inherit;font-style:italic;margin-bottom:6px}.wy-form-message p:last-child{margin-bottom:0}input{line-height:normal}input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;*overflow:visible}input[type="text"],input[type="password"],input[type="email"],input[type="url"],input[type="date"],input[type="month"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="week"],input[type="number"],input[type="search"],input[type="tel"],input[type="color"]{-webkit-appearance:none;padding:6px;display:inline-block;border:1px solid #ccc;font-size:80%;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;box-shadow:inset 0 1px 3px #ddd;border-radius:0;-webkit-transition:border .3s linear;-moz-transition:border .3s linear;transition:border .3s linear}input[type="datetime-local"]{padding:.34375em .625em}input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0;margin-right:.3125em;*height:13px;*width:13px}input[type="search"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}input[type="text"]:focus,input[type="password"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="date"]:focus,input[type="month"]:focus,input[type="time"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="week"]:focus,input[type="number"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="color"]:focus{outline:0;outline:thin dotted \9;border-color:#333}input.no-focus:focus{border-color:#ccc !important}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted #333;outline:1px auto #129FEA}input[type="text"][disabled],input[type="password"][disabled],input[type="email"][disabled],input[type="url"][disabled],input[type="date"][disabled],input[type="month"][disabled],input[type="time"][disabled],input[type="datetime"][disabled],input[type="datetime-local"][disabled],input[type="week"][disabled],input[type="number"][disabled],input[type="search"][disabled],input[type="tel"][disabled],input[type="color"][disabled]{cursor:not-allowed;background-color:#fafafa}input:focus:invalid,textarea:focus:invalid,select:focus:invalid{color:#E74C3C;border:1px solid #E74C3C}input:focus:invalid:focus,textarea:focus:invalid:focus,select:focus:invalid:focus{border-color:#E74C3C}input[type="file"]:focus:invalid:focus,input[type="radio"]:focus:invalid:focus,input[type="checkbox"]:focus:invalid:focus{outline-color:#E74C3C}input.wy-input-large{padding:12px;font-size:100%}textarea{overflow:auto;vertical-align:top;width:100%;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif}select,textarea{padding:.5em .625em;display:inline-block;border:1px solid #ccc;font-size:80%;box-shadow:inset 0 1px 3px #ddd;-webkit-transition:border .3s linear;-moz-transition:border .3s linear;transition:border .3s linear}select{border:1px solid #ccc;background-color:#fff}select[multiple]{height:auto}select:focus,textarea:focus{outline:0}select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{cursor:not-allowed;background-color:#fafafa}input[type="radio"][disabled],input[type="checkbox"][disabled]{cursor:not-allowed}.wy-checkbox,.wy-radio{margin:6px 0;color:#404040;display:block}.wy-checkbox input,.wy-radio input{vertical-align:baseline}.wy-form-message-inline{display:inline-block;*display:inline;*zoom:1;vertical-align:middle}.wy-input-prefix,.wy-input-suffix{white-space:nowrap;padding:6px}.wy-input-prefix .wy-input-context,.wy-input-suffix .wy-input-context{line-height:27px;padding:0 8px;display:inline-block;font-size:80%;background-color:#f3f6f6;border:solid 1px #ccc;color:#999}.wy-input-suffix .wy-input-context{border-left:0}.wy-input-prefix .wy-input-context{border-right:0}.wy-switch{position:relative;display:block;height:24px;margin-top:12px;cursor:pointer}.wy-switch:before{position:absolute;content:"";display:block;left:0;top:0;width:36px;height:12px;border-radius:4px;background:#ccc;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.wy-switch:after{position:absolute;content:"";display:block;width:18px;height:18px;border-radius:4px;background:#999;left:-3px;top:-3px;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.wy-switch span{position:absolute;left:48px;display:block;font-size:12px;color:#ccc;line-height:1}.wy-switch.active:before{background:#1e8449}.wy-switch.active:after{left:24px;background:#27AE60}.wy-switch.disabled{cursor:not-allowed;opacity:.8}.wy-control-group.wy-control-group-error .wy-form-message,.wy-control-group.wy-control-group-error>label{color:#E74C3C}.wy-control-group.wy-control-group-error input[type="text"],.wy-control-group.wy-control-group-error input[type="password"],.wy-control-group.wy-control-group-error input[type="email"],.wy-control-group.wy-control-group-error input[type="url"],.wy-control-group.wy-control-group-error input[type="date"],.wy-control-group.wy-control-group-error input[type="month"],.wy-control-group.wy-control-group-error input[type="time"],.wy-control-group.wy-control-group-error input[type="datetime"],.wy-control-group.wy-control-group-error input[type="datetime-local"],.wy-control-group.wy-control-group-error input[type="week"],.wy-control-group.wy-control-group-error input[type="number"],.wy-control-group.wy-control-group-error input[type="search"],.wy-control-group.wy-control-group-error input[type="tel"],.wy-control-group.wy-control-group-error input[type="color"]{border:solid 1px #E74C3C}.wy-control-group.wy-control-group-error textarea{border:solid 1px #E74C3C}.wy-inline-validate{white-space:nowrap}.wy-inline-validate .wy-input-context{padding:.5em .625em;display:inline-block;font-size:80%}.wy-inline-validate.wy-inline-validate-success .wy-input-context{color:#27AE60}.wy-inline-validate.wy-inline-validate-danger .wy-input-context{color:#E74C3C}.wy-inline-validate.wy-inline-validate-warning .wy-input-context{color:#E67E22}.wy-inline-validate.wy-inline-validate-info .wy-input-context{color:#2980B9}.rotate-90{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg)}.rotate-180{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}.rotate-270{-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg)}.mirror{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);-o-transform:scaleX(-1);transform:scaleX(-1)}.mirror.rotate-90{-webkit-transform:scaleX(-1) rotate(90deg);-moz-transform:scaleX(-1) rotate(90deg);-ms-transform:scaleX(-1) rotate(90deg);-o-transform:scaleX(-1) rotate(90deg);transform:scaleX(-1) rotate(90deg)}.mirror.rotate-180{-webkit-transform:scaleX(-1) rotate(180deg);-moz-transform:scaleX(-1) rotate(180deg);-ms-transform:scaleX(-1) rotate(180deg);-o-transform:scaleX(-1) rotate(180deg);transform:scaleX(-1) rotate(180deg)}.mirror.rotate-270{-webkit-transform:scaleX(-1) rotate(270deg);-moz-transform:scaleX(-1) rotate(270deg);-ms-transform:scaleX(-1) rotate(270deg);-o-transform:scaleX(-1) rotate(270deg);transform:scaleX(-1) rotate(270deg)}@media only screen and (max-width: 480px){.wy-form button[type="submit"]{margin:.7em 0 0}.wy-form input[type="text"],.wy-form input[type="password"],.wy-form input[type="email"],.wy-form input[type="url"],.wy-form input[type="date"],.wy-form input[type="month"],.wy-form input[type="time"],.wy-form input[type="datetime"],.wy-form input[type="datetime-local"],.wy-form input[type="week"],.wy-form input[type="number"],.wy-form input[type="search"],.wy-form input[type="tel"],.wy-form input[type="color"]{margin-bottom:.3em;display:block}.wy-form label{margin-bottom:.3em;display:block}.wy-form input[type="password"],.wy-form input[type="email"],.wy-form input[type="url"],.wy-form input[type="date"],.wy-form input[type="month"],.wy-form input[type="time"],.wy-form input[type="datetime"],.wy-form input[type="datetime-local"],.wy-form input[type="week"],.wy-form input[type="number"],.wy-form input[type="search"],.wy-form input[type="tel"],.wy-form input[type="color"]{margin-bottom:0}.wy-form-aligned .wy-control-group label{margin-bottom:.3em;text-align:left;display:block;width:100%}.wy-form-aligned .wy-control{margin:1.5em 0 0 0}.wy-form .wy-help-inline,.wy-form-message-inline,.wy-form-message{display:block;font-size:80%;padding:6px 0}}@media screen and (max-width: 768px){.tablet-hide{display:none}}@media screen and (max-width: 480px){.mobile-hide{display:none}}.float-left{float:left}.float-right{float:right}.full-width{width:100%}.wy-table,.rst-content table.docutils,.rst-content table.field-list{border-collapse:collapse;border-spacing:0;empty-cells:show;margin-bottom:24px}.wy-table caption,.rst-content table.docutils caption,.rst-content table.field-list caption{color:#000;font:italic 85%/1 arial,sans-serif;padding:1em 0;text-align:center}.wy-table td,.rst-content table.docutils td,.rst-content table.field-list td,.wy-table th,.rst-content table.docutils th,.rst-content table.field-list th{font-size:90%;margin:0;overflow:visible;padding:8px 16px}.wy-table td:first-child,.rst-content table.docutils td:first-child,.rst-content table.field-list td:first-child,.wy-table th:first-child,.rst-content table.docutils th:first-child,.rst-content table.field-list th:first-child{border-left-width:0}.wy-table thead,.rst-content table.docutils thead,.rst-content table.field-list thead{color:#000;text-align:left;vertical-align:bottom;white-space:nowrap}.wy-table thead th,.rst-content table.docutils thead th,.rst-content table.field-list thead th{font-weight:bold;border-bottom:solid 2px #e1e4e5}.wy-table td,.rst-content table.docutils td,.rst-content table.field-list td{background-color:transparent;vertical-align:middle}.wy-table td p,.rst-content table.docutils td p,.rst-content table.field-list td p{line-height:18px}.wy-table td p:last-child,.rst-content table.docutils td p:last-child,.rst-content table.field-list td p:last-child{margin-bottom:0}.wy-table .wy-table-cell-min,.rst-content table.docutils .wy-table-cell-min,.rst-content table.field-list .wy-table-cell-min{width:1%;padding-right:0}.wy-table .wy-table-cell-min input[type=checkbox],.rst-content table.docutils .wy-table-cell-min input[type=checkbox],.rst-content table.field-list .wy-table-cell-min input[type=checkbox],.wy-table .wy-table-cell-min input[type=checkbox],.rst-content table.docutils .wy-table-cell-min input[type=checkbox],.rst-content table.field-list .wy-table-cell-min input[type=checkbox]{margin:0}.wy-table-secondary{color:gray;font-size:90%}.wy-table-tertiary{color:gray;font-size:80%}.wy-table-odd td,.wy-table-striped tr:nth-child(2n-1) td,.rst-content table.docutils:not(.field-list) tr:nth-child(2n-1) td{background-color:#f3f6f6}.wy-table-backed{background-color:#f3f6f6}.wy-table-bordered-all,.rst-content table.docutils{border:1px solid #e1e4e5}.wy-table-bordered-all td,.rst-content table.docutils td{border-bottom:1px solid #e1e4e5;border-left:1px solid #e1e4e5}.wy-table-bordered-all tbody>tr:last-child td,.rst-content table.docutils tbody>tr:last-child td{border-bottom-width:0}.wy-table-bordered{border:1px solid #e1e4e5}.wy-table-bordered-rows td{border-bottom:1px solid #e1e4e5}.wy-table-bordered-rows tbody>tr:last-child td{border-bottom-width:0}.wy-table-horizontal tbody>tr:last-child td{border-bottom-width:0}.wy-table-horizontal td,.wy-table-horizontal th{border-width:0 0 1px 0;border-bottom:1px solid #e1e4e5}.wy-table-horizontal tbody>tr:last-child td{border-bottom-width:0}.wy-table-responsive{margin-bottom:24px;max-width:100%;overflow:auto}.wy-table-responsive table{margin-bottom:0 !important}.wy-table-responsive table td,.wy-table-responsive table th{white-space:nowrap}a{color:#2980B9;text-decoration:none;cursor:pointer}a:hover{color:#3091d1}a:visited{color:#9B59B6}html{height:100%;overflow-x:hidden}body{font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;font-weight:normal;color:#404040;min-height:100%;overflow-x:hidden;background:#edf0f2}.wy-text-left{text-align:left}.wy-text-center{text-align:center}.wy-text-right{text-align:right}.wy-text-large{font-size:120%}.wy-text-normal{font-size:100%}.wy-text-small,small{font-size:80%}.wy-text-strike{text-decoration:line-through}.wy-text-warning{color:#E67E22 !important}a.wy-text-warning:hover{color:#eb9950 !important}.wy-text-info{color:#2980B9 !important}a.wy-text-info:hover{color:#409ad5 !important}.wy-text-success{color:#27AE60 !important}a.wy-text-success:hover{color:#36d278 !important}.wy-text-danger{color:#E74C3C !important}a.wy-text-danger:hover{color:#ed7669 !important}.wy-text-neutral{color:#404040 !important}a.wy-text-neutral:hover{color:#595959 !important}h1,h2,.rst-content .toctree-wrapper p.caption,h3,h4,h5,h6,legend{margin-top:0;font-weight:700;font-family:"Roboto Slab","ff-tisa-web-pro","Georgia",Arial,sans-serif}p{line-height:24px;margin:0;font-size:16px;margin-bottom:24px}h1{font-size:175%}h2,.rst-content .toctree-wrapper p.caption{font-size:150%}h3{font-size:125%}h4{font-size:115%}h5{font-size:110%}h6{font-size:100%}hr{display:block;height:1px;border:0;border-top:1px solid #e1e4e5;margin:24px 0;padding:0}code,.rst-content tt,.rst-content code{white-space:nowrap;max-width:100%;background:#fff;border:solid 1px #e1e4e5;font-size:75%;padding:0 5px;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;color:#E74C3C;overflow-x:auto}code.code-large,.rst-content tt.code-large{font-size:90%}.wy-plain-list-disc,.rst-content .section ul,.rst-content .toctree-wrapper ul,article ul{list-style:disc;line-height:24px;margin-bottom:24px}.wy-plain-list-disc li,.rst-content .section ul li,.rst-content .toctree-wrapper ul li,article ul li{list-style:disc;margin-left:24px}.wy-plain-list-disc li p:last-child,.rst-content .section ul li p:last-child,.rst-content .toctree-wrapper ul li p:last-child,article ul li p:last-child{margin-bottom:0}.wy-plain-list-disc li ul,.rst-content .section ul li ul,.rst-content .toctree-wrapper ul li ul,article ul li ul{margin-bottom:0}.wy-plain-list-disc li li,.rst-content .section ul li li,.rst-content .toctree-wrapper ul li li,article ul li li{list-style:circle}.wy-plain-list-disc li li li,.rst-content .section ul li li li,.rst-content .toctree-wrapper ul li li li,article ul li li li{list-style:square}.wy-plain-list-disc li ol li,.rst-content .section ul li ol li,.rst-content .toctree-wrapper ul li ol li,article ul li ol li{list-style:decimal}.wy-plain-list-decimal,.rst-content .section ol,.rst-content ol.arabic,article ol{list-style:decimal;line-height:24px;margin-bottom:24px}.wy-plain-list-decimal li,.rst-content .section ol li,.rst-content ol.arabic li,article ol li{list-style:decimal;margin-left:24px}.wy-plain-list-decimal li p:last-child,.rst-content .section ol li p:last-child,.rst-content ol.arabic li p:last-child,article ol li p:last-child{margin-bottom:0}.wy-plain-list-decimal li ul,.rst-content .section ol li ul,.rst-content ol.arabic li ul,article ol li ul{margin-bottom:0}.wy-plain-list-decimal li ul li,.rst-content .section ol li ul li,.rst-content ol.arabic li ul li,article ol li ul li{list-style:disc}.wy-breadcrumbs{*zoom:1}.wy-breadcrumbs:before,.wy-breadcrumbs:after{display:table;content:""}.wy-breadcrumbs:after{clear:both}.wy-breadcrumbs li{display:inline-block}.wy-breadcrumbs li.wy-breadcrumbs-aside{float:right}.wy-breadcrumbs li a{display:inline-block;padding:5px}.wy-breadcrumbs li a:first-child{padding-left:0}.wy-breadcrumbs li code,.wy-breadcrumbs li .rst-content tt,.rst-content .wy-breadcrumbs li tt{padding:5px;border:none;background:none}.wy-breadcrumbs li code.literal,.wy-breadcrumbs li .rst-content tt.literal,.rst-content .wy-breadcrumbs li tt.literal{color:#404040}.wy-breadcrumbs-extra{margin-bottom:0;color:#b3b3b3;font-size:80%;display:inline-block}@media screen and (max-width: 480px){.wy-breadcrumbs-extra{display:none}.wy-breadcrumbs li.wy-breadcrumbs-aside{display:none}}@media print{.wy-breadcrumbs li.wy-breadcrumbs-aside{display:none}}html{font-size:16px}.wy-affix{position:fixed;top:1.618em}.wy-menu a:hover{text-decoration:none}.wy-menu-horiz{*zoom:1}.wy-menu-horiz:before,.wy-menu-horiz:after{display:table;content:""}.wy-menu-horiz:after{clear:both}.wy-menu-horiz ul,.wy-menu-horiz li{display:inline-block}.wy-menu-horiz li:hover{background:rgba(255,255,255,0.1)}.wy-menu-horiz li.divide-left{border-left:solid 1px #404040}.wy-menu-horiz li.divide-right{border-right:solid 1px #404040}.wy-menu-horiz a{height:32px;display:inline-block;line-height:32px;padding:0 16px}.wy-menu-vertical{width:300px}.wy-menu-vertical header,.wy-menu-vertical p.caption{color:#3a7ca8;height:32px;display:inline-block;line-height:32px;padding:0 1.618em;margin:12px 0 0 0;display:block;font-weight:bold;text-transform:uppercase;font-size:85%;white-space:nowrap}.wy-menu-vertical ul{margin-bottom:0}.wy-menu-vertical li.divide-top{border-top:solid 1px #404040}.wy-menu-vertical li.divide-bottom{border-bottom:solid 1px #404040}.wy-menu-vertical li.current{background:#e3e3e3}.wy-menu-vertical li.current a{color:gray;border-right:solid 1px #c9c9c9;padding:.4045em 2.427em}.wy-menu-vertical li.current a:hover{background:#d6d6d6}.wy-menu-vertical li code,.wy-menu-vertical li .rst-content tt,.rst-content .wy-menu-vertical li tt{border:none;background:inherit;color:inherit;padding-left:0;padding-right:0}.wy-menu-vertical li span.toctree-expand{display:block;float:left;margin-left:-1.2em;font-size:.8em;line-height:1.6em;color:#4d4d4d}.wy-menu-vertical li.on a,.wy-menu-vertical li.current>a{color:#404040;padding:.4045em 1.618em;font-weight:bold;position:relative;background:#fcfcfc;border:none;padding-left:1.618em -4px}.wy-menu-vertical li.on a:hover,.wy-menu-vertical li.current>a:hover{background:#fcfcfc}.wy-menu-vertical li.on a:hover span.toctree-expand,.wy-menu-vertical li.current>a:hover span.toctree-expand{color:gray}.wy-menu-vertical li.on a span.toctree-expand,.wy-menu-vertical li.current>a span.toctree-expand{display:block;font-size:.8em;line-height:1.6em;color:#333}.wy-menu-vertical li.toctree-l1.current>a{border-bottom:solid 1px #c9c9c9;border-top:solid 1px #c9c9c9}.wy-menu-vertical li.toctree-l2 a,.wy-menu-vertical li.toctree-l3 a,.wy-menu-vertical li.toctree-l4 a{color:#404040}.wy-menu-vertical li.toctree-l1.current li.toctree-l2>ul,.wy-menu-vertical li.toctree-l2.current li.toctree-l3>ul{display:none}.wy-menu-vertical li.toctree-l1.current li.toctree-l2.current>ul,.wy-menu-vertical li.toctree-l2.current li.toctree-l3.current>ul{display:block}.wy-menu-vertical li.toctree-l2.current>a{background:#c9c9c9;padding:.4045em 2.427em}.wy-menu-vertical li.toctree-l2.current li.toctree-l3>a{display:block;background:#c9c9c9;padding:.4045em 4.045em}.wy-menu-vertical li.toctree-l2 a:hover span.toctree-expand{color:gray}.wy-menu-vertical li.toctree-l2 span.toctree-expand{color:#a3a3a3}.wy-menu-vertical li.toctree-l3{font-size:.9em}.wy-menu-vertical li.toctree-l3.current>a{background:#bdbdbd;padding:.4045em 4.045em}.wy-menu-vertical li.toctree-l3.current li.toctree-l4>a{display:block;background:#bdbdbd;padding:.4045em 5.663em}.wy-menu-vertical li.toctree-l3 a:hover span.toctree-expand{color:gray}.wy-menu-vertical li.toctree-l3 span.toctree-expand{color:#969696}.wy-menu-vertical li.toctree-l4{font-size:.9em}.wy-menu-vertical li.current ul{display:block}.wy-menu-vertical li ul{margin-bottom:0;display:none}.wy-menu-vertical li ul li a{margin-bottom:0;color:#d9d9d9;font-weight:normal}.wy-menu-vertical a{display:inline-block;line-height:18px;padding:.4045em 1.618em;display:block;position:relative;font-size:90%;color:#d9d9d9}.wy-menu-vertical a:hover{background-color:#4e4a4a;cursor:pointer}.wy-menu-vertical a:hover span.toctree-expand{color:#d9d9d9}.wy-menu-vertical a:active{background-color:#2980B9;cursor:pointer;color:#fff}.wy-menu-vertical a:active span.toctree-expand{color:#fff}.wy-side-nav-search{display:block;width:300px;padding:.809em;margin-bottom:.809em;z-index:200;background-color:#2980B9;text-align:center;padding:.809em;display:block;color:#fcfcfc;margin-bottom:.809em}.wy-side-nav-search input[type=text]{width:100%;border-radius:50px;padding:6px 12px;border-color:#2472a4}.wy-side-nav-search img{display:block;margin:auto auto .809em auto;height:45px;width:45px;background-color:#2980B9;padding:5px;border-radius:100%}.wy-side-nav-search>a,.wy-side-nav-search .wy-dropdown>a{color:#fcfcfc;font-size:100%;font-weight:bold;display:inline-block;padding:4px 6px;margin-bottom:.809em}.wy-side-nav-search>a:hover,.wy-side-nav-search .wy-dropdown>a:hover{background:rgba(255,255,255,0.1)}.wy-side-nav-search>a img.logo,.wy-side-nav-search .wy-dropdown>a img.logo{display:block;margin:0 auto;height:auto;width:auto;border-radius:0;max-width:100%;background:transparent}.wy-side-nav-search>a.icon img.logo,.wy-side-nav-search .wy-dropdown>a.icon img.logo{margin-top:.85em}.wy-side-nav-search>div.version{margin-top:-.4045em;margin-bottom:.809em;font-weight:normal;color:rgba(255,255,255,0.3)}.wy-nav .wy-menu-vertical header{color:#2980B9}.wy-nav .wy-menu-vertical a{color:#b3b3b3}.wy-nav .wy-menu-vertical a:hover{background-color:#2980B9;color:#fff}[data-menu-wrap]{-webkit-transition:all .2s ease-in;-moz-transition:all .2s ease-in;transition:all .2s ease-in;position:absolute;opacity:1;width:100%;opacity:0}[data-menu-wrap].move-center{left:0;right:auto;opacity:1}[data-menu-wrap].move-left{right:auto;left:-100%;opacity:0}[data-menu-wrap].move-right{right:-100%;left:auto;opacity:0}.wy-body-for-nav{background:#fcfcfc}.wy-grid-for-nav{position:absolute;width:100%;height:100%}.wy-nav-side{position:fixed;top:0;bottom:0;left:0;padding-bottom:2em;width:300px;overflow-x:hidden;overflow-y:hidden;min-height:100%;color:#9b9b9b;background:#343131;z-index:200}.wy-side-scroll{width:320px;position:relative;overflow-x:hidden;overflow-y:scroll;height:100%}.wy-nav-top{display:none;background:#2980B9;color:#fff;padding:.4045em .809em;position:relative;line-height:50px;text-align:center;font-size:100%;*zoom:1}.wy-nav-top:before,.wy-nav-top:after{display:table;content:""}.wy-nav-top:after{clear:both}.wy-nav-top a{color:#fff;font-weight:bold}.wy-nav-top img{margin-right:12px;height:45px;width:45px;background-color:#2980B9;padding:5px;border-radius:100%}.wy-nav-top i{font-size:30px;float:left;cursor:pointer;padding-top:inherit}.wy-nav-content-wrap{margin-left:300px;background:#fcfcfc;min-height:100%}.wy-nav-content{padding:1.618em 3.236em;height:100%;max-width:800px;margin:auto}.wy-body-mask{position:fixed;width:100%;height:100%;background:rgba(0,0,0,0.2);display:none;z-index:499}.wy-body-mask.on{display:block}footer{color:gray}footer p{margin-bottom:12px}footer span.commit code,footer span.commit .rst-content tt,.rst-content footer span.commit tt{padding:0px;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;font-size:1em;background:none;border:none;color:gray}.rst-footer-buttons{*zoom:1}.rst-footer-buttons:before,.rst-footer-buttons:after{width:100%}.rst-footer-buttons:before,.rst-footer-buttons:after{display:table;content:""}.rst-footer-buttons:after{clear:both}.rst-breadcrumbs-buttons{margin-top:12px;*zoom:1}.rst-breadcrumbs-buttons:before,.rst-breadcrumbs-buttons:after{display:table;content:""}.rst-breadcrumbs-buttons:after{clear:both}#search-results .search li{margin-bottom:24px;border-bottom:solid 1px #e1e4e5;padding-bottom:24px}#search-results .search li:first-child{border-top:solid 1px #e1e4e5;padding-top:24px}#search-results .search li a{font-size:120%;margin-bottom:12px;display:inline-block}#search-results .context{color:gray;font-size:90%}.genindextable li>ul{margin-left:24px}@media screen and (max-width: 768px){.wy-body-for-nav{background:#fcfcfc}.wy-nav-top{display:block}.wy-nav-side{left:-300px}.wy-nav-side.shift{width:85%;left:0}.wy-side-scroll{width:auto}.wy-side-nav-search{width:auto}.wy-menu.wy-menu-vertical{width:auto}.wy-nav-content-wrap{margin-left:0}.wy-nav-content-wrap .wy-nav-content{padding:1.618em}.wy-nav-content-wrap.shift{position:fixed;min-width:100%;left:85%;top:0;height:100%;overflow:hidden}}@media screen and (min-width: 1100px){.wy-nav-content-wrap{background:rgba(0,0,0,0.05)}.wy-nav-content{margin:0;background:#fcfcfc}}@media print{.rst-versions,footer,.wy-nav-side{display:none}.wy-nav-content-wrap{margin-left:0}}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;z-index:400}.rst-versions a{color:#2980B9;text-decoration:none}.rst-versions .rst-badge-small{display:none}.rst-versions .rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27AE60;*zoom:1}.rst-versions .rst-current-version:before,.rst-versions .rst-current-version:after{display:table;content:""}.rst-versions .rst-current-version:after{clear:both}.rst-versions .rst-current-version .fa,.rst-versions .rst-current-version .wy-menu-vertical li span.toctree-expand,.wy-menu-vertical li .rst-versions .rst-current-version span.toctree-expand,.rst-versions .rst-current-version .rst-content .admonition-title,.rst-content .rst-versions .rst-current-version .admonition-title,.rst-versions .rst-current-version .rst-content h1 .headerlink,.rst-content h1 .rst-versions .rst-current-version .headerlink,.rst-versions .rst-current-version .rst-content h2 .headerlink,.rst-content h2 .rst-versions .rst-current-version .headerlink,.rst-versions .rst-current-version .rst-content h3 .headerlink,.rst-content h3 .rst-versions .rst-current-version .headerlink,.rst-versions .rst-current-version .rst-content h4 .headerlink,.rst-content h4 .rst-versions .rst-current-version .headerlink,.rst-versions .rst-current-version .rst-content h5 .headerlink,.rst-content h5 .rst-versions .rst-current-version .headerlink,.rst-versions .rst-current-version .rst-content h6 .headerlink,.rst-content h6 .rst-versions .rst-current-version .headerlink,.rst-versions .rst-current-version .rst-content dl dt .headerlink,.rst-content dl dt .rst-versions .rst-current-version .headerlink,.rst-versions .rst-current-version .rst-content p.caption .headerlink,.rst-content p.caption .rst-versions .rst-current-version .headerlink,.rst-versions .rst-current-version .rst-content table>caption .headerlink,.rst-content table>caption .rst-versions .rst-current-version .headerlink,.rst-versions .rst-current-version .rst-content .code-block-caption .headerlink,.rst-content .code-block-caption .rst-versions .rst-current-version .headerlink,.rst-versions .rst-current-version .rst-content tt.download span:first-child,.rst-content tt.download .rst-versions .rst-current-version span:first-child,.rst-versions .rst-current-version .rst-content code.download span:first-child,.rst-content code.download .rst-versions .rst-current-version span:first-child,.rst-versions .rst-current-version .icon{color:#fcfcfc}.rst-versions .rst-current-version .fa-book,.rst-versions .rst-current-version .icon-book{float:left}.rst-versions .rst-current-version .icon-book{float:left}.rst-versions .rst-current-version.rst-out-of-date{background-color:#E74C3C;color:#fff}.rst-versions .rst-current-version.rst-active-old-version{background-color:#F1C40F;color:#000}.rst-versions.shift-up{height:auto;max-height:100%;overflow-y:scroll}.rst-versions.shift-up .rst-other-versions{display:block}.rst-versions .rst-other-versions{font-size:90%;padding:12px;color:gray;display:none}.rst-versions .rst-other-versions hr{display:block;height:1px;border:0;margin:20px 0;padding:0;border-top:solid 1px #413d3d}.rst-versions .rst-other-versions dd{display:inline-block;margin:0}.rst-versions .rst-other-versions dd a{display:inline-block;padding:6px;color:#fcfcfc}.rst-versions.rst-badge{width:auto;bottom:20px;right:20px;left:auto;border:none;max-width:300px;max-height:90%}.rst-versions.rst-badge .icon-book{float:none}.rst-versions.rst-badge .fa-book,.rst-versions.rst-badge .icon-book{float:none}.rst-versions.rst-badge.shift-up .rst-current-version{text-align:right}.rst-versions.rst-badge.shift-up .rst-current-version .fa-book,.rst-versions.rst-badge.shift-up .rst-current-version .icon-book{float:left}.rst-versions.rst-badge.shift-up .rst-current-version .icon-book{float:left}.rst-versions.rst-badge .rst-current-version{width:auto;height:30px;line-height:30px;padding:0 6px;display:block;text-align:center}@media screen and (max-width: 768px){.rst-versions{width:85%;display:none}.rst-versions.shift{display:block}}.rst-content img{max-width:100%;height:auto}.rst-content div.figure{margin-bottom:24px}.rst-content div.figure p.caption{font-style:italic}.rst-content div.figure p:last-child.caption{margin-bottom:0px}.rst-content div.figure.align-center{text-align:center}.rst-content .section>img,.rst-content .section>a>img{margin-bottom:24px}.rst-content abbr[title]{text-decoration:none}.rst-content.style-external-links a.reference.external:after{font-family:FontAwesome;content:"";color:#b3b3b3;vertical-align:super;font-size:60%;margin:0 .2em}.rst-content blockquote{margin-left:24px;line-height:24px;margin-bottom:24px}.rst-content pre.literal-block{white-space:pre;margin:0;padding:12px 12px;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;display:block;overflow:auto}.rst-content pre.literal-block,.rst-content div[class^='highlight']{border:1px solid #e1e4e5;overflow-x:auto;margin:1px 0 24px 0}.rst-content pre.literal-block div[class^='highlight'],.rst-content div[class^='highlight'] div[class^='highlight']{padding:0px;border:none;margin:0}.rst-content div[class^='highlight'] td.code{width:100%}.rst-content .linenodiv pre{border-right:solid 1px #e6e9ea;margin:0;padding:12px 12px;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;user-select:none;pointer-events:none}.rst-content div[class^='highlight'] pre{white-space:pre;margin:0;padding:12px 12px;display:block;overflow:auto}.rst-content div[class^='highlight'] pre .hll{display:block;margin:0 -12px;padding:0 12px}.rst-content pre.literal-block,.rst-content div[class^='highlight'] pre,.rst-content .linenodiv pre{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;font-size:12px;line-height:1.4}.rst-content .code-block-caption{font-style:italic;font-size:85%;line-height:1;padding:1em 0;text-align:center}@media print{.rst-content .codeblock,.rst-content div[class^='highlight'],.rst-content div[class^='highlight'] pre{white-space:pre-wrap}}.rst-content .note .last,.rst-content .attention .last,.rst-content .caution .last,.rst-content .danger .last,.rst-content .error .last,.rst-content .hint .last,.rst-content .important .last,.rst-content .tip .last,.rst-content .warning .last,.rst-content .seealso .last,.rst-content .admonition-todo .last,.rst-content .admonition .last{margin-bottom:0}.rst-content .admonition-title:before{margin-right:4px}.rst-content .admonition table{border-color:rgba(0,0,0,0.1)}.rst-content .admonition table td,.rst-content .admonition table th{background:transparent !important;border-color:rgba(0,0,0,0.1) !important}.rst-content .section ol.loweralpha,.rst-content .section ol.loweralpha li{list-style:lower-alpha}.rst-content .section ol.upperalpha,.rst-content .section ol.upperalpha li{list-style:upper-alpha}.rst-content .section ol p,.rst-content .section ul p{margin-bottom:12px}.rst-content .section ol p:last-child,.rst-content .section ul p:last-child{margin-bottom:24px}.rst-content .line-block{margin-left:0px;margin-bottom:24px;line-height:24px}.rst-content .line-block .line-block{margin-left:24px;margin-bottom:0px}.rst-content .topic-title{font-weight:bold;margin-bottom:12px}.rst-content .toc-backref{color:#404040}.rst-content .align-right{float:right;margin:0px 0px 24px 24px}.rst-content .align-left{float:left;margin:0px 24px 24px 0px}.rst-content .align-center{margin:auto}.rst-content .align-center:not(table){display:block}.rst-content h1 .headerlink,.rst-content h2 .headerlink,.rst-content .toctree-wrapper p.caption .headerlink,.rst-content h3 .headerlink,.rst-content h4 .headerlink,.rst-content h5 .headerlink,.rst-content h6 .headerlink,.rst-content dl dt .headerlink,.rst-content p.caption .headerlink,.rst-content table>caption .headerlink,.rst-content .code-block-caption .headerlink{visibility:hidden;font-size:14px}.rst-content h1 .headerlink:after,.rst-content h2 .headerlink:after,.rst-content .toctree-wrapper p.caption .headerlink:after,.rst-content h3 .headerlink:after,.rst-content h4 .headerlink:after,.rst-content h5 .headerlink:after,.rst-content h6 .headerlink:after,.rst-content dl dt .headerlink:after,.rst-content p.caption .headerlink:after,.rst-content table>caption .headerlink:after,.rst-content .code-block-caption .headerlink:after{content:"";font-family:FontAwesome}.rst-content h1:hover .headerlink:after,.rst-content h2:hover .headerlink:after,.rst-content .toctree-wrapper p.caption:hover .headerlink:after,.rst-content h3:hover .headerlink:after,.rst-content h4:hover .headerlink:after,.rst-content h5:hover .headerlink:after,.rst-content h6:hover .headerlink:after,.rst-content dl dt:hover .headerlink:after,.rst-content p.caption:hover .headerlink:after,.rst-content table>caption:hover .headerlink:after,.rst-content .code-block-caption:hover .headerlink:after{visibility:visible}.rst-content table>caption .headerlink:after{font-size:12px}.rst-content .centered{text-align:center}.rst-content .sidebar{float:right;width:40%;display:block;margin:0 0 24px 24px;padding:24px;background:#f3f6f6;border:solid 1px #e1e4e5}.rst-content .sidebar p,.rst-content .sidebar ul,.rst-content .sidebar dl{font-size:90%}.rst-content .sidebar .last{margin-bottom:0}.rst-content .sidebar .sidebar-title{display:block;font-family:"Roboto Slab","ff-tisa-web-pro","Georgia",Arial,sans-serif;font-weight:bold;background:#e1e4e5;padding:6px 12px;margin:-24px;margin-bottom:24px;font-size:100%}.rst-content .highlighted{background:#F1C40F;display:inline-block;font-weight:bold;padding:0 6px}.rst-content .footnote-reference,.rst-content .citation-reference{vertical-align:baseline;position:relative;top:-0.4em;line-height:0;font-size:90%}.rst-content table.docutils.citation,.rst-content table.docutils.footnote{background:none;border:none;color:gray}.rst-content table.docutils.citation td,.rst-content table.docutils.citation tr,.rst-content table.docutils.footnote td,.rst-content table.docutils.footnote tr{border:none;background-color:transparent !important;white-space:normal}.rst-content table.docutils.citation td.label,.rst-content table.docutils.footnote td.label{padding-left:0;padding-right:0;vertical-align:top}.rst-content table.docutils.citation tt,.rst-content table.docutils.citation code,.rst-content table.docutils.footnote tt,.rst-content table.docutils.footnote code{color:#555}.rst-content .wy-table-responsive.citation,.rst-content .wy-table-responsive.footnote{margin-bottom:0}.rst-content .wy-table-responsive.citation+:not(.citation),.rst-content .wy-table-responsive.footnote+:not(.footnote){margin-top:24px}.rst-content .wy-table-responsive.citation:last-child,.rst-content .wy-table-responsive.footnote:last-child{margin-bottom:24px}.rst-content table.docutils th{border-color:#e1e4e5}.rst-content table.docutils td .last,.rst-content table.docutils td .last :last-child{margin-bottom:0}.rst-content table.field-list{border:none}.rst-content table.field-list td{border:none}.rst-content table.field-list td p{font-size:inherit;line-height:inherit}.rst-content table.field-list td>strong{display:inline-block}.rst-content table.field-list .field-name{padding-right:10px;text-align:left;white-space:nowrap}.rst-content table.field-list .field-body{text-align:left}.rst-content tt,.rst-content tt,.rst-content code{color:#000;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;padding:2px 5px}.rst-content tt big,.rst-content tt em,.rst-content tt big,.rst-content code big,.rst-content tt em,.rst-content code em{font-size:100% !important;line-height:normal}.rst-content tt.literal,.rst-content tt.literal,.rst-content code.literal{color:#E74C3C}.rst-content tt.xref,a .rst-content tt,.rst-content tt.xref,.rst-content code.xref,a .rst-content tt,a .rst-content code{font-weight:bold;color:#404040}.rst-content pre,.rst-content kbd,.rst-content samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace}.rst-content a tt,.rst-content a tt,.rst-content a code{color:#2980B9}.rst-content dl{margin-bottom:24px}.rst-content dl dt{font-weight:bold;margin-bottom:12px}.rst-content dl p,.rst-content dl table,.rst-content dl ul,.rst-content dl ol{margin-bottom:12px !important}.rst-content dl dd{margin:0 0 12px 24px;line-height:24px}.rst-content dl:not(.docutils){margin-bottom:24px}.rst-content dl:not(.docutils) dt{display:table;margin:6px 0;font-size:90%;line-height:normal;background:#e7f2fa;color:#2980B9;border-top:solid 3px #6ab0de;padding:6px;position:relative}.rst-content dl:not(.docutils) dt:before{color:#6ab0de}.rst-content dl:not(.docutils) dt .headerlink{color:#404040;font-size:100% !important}.rst-content dl:not(.docutils) dl dt{margin-bottom:6px;border:none;border-left:solid 3px #ccc;background:#f0f0f0;color:#555}.rst-content dl:not(.docutils) dl dt .headerlink{color:#404040;font-size:100% !important}.rst-content dl:not(.docutils) dt:first-child{margin-top:0}.rst-content dl:not(.docutils) tt,.rst-content dl:not(.docutils) tt,.rst-content dl:not(.docutils) code{font-weight:bold}.rst-content dl:not(.docutils) tt.descname,.rst-content dl:not(.docutils) tt.descclassname,.rst-content dl:not(.docutils) tt.descname,.rst-content dl:not(.docutils) code.descname,.rst-content dl:not(.docutils) tt.descclassname,.rst-content dl:not(.docutils) code.descclassname{background-color:transparent;border:none;padding:0;font-size:100% !important}.rst-content dl:not(.docutils) tt.descname,.rst-content dl:not(.docutils) tt.descname,.rst-content dl:not(.docutils) code.descname{font-weight:bold}.rst-content dl:not(.docutils) .optional{display:inline-block;padding:0 4px;color:#000;font-weight:bold}.rst-content dl:not(.docutils) .property{display:inline-block;padding-right:8px}.rst-content .viewcode-link,.rst-content .viewcode-back{display:inline-block;color:#27AE60;font-size:80%;padding-left:24px}.rst-content .viewcode-back{display:block;float:right}.rst-content p.rubric{margin-bottom:12px;font-weight:bold}.rst-content tt.download,.rst-content code.download{background:inherit;padding:inherit;font-weight:normal;font-family:inherit;font-size:inherit;color:inherit;border:inherit;white-space:inherit}.rst-content tt.download span:first-child,.rst-content code.download span:first-child{-webkit-font-smoothing:subpixel-antialiased}.rst-content tt.download span:first-child:before,.rst-content code.download span:first-child:before{margin-right:4px}.rst-content .guilabel{border:1px solid #7fbbe3;background:#e7f2fa;font-size:80%;font-weight:700;border-radius:4px;padding:2.4px 6px;margin:auto 2px}.rst-content .versionmodified{font-style:italic}@media screen and (max-width: 480px){.rst-content .sidebar{width:100%}}span[id*='MathJax-Span']{color:#404040}.math{text-align:center}@font-face{font-family:"Lato";src:url("../fonts/Lato/lato-regular.eot");src:url("../fonts/Lato/lato-regular.eot?#iefix") format("embedded-opentype"),url("../fonts/Lato/lato-regular.woff2") format("woff2"),url("../fonts/Lato/lato-regular.woff") format("woff"),url("../fonts/Lato/lato-regular.ttf") format("truetype");font-weight:400;font-style:normal}@font-face{font-family:"Lato";src:url("../fonts/Lato/lato-bold.eot");src:url("../fonts/Lato/lato-bold.eot?#iefix") format("embedded-opentype"),url("../fonts/Lato/lato-bold.woff2") format("woff2"),url("../fonts/Lato/lato-bold.woff") format("woff"),url("../fonts/Lato/lato-bold.ttf") format("truetype");font-weight:700;font-style:normal}@font-face{font-family:"Lato";src:url("../fonts/Lato/lato-bolditalic.eot");src:url("../fonts/Lato/lato-bolditalic.eot?#iefix") format("embedded-opentype"),url("../fonts/Lato/lato-bolditalic.woff2") format("woff2"),url("../fonts/Lato/lato-bolditalic.woff") format("woff"),url("../fonts/Lato/lato-bolditalic.ttf") format("truetype");font-weight:700;font-style:italic}@font-face{font-family:"Lato";src:url("../fonts/Lato/lato-italic.eot");src:url("../fonts/Lato/lato-italic.eot?#iefix") format("embedded-opentype"),url("../fonts/Lato/lato-italic.woff2") format("woff2"),url("../fonts/Lato/lato-italic.woff") format("woff"),url("../fonts/Lato/lato-italic.ttf") format("truetype");font-weight:400;font-style:italic}@font-face{font-family:"Roboto Slab";font-style:normal;font-weight:400;src:url("../fonts/RobotoSlab/roboto-slab.eot");src:url("../fonts/RobotoSlab/roboto-slab-v7-regular.eot?#iefix") format("embedded-opentype"),url("../fonts/RobotoSlab/roboto-slab-v7-regular.woff2") format("woff2"),url("../fonts/RobotoSlab/roboto-slab-v7-regular.woff") format("woff"),url("../fonts/RobotoSlab/roboto-slab-v7-regular.ttf") format("truetype")}@font-face{font-family:"Roboto Slab";font-style:normal;font-weight:700;src:url("../fonts/RobotoSlab/roboto-slab-v7-bold.eot");src:url("../fonts/RobotoSlab/roboto-slab-v7-bold.eot?#iefix") format("embedded-opentype"),url("../fonts/RobotoSlab/roboto-slab-v7-bold.woff2") format("woff2"),url("../fonts/RobotoSlab/roboto-slab-v7-bold.woff") format("woff"),url("../fonts/RobotoSlab/roboto-slab-v7-bold.ttf") format("truetype")} diff --git a/vsphere/7.0.0.1/_static/doctools.js b/vsphere/7.0.0.1/_static/doctools.js new file mode 100644 index 00000000..daccd209 --- /dev/null +++ b/vsphere/7.0.0.1/_static/doctools.js @@ -0,0 +1,315 @@ +/* + * doctools.js + * ~~~~~~~~~~~ + * + * Sphinx JavaScript utilities for all documentation. + * + * :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/** + * select a different prefix for underscore + */ +$u = _.noConflict(); + +/** + * make the code below compatible with browsers without + * an installed firebug like debugger +if (!window.console || !console.firebug) { + var names = ["log", "debug", "info", "warn", "error", "assert", "dir", + "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", + "profile", "profileEnd"]; + window.console = {}; + for (var i = 0; i < names.length; ++i) + window.console[names[i]] = function() {}; +} + */ + +/** + * small helper function to urldecode strings + */ +jQuery.urldecode = function(x) { + return decodeURIComponent(x).replace(/\+/g, ' '); +}; + +/** + * small helper function to urlencode strings + */ +jQuery.urlencode = encodeURIComponent; + +/** + * This function returns the parsed url parameters of the + * current request. Multiple values per key are supported, + * it will always return arrays of strings for the value parts. + */ +jQuery.getQueryParameters = function(s) { + if (typeof s === 'undefined') + s = document.location.search; + var parts = s.substr(s.indexOf('?') + 1).split('&'); + var result = {}; + for (var i = 0; i < parts.length; i++) { + var tmp = parts[i].split('=', 2); + var key = jQuery.urldecode(tmp[0]); + var value = jQuery.urldecode(tmp[1]); + if (key in result) + result[key].push(value); + else + result[key] = [value]; + } + return result; +}; + +/** + * highlight a given string on a jquery object by wrapping it in + * span elements with the given class name. + */ +jQuery.fn.highlightText = function(text, className) { + function highlight(node, addItems) { + if (node.nodeType === 3) { + var val = node.nodeValue; + var pos = val.toLowerCase().indexOf(text); + if (pos >= 0 && + !jQuery(node.parentNode).hasClass(className) && + !jQuery(node.parentNode).hasClass("nohighlight")) { + var span; + var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg"); + if (isInSVG) { + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); + } else { + span = document.createElement("span"); + span.className = className; + } + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + node.parentNode.insertBefore(span, node.parentNode.insertBefore( + document.createTextNode(val.substr(pos + text.length)), + node.nextSibling)); + node.nodeValue = val.substr(0, pos); + if (isInSVG) { + var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); + var bbox = node.parentElement.getBBox(); + rect.x.baseVal.value = bbox.x; + rect.y.baseVal.value = bbox.y; + rect.width.baseVal.value = bbox.width; + rect.height.baseVal.value = bbox.height; + rect.setAttribute('class', className); + addItems.push({ + "parent": node.parentNode, + "target": rect}); + } + } + } + else if (!jQuery(node).is("button, select, textarea")) { + jQuery.each(node.childNodes, function() { + highlight(this, addItems); + }); + } + } + var addItems = []; + var result = this.each(function() { + highlight(this, addItems); + }); + for (var i = 0; i < addItems.length; ++i) { + jQuery(addItems[i].parent).before(addItems[i].target); + } + return result; +}; + +/* + * backward compatibility for jQuery.browser + * This will be supported until firefox bug is fixed. + */ +if (!jQuery.browser) { + jQuery.uaMatch = function(ua) { + ua = ua.toLowerCase(); + + var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || + /(webkit)[ \/]([\w.]+)/.exec(ua) || + /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || + /(msie) ([\w.]+)/.exec(ua) || + ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || + []; + + return { + browser: match[ 1 ] || "", + version: match[ 2 ] || "0" + }; + }; + jQuery.browser = {}; + jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true; +} + +/** + * Small JavaScript module for the documentation. + */ +var Documentation = { + + init : function() { + this.fixFirefoxAnchorBug(); + this.highlightSearchWords(); + this.initIndexTable(); + if (DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) { + this.initOnKeyListeners(); + } + }, + + /** + * i18n support + */ + TRANSLATIONS : {}, + PLURAL_EXPR : function(n) { return n === 1 ? 0 : 1; }, + LOCALE : 'unknown', + + // gettext and ngettext don't access this so that the functions + // can safely bound to a different name (_ = Documentation.gettext) + gettext : function(string) { + var translated = Documentation.TRANSLATIONS[string]; + if (typeof translated === 'undefined') + return string; + return (typeof translated === 'string') ? translated : translated[0]; + }, + + ngettext : function(singular, plural, n) { + var translated = Documentation.TRANSLATIONS[singular]; + if (typeof translated === 'undefined') + return (n == 1) ? singular : plural; + return translated[Documentation.PLURALEXPR(n)]; + }, + + addTranslations : function(catalog) { + for (var key in catalog.messages) + this.TRANSLATIONS[key] = catalog.messages[key]; + this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); + this.LOCALE = catalog.locale; + }, + + /** + * add context elements like header anchor links + */ + addContextElements : function() { + $('div[id] > :header:first').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this headline')). + appendTo(this); + }); + $('dt[id]').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this definition')). + appendTo(this); + }); + }, + + /** + * workaround a firefox stupidity + * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075 + */ + fixFirefoxAnchorBug : function() { + if (document.location.hash && $.browser.mozilla) + window.setTimeout(function() { + document.location.href += ''; + }, 10); + }, + + /** + * highlight the search words provided in the url in the text + */ + highlightSearchWords : function() { + var params = $.getQueryParameters(); + var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; + if (terms.length) { + var body = $('div.body'); + if (!body.length) { + body = $('body'); + } + window.setTimeout(function() { + $.each(terms, function() { + body.highlightText(this.toLowerCase(), 'highlighted'); + }); + }, 10); + $('') + .appendTo($('#searchbox')); + } + }, + + /** + * init the domain index toggle buttons + */ + initIndexTable : function() { + var togglers = $('img.toggler').click(function() { + var src = $(this).attr('src'); + var idnum = $(this).attr('id').substr(7); + $('tr.cg-' + idnum).toggle(); + if (src.substr(-9) === 'minus.png') + $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); + else + $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); + }).css('display', ''); + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { + togglers.click(); + } + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords : function() { + $('#searchbox .highlight-link').fadeOut(300); + $('span.highlighted').removeClass('highlighted'); + }, + + /** + * make the url absolute + */ + makeURL : function(relativeURL) { + return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; + }, + + /** + * get the current relative url + */ + getCurrentURL : function() { + var path = document.location.pathname; + var parts = path.split(/\//); + $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { + if (this === '..') + parts.pop(); + }); + var url = parts.join('/'); + return path.substring(url.lastIndexOf('/') + 1, path.length - 1); + }, + + initOnKeyListeners: function() { + $(document).keydown(function(event) { + var activeElementType = document.activeElement.tagName; + // don't navigate when in search box or textarea + if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT' + && !event.altKey && !event.ctrlKey && !event.metaKey && !event.shiftKey) { + switch (event.keyCode) { + case 37: // left + var prevHref = $('link[rel="prev"]').prop('href'); + if (prevHref) { + window.location.href = prevHref; + return false; + } + case 39: // right + var nextHref = $('link[rel="next"]').prop('href'); + if (nextHref) { + window.location.href = nextHref; + return false; + } + } + } + }); + } +}; + +// quick alias for translations +_ = Documentation.gettext; + +$(document).ready(function() { + Documentation.init(); +}); diff --git a/vsphere/7.0.0.1/_static/documentation_options.js b/vsphere/7.0.0.1/_static/documentation_options.js new file mode 100644 index 00000000..4acfcfff --- /dev/null +++ b/vsphere/7.0.0.1/_static/documentation_options.js @@ -0,0 +1,11 @@ +var DOCUMENTATION_OPTIONS = { + URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), + VERSION: '7.0.0.1', + LANGUAGE: 'en', + COLLAPSE_INDEX: false, + BUILDER: 'html', + FILE_SUFFIX: '.html', + HAS_SOURCE: true, + SOURCELINK_SUFFIX: '.txt', + NAVIGATION_WITH_KEYS: false +}; \ No newline at end of file diff --git a/vsphere/7.0.0.1/_static/file.png b/vsphere/7.0.0.1/_static/file.png new file mode 100644 index 00000000..a858a410 Binary files /dev/null and b/vsphere/7.0.0.1/_static/file.png differ diff --git a/vsphere/7.0.0.1/_static/fonts/Inconsolata-Bold.ttf b/vsphere/7.0.0.1/_static/fonts/Inconsolata-Bold.ttf new file mode 100644 index 00000000..809c1f58 Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/Inconsolata-Bold.ttf differ diff --git a/vsphere/7.0.0.1/_static/fonts/Inconsolata-Regular.ttf b/vsphere/7.0.0.1/_static/fonts/Inconsolata-Regular.ttf new file mode 100644 index 00000000..fc981ce7 Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/Inconsolata-Regular.ttf differ diff --git a/vsphere/7.0.0.1/_static/fonts/Inconsolata.ttf b/vsphere/7.0.0.1/_static/fonts/Inconsolata.ttf new file mode 100644 index 00000000..4b8a36d2 Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/Inconsolata.ttf differ diff --git a/vsphere/7.0.0.1/_static/fonts/Lato-Bold.ttf b/vsphere/7.0.0.1/_static/fonts/Lato-Bold.ttf new file mode 100644 index 00000000..1d23c706 Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/Lato-Bold.ttf differ diff --git a/vsphere/7.0.0.1/_static/fonts/Lato-Regular.ttf b/vsphere/7.0.0.1/_static/fonts/Lato-Regular.ttf new file mode 100644 index 00000000..0f3d0f83 Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/Lato-Regular.ttf differ diff --git a/vsphere/7.0.0.1/_static/fonts/Lato/lato-bold.eot b/vsphere/7.0.0.1/_static/fonts/Lato/lato-bold.eot new file mode 100644 index 00000000..3361183a Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/Lato/lato-bold.eot differ diff --git a/vsphere/7.0.0.1/_static/fonts/Lato/lato-bold.ttf b/vsphere/7.0.0.1/_static/fonts/Lato/lato-bold.ttf new file mode 100644 index 00000000..29f691d5 Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/Lato/lato-bold.ttf differ diff --git a/vsphere/7.0.0.1/_static/fonts/Lato/lato-bold.woff b/vsphere/7.0.0.1/_static/fonts/Lato/lato-bold.woff new file mode 100644 index 00000000..c6dff51f Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/Lato/lato-bold.woff differ diff --git a/vsphere/7.0.0.1/_static/fonts/Lato/lato-bold.woff2 b/vsphere/7.0.0.1/_static/fonts/Lato/lato-bold.woff2 new file mode 100644 index 00000000..bb195043 Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/Lato/lato-bold.woff2 differ diff --git a/vsphere/7.0.0.1/_static/fonts/Lato/lato-bolditalic.eot b/vsphere/7.0.0.1/_static/fonts/Lato/lato-bolditalic.eot new file mode 100644 index 00000000..3d415493 Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/Lato/lato-bolditalic.eot differ diff --git a/vsphere/7.0.0.1/_static/fonts/Lato/lato-bolditalic.ttf b/vsphere/7.0.0.1/_static/fonts/Lato/lato-bolditalic.ttf new file mode 100644 index 00000000..f402040b Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/Lato/lato-bolditalic.ttf differ diff --git a/vsphere/7.0.0.1/_static/fonts/Lato/lato-bolditalic.woff b/vsphere/7.0.0.1/_static/fonts/Lato/lato-bolditalic.woff new file mode 100644 index 00000000..88ad05b9 Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/Lato/lato-bolditalic.woff differ diff --git a/vsphere/7.0.0.1/_static/fonts/Lato/lato-bolditalic.woff2 b/vsphere/7.0.0.1/_static/fonts/Lato/lato-bolditalic.woff2 new file mode 100644 index 00000000..c4e3d804 Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/Lato/lato-bolditalic.woff2 differ diff --git a/vsphere/7.0.0.1/_static/fonts/Lato/lato-italic.eot b/vsphere/7.0.0.1/_static/fonts/Lato/lato-italic.eot new file mode 100644 index 00000000..3f826421 Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/Lato/lato-italic.eot differ diff --git a/vsphere/7.0.0.1/_static/fonts/Lato/lato-italic.ttf b/vsphere/7.0.0.1/_static/fonts/Lato/lato-italic.ttf new file mode 100644 index 00000000..b4bfc9b2 Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/Lato/lato-italic.ttf differ diff --git a/vsphere/7.0.0.1/_static/fonts/Lato/lato-italic.woff b/vsphere/7.0.0.1/_static/fonts/Lato/lato-italic.woff new file mode 100644 index 00000000..76114bc0 Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/Lato/lato-italic.woff differ diff --git a/vsphere/7.0.0.1/_static/fonts/Lato/lato-italic.woff2 b/vsphere/7.0.0.1/_static/fonts/Lato/lato-italic.woff2 new file mode 100644 index 00000000..3404f37e Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/Lato/lato-italic.woff2 differ diff --git a/vsphere/7.0.0.1/_static/fonts/Lato/lato-regular.eot b/vsphere/7.0.0.1/_static/fonts/Lato/lato-regular.eot new file mode 100644 index 00000000..11e3f2a5 Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/Lato/lato-regular.eot differ diff --git a/vsphere/7.0.0.1/_static/fonts/Lato/lato-regular.ttf b/vsphere/7.0.0.1/_static/fonts/Lato/lato-regular.ttf new file mode 100644 index 00000000..74decd9e Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/Lato/lato-regular.ttf differ diff --git a/vsphere/7.0.0.1/_static/fonts/Lato/lato-regular.woff b/vsphere/7.0.0.1/_static/fonts/Lato/lato-regular.woff new file mode 100644 index 00000000..ae1307ff Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/Lato/lato-regular.woff differ diff --git a/vsphere/7.0.0.1/_static/fonts/Lato/lato-regular.woff2 b/vsphere/7.0.0.1/_static/fonts/Lato/lato-regular.woff2 new file mode 100644 index 00000000..3bf98433 Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/Lato/lato-regular.woff2 differ diff --git a/vsphere/7.0.0.1/_static/fonts/RobotoSlab-Bold.ttf b/vsphere/7.0.0.1/_static/fonts/RobotoSlab-Bold.ttf new file mode 100644 index 00000000..df5d1df2 Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/RobotoSlab-Bold.ttf differ diff --git a/vsphere/7.0.0.1/_static/fonts/RobotoSlab-Regular.ttf b/vsphere/7.0.0.1/_static/fonts/RobotoSlab-Regular.ttf new file mode 100644 index 00000000..eb52a790 Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/RobotoSlab-Regular.ttf differ diff --git a/vsphere/7.0.0.1/_static/fonts/RobotoSlab/roboto-slab-v7-bold.eot b/vsphere/7.0.0.1/_static/fonts/RobotoSlab/roboto-slab-v7-bold.eot new file mode 100644 index 00000000..79dc8efe Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/RobotoSlab/roboto-slab-v7-bold.eot differ diff --git a/vsphere/7.0.0.1/_static/fonts/RobotoSlab/roboto-slab-v7-bold.ttf b/vsphere/7.0.0.1/_static/fonts/RobotoSlab/roboto-slab-v7-bold.ttf new file mode 100644 index 00000000..df5d1df2 Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/RobotoSlab/roboto-slab-v7-bold.ttf differ diff --git a/vsphere/7.0.0.1/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff b/vsphere/7.0.0.1/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff new file mode 100644 index 00000000..6cb60000 Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff differ diff --git a/vsphere/7.0.0.1/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff2 b/vsphere/7.0.0.1/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff2 new file mode 100644 index 00000000..7059e231 Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff2 differ diff --git a/vsphere/7.0.0.1/_static/fonts/RobotoSlab/roboto-slab-v7-regular.eot b/vsphere/7.0.0.1/_static/fonts/RobotoSlab/roboto-slab-v7-regular.eot new file mode 100644 index 00000000..2f7ca78a Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/RobotoSlab/roboto-slab-v7-regular.eot differ diff --git a/vsphere/7.0.0.1/_static/fonts/RobotoSlab/roboto-slab-v7-regular.ttf b/vsphere/7.0.0.1/_static/fonts/RobotoSlab/roboto-slab-v7-regular.ttf new file mode 100644 index 00000000..eb52a790 Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/RobotoSlab/roboto-slab-v7-regular.ttf differ diff --git a/vsphere/7.0.0.1/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff b/vsphere/7.0.0.1/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff new file mode 100644 index 00000000..f815f63f Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff differ diff --git a/vsphere/7.0.0.1/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff2 b/vsphere/7.0.0.1/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff2 new file mode 100644 index 00000000..f2c76e5b Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff2 differ diff --git a/vsphere/7.0.0.1/_static/fonts/fontawesome-webfont.eot b/vsphere/7.0.0.1/_static/fonts/fontawesome-webfont.eot new file mode 100644 index 00000000..e9f60ca9 Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/fontawesome-webfont.eot differ diff --git a/vsphere/7.0.0.1/_static/fonts/fontawesome-webfont.svg b/vsphere/7.0.0.1/_static/fonts/fontawesome-webfont.svg new file mode 100644 index 00000000..855c845e --- /dev/null +++ b/vsphere/7.0.0.1/_static/fonts/fontawesome-webfont.svg @@ -0,0 +1,2671 @@ + + + + +Created by FontForge 20120731 at Mon Oct 24 17:37:40 2016 + By ,,, +Copyright Dave Gandy 2016. All rights reserved. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vsphere/7.0.0.1/_static/fonts/fontawesome-webfont.ttf b/vsphere/7.0.0.1/_static/fonts/fontawesome-webfont.ttf new file mode 100644 index 00000000..35acda2f Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/fontawesome-webfont.ttf differ diff --git a/vsphere/7.0.0.1/_static/fonts/fontawesome-webfont.woff b/vsphere/7.0.0.1/_static/fonts/fontawesome-webfont.woff new file mode 100644 index 00000000..400014a4 Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/fontawesome-webfont.woff differ diff --git a/vsphere/7.0.0.1/_static/fonts/fontawesome-webfont.woff2 b/vsphere/7.0.0.1/_static/fonts/fontawesome-webfont.woff2 new file mode 100644 index 00000000..4d13fc60 Binary files /dev/null and b/vsphere/7.0.0.1/_static/fonts/fontawesome-webfont.woff2 differ diff --git a/vsphere/7.0.0.1/_static/jquery-3.4.1.js b/vsphere/7.0.0.1/_static/jquery-3.4.1.js new file mode 100644 index 00000000..773ad95c --- /dev/null +++ b/vsphere/7.0.0.1/_static/jquery-3.4.1.js @@ -0,0 +1,10598 @@ +/*! + * jQuery JavaScript Library v3.4.1 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2019-05-01T21:04Z + */ +( function( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var document = window.document; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var concat = arr.concat; + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + return typeof obj === "function" && typeof obj.nodeType !== "number"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + + + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true + }; + + function DOMEval( code, node, doc ) { + doc = doc || document; + + var i, val, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[ i ] || node.getAttribute && node.getAttribute( i ); + if ( val ) { + script.setAttribute( i, val ); + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.4.1", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }, + + // Support: Android <=4.0 only + // Make sure we trim BOM and NBSP + rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + copy = options[ name ]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if ( name === "__proto__" || target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + src = target[ name ]; + + // Ensure proper type for the source value + if ( copyIsArray && !Array.isArray( src ) ) { + clone = []; + } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a global context + globalEval: function( code, options ) { + DOMEval( code, { nonce: options && options.nonce } ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // Support: Android <=4.0 only + trim: function( text ) { + return text == null ? + "" : + ( text + "" ).replace( rtrim, "" ); + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), +function( i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +} ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v2.3.4 + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://js.foundation/ + * + * Date: 2019-04-08 + */ +(function( window ) { + +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ({}).hasOwnProperty, + arr = [], + pop = arr.pop, + push_native = arr.push, + push = arr.push, + slice = arr.slice, + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[i] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier + identifier = "(?:\\\\.|[\\w-]|[^\0-\\xa0])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace + + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), + rdescend = new RegExp( whitespace + "|>" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), + funescape = function( _, escaped, escapedWhitespace ) { + var high = "0x" + escaped - 0x10000; + // NaN means non-codepoint + // Support: Firefox<24 + // Workaround erroneous numeric interpretation of +"0x" + return high !== high || escapedWhitespace ? + escaped : + high < 0 ? + // BMP codepoint + String.fromCharCode( high + 0x10000 ) : + // Supplemental Plane codepoint (surrogate pair) + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + inDisabledFieldset = addCombinator( + function( elem ) { + return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + (arr = slice.call( preferredDoc.childNodes )), + preferredDoc.childNodes + ); + // Support: Android<4.0 + // Detect silently failing push.apply + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + push_native.apply( target, slice.call(els) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + // Can't trust NodeList.length + while ( (target[j++] = els[i++]) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + + if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { + setDocument( context ); + } + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && (match = rquickExpr.exec( selector )) ) { + + // ID selector + if ( (m = match[1]) ) { + + // Document context + if ( nodeType === 9 ) { + if ( (elem = context.getElementById( m )) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && (elem = newContext.getElementById( m )) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[2] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( (m = match[3]) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !nonnativeSelectorCache[ selector + " " ] && + (!rbuggyQSA || !rbuggyQSA.test( selector )) && + + // Support: IE 8 only + // Exclude object elements + (nodeType !== 1 || context.nodeName.toLowerCase() !== "object") ) { + + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // Thanks to Andrew Dupont for this technique. + if ( nodeType === 1 && rdescend.test( selector ) ) { + + // Capture the context ID, setting it first if necessary + if ( (nid = context.getAttribute( "id" )) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", (nid = expando) ); + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[i] = "#" + nid + " " + toSelector( groups[i] ); + } + newSelector = groups.join( "," ); + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + } + + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + nonnativeSelectorCache( selector, true ); + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return (cache[ key + " " ] = value); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement("fieldset"); + + try { + return !!fn( el ); + } catch (e) { + return false; + } finally { + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split("|"), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[i] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( (cur = cur.nextSibling) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + inDisabledFieldset( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction(function( argument ) { + argument = +argument; + return markFunction(function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ (j = matchIndexes[i]) ] ) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + var namespace = elem.namespaceURI, + docElem = (elem.ownerDocument || elem).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9-11, Edge + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + if ( preferredDoc !== document && + (subWindow = document.defaultView) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert(function( el ) { + el.className = "i"; + return !el.getAttribute("className"); + }); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert(function( el ) { + el.appendChild( document.createComment("") ); + return !el.getElementsByTagName("*").length; + }); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert(function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + }); + + // ID filter and find + if ( support.getById ) { + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute("id") === attrId; + }; + }; + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode("id"); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode("id"); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( (elem = elems[i++]) ) { + node = elem.getAttributeNode("id"); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find["TAG"] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( (elem = results[i++]) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( (support.qsa = rnative.test( document.querySelectorAll )) ) { + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function( el ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll("[msallowcapture^='']").length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll("[selected]").length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push("~="); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll(":checked").length ) { + rbuggyQSA.push(":checked"); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push(".#.+[+~]"); + } + }); + + assert(function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement("input"); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll("[name=d]").length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll(":enabled").length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll(":disabled").length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll("*,:x"); + rbuggyQSA.push(",.*:"); + }); + } + + if ( (support.matchesSelector = rnative.test( (matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector) )) ) { + + assert(function( el ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + }); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + )); + } : + function( a, b ) { + if ( b ) { + while ( (b = b.parentNode) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { + + // Choose the first element that is related to our preferred document + if ( a === document || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) { + return -1; + } + if ( b === document || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + return a === document ? -1 : + b === document ? 1 : + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( (cur = cur.parentNode) ) { + ap.unshift( cur ); + } + cur = b; + while ( (cur = cur.parentNode) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[i] === bp[i] ) { + i++; + } + + return i ? + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[i], bp[i] ) : + + // Otherwise nodes in our document sort first + ap[i] === preferredDoc ? -1 : + bp[i] === preferredDoc ? 1 : + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + if ( support.matchesSelector && documentIsHTML && + !nonnativeSelectorCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch (e) { + nonnativeSelectorCache( expr, true ); + } + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + // Set document vars if needed + if ( ( context.ownerDocument || context ) !== document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + (val = elem.getAttributeNode(name)) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return (sel + "").replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( (elem = results[i++]) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + // If no nodeType, this is expected to be an array + while ( (node = elem[i++]) ) { + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[1] = match[1].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[3] = ( match[3] || match[4] || match[5] || "" ).replace( runescape, funescape ); + + if ( match[2] === "~=" ) { + match[3] = " " + match[3] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[1] = match[1].toLowerCase(); + + if ( match[1].slice( 0, 3 ) === "nth" ) { + // nth-* requires argument + if ( !match[3] ) { + Sizzle.error( match[0] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); + match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); + + // other types prohibit arguments + } else if ( match[3] ) { + Sizzle.error( match[0] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[6] && match[2]; + + if ( matchExpr["CHILD"].test( match[0] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[3] ) { + match[2] = match[4] || match[5] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + // Get excess from tokenize (recursively) + (excess = tokenize( unquoted, true )) && + // advance to the next closing parenthesis + (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { + + // excess is a negative index + match[0] = match[0].slice( 0, excess ); + match[2] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { return true; } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && + classCache( className, function( elem ) { + return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== "undefined" && elem.getAttribute("class") || "" ); + }); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + }; + }, + + "CHILD": function( type, what, argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( (node = node[ dir ]) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || (node[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + (outerCache[ node.uniqueID ] = {}); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( (node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + (diff = nodeIndex = 0) || start.pop()) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + // Use previously-cached element index if available + if ( useCache ) { + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || (node[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + (outerCache[ node.uniqueID ] = {}); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + // Use the same loop as above to seek `elem` from the start + while ( (node = ++nodeIndex && node && node[ dir ] || + (diff = nodeIndex = 0) || start.pop()) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || (node[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + (outerCache[ node.uniqueID ] = {}); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction(function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[i] ); + seed[ idx ] = !( matches[ idx ] = matched[i] ); + } + }) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + // Potentially complex pseudos + "not": markFunction(function( selector ) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction(function( seed, matches, context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( (elem = unmatched[i]) ) { + seed[i] = !(matches[i] = elem); + } + } + }) : + function( elem, context, xml ) { + input[0] = elem; + matcher( input, null, xml, results ); + // Don't keep the element (issue #299) + input[0] = null; + return !results.pop(); + }; + }), + + "has": markFunction(function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + }), + + "contains": markFunction(function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; + }; + }), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + // lang value must be a valid identifier + if ( !ridentifier.test(lang || "") ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( (elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); + return false; + }; + }), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); + }, + + "selected": function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos["empty"]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo(function() { + return [ 0 ]; + }), + + "last": createPositionalPseudo(function( matchIndexes, length ) { + return [ length - 1 ]; + }), + + "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + }), + + "even": createPositionalPseudo(function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "odd": createPositionalPseudo(function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? + argument + length : + argument > length ? + length : + argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }) + } +}; + +Expr.pseudos["nth"] = Expr.pseudos["eq"]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || (match = rcomma.exec( soFar )) ) { + if ( match ) { + // Don't consume trailing commas as valid + soFar = soFar.slice( match[0].length ) || soFar; + } + groups.push( (tokens = []) ); + } + + matched = false; + + // Combinators + if ( (match = rcombinators.exec( soFar )) ) { + matched = match.shift(); + tokens.push({ + value: matched, + // Cast descendant combinators to space + type: match[0].replace( rtrim, " " ) + }); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || + (match = preFilters[ type ]( match ))) ) { + matched = match.shift(); + tokens.push({ + value: matched, + type: type, + matches: match + }); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[i].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || (elem[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || (outerCache[ elem.uniqueID ] = {}); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( (oldCache = uniqueCache[ key ]) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return (newCache[ 2 ] = oldCache[ 2 ]); + } else { + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[i]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[0]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[i], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( (elem = unmatched[i]) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction(function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( (elem = temp[i]) ) { + matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) ) { + // Restore matcherIn since elem is not yet a final match + temp.push( (matcherIn[i] = elem) ); + } + } + postFinder( null, (matcherOut = []), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) && + (temp = postFinder ? indexOf( seed, elem ) : preMap[i]) > -1 ) { + + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + }); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[0].type ], + implicitRelative = leadingRelative || Expr.relative[" "], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + (checkContext = context).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( (matcher = Expr.relative[ tokens[i].type ]) ) { + matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; + } else { + matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[j].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find["TAG"]( "*", outermost ), + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), + len = elems.length; + + if ( outermost ) { + outermostContext = context === document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && (elem = elems[i]) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + if ( !context && elem.ownerDocument !== document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( (matcher = elementMatchers[j++]) ) { + if ( matcher( elem, context || document, xml) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + // They will have gone through all possible matchers + if ( (elem = !matcher && elem) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( (matcher = setMatchers[j++]) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !(unmatched[i] || setMatched[i]) ) { + setMatched[i] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[i] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( (selector = compiled.selector || selector) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[0] = match[0].slice( 0 ); + if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[1].type ] ) { + + context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[i]; + + // Abort if we hit a combinator + if ( Expr.relative[ (type = token.type) ] ) { + break; + } + if ( (find = Expr.find[ type ]) ) { + // Search, expanding context for leading sibling combinators + if ( (seed = find( + token.matches[0].replace( runescape, funescape ), + rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context + )) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert(function( el ) { + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement("fieldset") ) & 1; +}); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert(function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute("href") === "#" ; +}) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + }); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert(function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +}) ) { + addHandle( "value", function( elem, name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + }); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert(function( el ) { + return el.getAttribute("disabled") == null; +}) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + (val = elem.getAttributeNode( name )) && val.specified ? + val.value : + null; + } + }); +} + +return Sizzle; + +})( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +}; +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( typeof elem.contentDocument !== "undefined" ) { + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the master Deferred + master = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + master.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( master.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return master.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), master.reject ); + } + + return master.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var documentElement = document.documentElement; + + + + var isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ); + }, + composed = { composed: true }; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if ( documentElement.getRootNode ) { + isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ) || + elem.getRootNode( composed ) === elem.ownerDocument; + }; + } +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached( elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + +var swap = function( elem, options, callback, args ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.apply( elem, args || [] ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = elem.nodeType && + ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // Support: IE <=9 only + option: [ 1, "" ], + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +// Support: IE <=9 only +wrapMap.optgroup = wrapMap.option; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, attached, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + attached = isAttached( elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( attached ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; +} )(); + + +var + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 - 11+ +// focus() and blur() are asynchronous, except when they are no-op. +// So expect focus to be synchronous when the element is already active, +// and blur to be synchronous when the element is not already active. +// (focus and blur are always synchronous in other supported browsers, +// this just defines when we can count on it). +function expectSync( elem, type ) { + return ( elem === safeActiveElement() ) === ( type === "focus" ); +} + +// Support: IE <=9 only +// Accessing document.activeElement can throw unexpectedly +// https://bugs.jquery.com/ticket/13393 +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Don't attach events to noData or text/comment nodes (but allow plain objects) + if ( !elemData ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = {}; + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + // Make a writable jQuery.Event from the native event object + var event = jQuery.event.fix( nativeEvent ); + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + handlers = ( dataPriv.get( this, "events" ) || {} )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( !event.rnamespace || handleObj.namespace === false || + event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + + // Utilize native event to ensure correct state for checkable inputs + setup: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + // dataPriv.set( el, "click", ... ) + leverageNative( el, "click", returnTrue ); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + leverageNative( el, "click" ); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function( event ) { + var target = event.target; + return rcheckableType.test( target.type ) && + target.click && nodeName( target, "input" ) && + dataPriv.get( target, "click" ) || + nodeName( target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +// Ensure the presence of an event listener that handles manually-triggered +// synthetic events by interrupting progress until reinvoked in response to +// *native* events that it fires directly, ensuring that state changes have +// already occurred before other listeners are invoked. +function leverageNative( el, type, expectSync ) { + + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if ( !expectSync ) { + if ( dataPriv.get( el, type ) === undefined ) { + jQuery.event.add( el, type, returnTrue ); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set( el, type, false ); + jQuery.event.add( el, type, { + namespace: false, + handler: function( event ) { + var notAsync, result, + saved = dataPriv.get( this, type ); + + if ( ( event.isTrigger & 1 ) && this[ type ] ) { + + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if ( !saved.length ) { + + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call( arguments ); + dataPriv.set( this, type, saved ); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync( this, type ); + this[ type ](); + result = dataPriv.get( this, type ); + if ( saved !== result || notAsync ) { + dataPriv.set( this, type, false ); + } else { + result = {}; + } + if ( saved !== result ) { + + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + return result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if ( saved.length ) { + + // ...and capture the result + dataPriv.set( this, type, { + value: jQuery.event.trigger( + + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), + saved.slice( 1 ), + this + ) + } ); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + } + } ); +} + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + + which: function( event ) { + var button = event.button; + + // Add which for key events + if ( event.which == null && rkeyEvent.test( event.type ) ) { + return event.charCode != null ? event.charCode : event.keyCode; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) { + if ( button & 1 ) { + return 1; + } + + if ( button & 2 ) { + return 3; + } + + if ( button & 4 ) { + return 2; + } + + return 0; + } + + return event.which; + } +}, jQuery.event.addProp ); + +jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { + jQuery.event.special[ type ] = { + + // Utilize native event if possible so blur/focus sequence is correct + setup: function() { + + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative( this, type, expectSync ); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function() { + + // Force setup before trigger + leverageNative( this, type ); + + // Return non-false to allow normal event-path propagation + return true; + }, + + delegateType: delegateType + }; +} ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + /* eslint-disable max-len */ + + // See https://github.com/eslint/eslint/issues/3229 + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi, + + /* eslint-enable */ + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, pdataCur, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.access( src ); + pdataCur = dataPriv.set( dest, pdataOld ); + events = pdataOld.events; + + if ( events ) { + delete pdataCur.handle; + pdataCur.events = {}; + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = concat.apply( [], args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl && !node.noModule ) { + jQuery._evalUrl( node.src, { + nonce: node.nonce || node.getAttribute( "nonce" ) + } ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && isAttached( node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html.replace( rxhtmlTag, "<$1>" ); + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = isAttached( elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = "absolute"; + scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !isAttached( elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style, + vendorProps = {}; + +// Return a vendor-prefixed property or undefined +function vendorPropName( name ) { + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a potentially-mapped jQuery.cssProps or vendor prefixed property +function finalPropName( name ) { + var final = jQuery.cssProps[ name ] || vendorProps[ name ]; + + if ( final ) { + return final; + } + if ( name in emptyStyle ) { + return name; + } + return vendorProps[ name ] = vendorPropName( name ) || name; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }; + +function setPositiveNumber( elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ) ) || 0; + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox, + + val = curCSS( elem, dimension, styles ), + offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + // Support: IE 9-11 only + // Also use offsetWidth/offsetHeight for when box sizing is unreliable + // We use getClientRects() to check for hidden/disconnected. + // In those cases, the computed value can be trusted to be border-box + if ( ( !support.boxSizingReliable() && isBorderBox || + val === "auto" || + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && + elem.getClientRects().length ) { + + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if ( valueIsBorderBox ) { + val = elem[ offsetProp ]; + } + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if ( type === "number" && !isCustomProp ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = !support.scrollboxSize() && + styles.position === "absolute", + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra ? + boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ) : + 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && scrollboxSizeBuggy ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && ( + jQuery.cssHooks[ tween.prop ] || + tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue && type !== false ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( dataPriv.get( cur, "events" ) || {} )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + var doc = this.ownerDocument || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = Date.now(); + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) { + xml = undefined; + } + + if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + if ( a == null ) { + return ""; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ) + .filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ) + .map( function( i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() + " " ] = + ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) + .concat( match[ 2 ] ); + } + } + match = responseHeaders[ key.toLowerCase() + " " ]; + } + return match == null ? null : match.join( ", " ); + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce++ ) + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + + +jQuery._evalUrl = function( url, options ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + + // Only evaluate the response if it is successful (gh-4126) + // dataFilter is not invoked for failure responses, so using it instead + // of the default converter is kludgy but it works. + converters: { + "text script": function() {} + }, + dataFilter: function( response ) { + jQuery.globalEval( response, options ); + } + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain or forced-by-attrs requests + if ( s.crossDomain || s.scriptAttrs ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( " + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com package

+
+

Subpackages

+
+ +
+
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.appliance.html b/vsphere/7.0.0.1/com.vmware.appliance.html new file mode 100644 index 00000000..d18f850b --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.appliance.html @@ -0,0 +1,4688 @@ + + + + + + + + + + + com.vmware.appliance package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.appliance package

+ +
+

Submodules

+
+
+

com.vmware.appliance.access_client module

+

The com.vmware.appliance.access_client module provides classes for managing +access to the appliance. The module is available starting in vSphere 6.5.

+
+
+class com.vmware.appliance.access_client.Consolecli(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Consolecli class provides methods Get/Set enabled state of CLI.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+get()
+

Get enabled state of the console-based controlled CLI (TTY1).

+
+
Return type
+

bool

+
+
Returns
+

Console-based controlled CLI is enabled.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+set(enabled)
+

Set enabled state of the console-based controlled CLI (TTY1).

+
+
Parameters
+

enabled (bool) – Console-based controlled CLI is enabled.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance.access_client.Dcui(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Dcui class provides methods Get/Set enabled state of DCUI.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+get()
+

Get enabled state of Direct Console User Interface (DCUI TTY2).

+
+
Return type
+

bool

+
+
Returns
+

DCUI is enabled.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+set(enabled)
+

Set enabled state of Direct Console User Interface (DCUI TTY2).

+
+
Parameters
+

enabled (bool) – DCUI is enabled.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance.access_client.Shell(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Shell class provides methods Get/Set enabled state of BASH.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class ShellConfig(enabled=None, timeout=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Shell.ShellConfig class Structure that defines shell configuration.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • enabled (bool) – Enabled can be set to true or false

  • +
  • timeout (long) – The timeout (in seconds) specifies how long you enable the Shell +access. The maximum timeout is 86400 seconds(1 day).

  • +
+
+
+
+ +
+
+get()
+

Get enabled state of BASH, that is, access to BASH from within the +controlled CLI.

+
+
Return type
+

Shell.ShellConfig

+
+
Returns
+

Current shell configuration.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+set(config)
+

Set enabled state of BASH, that is, access to BASH from within the +controlled CLI.

+
+
Parameters
+

config (Shell.ShellConfig) – Shell configuration

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance.access_client.Ssh(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Ssh class provides methods Get/Set enabled state of SSH-based +controlled CLI.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+get()
+

Get enabled state of the SSH-based controlled CLI.

+
+
Return type
+

bool

+
+
Returns
+

SSH-based controlled CLI is enabled.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+set(enabled)
+

Set enabled state of the SSH-based controlled CLI.

+
+
Parameters
+

enabled (bool) – SSH-based controlled CLI is enabled.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance.access_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.appliance.health_client module

+

The com.vmware.appliance.health_client module provides classes for +reporting the health of the various subsystems of the the appliance. The module +is available starting in vSphere 6.5.

+
+
+class com.vmware.appliance.health_client.Applmgmt(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Applmgmt class provides methods Get health status of applmgmt services.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+get()
+

Get health status of applmgmt services.

+
+
Return type
+

str

+
+
Returns
+

health status

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance.health_client.Databasestorage(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Databasestorage class provides methods Get database storage health.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class HealthLevel(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Databasestorage.HealthLevel class Defines service health levels.

+
+

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 the HealthLevel instance.

+
+
+
+
+gray = HealthLevel(string='gray')
+

No health data is available for this service.

+
+ +
+
+green = HealthLevel(string='green')
+

The service is healthy.

+
+ +
+
+orange = HealthLevel(string='orange')
+

The service health is degraded. The service might have serious problems.

+
+ +
+
+red = HealthLevel(string='red')
+

The service is unavaiable, not functioning properly, or will stop +functioning soon.

+
+ +
+
+yellow = HealthLevel(string='yellow')
+

The service is healthy but experiencing some problems.

+
+ +
+ +
+
+get()
+

Get database storage health.

+
+
Return type
+

Databasestorage.HealthLevel

+
+
Returns
+

Database storage health

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance.health_client.Load(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Load class provides methods Get load health.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class HealthLevel(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Load.HealthLevel class Defines health levels.

+
+

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 the HealthLevel instance.

+
+
+
+
+gray = HealthLevel(string='gray')
+

No health data is available for this service.

+
+ +
+
+green = HealthLevel(string='green')
+

Service is healthy.

+
+ +
+
+orange = HealthLevel(string='orange')
+

The service health is degraded. The service might have serious problems.

+
+ +
+
+red = HealthLevel(string='red')
+

The service is unavaiable, not functioning properly, or will stop +functioning soon.

+
+ +
+
+yellow = HealthLevel(string='yellow')
+

The service is healthy state, but experiencing some levels of problems.

+
+ +
+ +
+
+get()
+

Get load health.

+
+
Return type
+

Load.HealthLevel

+
+
Returns
+

Load health.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance.health_client.Mem(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Mem class provides methods Get memory health.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class HealthLevel(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Mem.HealthLevel class Defines health levels.

+
+

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 the HealthLevel instance.

+
+
+
+
+gray = HealthLevel(string='gray')
+

No health data is available for this service.

+
+ +
+
+green = HealthLevel(string='green')
+

Service is healthy.

+
+ +
+
+orange = HealthLevel(string='orange')
+

The service health is degraded. The service might have serious problems

+
+ +
+
+red = HealthLevel(string='red')
+

The service is unavaiable, not functioning properly, or will stop +functioning soon.

+
+ +
+
+yellow = HealthLevel(string='yellow')
+

The service is healthy state, but experiencing some levels of problems.

+
+ +
+ +
+
+get()
+

Get memory health.

+
+
Return type
+

Mem.HealthLevel

+
+
Returns
+

Memory health.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance.health_client.Softwarepackages(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Softwarepackages class provides methods Get information on available +software updates available in remote VUM repository.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class HealthLevel(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Softwarepackages.HealthLevel class Defines health levels.

+
+

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 the HealthLevel instance.

+
+
+
+
+gray = HealthLevel(string='gray')
+

No health data is available for this service.

+
+ +
+
+green = HealthLevel(string='green')
+

Service is healthy.

+
+ +
+
+orange = HealthLevel(string='orange')
+

The service health is degraded. The service might have serious problems.

+
+ +
+
+red = HealthLevel(string='red')
+

The service is unavaiable, not functioning properly, or will stop +functioning soon.

+
+ +
+
+yellow = HealthLevel(string='yellow')
+

The service is healthy state, but experiencing some levels of problems.

+
+ +
+ +
+
+get()
+

Get information on available software updates available in the remote +vSphere Update Manager repository. Red indicates that security updates +are available. Orange indicates that non-security updates are +available. Green indicates that there are no updates available. Gray +indicates that there was an error retreiving information on software +updates.

+
+
Return type
+

Softwarepackages.HealthLevel

+
+
Returns
+

software updates available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance.health_client.Storage(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Storage class provides methods Get storage health.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class HealthLevel(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Storage.HealthLevel class Defines health levels.

+
+

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 the HealthLevel instance.

+
+
+
+
+gray = HealthLevel(string='gray')
+

No health data is available for this service.

+
+ +
+
+green = HealthLevel(string='green')
+

Service is healthy.

+
+ +
+
+orange = HealthLevel(string='orange')
+

The service health is degraded. The service might have serious problems.

+
+ +
+
+red = HealthLevel(string='red')
+

The service is unavaiable, not functioning properly, or will stop +functioning soon.

+
+ +
+
+yellow = HealthLevel(string='yellow')
+

The service is healthy state, but experiencing some levels of problems.

+
+ +
+ +
+
+get()
+

Get storage health.

+
+
Return type
+

Storage.HealthLevel

+
+
Returns
+

Storage health.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance.health_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.appliance.health_client.Swap(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Swap class provides methods Get swap health.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class HealthLevel(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Swap.HealthLevel class Defines health levels.

+
+

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 the HealthLevel instance.

+
+
+
+
+gray = HealthLevel(string='gray')
+

No health data is available for this service.

+
+ +
+
+green = HealthLevel(string='green')
+

Service is healthy.

+
+ +
+
+orange = HealthLevel(string='orange')
+

The service health is degraded. The service might have serious problems.

+
+ +
+
+red = HealthLevel(string='red')
+

The service is unavaiable, not functioning properly, or will stop +functioning soon.

+
+ +
+
+yellow = HealthLevel(string='yellow')
+

The service is healthy state, but experiencing some levels of problems.

+
+ +
+ +
+
+get()
+

Get swap health.

+
+
Return type
+

Swap.HealthLevel

+
+
Returns
+

Swap health

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance.health_client.System(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

System class provides methods Get overall health of the system.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class HealthLevel(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

System.HealthLevel class Defines health levels.

+
+

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 the HealthLevel instance.

+
+
+
+
+gray = HealthLevel(string='gray')
+

No health data is available for this service.

+
+ +
+
+green = HealthLevel(string='green')
+

Service is healthy.

+
+ +
+
+orange = HealthLevel(string='orange')
+

The service health is degraded. The service might have serious problems.

+
+ +
+
+red = HealthLevel(string='red')
+

The service is unavaiable, not functioning properly, or will stop +functioning soon.

+
+ +
+
+yellow = HealthLevel(string='yellow')
+

The service is healthy state, but experiencing some levels of problems.

+
+ +
+ +
+
+get()
+

Get overall health of system.

+
+
Return type
+

System.HealthLevel

+
+
Returns
+

System health

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+lastcheck()
+

Get last check timestamp of the health of the system.

+
+
Return type
+

datetime.datetime

+
+
Returns
+

System health last check timestamp

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+

com.vmware.appliance.infraprofile_client module

+

The com.vmware.appliance.infraprofile_client module provides classes to +manage profile spec for the appliance

+
+
+class com.vmware.appliance.infraprofile_client.Configs(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Configs class provides methods to manage desired configuration +specification of an appliance.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class ImportProfileSpec(config_spec=None, profile_spec=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Configs.ImportProfileSpec class represents a spec information for +import and validate.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • config_spec (str) – The JSON string representing the desired config specification.

  • +
  • profile_spec (Configs.ProfilesSpec or None) – The profile specification, if any +only set if there is a profilespec avaliable for this +import profilespec.

  • +
+
+
+
+ +
+
+class ProfileInfo(name=None, info=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Configs.ProfileInfo class defines the information about profile.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Name of the profile which is also a profile identifier. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.infraprofile.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.infraprofile.profile.

  • +
  • info (str) – Description of the profile.

  • +
+
+
+
+ +
+
+class ProfilesSpec(encryption_key=None, description=None, profiles=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Configs.ProfilesSpec class represents a spec information for export +operation.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • encryption_key (str or None) – Encryption Key to encrypt/decrypt profiles. +If None encryption will not be used for the profile.

  • +
  • description (str or None) – Custom description provided by the user. +If None description will be empty.

  • +
  • profiles (set of str or None) – Profiles to be exported/imported. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.infraprofile.profile. When methods return a value of +this class as a return value, the attribute will contain +identifiers for the resource type: +com.vmware.infraprofile.profile. +If None or empty, all profiles will be returned.

  • +
+
+
+
+ +
+
+class ValidationResult(status=None, notifications=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Configs.ValidationResult class contains attributes to describe +result of validation of profile specification.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • status (Configs.ValidationStatus) – Status of the Profile spec.

  • +
  • notifications (Notifications or None) – Notifications to the user +Only set if the notifications were reported by this +particular validation.

  • +
+
+
+
+ +
+
+class ValidationStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Configs.ValidationStatus class defines possible values of status of +profile spec.

+
+

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 the ValidationStatus instance.

+
+
+
+
+INVALID = ValidationStatus(string='INVALID')
+

Profile spec is invalid.

+
+ +
+
+VALID = ValidationStatus(string='VALID')
+

Profile spec is valid.

+
+ +
+ +
+
+export(spec=None)
+

Exports the desired profile specification.

+
+
Parameters
+

spec (Configs.ProfilesSpec or None) – information to export the profile.

+
+
Return type
+

str

+
+
Returns
+

Configuration specification JSON in string format.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no profile associated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
+
+ +
+
+import_profile_task(spec)
+

Imports the desired profile specification.

+
+
Parameters
+

spec (Configs.ImportProfileSpec) – information to import the profile.

+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no profile associated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +If there is another operation in progress.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
+
+ +
+
+list()
+

List all the profiles which are registered.

+
+
Return type
+

list of Configs.ProfileInfo

+
+
Returns
+

List of profiles with description are registered.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
+
+ +
+
+validate_task(spec)
+

Validates the desired profile specification.

+
+
Parameters
+

spec (Configs.ImportProfileSpec) – information to validate the profile.

+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no profile associated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
+
+ +
+ +
+
+class com.vmware.appliance.infraprofile_client.Notification(notification=None, time=None, message=None, resolution=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Notification class contains attributes to describe any +info/warning/error messages that Tasks can raise.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • notification (str) – The notification id. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.infraprofile.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.infraprofile.notification.

  • +
  • time (datetime.datetime or None) – The time the notification was raised/found. +Only set if the time information is available.

  • +
  • message (com.vmware.vapi.std_client.LocalizableMessage) – The notification message.

  • +
  • resolution (com.vmware.vapi.std_client.LocalizableMessage or None) – The resolution message, if any. +Only set for warnings and errors.

  • +
+
+
+
+ +
+
+class com.vmware.appliance.infraprofile_client.Notifications(info=None, warnings=None, errors=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Notifications class contains info/warning/error messages that can +be reported be the task.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • info (list of Notification or None) – Info notification messages reported. +Only set if an info was reported by the task.

  • +
  • warnings (list of Notification or None) – Warning notification messages reported. +Only set if an warning was reported by the task.

  • +
  • errors (list of Notification or None) – Error notification messages reported. +Only set if an error was reported by the task.

  • +
+
+
+
+ +
+
+class com.vmware.appliance.infraprofile_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.appliance.infraprofile_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.VapiStruct

+
+

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. +This attribute is optional and it is only relevant when the value +of #status is one of +com.vmware.cis.task_client.Status.RUNNING, +com.vmware.cis.task_client.Status.BLOCKED, +com.vmware.cis.task_client.Status.SUCCEEDED, or +com.vmware.cis.task_client.Status.FAILED.

  • +
  • notifications (Notifications or None) – Notifications to the user +Only set if the notifications were reported by this +particular task.

  • +
  • result (DataValue or None) – Task result. +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 (str or None) – 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.DynamicID or None) – 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 (Exception or None) – 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 (see +com.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 +of status is one of +com.vmware.cis.task_client.Status.RUNNING, +com.vmware.cis.task_client.Status.BLOCKED, +com.vmware.cis.task_client.Status.SUCCEEDED, or +com.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 +of status is one of +com.vmware.cis.task_client.Status.SUCCEEDED or +com.vmware.cis.task_client.Status.FAILED.

  • +
  • user (str or None) – Name of the user who performed the operation. +This attribute will be None if the operation is performed by the +system.

  • +
+
+
+
+ +
+
+

com.vmware.appliance.local_accounts_client module

+
+
+class com.vmware.appliance.local_accounts_client.Policy(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Policy class provides methods to manage local user accounts. This +class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(max_days=None, min_days=None, warn_days=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Policy.Info class defines the global password policy. This class +was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • max_days (long or None) – Maximum number of days a password may be used. If the password is +older than this, a password change will be forced. This attribute +was added in vSphere API 6.7. +If None then the restriction will be ignored.

  • +
  • min_days (long or None) – Minimum number of days allowed between password changes. Any +password changes attempted sooner than this will be rejected. This +attribute was added in vSphere API 6.7. +If None then the restriction will be ignored.

  • +
  • warn_days (long or None) – Number of days warning given before a password expires. A zero +means warning is given only upon the day of expiration. This +attribute was added in vSphere API 6.7. +If None then no warning will be provided.

  • +
+
+
+
+ +
+
+get()
+

Get the global password policy. This method was added in vSphere API +6.7.

+
+
Return type
+

Policy.Info

+
+
Returns
+

Global password policy

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+set(policy)
+

Set the global password policy. This method was added in vSphere API +6.7.

+
+
Parameters
+

policy (Policy.Info) – Global password policy

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if passed policy values are < -1 or > 99999

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance.local_accounts_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.appliance.localaccounts_client module

+

The com.vmware.appliancelocalaccounts module provides classes for managing +local (OS) accounts in the appliance. The module is available starting in +vSphere 6.5.

+
+
+class com.vmware.appliance.localaccounts_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.appliance.logging_client module

+

The com.vmware.appliance.logging_client module provides classes for +managing log forwarding in the appliance. The module is available starting in +vSphere 6.5.

+
+
+class com.vmware.appliance.logging_client.Forwarding(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Forwarding class provides methods to manage forwarding of log +messages to remote logging servers. This class was added in vSphere API +6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Config(hostname=None, port=None, protocol=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Forwarding.Config class defines the configuration for log message +forwarding to remote logging servers. This class was added in vSphere API +6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • hostname (str) – FQDN or IP address of the logging server to which messages are +forwarded. This attribute was added in vSphere API 6.7.

  • +
  • port (long) – The port on which the remote logging server is listening for +forwarded log messages. This attribute was added in vSphere API +6.7.

  • +
  • protocol (Forwarding.Protocol) – Transport protocol used to forward log messages. This attribute was +added in vSphere API 6.7.

  • +
+
+
+
+ +
+
+class ConnectionStatus(hostname=None, state=None, message=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • hostname (str) – FQDN or IP address of the configured remote logging servers. This +attribute was added in vSphere API 6.7.

  • +
  • state (Forwarding.ConnectionStatus.State) – State of the configured remote logging server. This attribute was +added in vSphere API 6.7.

  • +
  • message (com.vmware.vapi.std_client.LocalizableMessage or None) – Message associated with the state of the configured remote logging +server. This attribute was added in vSphere API 6.7. +If None, there is no message to be shown.

  • +
+
+
+
+
+class State(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Forwarding.ConnectionStatus.State class defines the state values +that a remote logging server can be in. This enumeration was added in +vSphere API 6.7.

+
+

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 the State instance.

+
+
+
+
+DOWN = State(string='DOWN')
+

The remote logging server is not reachable. This class attribute was added +in vSphere API 6.7.

+
+ +
+
+UNKNOWN = State(string='UNKNOWN')
+

The status of remote logging server is unknown. This class attribute was +added in vSphere API 6.7.

+
+ +
+
+UP = State(string='UP')
+

The remote logging server is reachable. This class attribute was added in +vSphere API 6.7.

+
+ +
+ +
+ +
+
+class Protocol(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Forwarding.Protocol class defines transport protocols for outbound +log messages. This enumeration was added in vSphere API 6.7.

+
+

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 the Protocol instance.

+
+
+
+
+TCP = Protocol(string='TCP')
+

Log messages will be forwarded to the remote host using the TCP protocol. +This class attribute was added in vSphere API 6.7.

+
+ +
+
+TLS = Protocol(string='TLS')
+

Log messages will be forwarded to the remote host by using the TLS +protocol. This class attribute was added in vSphere API 6.7.

+
+ +
+
+UDP = Protocol(string='UDP')
+

Log messages will be forwarded to the remote host using the UDP protocol. +This class attribute was added in vSphere API 6.7.

+
+ +
+ +
+
+get()
+

Returns the configuration for forwarding log messages to remote logging +servers. This method was added in vSphere API 6.7.

+
+
Return type
+

list of Forwarding.Config

+
+
Returns
+

Information about the configuration for forwarding log messages to +remote logging servers.

+
+
+
+ +
+
+set(cfg_list)
+

Sets the configuration for forwarding log messages to remote log +servers. This method was added in vSphere API 6.7.

+
+
Parameters
+

cfg_list (list of Forwarding.Config) – The cfgList is a list of Config structure that contains the log +message forwarding rules in terms of the host, port, protocol of +the log message.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if an invalid configuration is provided.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if the number of configurations exceeds the maximum number of +supported configurations.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is any internal error during the execution of the +operation.

+
+
+
+ +
+
+test(send_test_message=None)
+

Validates the current log forwarding configuration by checking the +liveness of the remote machine and optionally sending a test diagnostic +log message from the appliance to all configured logging servers to +allow manual end-to-end validation. The message that is sent is: “This +is a diagnostic log test message from vCenter Server.”. This method was +added in vSphere API 6.7.

+
+
Parameters
+

send_test_message (bool or None) – Flag specifying whether a default test message should be sent to +the configured logging servers. +If None, no test message will be sent to the configured remote +logging servers.

+
+
Return type
+

list of Forwarding.ConnectionStatus

+
+
Returns
+

Information about the status of the connection to each of the +remote logging servers.

+
+
+
+ +
+ +
+
+class com.vmware.appliance.logging_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.appliance.monitoring_client module

+

The com.vmware.appliance.monitoring_client module provides classes for +monitoring of the appliance. The module is available starting in vSphere 6.5.

+
+
+class com.vmware.appliance.monitoring_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.appliance.networking_client module

+

The com.vmware.appliance.networking_client module provides classes for +managing network configuration of the appliance. The module is available +starting in vSphere 6.5.

+
+
+class com.vmware.appliance.networking_client.Interfaces(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Interfaces class provides methods Provides information about network +interface.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class InterfaceInfo(name=None, status=None, mac=None, ipv4=None, ipv6=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Interfaces.InterfaceInfo class Structure that defines properties and +status of a network interface.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class InterfaceStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Interfaces.InterfaceStatus class Defines interface status

+
+

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 the InterfaceStatus instance.

+
+
+
+
+down = InterfaceStatus(string='down')
+

The interface is down.

+
+ +
+
+up = InterfaceStatus(string='up')
+

The interface is up.

+
+ +
+ +
+
+get(interface_name)
+

Get information about a particular network interface.

+
+
Parameters
+

interface_name (str) – Network interface, for example, “nic0”. +The parameter must be an identifier for the resource type: +com.vmware.appliance.networking.interfaces.

+
+
Return type
+

Interfaces.InterfaceInfo

+
+
Returns
+

Network interface information.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the specified interface is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+list()
+

Get list of available network interfaces, including those that are not +yet configured.

+
+
Return type
+

list of Interfaces.InterfaceInfo

+
+
Returns
+

List of InterfaceInfo structures.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance.networking_client.NoProxy(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The NoProxy class provides methods to configure a connection that does +not need a proxy. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+get()
+

Returns servers for which no proxy configuration will be applied. This +method was added in vSphere API 6.7.

+
+
Return type
+

list of str

+
+
Returns
+

List of servers for which no proxy configuration will be applied.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error.

+
+
+
+ +
+
+set(servers)
+

Sets servers for which no proxy configuration should be applied. This +operation sets environment variables. In order for this operation to +take effect, a logout from appliance or a service restart is required. +If IPv4 is enabled, “127.0.0.1” and “localhost” will always bypass the +proxy (even if they are not explicitly configured). This method was +added in vSphere API 6.7.

+
+
Parameters
+

servers (list of str) – List of strings representing servers to bypass proxy. A server can +be a FQDN, IP address, FQDN:port or IP:port combinations.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error.

+
+
+
+ +
+ +
+
+class com.vmware.appliance.networking_client.Proxy(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Proxy class provides methods Proxy configuration. This class was +added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Config(server=None, port=None, username=None, password=None, enabled=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Proxy.Config class defines proxy configuration. This class was +added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • server (str) – URL of the proxy server. This attribute was added in vSphere API +6.7.

  • +
  • port (long) – Port to connect to the proxy server. In a ‘get’ call, indicates the +port connected to the proxy server. In a ‘set’ call, specifies the +port to connect to the proxy server. A value of -1 indicates the +default port. This attribute was added in vSphere API 6.7.

  • +
  • username (str or None) – Username for proxy server. This attribute was added in vSphere API +6.7. +Only set if proxy requires username.

  • +
  • password (str or None) – Password for proxy server. This attribute was added in vSphere API +6.7. +Only set if proxy requires password.

  • +
  • enabled (bool) – In the result of the #get and #list methods this attribute +indicates whether proxying is enabled for a particular protocol. In +the input to the test and set methods this attribute +specifies whether proxying should be enabled for a particular +protocol. This attribute was added in vSphere API 6.7.

  • +
+
+
+
+ +
+
+class Protocol(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Proxy.Protocol class defines the protocols for which proxying is +supported. This enumeration was added in vSphere API 6.7.

+
+

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 the Protocol instance.

+
+
+
+
+FTP = Protocol(string='FTP')
+

Proxy configuration for ftp. This class attribute was added in vSphere API +6.7.

+
+ +
+
+HTTP = Protocol(string='HTTP')
+

Proxy configuration for http. This class attribute was added in vSphere API +6.7.

+
+ +
+
+HTTPS = Protocol(string='HTTPS')
+

Proxy configuration for https. This class attribute was added in vSphere +API 6.7.

+
+ +
+ +
+
+class ServerStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Proxy.ServerStatus class defines the status of the server associated +with the test run. This enumeration was added in vSphere API 6.7.

+
+

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 the ServerStatus instance.

+
+
+
+
+SERVER_REACHABLE = ServerStatus(string='SERVER_REACHABLE')
+

Server is reachable. This class attribute was added in vSphere API 6.7.

+
+ +
+
+SERVER_UNREACHABLE = ServerStatus(string='SERVER_UNREACHABLE')
+

Server is unreachable. This class attribute was added in vSphere API 6.7.

+
+ +
+ +
+
+class TestResult(status=None, message=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Proxy.TestResult class contains information about the test +operation done on a proxy server. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+delete(protocol)
+

Deletes a proxy configuration for a specific protocol. This method was +added in vSphere API 6.7.

+
+
Parameters
+

protocol (str) – ID whose proxy is to be deleted.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error.

+
+
+
+ +
+
+get(protocol)
+

Gets the proxy configuration for a specific protocol. This method was +added in vSphere API 6.7.

+
+
Parameters
+

protocol (str) – The protocol whose proxy configuration is requested.

+
+
Return type
+

Proxy.Config

+
+
Returns
+

Proxy configuration for a specific protocol.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error.

+
+
+
+ +
+
+list()
+

Gets proxy configuration for all configured protocols. This method was +added in vSphere API 6.7.

+
+
Return type
+

dict of Proxy.Protocol and Proxy.Config

+
+
Returns
+

Proxy configuration for all configured protocols.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error.

+
+
+
+ +
+
+set(protocol, config)
+

Configures which proxy server to use for the specified protocol. This +operation sets environment variables for using proxy. In order for this +configuration to take effect a logout / service restart is required. +This method was added in vSphere API 6.7.

+
+
Parameters
+
    +
  • protocol (str) – The protocol for which proxy should be set.

  • +
  • config (Proxy.Config) – Proxy configuration for the specific protocol.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error.

+
+
+
+ +
+
+test(host, protocol, config)
+

Tests a proxy configuration by testing the connection to the proxy +server and test host. This method was added in vSphere API 6.7.

+
+
Parameters
+
    +
  • host (str) – A hostname, IPv4 or Ipv6 address.

  • +
  • protocol (str) – Protocol whose proxy is to be tested.

  • +
  • config (Proxy.Config) – Proxy configuration to test.

  • +
+
+
Return type
+

Proxy.TestResult

+
+
Returns
+

Status of proxy settings.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error.

+
+
+
+ +
+ +
+
+class com.vmware.appliance.networking_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.appliance.ntp_client module

+

The com.vmware.appliance.ntp_client module provides classes for managing +NTP settings of the appliance. The module is available starting in vSphere 6.5.

+
+
+class com.vmware.appliance.ntp_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.appliance.recovery_client module

+

The com.vmware.appliance.recovery_client module provides classes for backin +up and restoring vCenter Appliance configuration. The module is available +starting in vSphere 6.7.

+
+
+class com.vmware.appliance.recovery_client.Backup(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Backup class provides methods Performs backup restore operations

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class BackupRequest(parts=None, backup_password=None, location_type=None, location=None, location_user=None, location_password=None, comment=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Backup.BackupRequest class Structure representing requested backup +piece

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • parts (list of str) – a list of optional parts. Run backup parts APIs to get list of +optional parts and description

  • +
  • backup_password (str or None) – a password for a backup piece The backupPassword must adhere to the +following password requirements: At least 8 characters, cannot be +more than 20 characters in length. At least 1 uppercase letter. At +least 1 lowercase letter. At least 1 numeric digit. At least 1 +special character (i.e. any character not in [0-9,a-z,A-Z]). Only +visible ASCII characters (for example, no space). +backupPassword If no password then the piece will not be encrypted

  • +
  • location_type (Backup.LocationType) – a type of location

  • +
  • location (str) – path or url

  • +
  • location_user (str or None) – username for location +locationUser User name for this location if login is required.

  • +
  • location_password (str or None) – password for location +locationPassword Password for the specified user if login is +required at this location.

  • +
  • comment (str or None) – Custom comment +comment an optional comment

  • +
+
+
+
+ +
+
+class LocalizableMessage(id=None, default_message=None, args=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Backup.LocalizableMessage class Structure representing message

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) – id in message bundle

  • +
  • default_message (str) – text in english

  • +
  • args (list of str) – nested data

  • +
+
+
+
+ +
+
+class LocationType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Backup.LocationType class Defines type of all locations for +backup/restore

+
+

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 the LocationType instance.

+
+
+
+
+FTP = LocationType(string='FTP')
+

Destination is FTP server

+
+ +
+
+FTPS = LocationType(string='FTPS')
+

Destination is FTPS server

+
+ +
+
+HTTP = LocationType(string='HTTP')
+

Destination is HTTP server

+
+ +
+
+HTTPS = LocationType(string='HTTPS')
+

Destination is HTTPS server

+
+ +
+
+NFS = LocationType(string='NFS')
+

Destination is NFS server. This class attribute was added in vSphere API +6.7.2.

+
+ +
+
+SCP = LocationType(string='SCP')
+

Destination is SSH server

+
+ +
+
+SFTP = LocationType(string='SFTP')
+

Destination is SFTP server

+
+ +
+
+SMB = LocationType(string='SMB')
+

Destination is SMB server. This class attribute was added in vSphere API +6.7.2.

+
+ +
+ +
+
+class ReturnResult(status=None, messages=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Backup.ReturnResult class Structure representing precheck result

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class ReturnStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Backup.ReturnStatus class Defines the state of precheck

+
+

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 the ReturnStatus instance.

+
+
+
+
+FAIL = ReturnStatus(string='FAIL')
+

Check failed

+
+ +
+
+OK = ReturnStatus(string='OK')
+

Check passed

+
+ +
+
+WARNING = ReturnStatus(string='WARNING')
+

Passed with warnings

+
+ +
+ +
+
+validate(piece)
+

Check for backup errors without starting backup.

+
+
Parameters
+

piece (Backup.BackupRequest) – BackupRequest Structure

+
+
Return type
+

Backup.ReturnResult

+
+
Returns
+

ReturnResult Structure

+
+
Raise
+

com.vmware.vapi.std.errors_client.FeatureInUse +A backup or restore is already in progress

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance.recovery_client.Restore(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Restore class provides methods Performs restore operations

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class LocalizableMessage(id=None, default_message=None, args=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Restore.LocalizableMessage class Structure representing message

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) – id in message bundle

  • +
  • default_message (str) – text in english

  • +
  • args (list of str) – nested data

  • +
+
+
+
+ +
+
+class LocationType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Restore.LocationType class Defines type of all locations for +backup/restore

+
+

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 the LocationType instance.

+
+
+
+
+FTP = LocationType(string='FTP')
+

Destination is FTP server

+
+ +
+
+FTPS = LocationType(string='FTPS')
+

Destination is FTPS server

+
+ +
+
+HTTP = LocationType(string='HTTP')
+

Destination is HTTP server

+
+ +
+
+HTTPS = LocationType(string='HTTPS')
+

Destination is HTTPS server

+
+ +
+
+NFS = LocationType(string='NFS')
+

Destination is NFS server. This class attribute was added in vSphere API +6.7.2.

+
+ +
+
+SCP = LocationType(string='SCP')
+

Destination is SSH server

+
+ +
+
+SFTP = LocationType(string='SFTP')
+

Destination is SFTP server

+
+ +
+
+SMB = LocationType(string='SMB')
+

Destination is SMB server. This class attribute was added in vSphere API +6.7.2.

+
+ +
+ +
+
+class Metadata(timestamp=None, parts=None, version=None, boxname=None, sso_login_required=None, comment=None, applicable=None, messages=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Restore.Metadata class Structure representing metadata

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • timestamp (datetime.datetime) – Time when this backup was completed.

  • +
  • parts (list of str) – List of parts included in the backup.

  • +
  • version (str) – VCSA version

  • +
  • boxname (str) – Box name is PNID/ FQDN etc

  • +
  • sso_login_required (bool) – Is SSO login required for the vCenter server. This attribute was +added in vSphere API 6.7. +This attribute is optional because it was added in a newer version +than its parent node.

  • +
  • comment (str) – Custom comment

  • +
  • applicable (bool) – Does the VCSA match the deployment type, network properties and +version of backed up VC

  • +
  • messages (list of Restore.LocalizableMessage) – Any messages if the backup is not aplicable

  • +
+
+
+
+ +
+
+class RestoreRequest(backup_password=None, location_type=None, location=None, location_user=None, location_password=None, sso_admin_user_name=None, sso_admin_user_password=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Restore.RestoreRequest class Structure representing requested restore +piece

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • backup_password (str or None) – a password for a backup piece +backupPassword If no password then the piece will not be decrypted

  • +
  • location_type (Restore.LocationType) – a type of location

  • +
  • location (str) – path or url

  • +
  • location_user (str or None) – username for location +locationUser User name for this location if login is required.

  • +
  • location_password (str or None) – password for location +locationPassword Password for the specified user if login is +required at this location.

  • +
  • sso_admin_user_name (str or None) – Administrators username for SSO. This attribute was added in +vSphere API 6.7. +If None SSO authentication will not be used. If the vCenter Server +is a management node or an embedded node, authentication is +required.

  • +
  • sso_admin_user_password (str or None) – The password for SSO admin user. This attribute was added in +vSphere API 6.7. +If None SSO authentication will not be used. If the vCenter Server +is a management node or an embedded node, authentication is +required.

  • +
+
+
+
+ +
+
+validate(piece)
+

Get metadata before restore

+
+
Parameters
+

piece (Restore.RestoreRequest) – RestoreRequest Structure

+
+
Return type
+

Restore.Metadata

+
+
Returns
+

Metadata Structure

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance.recovery_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.appliance.shutdown_client module

+

The com.vmware.appliance.shutdown_client module provides classes to +shutdown and reboot the appliance. The module is available starting in vSphere +6.5.

+
+
+class com.vmware.appliance.shutdown_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.appliance.system_client module

+

The com.vmware.appliance.system_client module provides classes to query the +appliance system information. The module is available starting in vSphere 6.5.

+
+
+class com.vmware.appliance.system_client.Storage(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Storage class provides methods Appliance storage configuration

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class StorageChange(old_size=None, new_size=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Storage.StorageChange class describes the changes in capasity of a +storage partition. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • old_size (long) – Original size of the partition in MB. This attribute was added in +vSphere API 6.7.

  • +
  • new_size (long) – Nedw size of the partition in MB. This attribute was added in +vSphere API 6.7.

  • +
+
+
+
+ +
+
+class StorageMapping(disk=None, partition=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Storage.StorageMapping class describes the mapping between VCSA +partitions and the Hard disk numbers visible in the vSphere Web Client.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • disk (str) – The disk number in the vSphere Web Client. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.appliance.system.storage. 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.system.storage.

  • +
  • partition (str) – Storage partition name.

  • +
  • description (com.vmware.vapi.std_client.LocalizableMessage) – Description of partition. This attribute was added in vSphere API +6.7. +This attribute is optional because it was added in a newer version +than its parent node.

  • +
+
+
+
+ +
+
+list()
+

Get disk to partition mapping.

+
+
Return type
+

list of Storage.StorageMapping

+
+
Returns
+

list of mapping items

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+resize()
+

Resize all partitions to 100 percent of disk size.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+resize_ex()
+

Resize all partitions to 100 percent of disk size. This method was +added in vSphere API 6.7.

+
+
Return type
+

dict of str and Storage.StorageChange

+
+
Returns
+

List of the partitions with the size before and after resizing

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance.system_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.appliance.system_client.Time(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Time class provides methods Gets system time.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class SystemTimeStruct(seconds_since_epoch=None, date=None, time=None, timezone=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Time.SystemTimeStruct class Structure representing the system time.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • seconds_since_epoch (float) – seconds since the epoch

  • +
  • date (str) – date format: Thu 07-31-2014

  • +
  • time (str) – time format: 18:18:32

  • +
  • timezone (str) – timezone

  • +
+
+
+
+ +
+
+get()
+

Get system time.

+
+
Return type
+

Time.SystemTimeStruct

+
+
Returns
+

System time

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance.system_client.Uptime(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Uptime class provides methods Get the system uptime.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+get()
+

Get the system uptime.

+
+
Return type
+

float

+
+
Returns
+

system uptime

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance.system_client.Version(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Version class provides methods Get the appliance version.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class VersionStruct(version=None, product=None, build=None, type=None, summary=None, releasedate=None, install_time=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Version.VersionStruct class Structure representing appliance version +information.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • version (str) – Appliance version.

  • +
  • product (str) – Appliance name.

  • +
  • build (str) – Appliance build number.

  • +
  • type (str) – Type of product. Same product can have different deployment +options, which is represented by type.

  • +
  • summary (str) – Summary of patch (empty string, if the appliance has not been +patched)

  • +
  • releasedate (str) – Release date of patch (empty string, if the appliance has not been +patched)

  • +
  • install_time (str) – Display the date and time when this system was first installed. +Value will not change on subsequent updates.

  • +
+
+
+
+ +
+
+get()
+

Get the version.

+
+
Return type
+

Version.VersionStruct

+
+
Returns
+

version information about the appliance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+

com.vmware.appliance.tymesync_client module

+

The com.vmware.appliance.tymesync_client module provides classes for +managing tyme synchronization settings of the appliance. The module is +available starting in vSphere 6.5.

+
+
+class com.vmware.appliance.tymesync_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.appliance.update_client module

+

The com.vmware.appliance.update_client module provides classes for updating +the software in the appliance. The module is available starting in vSphere 6.5.

+
+
+class com.vmware.appliance.update_client.CommonInfo(description=None, priority=None, severity=None, update_type=None, release_date=None, reboot_required=None, size=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CommonInfo class defines common update information. This class was +added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • description (com.vmware.vapi.std_client.LocalizableMessage) – Description of the update. The short information what this update +is. E.g. “Update2 for vCenter Server Appliance 6.5”. This attribute +was added in vSphere API 6.7.

  • +
  • priority (CommonInfo.Priority) – Update priority. This attribute was added in vSphere API 6.7.

  • +
  • severity (CommonInfo.Severity) – Update severity. This attribute was added in vSphere API 6.7.

  • +
  • update_type (CommonInfo.Category) – Update category. This attribute was added in vSphere API 6.7.

  • +
  • release_date (datetime.datetime) – Update release date. This attribute was added in vSphere API 6.7.

  • +
  • reboot_required (bool) – Flag indicating whether reboot is required after update. This +attribute was added in vSphere API 6.7.

  • +
  • size (long) – Download Size of update in Megabytes. This attribute was added in +vSphere API 6.7.

  • +
+
+
+
+
+class Category(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The CommonInfo.Category class defines update type. This enumeration was +added in vSphere API 6.7.

+
+

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 the Category instance.

+
+
+
+
+FIX = Category(string='FIX')
+

Fixes bugs/vulnerabilities, doesn’t change functionality. This class +attribute was added in vSphere API 6.7.

+
+ +
+
+SECURITY = Category(string='SECURITY')
+

Fixes vulnerabilities, doesn’t change functionality. This class attribute +was added in vSphere API 6.7.

+
+ +
+
+UPDATE = Category(string='UPDATE')
+

Changes product functionality. This class attribute was added in vSphere +API 6.7.

+
+ +
+
+UPGRADE = Category(string='UPGRADE')
+

Introduces new features, significantly changes product functionality. This +class attribute was added in vSphere API 6.7.

+
+ +
+ +
+
+class Priority(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The CommonInfo.Priority class defines the update installation priority +recommendations. This enumeration was added in vSphere API 6.7.

+
+

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 the Priority instance.

+
+
+
+
+HIGH = Priority(string='HIGH')
+

Install ASAP. This class attribute was added in vSphere API 6.7.

+
+ +
+
+LOW = Priority(string='LOW')
+

Install at your discretion. This class attribute was added in vSphere API +6.7.

+
+ +
+
+MEDIUM = Priority(string='MEDIUM')
+

Install at the earliest convenience. This class attribute was added in +vSphere API 6.7.

+
+ +
+ +
+
+class Severity(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The CommonInfo.Severity class defines the severity of the issues fixed +in the update. This enumeration was added in vSphere API 6.7.

+
+

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 the Severity instance.

+
+
+
+
+CRITICAL = Severity(string='CRITICAL')
+

Vulnerabilities that can be exploited by an unauthenticated attacker from +the Internet or those that break the guest/host Operating System isolation. +The exploitation results in the complete compromise of confidentiality, +integrity, and availability of user data and/or processing resources +without user interaction. Exploitation could be leveraged to propagate an +Internet worm or execute arbitrary code between Virtual Machines and/or the +Host Operating System. This class attribute was added in vSphere API 6.7.

+
+ +
+
+IMPORTANT = Severity(string='IMPORTANT')
+

Vulnerabilities that are not rated critical but whose exploitation results +in the complete compromise of confidentiality and/or integrity of user data +and/or processing resources through user assistance or by authenticated +attackers. This rating also applies to those vulnerabilities which could +lead to the complete compromise of availability when exploitation is by a +remote unauthenticated attacker from the Internet or through a breach of +virtual machine isolation. This class attribute was added in vSphere API +6.7.

+
+ +
+
+LOW = Severity(string='LOW')
+

All other issues that have a security impact. Vulnerabilities where +exploitation is believed to be extremely difficult, or where successful +exploitation would have minimal impact. This class attribute was added in +vSphere API 6.7.

+
+ +
+
+MODERATE = Severity(string='MODERATE')
+

Vulnerabilities where the ability to exploit is mitigated to a significant +degree by configuration or difficulty of exploitation, but in certain +deployment scenarios could still lead to the compromise of confidentiality, +integrity, or availability of user data and/or processing resources. This +class attribute was added in vSphere API 6.7.

+
+ +
+ +
+ +
+
+class com.vmware.appliance.update_client.Pending(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Pending class provides methods to manipulate pending updates. This +class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(contents=None, services_will_be_stopped=None, eulas=None, staged=None, description=None, priority=None, severity=None, update_type=None, release_date=None, reboot_required=None, size=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Pending.Info class contains the extended information about the +update. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • contents (list of com.vmware.vapi.std_client.LocalizableMessage) – List of the 1. issues addressed since previous/current version 2. +new features/improvements. This attribute was added in vSphere API +6.7.

  • +
  • services_will_be_stopped (list of ServiceInfo) – List of the services that will be stopped and restarted during the +update installation. This attribute was added in vSphere API 6.7.

  • +
  • eulas (list of com.vmware.vapi.std_client.LocalizableMessage) – List of EULAs. This list has multiple entries and can be dynamic +based on what we are actually installing. This attribute was added +in vSphere API 6.7.

  • +
  • staged (bool) – Is the update staged. This attribute was added in vSphere API 6.7.

  • +
  • description (com.vmware.vapi.std_client.LocalizableMessage) – Description of the update. The short information what this update +is. E.g. “Update2 for vCenter Server Appliance 6.5”. This attribute +was added in vSphere API 6.7.

  • +
  • priority (CommonInfo.Priority) – Update priority. This attribute was added in vSphere API 6.7.

  • +
  • severity (CommonInfo.Severity) – Update severity. This attribute was added in vSphere API 6.7.

  • +
  • update_type (CommonInfo.Category) – Update category. This attribute was added in vSphere API 6.7.

  • +
  • release_date (datetime.datetime) – Update release date. This attribute was added in vSphere API 6.7.

  • +
  • reboot_required (bool) – Flag indicating whether reboot is required after update. This +attribute was added in vSphere API 6.7.

  • +
  • size (long) – Download Size of update in Megabytes. This attribute was added in +vSphere API 6.7.

  • +
+
+
+
+ +
+
+class PrecheckResult(check_time=None, estimated_time_to_install=None, estimated_time_to_rollback=None, reboot_required=None, issues=None, questions=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Pending.PrecheckResult class contains estimates of how long it will +take install and rollback an update as well as a list of possible warnings +and problems with installing the update. This class was added in vSphere +API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • check_time (datetime.datetime) – Time when this precheck was run. This attribute was added in +vSphere API 6.7.

  • +
  • estimated_time_to_install (long or None) – Rough estimate of time to install the update (minutes). This +attribute was added in vSphere API 6.7. +estimatedTimeToInstall If None N/A

  • +
  • estimated_time_to_rollback (long or None) – Rough estimate of time to rollback the update (minutes). This +attribute was added in vSphere API 6.7. +estimatedTimeToRollback If None N/A

  • +
  • reboot_required (bool) – Is reboot required to install the update. This attribute was added +in vSphere API 6.7.

  • +
  • issues (com.vmware.appliance_client.Notifications or None) – Lists of the issues and warnings. This attribute was added in +vSphere API 6.7. +issues If None N/A

  • +
  • questions (list of Pending.Question) – List of questions that must be answered to install the update. This +attribute was added in vSphere API 6.7.

  • +
+
+
+
+ +
+
+class Question(data_item=None, text=None, description=None, type=None, allowed_values=None, regexp=None, default_answer=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Pending.Question class describes a item of information that must be +provided by the user in order to install the update. This class was added +in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • data_item (str) – ID of the data item. This attribute was added in vSphere API 6.7. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.applicance.update.pending.dataitem. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.applicance.update.pending.dataitem.

  • +
  • text (com.vmware.vapi.std_client.LocalizableMessage) – Label for the item to be used in GUI/CLI. This attribute was added +in vSphere API 6.7.

  • +
  • description (com.vmware.vapi.std_client.LocalizableMessage) – Description of the item. This attribute was added in vSphere API +6.7.

  • +
  • type (Pending.Question.InputType) – How this field shoudl be represented in GUI or CLI. This attribute +was added in vSphere API 6.7.

  • +
  • allowed_values (list of str or None) – List of allowed values. This attribute was added in vSphere API +6.7. +allowedValues If None any value is valid.

  • +
  • regexp (str or None) – Regexp to validate the input. This attribute was added in vSphere +API 6.7. +regexp If None no validation will be performed.

  • +
  • default_answer (str or None) – Default answer. This attribute was added in vSphere API 6.7. +defaultAnswer If None then there is no default answer, so an +explicit answer must be provided

  • +
+
+
+
+
+class InputType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Pending.Question.InputType class defines representation of field +fields in GUI or CLI. This enumeration was added in vSphere API 6.7.

+
+

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 the InputType instance.

+
+
+
+
+BOOLEAN = InputType(string='BOOLEAN')
+

Yes/No,On/Off,Checkbox answer. This class attribute was added in vSphere +API 6.7.

+
+ +
+
+PASSWORD = InputType(string='PASSWORD')
+

Password (masked) answer. This class attribute was added in vSphere API +6.7.

+
+ +
+
+PLAIN_TEXT = InputType(string='PLAIN_TEXT')
+

plain text answer. This class attribute was added in vSphere API 6.7.

+
+ +
+ +
+ +
+
+class SourceType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Pending.SourceType class defines the supported types of sources of +updates. This enumeration was added in vSphere API 6.7.

+
+

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 the SourceType instance.

+
+
+
+
+LAST_CHECK = SourceType(string='LAST_CHECK')
+

Do not perform a new check, return the previous result. This class +attribute was added in vSphere API 6.7.

+
+ +
+
+LOCAL = SourceType(string='LOCAL')
+

Check the local sources, ISO devices, staged area. This class attribute was +added in vSphere API 6.7.

+
+ +
+
+LOCAL_AND_ONLINE = SourceType(string='LOCAL_AND_ONLINE')
+

Check the local sources, ISO devices, staged area, then online repository +as stated in update policy. This class attribute was added in vSphere API +6.7.

+
+ +
+ +
+
+get(version)
+

Gets update information. This method was added in vSphere API 6.7.

+
+
Parameters
+

version (str) – Update version +The parameter must be an identifier for the resource type: +com.vmware.appliance.update.pending.

+
+
Return type
+

Pending.Info

+
+
Returns
+

Update

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +session is not authenticated

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +session is not authorized to perform this operation

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +the update is not found

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the update of this version is already installed

+
+
+
+ +
+
+install(version, user_data)
+

Starts operation of installing the appliance update. Will fail is the +update is not staged. This method was added in vSphere API 6.7.

+
+
Parameters
+
    +
  • version (str) – Update version +The parameter must be an identifier for the resource type: +com.vmware.appliance.update.pending.

  • +
  • user_data (dict of str and str) – map of user provided data with IDs +The key in the parameter dict must be an identifier for +the resource type: +com.vmware.applicance.update.pending.dataitem.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +session is not authenticated

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +session is not authorized to perform this operation

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the update is not found

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the update of this version is already installed

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if appliance update state prevents running an update or not staged

+
+
+
+ +
+
+list(source_type, url=None)
+

Checks if new updates are available. This method was added in vSphere +API 6.7.

+
+
Parameters
+
    +
  • source_type (Pending.SourceType) – type of the source

  • +
  • url (str or None) – specific URL to check at +If None then URL is taken from the policy settings

  • +
+
+
Return type
+

list of Summary

+
+
Returns
+

List of the update summaries

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +source is not found

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +session is not authenticated

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +session is not authorized to perform this operation

+
+
+
+ +
+
+precheck(version)
+

Runs update precheck. This method was added in vSphere API 6.7.

+
+
Parameters
+

version (str) – Update version +The parameter must be an identifier for the resource type: +com.vmware.appliance.update.pending.

+
+
Return type
+

Pending.PrecheckResult

+
+
Returns
+

PrecheckResult

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +session is not authenticated

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +session is not authorized to perform this operation

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +the update is not found

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if this version is already installed

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if another operation is in progress

+
+
+
+ +
+
+stage(version)
+

Starts staging the appliance update. The updates are searched for in +the following order: staged, CDROM, URL. This method was added in +vSphere API 6.7.

+
+
Parameters
+

version (str) – Update version +The parameter must be an identifier for the resource type: +com.vmware.appliance.update.pending.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +session is not authenticated

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +session is not authorized to perform this operation

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +the update is not found

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the update of this version is already installed

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +the update is already staged

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if appliance update state prevents staging

+
+
+
+ +
+
+stage_and_install(version, user_data)
+

Starts operation of installing the appliance update. Will stage update +if not already staged The updates are searched for in the following +order: staged, CDROM, URL. This method was added in vSphere API 6.7.

+
+
Parameters
+
    +
  • version (str) – Update version +The parameter must be an identifier for the resource type: +com.vmware.appliance.update.pending.

  • +
  • user_data (dict of str and str) – map of user provided data with IDs +The key in the parameter dict must be an identifier for +the resource type: +com.vmware.applicance.update.pending.dataitem.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +session is not authenticated

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +session is not authorized to perform this operation

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the update is not found

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the update of this version is already installed

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if appliance update state prevents running an update

+
+
+
+ +
+
+validate(version, user_data)
+

Validates the user provided data before the update installation. This +method was added in vSphere API 6.7.

+
+
Parameters
+
    +
  • version (str) – Update version +The parameter must be an identifier for the resource type: +com.vmware.appliance.update.pending.

  • +
  • user_data (dict of str and str) – map of user provided data with IDs +The key in the parameter dict must be an identifier for +the resource type: +com.vmware.applicance.update.pending.dataitem.

  • +
+
+
Return type
+

com.vmware.appliance_client.Notifications

+
+
Returns
+

Issues struct with the issues found during the validation

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +session is not authenticated

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +session is not authorized to perform this operation

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the update is not found

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the update of this version is already installed

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if appliance update state prevents running an check

+
+
+
+ +
+ +
+
+class com.vmware.appliance.update_client.Policy(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Policy class provides methods to set/get background check for the +new updates. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Config(custom_url=None, username=None, password=None, check_schedule=None, auto_stage=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Policy.Config class defines automatic update checking and staging +policy. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • custom_url (str or None) – Current appliance update repository URL. This attribute was added +in vSphere API 6.7. +If None then default URL is assumed

  • +
  • username (str or None) – Username for the update repository. This attribute was added in +vSphere API 6.7. +If None username will not be used to login

  • +
  • password (str or None) – Password for the update repository. This attribute was added in +vSphere API 6.7. +password If None password will not be used to login

  • +
  • check_schedule (list of Policy.Time) – Schedule when the automatic check will be run. This attribute was +added in vSphere API 6.7.

  • +
  • auto_stage (bool) – Automatically stage the latest update if available. This attribute +was added in vSphere API 6.7.

  • +
+
+
+
+ +
+
+class DayOfWeek(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Policy.DayOfWeek class defines the set of days. This enumeration +was added in vSphere API 6.7.

+
+

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 the DayOfWeek instance.

+
+
+
+
+FRIDAY = DayOfWeek(string='FRIDAY')
+

Friday. This class attribute was added in vSphere API 6.7.

+
+ +
+
+MONDAY = DayOfWeek(string='MONDAY')
+

Monday. This class attribute was added in vSphere API 6.7.

+
+ +
+
+SATURDAY = DayOfWeek(string='SATURDAY')
+

Saturday. This class attribute was added in vSphere API 6.7.

+
+ +
+
+SUNDAY = DayOfWeek(string='SUNDAY')
+

Sunday. This class attribute was added in vSphere API 6.7.

+
+ +
+
+THURSDAY = DayOfWeek(string='THURSDAY')
+

Thursday. This class attribute was added in vSphere API 6.7.

+
+ +
+
+TUESDAY = DayOfWeek(string='TUESDAY')
+

Tuesday. This class attribute was added in vSphere API 6.7.

+
+ +
+
+WEDNESDAY = DayOfWeek(string='WEDNESDAY')
+

Wednesday. This class attribute was added in vSphere API 6.7.

+
+ +
+ +
+
+class Info(custom_url=None, default_url=None, username=None, check_schedule=None, auto_stage=None, auto_update=None, manual_control=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Policy.Info class defines automatic update checking and staging +policy. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • custom_url (str or None) – Current appliance update custom repository URL. This attribute was +added in vSphere API 6.7. +If None update is checked at defaut URL.

  • +
  • default_url (str) – Current appliance update default repository URL. This attribute was +added in vSphere API 6.7.

  • +
  • username (str or None) – Username for the update repository. This attribute was added in +vSphere API 6.7. +If None username will not be used to login

  • +
  • check_schedule (list of Policy.Time) – Schedule when the automatic check will be run. This attribute was +added in vSphere API 6.7.

  • +
  • auto_stage (bool) – Automatically stage the latest update if available. This attribute +was added in vSphere API 6.7.

  • +
  • auto_update (bool) – Is the appliance updated automatically. If set the +appliance may ignore the check schedule or auto-stage settings. +This attribute was added in vSphere API 6.7.

  • +
  • manual_control (bool) – Whether API client should allow the user to start update manually. +This attribute was added in vSphere API 6.7.

  • +
+
+
+
+ +
+
+class Time(day=None, hour=None, minute=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Policy.Time class defines weekday and time the automatic check for +new updates will be run. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • day (Policy.DayOfWeek) – weekday to check for updates. This attribute was added in vSphere +API 6.7.

  • +
  • hour (long) – Hour: 0-24. This attribute was added in vSphere API 6.7.

  • +
  • minute (long) – Minute: 0-59. This attribute was added in vSphere API 6.7.

  • +
+
+
+
+ +
+
+get()
+

Gets the automatic update checking and staging policy. This method was +added in vSphere API 6.7.

+
+
Return type
+

Policy.Info

+
+
Returns
+

Structure containing the policy for the appliance update.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +session is not authenticated

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +session is not authorized to perform this operation

+
+
+
+ +
+
+set(policy)
+

Sets the automatic update checking and staging policy. This method was +added in vSphere API 6.7.

+
+
Parameters
+

policy (Policy.Config) – Info structure containing the policy for the appliance update.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +session is not authenticated

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +session is not authorized to perform this operation

+
+
+
+ +
+ +
+
+class com.vmware.appliance.update_client.ServiceInfo(service=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ServiceInfo class describes a service to be stopped and started +during the update installation. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • service (str) – Service ID. This attribute was added in vSphere API 6.7. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.appliance.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.appliance.service.

  • +
  • description (com.vmware.vapi.std_client.LocalizableMessage) – Service description. This attribute was added in vSphere API 6.7.

  • +
+
+
+
+ +
+
+class com.vmware.appliance.update_client.Staged(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Staged class provides methods to get the status of the staged +update. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(staging_complete=None, version=None, description=None, priority=None, severity=None, update_type=None, release_date=None, reboot_required=None, size=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Staged.Info class contains information about the staged update. +This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • staging_complete (bool) – Is staging complete. This attribute was added in vSphere API 6.7.

  • +
  • version (str) – Version in form of X.Y.Z.P. e.g. 6.5.1.5400. This attribute was +added in vSphere API 6.7. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.appliance.update.pending. 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.update.pending.

  • +
  • description (com.vmware.vapi.std_client.LocalizableMessage) – Description of the update. The short information what this update +is. E.g. “Update2 for vCenter Server Appliance 6.5”. This attribute +was added in vSphere API 6.7.

  • +
  • priority (CommonInfo.Priority) – Update priority. This attribute was added in vSphere API 6.7.

  • +
  • severity (CommonInfo.Severity) – Update severity. This attribute was added in vSphere API 6.7.

  • +
  • update_type (CommonInfo.Category) – Update category. This attribute was added in vSphere API 6.7.

  • +
  • release_date (datetime.datetime) – Update release date. This attribute was added in vSphere API 6.7.

  • +
  • reboot_required (bool) – Flag indicating whether reboot is required after update. This +attribute was added in vSphere API 6.7.

  • +
  • size (long) – Download Size of update in Megabytes. This attribute was added in +vSphere API 6.7.

  • +
+
+
+
+ +
+
+delete()
+

Deletes the staged update. This method was added in vSphere API 6.7.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +session is not authenticated

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +session is not authorized to perform this operation

+
+
+
+ +
+
+get()
+

Gets the current status of the staged update. This method was added in +vSphere API 6.7.

+
+
Return type
+

Staged.Info

+
+
Returns
+

Info structure with information about staged update

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +session is not authenticated

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +session is not authorized to perform this operation

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if nothing is staged

+
+
+
+ +
+ +
+
+class com.vmware.appliance.update_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.appliance.update_client.Summary(version=None, description=None, priority=None, severity=None, update_type=None, release_date=None, reboot_required=None, size=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Summary class contains the essential information about the update. +This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • version (str) – Version in form of X.Y.Z.P. e.g. 6.5.1.5400. This attribute was +added in vSphere API 6.7. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.appliance.update.pending. 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.update.pending.

  • +
  • description (com.vmware.vapi.std_client.LocalizableMessage) – Description of the update. The short information what this update +is. E.g. “Update2 for vCenter Server Appliance 6.5”. This attribute +was added in vSphere API 6.7.

  • +
  • priority (CommonInfo.Priority) – Update priority. This attribute was added in vSphere API 6.7.

  • +
  • severity (CommonInfo.Severity) – Update severity. This attribute was added in vSphere API 6.7.

  • +
  • update_type (CommonInfo.Category) – Update category. This attribute was added in vSphere API 6.7.

  • +
  • release_date (datetime.datetime) – Update release date. This attribute was added in vSphere API 6.7.

  • +
  • reboot_required (bool) – Flag indicating whether reboot is required after update. This +attribute was added in vSphere API 6.7.

  • +
  • size (long) – Download Size of update in Megabytes. This attribute was added in +vSphere API 6.7.

  • +
+
+
+
+ +
+
+

com.vmware.appliance.vmon_client module

+

The com.vmware.appliance.vmon_client module provides classes to manage a +set of services that are part of the vCenter Server.

+
+
+class com.vmware.appliance.vmon_client.Service(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Service class provides methods to manage a single/set of services +that are managed by vMon.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Health(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Service.Health class defines the possible values for health of a +service.

+
+

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 the Health instance.

+
+
+
+
+DEGRADED = Health(string='DEGRADED')
+

Service is in degraded state, it is not functional.

+
+ +
+
+HEALTHY = Health(string='HEALTHY')
+

Service is in a healthy state and is fully functional.

+
+ +
+
+HEALTHY_WITH_WARNINGS = Health(string='HEALTHY_WITH_WARNINGS')
+

Service is healthy with warnings.

+
+ +
+ +
+
+class Info(name_key=None, description_key=None, startup_type=None, state=None, health=None, health_messages=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Service.Info class contains information about a service.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class StartupType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Service.StartupType class defines valid Startup Type for services +managed by vMon.

+
+

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 the StartupType instance.

+
+
+
+
+AUTOMATIC = StartupType(string='AUTOMATIC')
+

Service Startup type is Automatic, thus during starting all services or +issuing explicit start on the service will start it.

+
+ +
+
+DISABLED = StartupType(string='DISABLED')
+

Service Startup type is Disabled, thus it will not start unless the startup +type changes to manual or automatic.

+
+ +
+
+MANUAL = StartupType(string='MANUAL')
+

Service Startup type is Manual, thus issuing an explicit start on the +service will start it.

+
+ +
+ +
+
+class State(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Service.State class defines valid Run State for services.

+
+

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 the State instance.

+
+
+
+
+STARTED = State(string='STARTED')
+

Service Run State is Started, it is fully functional

+
+ +
+
+STARTING = State(string='STARTING')
+

Service Run State is Starting, it is still not functional

+
+ +
+
+STOPPED = State(string='STOPPED')
+

Service Run State is Stopped

+
+ +
+
+STOPPING = State(string='STOPPING')
+

Service Run State is Stopping, it is not functional

+
+ +
+ +
+
+class UpdateSpec(startup_type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Service.UpdateSpec class describes the changes to be made to the +configuration of the service.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

startup_type (Service.StartupType or None) – Startup Type +If unspecified, leaves value unchanged.

+
+
+
+ +
+
+get(service)
+

Returns the state of a service.

+
+
Parameters
+

service (str) – identifier of the service whose state is being queried. +The parameter must be an identifier for the resource type: +com.vmware.appliance.vmon.Service.

+
+
Return type
+

Service.Info

+
+
Returns
+

Service Info structure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the service associated with service does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any other error occurs during the execution of the operation.

+
+
+
+ +
+
+list_details()
+

Lists details of services managed by vMon.

+
+
Return type
+

dict of str and Service.Info

+
+
Returns
+

Map of service identifiers to service Info structures. +The key in the return value dict will be an identifier for +the resource type: com.vmware.appliance.vmon.Service.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any error occurs during the execution of the operation.

+
+
+
+ +
+
+restart(service)
+

Restarts a service

+
+
Parameters
+

service (str) – identifier of the service to restart +The parameter must be an identifier for the resource type: +com.vmware.appliance.vmon.Service.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the service associated with service does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.TimedOut +if any timeout occurs during the execution of the restart +operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the operation is denied in the current state of the service. If +a stop or start operation is in progress, issuing a restart +operation will lead to this error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if a restart operation is issued on a service which has startup +type Service.StartupType.DISABLED

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any other error occurs during the execution of the operation.

+
+
+
+ +
+
+start(service)
+

Starts a service

+
+
Parameters
+

service (str) – identifier of the service to start +The parameter must be an identifier for the resource type: +com.vmware.appliance.vmon.Service.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the service associated with service does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the operation is denied in the current state of the service. If +a stop or restart operation is in progress, the start operation +will not be allowed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if start operation is issued on a service which has startup type +Service.StartupType.DISABLED.

+
+
Raise
+

com.vmware.vapi.std.errors_client.TimedOut +if any timeout occurs during the execution of the start operation. +Timeout occurs when the service takes longer than StartTimeout to +start.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any other error occurs during the execution of the operation.

+
+
+
+ +
+
+stop(service)
+

Stops a service

+
+
Parameters
+

service (str) – identifier of the service to stop +The parameter must be an identifier for the resource type: +com.vmware.appliance.vmon.Service.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the service associated with service does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any other error occurs during the execution of the operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the operation is denied in the current state of the service. If +a stop operation is in progress, issuing another stop operation +will lead to this error.

+
+
+
+ +
+
+update(service, spec)
+

Updates the properties of a service.

+
+
Parameters
+
    +
  • service (str) – identifier of the service whose properties are being updated. +The parameter must be an identifier for the resource type: +com.vmware.appliance.vmon.Service.

  • +
  • spec (Service.UpdateSpec) – Service Update specification.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the service associated with service does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any other error occurs during the execution of the operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the operation is denied in the current state of the service. If +a start, stop or restart operation is in progress, update operation +will fail with this error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if a request to set the Service.UpdateSpec.startup_type +attribute of spec to Service.StartupType.DISABLED comes +in for a service that is not in Service.State.STOPPED +state.

+
+
+
+ +
+ +
+
+class com.vmware.appliance.vmon_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.appliance.networking.html b/vsphere/7.0.0.1/com.vmware.appliance.networking.html new file mode 100644 index 00000000..22404cc4 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.appliance.networking.html @@ -0,0 +1,1480 @@ + + + + + + + + + + + com.vmware.appliance.networking package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.appliance.networking package

+
+

Submodules

+
+
+

com.vmware.appliance.networking.dns_client module

+
+
+class com.vmware.appliance.networking.dns_client.Domains(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Domains class provides methods DNS search domains.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+add(domain)
+

Add domain to DNS search domains.

+
+
Parameters
+

domain (str) – Domain to add.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+list()
+

Get list of DNS search domains.

+
+
Return type
+

list of str

+
+
Returns
+

List of domains.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+set(domains)
+

Set DNS search domains.

+
+
Parameters
+

domains (list of str) – List of domains.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance.networking.dns_client.Hostname(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Hostname class provides methods Performs operations on Fully Qualified +Doman Name.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Message(message=None, result=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Hostname.Message class Test result and message

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class MessageStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Hostname.MessageStatus class Individual test result

+
+

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 the MessageStatus instance.

+
+
+
+
+failure = MessageStatus(string='failure')
+

message indicates the test failed.

+
+ +
+
+success = MessageStatus(string='success')
+

message indicates that the test was successful.

+
+ +
+ +
+
+class TestStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Hostname.TestStatus class Health indicator

+
+

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 the TestStatus instance.

+
+
+
+
+green = TestStatus(string='green')
+

All tests were successful for given data

+
+ +
+
+orange = TestStatus(string='orange')
+

In case data has more than one test, this indicates not all tests were +successful

+
+ +
+
+red = TestStatus(string='red')
+

All tests failed for given data

+
+ +
+ +
+
+class TestStatusInfo(status=None, messages=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Hostname.TestStatusInfo class Overall test result

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+get()
+

Get the Fully Qualified Doman Name.

+
+
Return type
+

str

+
+
Returns
+

FQDN.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+set(name)
+

Set the Fully Qualified Domain Name.

+
+
Parameters
+

name (str) – FQDN.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+test(name)
+

Test the Fully Qualified Domain Name.

+
+
Parameters
+

name (str) – FQDN.

+
+
Return type
+

Hostname.TestStatusInfo

+
+
Returns
+

FQDN status

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance.networking.dns_client.Servers(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Servers class provides methods DNS server configuration.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class DNSServerConfig(mode=None, servers=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Servers.DNSServerConfig class This structure represents the +configuration state used to determine DNS servers.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • mode (Servers.DNSServerMode) – Define how to determine the DNS servers. Leave the servers argument +empty if the mode argument is “DHCP”. Set the servers argument to a +comma-separated list of DNS servers if the mode argument is +“static”. The DNS server are assigned from the specified list.

  • +
  • servers (list of str) – List of the currently used DNS servers.

  • +
+
+
+
+ +
+
+class DNSServerMode(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Servers.DNSServerMode class Describes DNS Server source (DHCP,static)

+
+

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 the DNSServerMode instance.

+
+
+
+
+dhcp = DNSServerMode(string='dhcp')
+

DNS address is automatically assigned by a DHCP server.

+
+ +
+
+is_static = DNSServerMode(string='is_static')
+

DNS address is static.

+
+ +
+ +
+
+class Message(message=None, result=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Servers.Message class Test result and message

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class MessageStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Servers.MessageStatus class Individual test result

+
+

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 the MessageStatus instance.

+
+
+
+
+failure = MessageStatus(string='failure')
+

message indicates the test failed.

+
+ +
+
+success = MessageStatus(string='success')
+

message indicates that the test was successful.

+
+ +
+ +
+
+class TestStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Servers.TestStatus class Health indicator

+
+

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 the TestStatus instance.

+
+
+
+
+green = TestStatus(string='green')
+

All tests were successful for given data

+
+ +
+
+orange = TestStatus(string='orange')
+

In case data has more than one test, this indicates not all tests were +successful

+
+ +
+
+red = TestStatus(string='red')
+

All tests failed for given data

+
+ +
+ +
+
+class TestStatusInfo(status=None, messages=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Servers.TestStatusInfo class Overall test result

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+add(server)
+

Add a DNS server. This method fails if mode argument is “dhcp”

+
+
Parameters
+

server (str) – DNS server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+get()
+

Get DNS server configuration.

+
+
Return type
+

Servers.DNSServerConfig

+
+
Returns
+

DNS server configuration.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+set(config)
+

Set the DNS server configuration. If you set the mode argument to +“DHCP”, a DHCP refresh is forced.

+
+
Parameters
+

config (Servers.DNSServerConfig) – DNS server configuration.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+test(servers)
+

Test if dns servers are reachable.

+
+
Parameters
+

servers (list of str) – DNS servers.

+
+
Return type
+

Servers.TestStatusInfo

+
+
Returns
+

DNS reacable status

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance.networking.dns_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.appliance.networking.firewall_client module

+
+
+class com.vmware.appliance.networking.firewall_client.Inbound(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Inbound class provides methods to manage inbound firewall rules. +This class was added in vSphere API 6.7.1.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Policy(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Inbound.Policy class Defines firewall rule policies. This enumeration +was added in vSphere API 6.7.1.

+
+

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 the Policy instance.

+
+
+
+
+ACCEPT = Policy(string='ACCEPT')
+

Allow packet with corresponding address. This class attribute was added in +vSphere API 6.7.1.

+
+ +
+
+IGNORE = Policy(string='IGNORE')
+

Drop packet with correpsonding address. This class attribute was added in +vSphere API 6.7.1.

+
+ +
+
+REJECT = Policy(string='REJECT')
+

Drop packet with corresponding address sending destination is not +reachable. This class attribute was added in vSphere API 6.7.1.

+
+ +
+
+RETURN = Policy(string='RETURN')
+

Apply default or port-specific rules to packet with corresponding address. +This class attribute was added in vSphere API 6.7.1.

+
+ +
+ +
+
+class Rule(address=None, prefix=None, policy=None, interface_name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Inbound.Rule class Structure that defines a single address-based +firewall rule. This class was added in vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • address (str) – IPv4 or IPv6 address. This attribute was added in vSphere API +6.7.1.

  • +
  • prefix (long) – CIDR prefix used to mask address. For example, an IPv4 prefix of 24 +ignores the low-order 8 bits of address. This attribute was added +in vSphere API 6.7.1.

  • +
  • policy (Inbound.Policy) – The allow or deny policy of this rule. This attribute was added in +vSphere API 6.7.1.

  • +
  • interface_name (str or None) – The interface to which this rule applies. An empty string indicates +that the rule applies to all interfaces. This attribute was added +in vSphere API 6.7.1.

  • +
+
+
+
+ +
+
+get()
+

Get the ordered list of firewall rules. Within the list of traffic +rules, rules are processed in order of appearance, from top to bottom. +When a connection matches a firewall rule, further processing for the +connection stops, and the appliance ignores any additional firewall +rules you have set. This method was added in vSphere API 6.7.1.

+
+
Return type
+

list of Inbound.Rule

+
+
Returns
+

List of address-based firewall rules.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+set(rules)
+

Set the ordered list of firewall rules to allow or deny traffic from +one or more incoming IP addresses. This overwrites the existing +firewall rules and creates a new rule list. Within the list of traffic +rules, rules are processed in order of appearance, from top to bottom. +For example, the list of rules can be as follows:

+ ++++++ + + + + + + + + + + + + + + + + + + + +

Address

Prefix

Interface Name

Policy

10.112.0.1

0

*

REJECT

10.112.0.1

0

nic0

ACCEPT

+

In the above example, the first rule drops all packets originating from +10.112.0.1 and +the second rule accepts all packets originating from 10.112.0.1 only on +nic0. In effect, the second rule is always ignored which is not +desired, hence the order has to be swapped. When a connection matches a +firewall rule, further processing for the connection stops, and the +appliance ignores any additional firewall rules you have set. This +method was added in vSphere API 6.7.1.

+
+
Parameters
+

rules (list of Inbound.Rule) – List of address-based firewall rules.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance.networking.firewall_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.appliance.networking.interfaces_client module

+
+
+class com.vmware.appliance.networking.interfaces_client.Ipv4(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Ipv4 class provides methods to perform IPv4 network configuration +for interfaces. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Config(mode=None, address=None, prefix=None, default_gateway=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Ipv4.Config class provides defines the IPv4 configuration of a +network interface. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • mode (Ipv4.Mode) – The Address assignment mode. This attribute was added in vSphere +API 6.7.

  • +
  • address (str) – The IPv4 address, for example, “10.20.80.191”. This attribute was +added in vSphere API 6.7. +This attribute is optional and it is only relevant when the value +of mode is Ipv4.Mode.STATIC.

  • +
  • prefix (long) – The IPv4 CIDR prefix, for example, 24. See +http://www.oav.net/mirrors/cidr.html for netmask-to-prefix +conversion. This attribute was added in vSphere API 6.7. +This attribute is optional and it is only relevant when the value +of mode is Ipv4.Mode.STATIC.

  • +
  • default_gateway (str or None) – The IPv4 address of the default gateway. This configures the global +default gateway on the appliance with the specified gateway address +and interface. This gateway replaces the existing default gateway +configured on the appliance. However, if the gateway address is +link-local, then it is added for that interface. This does not +support configuration of multiple global default gateways through +different interfaces. This attribute was added in vSphere API 6.7. +If None, the defaultGateway was never set.

  • +
+
+
+
+ +
+
+class Info(configurable=None, mode=None, address=None, prefix=None, default_gateway=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Ipv4.Info class defines current IPv4 configuration state of a +network interface. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • configurable (bool) – The specified network interface is configurable or not. This +attribute was added in vSphere API 6.7.

  • +
  • mode (Ipv4.Mode) – The Address assignment mode. This attribute was added in vSphere +API 6.7.

  • +
  • address (str) – The IPv4 address, for example, “10.20.80.191”. This attribute was +added in vSphere API 6.7. +This attribute is optional and it is only relevant when the value +of mode is one of Ipv4.Mode.STATIC or +Ipv4.Mode.DHCP.

  • +
  • prefix (long) – The IPv4 CIDR prefix, for example, 24. See +http://www.oav.net/mirrors/cidr.html for netmask-to-prefix +conversion. This attribute was added in vSphere API 6.7. +This attribute is optional and it is only relevant when the value +of mode is one of Ipv4.Mode.STATIC or +Ipv4.Mode.DHCP.

  • +
  • default_gateway (str) – The IPv4 address of the default gateway. This configures the global +default gateway on the appliance with the specified gateway address +and interface. This gateway replaces the existing default gateway +configured on the appliance. However, if the gateway address is +link-local, then it is added for that interface. This does not +support configuration of multiple global default gateways through +different interfaces. This attribute was added in vSphere API 6.7. +This attribute is optional and it is only relevant when the value +of mode is one of Ipv4.Mode.STATIC or +Ipv4.Mode.DHCP.

  • +
+
+
+
+ +
+
+class Mode(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Ipv4.Mode class defines different IPv4 address assignment modes. +This enumeration was added in vSphere API 6.7.

+
+

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 the Mode instance.

+
+
+
+
+DHCP = Mode(string='DHCP')
+

The IPv4 address is automatically assigned by a DHCP server. This class +attribute was added in vSphere API 6.7.

+
+ +
+
+STATIC = Mode(string='STATIC')
+

The IPv4 address is static. This class attribute was added in vSphere API +6.7.

+
+ +
+
+UNCONFIGURED = Mode(string='UNCONFIGURED')
+

The IPv4 protocol is not configured. This class attribute was added in +vSphere API 6.7.

+
+ +
+ +
+
+get(interface_name)
+

Get IPv4 network configuration for specific NIC. This method was added +in vSphere API 6.7.

+
+
Parameters
+

interface_name (str) – The Network interface to query, for example, “nic0”. +The parameter must be an identifier for the resource type: +com.vmware.appliance.networking.interfaces.

+
+
Return type
+

Ipv4.Info

+
+
Returns
+

The IPv4 configuration for the queried NIC.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the specified NIC is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error.

+
+
+
+ +
+
+set(interface_name, config)
+

Set IPv4 network configuration for specific network interface. This +method was added in vSphere API 6.7.

+
+
Parameters
+
    +
  • interface_name (str) – Network interface to update, for example, “nic0”. +The parameter must be an identifier for the resource type: +com.vmware.appliance.networking.interfaces.

  • +
  • config (Ipv4.Config) – The IPv4 Network configuration to set.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the specified NIC is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the IP is used as PNID

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the specified NIC is busy.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error.

+
+
+
+ +
+ +
+
+class com.vmware.appliance.networking.interfaces_client.Ipv6(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Ipv6 class provides methods to perform IPv6 network configuration +for interfaces. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Address(address=None, prefix=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Ipv6.Address class provides the structure used to name an IPv6 +address. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • address (str) – The IPv6 address, for example, fc00:10:20:83:20c:29ff:fe94:bb5a. +This attribute was added in vSphere API 6.7.

  • +
  • prefix (long) – The IPv6 CIDR prefix, for example, 64. This attribute was added in +vSphere API 6.7.

  • +
+
+
+
+ +
+
+class AddressInfo(origin=None, status=None, address=None, prefix=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Ipv6.AddressInfo class provides the structure that you can use to +get information about an IPv6 address along with its origin and status. +This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • origin (Ipv6.Origin) – The Origin of the IPv6 address. For more information, see RFC 4293. +This attribute was added in vSphere API 6.7.

  • +
  • status (Ipv6.Status) – The Status of the IPv6 address. For more information, see RFC 4293. +This attribute was added in vSphere API 6.7.

  • +
  • address (str) – The IPv6 address, for example, fc00:10:20:83:20c:29ff:fe94:bb5a. +This attribute was added in vSphere API 6.7.

  • +
  • prefix (long) – The IPv6 CIDR prefix, for example, 64. This attribute was added in +vSphere API 6.7.

  • +
+
+
+
+ +
+
+class Config(dhcp=None, autoconf=None, addresses=None, default_gateway=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Ipv6.Config class provides the structure that you can use to +configure IPv6 on a particular interface. Addresses can be assigned by +DHCP, SLAAC or STATIC, as IPv6 permits multiple addresses per interface. +This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • dhcp (bool) – An address will be assigned by a DHCP server. This attribute was +added in vSphere API 6.7.

  • +
  • autoconf (bool) – An address will be assigned by Stateless Address Autoconfiguration +(SLAAC). This attribute was added in vSphere API 6.7.

  • +
  • addresses (list of Ipv6.Address) – The list of addresses to be statically assigned. This attribute was +added in vSphere API 6.7.

  • +
  • default_gateway (str) – The default gateway for static IP address assignment. This +configures the global IPv6 default gateway on the appliance with +the specified gateway address and interface. This gateway replaces +the existing default gateway configured on the appliance. However, +if the gateway address is link-local, then it is added for that +interface. This does not support configuration of multiple global +default gateways through different interfaces. This attribute was +added in vSphere API 6.7.

  • +
+
+
+
+ +
+
+class Info(dhcp=None, autoconf=None, addresses=None, default_gateway=None, configurable=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Ipv6.Info class provides the structure that defines an existing +IPv6 configuration on a particular interface. This structure is read only. +This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • dhcp (bool) – DHCP is on. This attribute was added in vSphere API 6.7.

  • +
  • autoconf (bool) – Stateless Address Autoconfiguration (SLAAC) is on. This attribute +was added in vSphere API 6.7.

  • +
  • addresses (list of Ipv6.AddressInfo) – List of addresses with their origins and statuses. This attribute +was added in vSphere API 6.7.

  • +
  • default_gateway (str) – The default gateway for static IP address assignment. This +configures the global IPv6 default gateway on the appliance with +the specified gateway address and interface. This gateway replaces +the existing default gateway configured on the appliance. However, +if the gateway address is link-local, then it is added for that +interface. This does not support configuration of multiple global +default gateways through different interfaces. This attribute was +added in vSphere API 6.7.

  • +
  • configurable (bool) – Is NIC configurable or not. This attribute was added in vSphere API +6.7.

  • +
+
+
+
+ +
+
+class Origin(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Ipv6.Origin class defines IPv6 address origin values. This +enumeration was added in vSphere API 6.7.

+
+

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 the Origin instance.

+
+
+
+
+DHCP = Origin(string='DHCP')
+

The IPv6 address is assigned by a DHCP server. See RFC 4293. This class +attribute was added in vSphere API 6.7.

+
+ +
+
+LINKLAYER = Origin(string='LINKLAYER')
+

The IPv6 address is assigned by IPv6 Stateless Address Auto-configuration +(SLAAC). See RFC 4293. This class attribute was added in vSphere API 6.7.

+
+ +
+
+MANUAL = Origin(string='MANUAL')
+

The IPv6 address was manually configured to a specified address, for +example, by user configuration. See RFC 4293. This class attribute was +added in vSphere API 6.7.

+
+ +
+
+OTHER = Origin(string='OTHER')
+

The IPv6 address is assigned by a mechanism other than manual, DHCP, SLAAC, +or random. See RFC 4293. This class attribute was added in vSphere API 6.7.

+
+ +
+
+RANDOM = Origin(string='RANDOM')
+

The IPv6 address is assigned randomly by the system. See RFC 4293. This +class attribute was added in vSphere API 6.7.

+
+ +
+ +
+
+class Status(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Ipv6.Status class defines IPv6 address status values. See RFC 4293. +This enumeration was added in vSphere API 6.7.

+
+

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 the Status instance.

+
+
+
+
+DEPRECATED = Status(string='DEPRECATED')
+

The is a valid but deprecated IPv6 address. This address cannot be used as +a source address in new communications, although packets addressed to such +an address are processed as expected. This class attribute was added in +vSphere API 6.7.

+
+ +
+
+DUPLICATE = Status(string='DUPLICATE')
+

The IPv6 address is not unique on the link and cannot be used. This class +attribute was added in vSphere API 6.7.

+
+ +
+
+INACCESSIBLE = Status(string='INACCESSIBLE')
+

The IPv6 address is inaccessible because the interface to which this +address is assigned is not operational. This class attribute was added in +vSphere API 6.7.

+
+ +
+
+INVALID = Status(string='INVALID')
+

The IPv6 address is not a valid address. It should not appear as the +destination or source address of a packet. This class attribute was added +in vSphere API 6.7.

+
+ +
+
+OPTIMISTIC = Status(string='OPTIMISTIC')
+

The IPv6 address is available for use, subject to restrictions, while its +uniqueness on a link is being verified. This class attribute was added in +vSphere API 6.7.

+
+ +
+
+PREFERRED = Status(string='PREFERRED')
+

This is a valid IPv6 address that can appear as the destination or source +address of a packet. This class attribute was added in vSphere API 6.7.

+
+ +
+
+TENTATIVE = Status(string='TENTATIVE')
+

The IPv6 address is in the process of being verified as unique. An address +in this state cannot be used for general communication. It can be used to +determine the uniqueness of the address. This class attribute was added in +vSphere API 6.7.

+
+ +
+
+UNKNOWN = Status(string='UNKNOWN')
+

The status of this address cannot be determined. This class attribute was +added in vSphere API 6.7.

+
+ +
+ +
+
+get(interface_name)
+

Get IPv6 network configuration for specific interface. This method was +added in vSphere API 6.7.

+
+
Parameters
+

interface_name (str) – Network interface to query, for example, “nic0”. +The parameter must be an identifier for the resource type: +com.vmware.appliance.networking.interfaces.

+
+
Return type
+

Ipv6.Info

+
+
Returns
+

IPv6 configuration.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the specified NIC is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error.

+
+
+
+ +
+
+set(interface_name, config)
+

Set IPv6 network configuration for specific interface. This method was +added in vSphere API 6.7.

+
+
Parameters
+
    +
  • interface_name (str) – Network interface to update, for example, “nic0”. +The parameter must be an identifier for the resource type: +com.vmware.appliance.networking.interfaces.

  • +
  • config (Ipv6.Config) – The IPv6 configuration.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +The specified NIC is busy.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +The specified NIC is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error.

+
+
+
+ +
+ +
+
+class com.vmware.appliance.networking.interfaces_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.appliance.recovery.backup.html b/vsphere/7.0.0.1/com.vmware.appliance.recovery.backup.html new file mode 100644 index 00000000..f7f5b5e3 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.appliance.recovery.backup.html @@ -0,0 +1,676 @@ + + + + + + + + + + + com.vmware.appliance.recovery.backup package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.appliance.recovery.backup package

+
+

Submodules

+
+
+

com.vmware.appliance.recovery.backup.job_client module

+
+
+class com.vmware.appliance.recovery.backup.job_client.Details(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Details class provides methods to get the details about backup +jobs. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class BuildInfo(version_name=None, version=None, build_number=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Details.BuildInfo class contains information about the build of the +appliance. This class was added in vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • version_name (str) – Appliance product type, for example 6.8.2 GA. This attribute was +added in vSphere API 6.7.2.

  • +
  • version (str) – Appliance version, for example 6.8.2.10000. This attribute was +added in vSphere API 6.7.2.

  • +
  • build_number (str) – Build Number of the appliance. This attribute was added in vSphere +API 6.7.2.

  • +
+
+
+
+ +
+
+class FilterSpec(jobs=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Details.FilterSpec class contains attributes used to filter the +results when listing backup jobs details (see Details.list()). This +class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

jobs (set of str or None) – Identifiers of backup jobs that can match the filter. This +attribute was added in vSphere API 6.7. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.appliance.recovery.backup.job. When methods return a +value of this class as a return value, the attribute will contain +identifiers for the resource type: +com.vmware.appliance.recovery.backup.job. +If None the filter will match all the backup jobs.

+
+
+
+ +
+
+class Info(location=None, duration=None, size=None, progress=None, location_user=None, type=None, messages=None, build=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.VapiStruct

+

The Details.Info class contains information about a backup job. This +class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • location (str) – URL of the backup location. This attribute was added in vSphere API +6.7.

  • +
  • duration (long) – Time in seconds since the backup job was started or the time it +took to complete the backup job. This attribute was added in +vSphere API 6.7. +This attribute is optional and it is only relevant when the value +of #status is one of +com.vmware.cis.task_client.Status.SUCCEEDED, +com.vmware.cis.task_client.Status.FAILED, or +com.vmware.cis.task_client.Status.RUNNING.

  • +
  • size (long) – Size of the backup data transferred to remote location. This +attribute was added in vSphere API 6.7. +This attribute is optional and it is only relevant when the value +of #status is one of +com.vmware.cis.task_client.Status.SUCCEEDED, +com.vmware.cis.task_client.Status.FAILED, or +com.vmware.cis.task_client.Status.RUNNING.

  • +
  • progress (com.vmware.cis.task_client.Progress) – Progress of the job. This attribute was added in vSphere API 6.7. +This attribute is optional and it is only relevant when the value +of #status is one of +com.vmware.cis.task_client.Status.SUCCEEDED, +com.vmware.cis.task_client.Status.FAILED, or +com.vmware.cis.task_client.Status.RUNNING.

  • +
  • location_user (str) – The username for the remote backup location. This attribute was +added in vSphere API 6.7.

  • +
  • type (Details.Type) – Type of the backup job. Indicates whether the backup was started +manually or as a scheduled backup. This attribute was added in +vSphere API 6.7.

  • +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) – List of any info/warning/error messages returned by the backup job. +This attribute was added in vSphere API 6.7.

  • +
  • build (Details.BuildInfo) – Information about the build of the appliance. This attribute was +added in vSphere API 6.7.2. +This attribute is optional because it was added in a newer version +than its parent node.

  • +
  • 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 (str or None) – 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.DynamicID or None) – 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 (Exception or None) – 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 (see +com.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 +of status is one of +com.vmware.cis.task_client.Status.RUNNING, +com.vmware.cis.task_client.Status.BLOCKED, +com.vmware.cis.task_client.Status.SUCCEEDED, or +com.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 +of status is one of +com.vmware.cis.task_client.Status.SUCCEEDED or +com.vmware.cis.task_client.Status.FAILED.

  • +
  • user (str or None) – Name of the user who performed the operation. +This attribute will be None if the operation is performed by the +system.

  • +
+
+
+
+ +
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Details.Type class defines the type of backup job. This enumeration +was added in vSphere API 6.7.

+
+

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 the Type instance.

+
+
+
+
+MANUAL = Type(string='MANUAL')
+

Job type is Manual. This class attribute was added in vSphere API 6.7.

+
+ +
+
+SCHEDULED = Type(string='SCHEDULED')
+

Job type is Scheduled. This class attribute was added in vSphere API 6.7.

+
+ +
+ +
+
+list(filter=None)
+

Returns detailed information about the current and historical backup +jobs. This method was added in vSphere API 6.7.

+
+
Parameters
+

filter (Details.FilterSpec or None) – Specification of matching backup jobs for which information should +be returned. +If None, the behavior is equivalent to Details.FilterSpec +with all attributes None which means all the backup jobs match the +filter.

+
+
Return type
+

dict of str and Details.Info

+
+
Returns
+

Map of backup job identifier to Info Structure. +The key in the return value dict will be an identifier for +the resource type: com.vmware.appliance.recovery.backup.job.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any error occurs during the execution of the operation.

+
+
+
+ +
+ +
+
+class com.vmware.appliance.recovery.backup.job_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.appliance.recovery.backup.system_name_client module

+
+
+class com.vmware.appliance.recovery.backup.system_name_client.Archive(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Archive class provides methods to get the backup information. This +class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class FilterSpec(start_timestamp=None, end_timestamp=None, comment_substring=None, max_results=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Archive.FilterSpec class contains attributes used to filter the +results when listing backup archives (see Archive.list()). If +multiple attributes are specified, only backup archives matching all of the +attributes match the filter. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • start_timestamp (datetime.datetime or None) – Backup must have been taken on or after this time to match the +filter. This attribute was added in vSphere API 6.7. +If None the filter will match oldest backups.

  • +
  • end_timestamp (datetime.datetime or None) – Backup must have been taken on or before this time to match the +filter. This attribute was added in vSphere API 6.7. +If None the filter will match most recent backups.

  • +
  • comment_substring (str or None) – Backup comment must contain this str to match the filter. +This attribute was added in vSphere API 6.7. +If None the filter will match backups with any comment.

  • +
  • max_results (long or None) – Limit result to a max count of most recent backups. This attribute +was added in vSphere API 6.7. +If None it defaults to 128.

  • +
+
+
+
+ +
+
+class Info(timestamp=None, location=None, parts=None, version=None, system_name=None, comment=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Archive.Info class represents backup archive information. This +class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • timestamp (datetime.datetime) – Time when this backup was completed. This attribute was added in +vSphere API 6.7.

  • +
  • location (str) – Backup location URL. This attribute was added in vSphere API 6.7.

  • +
  • parts (list of str) – List of parts included in the backup. This attribute was added in +vSphere API 6.7.

  • +
  • version (str) – The version of the appliance represented by the backup. This +attribute was added in vSphere API 6.7.

  • +
  • system_name (str) – The system name identifier of the appliance represented by the +backup. This attribute was added in vSphere API 6.7. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.appliance.recovery.backup.system_name. 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.recovery.backup.system_name.

  • +
  • comment (str) – Custom comment added by the user for this backup. This attribute +was added in vSphere API 6.7.

  • +
+
+
+
+ +
+
+class Summary(archive=None, timestamp=None, version=None, comment=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Archive.Summary class contains commonly used information about a +backup archive. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • archive (str) – Backup archive identifier. This attribute was added in vSphere API +6.7. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.appliance.recovery.backup.system_name.archive. 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.recovery.backup.system_name.archive.

  • +
  • timestamp (datetime.datetime) – Time when this backup was started. This attribute was added in +vSphere API 6.7.

  • +
  • version (str) – The version of the appliance represented by the backup archive. +This attribute was added in vSphere API 6.7.

  • +
  • comment (str) – Custom comment added by the user for this backup. This attribute +was added in vSphere API 6.7.

  • +
+
+
+
+ +
+
+get(spec, system_name, archive)
+

Returns the information for backup corresponding to given backup +location and system name. This method was added in vSphere API 6.7.

+
+
Parameters
+
    +
  • spec (com.vmware.appliance.recovery.backup_client.LocationSpec) – LocationSpec Structure.

  • +
  • system_name (str) – System name identifier. +The parameter must be an identifier for the resource type: +com.vmware.appliance.recovery.backup.system_name.

  • +
  • archive (str) – Archive identifier. +The parameter must be an identifier for the resource type: +com.vmware.appliance.recovery.backup.system_name.archive.

  • +
+
+
Return type
+

Archive.Info

+
+
Returns
+

Info Structure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if backup does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any error occurs during the execution of the operation.

+
+
+
+ +
+
+list(loc_spec, system_name, filter_spec)
+

Returns information about backup archives corresponding to given backup +location and system name, which match the Archive.FilterSpec. +This method was added in vSphere API 6.7.

+
+
Parameters
+
    +
  • loc_spec (com.vmware.appliance.recovery.backup_client.LocationSpec) – LocationSpec Structure.

  • +
  • system_name (str) – System name identifier. +The parameter must be an identifier for the resource type: +com.vmware.appliance.recovery.backup.system_name.

  • +
  • filter_spec (Archive.FilterSpec) – Specification of matching backups for which information should be +returned.

  • +
+
+
Return type
+

list of Archive.Summary

+
+
Returns
+

Commonly used information about the backup archives.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if combination of loc_spec and system name does not refer to an +existing location on the backup server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any error occurs during the execution of the operation.

+
+
+
+ +
+ +
+
+class com.vmware.appliance.recovery.backup.system_name_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.appliance.recovery.html b/vsphere/7.0.0.1/com.vmware.appliance.recovery.html new file mode 100644 index 00000000..262d5ac6 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.appliance.recovery.html @@ -0,0 +1,1830 @@ + + + + + + + + + + + com.vmware.appliance.recovery package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.appliance.recovery package

+ +
+

Submodules

+
+
+

com.vmware.appliance.recovery.backup_client module

+
+
+class com.vmware.appliance.recovery.backup_client.Job(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Job class provides methods to be performed on a backup job.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class BackupJobStatus(id=None, state=None, messages=None, progress=None, start_time=None, end_time=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Job.BackupJobStatus class represents the status of a backup/restore +job.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) – TimeStamp based ID.

  • +
  • state (Job.BackupRestoreProcessState) – The state of the backup job.

  • +
  • messages (list of Job.LocalizableMessage) – List of messages.

  • +
  • progress (long) – Progress of the job in percentage.

  • +
  • start_time (datetime.datetime) – Time when the backup was started.

  • +
  • end_time (datetime.datetime or None) – Time when the backup was finished. +If None end time is None until backup is finished.

  • +
+
+
+
+ +
+
+class BackupRequest(parts=None, backup_password=None, location_type=None, location=None, location_user=None, location_password=None, comment=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Job.BackupRequest class represents a requested backup piece.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • parts (list of str) – List of optional parts that will be included in the backup. Use the +Parts.list() method to get information about the supported +parts.

  • +
  • backup_password (str or None) – Password for a backup piece. The backupPassword must adhere to the +following password requirements: At least 8 characters, cannot be +more than 20 characters in length. At least 1 uppercase letter. At +least 1 lowercase letter. At least 1 numeric digit. At least 1 +special character (i.e. any character not in [0-9,a-z,A-Z]). Only +visible ASCII characters (for example, no space). +backupPassword If no password then the piece will not be encrypted

  • +
  • location_type (Job.LocationType) – Type of backup location.

  • +
  • location (str) – Path or URL of the backup location.

  • +
  • location_user (str or None) – Username for the given location. +If None authentication will not be used for the specified location.

  • +
  • location_password (str or None) – Password for the given location. +If None authentication will not be used for the specified location.

  • +
  • comment (str or None) – Custom comment provided by the user. +If None comment will be empty.

  • +
+
+
+
+ +
+
+class BackupRestoreProcessState(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Job.BackupRestoreProcessState class defines the possible states of +a backup/restore process.

+
+

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 the BackupRestoreProcessState instance.

+
+
+
+
+FAILED = BackupRestoreProcessState(string='FAILED')
+

Backup/Restore job failed.

+
+ +
+
+INPROGRESS = BackupRestoreProcessState(string='INPROGRESS')
+

Backup/Restore job is in progress.

+
+ +
+
+NONE = BackupRestoreProcessState(string='NONE')
+

Backup/Restore job is not started.

+
+ +
+
+SUCCEEDED = BackupRestoreProcessState(string='SUCCEEDED')
+

Backup/Restore job completed successfully.

+
+ +
+ +
+
+class LocalizableMessage(id=None, default_message=None, args=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Job.LocalizableMessage class represents a localizable message.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) – Id in message bundle.

  • +
  • default_message (str) – Text in english.

  • +
  • args (list of str) – Nested data.

  • +
+
+
+
+ +
+
+class LocationType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Job.LocationType class defines the type of destination location for +backup/restore. You specify the location type when you create a backup job. +See Job.BackupRequest.

+
+

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 the LocationType instance.

+
+
+
+
+FTP = LocationType(string='FTP')
+

Destination is FTP server.

+
+ +
+
+FTPS = LocationType(string='FTPS')
+

Destination is FTPS server.

+
+ +
+
+HTTP = LocationType(string='HTTP')
+

Destination is HTTP server.

+
+ +
+
+HTTPS = LocationType(string='HTTPS')
+

Destination is HTTPS server.

+
+ +
+
+NFS = LocationType(string='NFS')
+

Destination is NFS server. This class attribute was added in vSphere API +6.7.2.

+
+ +
+
+SCP = LocationType(string='SCP')
+

Destination is SSH server.

+
+ +
+
+SFTP = LocationType(string='SFTP')
+

Destination is SFTP server.

+
+ +
+
+SMB = LocationType(string='SMB')
+

Destination is SMB server. This class attribute was added in vSphere API +6.7.2.

+
+ +
+ +
+
+class ReturnResult(status=None, messages=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Job.ReturnResult class contains the result information for the +cancel operation.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class ReturnStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Job.ReturnStatus class defines the return type for the cancel +operation. You specify the return status when you return the result of +cancel job. See Job.ReturnResult.

+
+

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 the ReturnStatus instance.

+
+
+
+
+FAIL = ReturnStatus(string='FAIL')
+

Cancel operation failed.

+
+ +
+
+OK = ReturnStatus(string='OK')
+

Cancel operation succeeded.

+
+ +
+
+WARNING = ReturnStatus(string='WARNING')
+

Cancel operation passed with warnings.

+
+ +
+ +
+
+cancel(id)
+

Cancel the backup job.

+
+
Parameters
+

id (str) – ID (ID of job) +The parameter must be an identifier for the resource type: +com.vmware.appliance.recovery.backup.job.

+
+
Return type
+

Job.ReturnResult

+
+
Returns
+

BackupJobStatus Structure

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if backup associated with id does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any error occurs during the execution of the operation.

+
+
+
+ +
+
+create(piece)
+

Initiate backup.

+
+
Parameters
+

piece (Job.BackupRequest) – BackupRequest Structure

+
+
Return type
+

Job.BackupJobStatus

+
+
Returns
+

BackupJobStatus Structure

+
+
Raise
+

com.vmware.vapi.std.errors_client.FeatureInUse +A backup or restore is already in progress.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any error occurs during the execution of the operation.

+
+
+
+ +
+
+get(id)
+

See backup job progress/result.

+
+
Parameters
+

id (str) – ID (ID of job) +The parameter must be an identifier for the resource type: +com.vmware.appliance.recovery.backup.job.

+
+
Return type
+

Job.BackupJobStatus

+
+
Returns
+

BackupJobStatus Structure

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if backup associated with id does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any error occurs during the execution of the operation.

+
+
+
+ +
+
+list()
+

Get list of backup jobs

+
+
Return type
+

list of str

+
+
Returns
+

list of BackupJob IDs +The return value will contain identifiers for the resource type: +com.vmware.appliance.recovery.backup.job.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any error occurs during the execution of the operation.

+
+
+
+ +
+ +
+
+class com.vmware.appliance.recovery.backup_client.LocationSpec(location=None, location_user=None, location_password=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LocationSpec class has fields to represent a location on the backup +server. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • location (str) – Backup location URL. This attribute was added in vSphere API 6.7.

  • +
  • location_user (str or None) – Username for the given location. This attribute was added in +vSphere API 6.7. +If None authentication will not be used.

  • +
  • location_password (str or None) – Password for the given location. This attribute was added in +vSphere API 6.7. +If None authentication will not be used.

  • +
+
+
+
+ +
+
+class com.vmware.appliance.recovery.backup_client.Parts(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Parts class provides methods Provides list of parts optional for the +backup

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class LocalizableMessage(id=None, default_message=None, args=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Parts.LocalizableMessage class Structure representing message

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) – id in message bundle

  • +
  • default_message (str) – text in english

  • +
  • args (list of str) – nested data

  • +
+
+
+
+ +
+
+class Part(id=None, name=None, description=None, selected_by_default=None, optional=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Parts.Part class Structure representing backup restore part

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) – part ID +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.appliance.recovery.backup.parts. 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.recovery.backup.parts.

  • +
  • name (Parts.LocalizableMessage) – part name id in message bundle

  • +
  • description (Parts.LocalizableMessage) – part description id in message bundle

  • +
  • selected_by_default (bool) – Is this part selected by default in the user interface.

  • +
  • optional (bool) – Is this part optional.

  • +
+
+
+
+ +
+
+get(id)
+

Gets the size (in MB) of the part.

+
+
Parameters
+

id (str) – Identifier of the part. +The parameter must be an identifier for the resource type: +com.vmware.appliance.recovery.backup.parts.

+
+
Return type
+

long

+
+
Returns
+

long Size of the part in megabytes.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any error occurs during the execution of the operation.

+
+
+
+ +
+
+list()
+

Gets a list of the backup parts.

+
+
Return type
+

list of Parts.Part

+
+
Returns
+

Information about each of the backup parts.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any error occurs during the execution of the operation.

+
+
+
+ +
+ +
+
+class com.vmware.appliance.recovery.backup_client.Schedules(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Schedules class provides methods to be performed to manage backup +schedules. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(parts=None, backup_password=None, location=None, location_user=None, location_password=None, enable=None, recurrence_info=None, retention_info=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Schedules.CreateSpec class contains fields to be specified for +creating a new schedule. The structure includes parts, location +information, encryption password and enable flag. This class was added in +vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • parts (list of str or None) – List of optional parts to be backed up. Use the Parts.list() +method to get information about the supported parts. This attribute +was added in vSphere API 6.7. +If None all the optional parts will not be backed up.

  • +
  • backup_password (str or None) – Password for a backup piece. The backupPassword must adhere to the +following password requirements: At least 8 characters, cannot be +more than 20 characters in length. At least 1 uppercase letter. At +least 1 lowercase letter. At least 1 numeric digit. At least 1 +special character (i.e. any character not in [0-9,a-z,A-Z]). Only +visible ASCII characters (for example, no space). This attribute +was added in vSphere API 6.7. +If None the backup piece will not be encrypted.

  • +
  • location (str) – URL of the backup location. This attribute was added in vSphere API +6.7.

  • +
  • location_user (str or None) – Username for the given location. This attribute was added in +vSphere API 6.7. +If None authentication will not be used for the specified location.

  • +
  • location_password (str or None) – Password for the given location. This attribute was added in +vSphere API 6.7. +If None authentication will not be used for the specified location.

  • +
  • enable (bool or None) – Enable or disable a schedule. This attribute was added in vSphere +API 6.7. +If None the schedule will be enabled.

  • +
  • recurrence_info (Schedules.RecurrenceInfo or None) – Recurrence information for the schedule. This attribute was added +in vSphere API 6.7. +If None backup job will not be scheduled. See +Schedules.RecurrenceInfo

  • +
  • retention_info (Schedules.RetentionInfo or None) – Retention information for the schedule. This attribute was added in +vSphere API 6.7. +If None all the completed backup jobs will be retained forever. See +Schedules.RetentionInfo

  • +
+
+
+
+ +
+
+class DayOfWeek(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Schedules.DayOfWeek class defines the set of days when backup can +be scheduled. The days can be specified as a list of individual days. You +specify the days when you set the recurrence for a schedule. See +Schedules.RecurrenceInfo.days. This enumeration was added in +vSphere API 6.7.

+
+

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 the DayOfWeek instance.

+
+
+
+
+FRIDAY = DayOfWeek(string='FRIDAY')
+

Friday. This class attribute was added in vSphere API 6.7.

+
+ +
+
+MONDAY = DayOfWeek(string='MONDAY')
+

Monday. This class attribute was added in vSphere API 6.7.

+
+ +
+
+SATURDAY = DayOfWeek(string='SATURDAY')
+

Saturday. This class attribute was added in vSphere API 6.7.

+
+ +
+
+SUNDAY = DayOfWeek(string='SUNDAY')
+

Sunday. This class attribute was added in vSphere API 6.7.

+
+ +
+
+THURSDAY = DayOfWeek(string='THURSDAY')
+

Thursday. This class attribute was added in vSphere API 6.7.

+
+ +
+
+TUESDAY = DayOfWeek(string='TUESDAY')
+

Tuesday. This class attribute was added in vSphere API 6.7.

+
+ +
+
+WEDNESDAY = DayOfWeek(string='WEDNESDAY')
+

Wednesday. This class attribute was added in vSphere API 6.7.

+
+ +
+ +
+
+class Info(parts=None, location=None, location_user=None, enable=None, recurrence_info=None, retention_info=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Schedules.Info class contains information about an existing +schedule. The structure includes Schedule ID, parts, location information, +encryption password, enable flag, recurrence and retention information. +This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • parts (list of str) – List of optional parts that will be included in backups based on +this schedule details. Use the Parts.list() method to get +information about the supported parts. This attribute was added in +vSphere API 6.7.

  • +
  • location (str) – URL of the backup location. This attribute was added in vSphere API +6.7.

  • +
  • location_user (str or None) – Username for the given location. This attribute was added in +vSphere API 6.7. +If None location user will not be used.

  • +
  • enable (bool) – Enable or disable a schedule, by default when created a schedule +will be enabled. This attribute was added in vSphere API 6.7.

  • +
  • recurrence_info (Schedules.RecurrenceInfo or None) – Recurrence information for the schedule. This attribute was added +in vSphere API 6.7. +If None backup job is not scheduled. See +Schedules.RecurrenceInfo

  • +
  • retention_info (Schedules.RetentionInfo or None) – Retention information for the schedule. This attribute was added in +vSphere API 6.7. +If None all the completed backup jobs are retained forever. See +Schedules.RetentionInfo

  • +
+
+
+
+ +
+
+class RecurrenceInfo(minute=None, hour=None, days=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Schedules.RecurrenceInfo class contains the recurrence information +associated with a schedule. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • minute (long) – Minute when backup should run. This attribute was added in vSphere +API 6.7.

  • +
  • hour (long) – Hour when backup should run. The hour should be specified in +24-hour clock format. This attribute was added in vSphere API 6.7.

  • +
  • days (list of Schedules.DayOfWeek or None) – Day of week when the backup should be run. Days can be specified as +list of days. This attribute was added in vSphere API 6.7. +If None the backup will be run everyday.

  • +
+
+
+
+ +
+
+class RetentionInfo(max_count=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Schedules.RetentionInfo class contains retention information +associated with a schedule. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

max_count (long) – Number of backups which should be retained. If retention is not +set, all the backups will be retained forever. This attribute was +added in vSphere API 6.7.

+
+
+
+ +
+
+class UpdateSpec(parts=None, backup_password=None, location=None, location_user=None, location_password=None, enable=None, recurrence_info=None, retention_info=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Schedules.UpdateSpec class contains the fields of the existing +schedule which can be updated. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • parts (list of str or None) – List of optional parts. Use the Parts.list() method to get +information about the supported parts. This attribute was added in +vSphere API 6.7. +If None the value will not be changed.

  • +
  • backup_password (str or None) – Password for a backup piece. The backupPassword must adhere to the +following password requirements: At least 8 characters, cannot be +more than 20 characters in length. At least 1 uppercase letter. At +least 1 lowercase letter. At least 1 numeric digit. At least 1 +special character (i.e. any character not in [0-9,a-z,A-Z]). Only +visible ASCII characters (for example, no space). This attribute +was added in vSphere API 6.7. +If None the value will not be changed.

  • +
  • location (str or None) – URL of the backup location. This attribute was added in vSphere API +6.7. +If None the value will not be changed.

  • +
  • location_user (str or None) – Username for the given location. This attribute was added in +vSphere API 6.7. +If None the value will not be changed.

  • +
  • location_password (str or None) – Password for the given location. This attribute was added in +vSphere API 6.7. +If None the value will not be changed.

  • +
  • enable (bool or None) – Enable or disable a schedule. This attribute was added in vSphere +API 6.7. +If None the value will not be changed.

  • +
  • recurrence_info (Schedules.RecurrenceInfo or None) – Recurrence information for the schedule. This attribute was added +in vSphere API 6.7. +If None the infomration will not be changed. See +Schedules.RecurrenceInfo

  • +
  • retention_info (Schedules.RetentionInfo or None) – Retention information for the schedule. This attribute was added in +vSphere API 6.7. +If None the information will not be changed. See +Schedules.RetentionInfo

  • +
+
+
+
+ +
+
+create(schedule, spec)
+

Creates a schedule. This method was added in vSphere API 6.7.

+
+
Parameters
+
    +
  • schedule (str) – Identifier of the schedule +The parameter must be an identifier for the resource type: +com.vmware.appliance.recovery.backup.schedule.

  • +
  • spec (Schedules.CreateSpec) – CreateSpec Structure

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if provided with invalid schedule specification.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if the schedule with the given id already exists.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any error occurs during the execution of the operation.

+
+
+
+ +
+
+delete(schedule)
+

Deletes an existing schedule. This method was added in vSphere API 6.7.

+
+
Parameters
+

schedule (str) – Identifier of the schedule +The parameter must be an identifier for the resource type: +com.vmware.appliance.recovery.backup.schedule.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if schedule associated with id does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any error occurs during the execution of the operation.

+
+
+
+ +
+
+get(schedule)
+

Returns an existing schedule information based on id. This method was +added in vSphere API 6.7.

+
+
Parameters
+

schedule (str) – Identifier of the schedule +The parameter must be an identifier for the resource type: +com.vmware.appliance.recovery.backup.schedule.

+
+
Return type
+

Schedules.Info

+
+
Returns
+

Info Structure

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if schedule associated with id does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any error occurs during the execution of the operation.

+
+
+
+ +
+
+list()
+

Returns a list of existing schedules with details. This method was +added in vSphere API 6.7.

+
+
Return type
+

dict of str and Schedules.Info

+
+
Returns
+

Map of schedule id to Info Structure +The key in the return value dict will be an identifier for +the resource type: +com.vmware.appliance.recovery.backup.schedule.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any error occurs during the execution of the operation.

+
+
+
+ +
+
+run(schedule, comment=None)
+

Initiate backup with the specified schedule. This method was added in +vSphere API 6.7.

+
+
Parameters
+
    +
  • schedule (str) – Identifier of the schedule +The parameter must be an identifier for the resource type: +com.vmware.appliance.recovery.backup.schedule.

  • +
  • comment (str or None) – field that specifies the description for the backup. +If None the backup will have an empty comment.

  • +
+
+
Return type
+

Job.BackupJobStatus

+
+
Returns
+

BackupJobStatus Structure

+
+
Raise
+

com.vmware.vapi.std.errors_client.FeatureInUse +if a backup or restore is already in progress.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if schedule associated with id does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any error occurs during the execution of the operation.

+
+
+
+ +
+
+update(schedule, spec)
+

Updates a schedule. This method was added in vSphere API 6.7.

+
+
Parameters
+
    +
  • schedule (str) – Identifier of the schedule +The parameter must be an identifier for the resource type: +com.vmware.appliance.recovery.backup.schedule.

  • +
  • spec (Schedules.UpdateSpec) – UpdateSpec Structure

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if provided with invalid schedule specification.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if schedule associated with id does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any error occurs during the execution of the operation.

+
+
+
+ +
+ +
+
+class com.vmware.appliance.recovery.backup_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.appliance.recovery.backup_client.SystemName(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The SystemName class provides methods to enumerate system names of +appliance backups. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+list(loc_spec)
+

Returns a list of system names for which backup archives exist under +loc_spec. This method was added in vSphere API 6.7.

+
+
Parameters
+

loc_spec (LocationSpec) – LocationSpec Structure

+
+
Return type
+

list of str

+
+
Returns
+

list of system names +The return value will contain identifiers for the resource type: +com.vmware.appliance.recovery.backup.system_name.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if loc_spec doesn’t refer to an existing location on the backup +server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any error occurs during the execution of the operation.

+
+
+
+ +
+ +
+
+

com.vmware.appliance.recovery.reconciliation_client module

+
+
+class com.vmware.appliance.recovery.reconciliation_client.Job(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Job class provides methods to create and get the status of +reconciliation job. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(sso_admin_user_name=None, sso_admin_user_password=None, ignore_warnings=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Job.CreateSpec class has the fields to request the start of +reconciliation job. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • sso_admin_user_name (str or None) – Administrators username for SSO. This attribute was added in +vSphere API 6.7. +If None SSO authentication will not be used. If the vCenter Server +is a management node or an embedded node, authentication is +required.

  • +
  • sso_admin_user_password (str or None) – Password for SSO admin user. This attribute was added in vSphere +API 6.7. +If None SSO authentication will not be used. If the vCenter Server +is a management node or an embedded node, authentication is +required.

  • +
  • ignore_warnings (bool or None) – Flag indicating whether warnings should be ignored during +reconciliation. This attribute was added in vSphere API 6.7. +If None, validation warnings will fail the reconciliation +operation.

  • +
+
+
+
+ +
+
+class Info(description=None, service=None, operation=None, parent=None, target=None, status=None, cancelable=None, error=None, start_time=None, end_time=None, messages=None, progress=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Job.Info class represents the reconciliation job information. It +contains information related to current Status, any associated messages and +progress as percentage. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • description (com.vmware.vapi.std_client.LocalizableMessage) – Description of the operation associated with the task. This +attribute was added in vSphere API 6.7.

  • +
  • service (str) – Name of the service containing the operation. This attribute was +added in vSphere API 6.7. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.appliance.recovery.reconciliation.job. 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.recovery.reconciliation.job.

  • +
  • operation (str) – Name of the operation associated with the task. This attribute was +added in vSphere API 6.7.

  • +
  • parent (str or None) – Parent of the current task. This attribute was added in vSphere API +6.7. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.appliance.recovery.reconciliation.job. 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.recovery.reconciliation.job. +This attribute will be None if the task has no parent.

  • +
  • target (com.vmware.vapi.std_client.DynamicID or None) – Identifier of the target resource the operation modifies. This +attribute was added in vSphere API 6.7. +This attribute will be None if the task has multiple targets or no +target.

  • +
  • status (Job.Status) – Status of the operation associated with the task. This attribute +was added in vSphere API 6.7.

  • +
  • cancelable (bool or None) – Flag to indicate whether or not the operation can be cancelled. The +value may change as the operation progresses. This attribute was +added in vSphere API 6.7. +If None, the operation cannot be canceled.

  • +
  • error (Exception or None) – Description of the error if the operation status is “FAILED”. This +attribute was added in vSphere API 6.7. +If None the description of why the operation failed will be +included in the result of the operation (see null).

  • +
  • start_time (datetime.datetime) – Time when the operation is started. This attribute was added in +vSphere API 6.7. +This attribute is optional and it is only relevant when the value +of status is one of Job.Status.RUNNING, +Job.Status.SUCCEEDED, or Job.Status.FAILED.

  • +
  • end_time (datetime.datetime) – Time when the operation is completed. This attribute was added in +vSphere API 6.7. +This attribute is optional and it is only relevant when the value +of status is one of Job.Status.SUCCEEDED or +Job.Status.FAILED.

  • +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) – A list of localized messages. This attribute was added in vSphere +API 6.7.

  • +
  • progress (long) – The progress of the job as a percentage. This attribute was added +in vSphere API 6.7.

  • +
+
+
+
+ +
+
+class Status(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Job.Status class defines the status values that can be reported for +an operation. This enumeration was added in vSphere API 6.7.

+
+

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 the Status instance.

+
+
+
+
+FAILED = Status(string='FAILED')
+

The operation failed. This class attribute was added in vSphere API 6.7.

+
+ +
+
+NONE = Status(string='NONE')
+

The operation is not running. This class attribute was added in vSphere API +6.7.

+
+ +
+
+RUNNING = Status(string='RUNNING')
+

The operation is in progress. This class attribute was added in vSphere API +6.7.

+
+ +
+
+SUCCEEDED = Status(string='SUCCEEDED')
+

The operation completed successfully. This class attribute was added in +vSphere API 6.7.

+
+ +
+ +
+
+create(spec)
+

Initiate reconciliation. This method was added in vSphere API 6.7.

+
+
Parameters
+

spec (Job.CreateSpec) – CreateSpec Structure

+
+
Return type
+

Job.Info

+
+
Returns
+

Info Structure

+
+
Raise
+

com.vmware.vapi.std.errors_client.FeatureInUse +A backup or restore is already in progress.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +Reconciliation is allowed only after restore has finished +successfully.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any error occurs during the execution of the operation.

+
+
+
+ +
+
+get()
+

Get reconciliation job progress/result. This method was added in +vSphere API 6.7.

+
+
Return type
+

Job.Info

+
+
Returns
+

Info Structure

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if there is no running reconciliation job.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any error occurs during the execution of the operation.

+
+
+
+ +
+ +
+
+class com.vmware.appliance.recovery.reconciliation_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.appliance.recovery.restore_client module

+
+
+class com.vmware.appliance.recovery.restore_client.Job(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Job class provides methods Performs restore operations

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class BackupRestoreProcessState(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Job.BackupRestoreProcessState class Defines state of backup/restore +process

+
+

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 the BackupRestoreProcessState instance.

+
+
+
+
+FAILED = BackupRestoreProcessState(string='FAILED')
+

Failed

+
+ +
+
+INPROGRESS = BackupRestoreProcessState(string='INPROGRESS')
+

In progress

+
+ +
+
+NONE = BackupRestoreProcessState(string='NONE')
+

Not started

+
+ +
+
+SUCCEEDED = BackupRestoreProcessState(string='SUCCEEDED')
+

Completed successfully

+
+ +
+ +
+
+class LocalizableMessage(id=None, default_message=None, args=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Job.LocalizableMessage class Structure representing message

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) – id in message bundle

  • +
  • default_message (str) – text in english

  • +
  • args (list of str) – nested data

  • +
+
+
+
+ +
+
+class LocationType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Job.LocationType class Defines type of all locations for backup/restore

+
+

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 the LocationType instance.

+
+
+
+
+FTP = LocationType(string='FTP')
+

Destination is FTP server

+
+ +
+
+FTPS = LocationType(string='FTPS')
+

Destination is FTPS server

+
+ +
+
+HTTP = LocationType(string='HTTP')
+

Destination is HTTP server

+
+ +
+
+HTTPS = LocationType(string='HTTPS')
+

Destination is HTTPS server

+
+ +
+
+NFS = LocationType(string='NFS')
+

Destination is NFS server. This class attribute was added in vSphere API +6.7.2.

+
+ +
+
+SCP = LocationType(string='SCP')
+

Destination is SSH server

+
+ +
+
+SFTP = LocationType(string='SFTP')
+

Destination is SFTP server

+
+ +
+
+SMB = LocationType(string='SMB')
+

Destination is SMB server. This class attribute was added in vSphere API +6.7.2.

+
+ +
+ +
+
+class RestoreJobStatus(state=None, messages=None, progress=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Job.RestoreJobStatus class Structure representing backup restore status

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class RestoreRequest(backup_password=None, location_type=None, location=None, location_user=None, location_password=None, sso_admin_user_name=None, sso_admin_user_password=None, ignore_warnings=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Job.RestoreRequest class Structure representing requested restore piece

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • backup_password (str or None) – a password for a backup piece +backupPassword If no password then the piece will not be decrypted

  • +
  • location_type (Job.LocationType) – a type of location

  • +
  • location (str) – path or url

  • +
  • location_user (str or None) – username for location +locationUser User name for this location if login is required.

  • +
  • location_password (str or None) – password for location +locationPassword Password for the specified user if login is +required at this location.

  • +
  • sso_admin_user_name (str or None) – Administrators Username for SSO. This attribute was added in +vSphere API 6.7. +If None SSO authentication will not be used. If the vCenter Server +is a management node or an embedded node, authentication is +required.

  • +
  • sso_admin_user_password (str or None) – The password for SSO admin user. This attribute was added in +vSphere API 6.7. +If None SSO authentication will not be used. If the vCenter Server +is a management node or an embedded node, authentication is +required.

  • +
  • ignore_warnings (bool or None) – The flag to ignore warnings during restore. This attribute was +added in vSphere API 6.7. +If None, validation warnings will fail the restore operation

  • +
+
+
+
+ +
+
+class ReturnResult(status=None, messages=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Job.ReturnResult class Structure representing precheck result

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class ReturnStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Job.ReturnStatus class Defines the state of precheck

+
+

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 the ReturnStatus instance.

+
+
+
+
+FAIL = ReturnStatus(string='FAIL')
+

Check failed

+
+ +
+
+OK = ReturnStatus(string='OK')
+

Check passed

+
+ +
+
+WARNING = ReturnStatus(string='WARNING')
+

Passed with warnings

+
+ +
+ +
+
+cancel()
+

Cancel the restore job

+
+
Return type
+

Job.ReturnResult

+
+
Returns
+

RestoreJobStatus Structure

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+create(piece)
+

Initiate restore.

+
+
Parameters
+

piece (Job.RestoreRequest) – RestoreRequest Structure

+
+
Return type
+

Job.RestoreJobStatus

+
+
Returns
+

RestoreJobStatus Structure

+
+
Raise
+

com.vmware.vapi.std.errors_client.FeatureInUse +A backup or restore is already in progress

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +Restore is allowed only after deployment and before firstboot

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+get()
+

See restore job progress/result.

+
+
Return type
+

Job.RestoreJobStatus

+
+
Returns
+

RestoreJobStatus Structure

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance.recovery.restore_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.appliance.system.html b/vsphere/7.0.0.1/com.vmware.appliance.system.html new file mode 100644 index 00000000..971a1491 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.appliance.system.html @@ -0,0 +1,298 @@ + + + + + + + + + + + com.vmware.appliance.system package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.appliance.system package

+
+

Submodules

+
+
+

com.vmware.appliance.system.time_client module

+
+
+class com.vmware.appliance.system.time_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.appliance.system.time_client.Timezone(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Timezone class provides methods to get and set the appliance +timezone. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+get()
+

Get time zone. This method was added in vSphere API 6.7.

+
+
Return type
+

str

+
+
Returns
+

Time zone name.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if timezone cannot be read.

+
+
+
+ +
+
+set(name)
+

Set time zone. This method was added in vSphere API 6.7.

+
+
Parameters
+

name (str) – Time zone name.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if passed arguments are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any error occurs during the execution of the operation.

+
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.cis.html b/vsphere/7.0.0.1/com.vmware.cis.html new file mode 100644 index 00000000..c02457c4 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.cis.html @@ -0,0 +1,1812 @@ + + + + + + + + + + + com.vmware.cis package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.cis package

+
+

Submodules

+
+
+

com.vmware.cis.tagging_client module

+

The com.vmware.cis.tagging_client component provides methods and classes to +attach metadata, by means of tags, to vSphere objects to make these objects +more sortable and searchable. You can use it to create, manage, and enumerate +tags and their categories (the group a tag belongs to). You can also query the +attached tags and attached objects.

+
+
+class com.vmware.cis.tagging_client.Category(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Category class provides methods to create, read, update, delete, +and enumerate categories.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(name=None, description=None, cardinality=None, associable_types=None, category_id=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Category.CreateSpec class is used to create a category.

+

Use the Category.create() method to create a category defined by the +create specification.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – The display name of the category.

  • +
  • description (str) – The description of the category.

  • +
  • cardinality (CategoryModel.Cardinality) – The associated cardinality (SINGLE, MULTIPLE) of the category.

  • +
  • associable_types (set of str) – Object types to which this category’s tags can be attached.

  • +
  • category_id (str or None) – This attribute was added in vSphere API 6.7. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.cis.tagging.Category. 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.tagging.Category. +If None an identifier will be generated by the server

  • +
+
+
+
+ +
+
+class UpdateSpec(name=None, description=None, cardinality=None, associable_types=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Category.UpdateSpec class describes the updates to be made to an +existing category.

+

Use the Category.update() method to modify a category. When you call +the method, specify the category identifier. You obtain the category +identifier when you call the Category.create() method. You can also +retrieve an identifier by using the Category.list() method.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str or None) – The display name of the category. +If None the name will not be modified.

  • +
  • description (str or None) – The description of the category. +If None the description will not be modified.

  • +
  • cardinality (CategoryModel.Cardinality or None) – The associated cardinality (SINGLE, MULTIPLE) of the category. +If None the cardinality will not be modified.

  • +
  • associable_types (set of str or None) –

    Object types to which this category’s tags can be attached.

    +

    The set of associable types cannot be updated +incrementally. For example, if +Category.UpdateSpec.associable_types originally contains +{A,B,C} and you want to add D, then you need to pass {A,B,C,D} in +your update specification. You also cannot remove any item from +this set. For example, if you have {A,B,C}, then you +cannot remove say {A} from it. Similarly, if you start with an +empty set, then that implies that you can tag any object +and hence you cannot later pass say {A}, because that would be +restricting the type of objects you want to tag. Thus, associable +types can only grow and not shrink. +If None the associable types will not be modified.

    +

  • +
+
+
+
+ +
+
+add_to_used_by(category_id, used_by_entity)
+

Adds the used_by_entity to the CategoryModel.used_by +subscribers set for the specified category. If the +used_by_entity is already in the set, then this becomes an +idempotent no-op. To invoke this method, you need the modify +CategoryModel.used_by privilege on the category.

+
+
Parameters
+
    +
  • category_id (str) – The identifier of the input category. +The parameter must be an identifier for the resource type: +com.vmware.cis.tagging.Category.

  • +
  • used_by_entity (str) – The name of the user to be added to the +CategoryModel.used_by set.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the category for the given category_id does not exist in the +system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have the privilege to add an entity to the +CategoryModel.used_by field.

+
+
+
+ +
+
+create(create_spec)
+

Creates a category. To invoke this method, you need the create category +privilege.

+
+
Parameters
+

create_spec (Category.CreateSpec) – Specification for the new category to be created.

+
+
Return type
+

str

+
+
Returns
+

The identifier of the created category. +The return value will be an identifier for the resource type: +com.vmware.cis.tagging.Category.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if the Category.CreateSpec.name provided in the +create_spec is the name of an already existing category.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if any of the information in the create_spec is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have the privilege to create a category.

+
+
+
+ +
+
+delete(category_id)
+

Deletes an existing category. To invoke this method, you need the +delete privilege on the category.

+
+
Parameters
+

category_id (str) – The identifier of category to be deleted. +The parameter must be an identifier for the resource type: +com.vmware.cis.tagging.Category.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the category for the given category_id does not exist in the +system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have the privilege to delete the category.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
+
+ +
+
+get(category_id)
+

Fetches the category information for the given category identifier. In +order to view the category information, you need the read privilege on +the category.

+
+
Parameters
+

category_id (str) – The identifier of the input category. +The parameter must be an identifier for the resource type: +com.vmware.cis.tagging.Category.

+
+
Return type
+

CategoryModel

+
+
Returns
+

The CategoryModel that corresponds to category_id.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the category for the given category_id does not exist in the +system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have the privilege to read the category.

+
+
+
+ +
+
+list()
+

Enumerates the categories in the system. To invoke this method, you +need the read privilege on the individual categories. The list +will only contain those categories for which you have read privileges.

+
+
Return type
+

list of str

+
+
Returns
+

The list of resource identifiers for the categories in the +system. +The return value will contain identifiers for the resource type: +com.vmware.cis.tagging.Category.

+
+
+
+ +
+
+list_used_categories(used_by_entity)
+

Enumerates all categories for which the used_by_entity is part of +the CategoryModel.used_by subscribers set. To invoke +this method, you need the read privilege on the individual categories.

+
+
Parameters
+

used_by_entity (str) – The field on which the results will be filtered.

+
+
Return type
+

list of str

+
+
Returns
+

The list of resource identifiers for the categories in the +system that are used by used_by_entity. +The return value will contain identifiers for the resource type: +com.vmware.cis.tagging.Category.

+
+
+
+ +
+
+remove_from_used_by(category_id, used_by_entity)
+

Removes the used_by_entity from the CategoryModel.used_by +subscribers set. If the used_by_entity is not using this +category, then this becomes a no-op. To invoke this method, you need +the modify CategoryModel.used_by privilege on the category.

+
+
Parameters
+
    +
  • category_id (str) – The identifier of the input category. +The parameter must be an identifier for the resource type: +com.vmware.cis.tagging.Category.

  • +
  • used_by_entity (str) – The name of the user to be removed from the +CategoryModel.used_by set.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the category for the given category_id does not exist in the +system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have the privilege to remove an entity from the +CategoryModel.used_by field.

+
+
+
+ +
+
+revoke_propagating_permissions(category_id)
+

Revokes all propagating permissions on the given category. You should +then attach a direct permission with tagging privileges on the given +category. To invoke this method, you need category related privileges +(direct or propagating) on the concerned category.

+
+
Parameters
+

category_id (str) – The identifier of the input category. +The parameter must be an identifier for the resource type: +com.vmware.cis.tagging.Category.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the category for the given category_id does not exist in the +system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have the privilege to revoke propagating permissions +on the category.

+
+
+
+ +
+
+update(category_id, update_spec)
+

Updates an existing category. To invoke this method, you need the edit +privilege on the category.

+
+
Parameters
+
    +
  • category_id (str) – The identifier of the category to be updated. +The parameter must be an identifier for the resource type: +com.vmware.cis.tagging.Category.

  • +
  • update_spec (Category.UpdateSpec) – Specification to update the category.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if the Category.UpdateSpec.name provided in the +update_spec is the name of an already existing category.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if any of the information in the update_spec is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the category for the given category_id does not exist in the +system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have the privilege to update the category.

+
+
+
+ +
+ +
+
+class com.vmware.cis.tagging_client.CategoryModel(id=None, name=None, description=None, cardinality=None, associable_types=None, used_by=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CategoryModel class defines a category that is used to group one or +more tags.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) – The unique identifier of the category. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.cis.tagging.Category. 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.tagging.Category.

  • +
  • name (str) – The display name of the category.

  • +
  • description (str) – The description of the category.

  • +
  • cardinality (CategoryModel.Cardinality) – The associated cardinality (SINGLE, MULTIPLE) of the category.

  • +
  • associable_types (set of str) – The types of objects that the tags in this category can be attached +to. If the set is empty, then tags can be attached to all +types of objects. This field works only for objects that reside in +Inventory Service (IS). For non IS objects, this check is not +performed today and hence a tag can be attached to any non IS +object.

  • +
  • used_by (set of str) – The set of users that can use this category. To add users +to this, you need to have the edit privilege on the category. +Similarly, to unsubscribe from this category, you need the edit +privilege on the category. You should not modify other users +subscription from this set.

  • +
+
+
+
+
+class Cardinality(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The CategoryModel.Cardinality class defines the number of tags in a +category that can be assigned to an object.

+
+

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 the Cardinality instance.

+
+
+
+
+MULTIPLE = Cardinality(string='MULTIPLE')
+

An object can be assigned several of the tags in this category. For +example, if a category is “Server”, then different tags of this category +would be “AppServer”, “DatabaseServer” and so on. In this case a VM object +can be assigned more than one of the above tags and hence the cardinality +of the associated category here is multiple.

+
+ +
+
+SINGLE = Cardinality(string='SINGLE')
+

An object can only be assigned one of the tags in this category. For +example, if a category is “Operating System”, then different tags of this +category would be “Windows”, “Linux”, and so on. In this case a VM object +can be assigned only one of these tags and hence the cardinality of the +associated category here is single.

+
+ +
+ +
+ +
+
+class com.vmware.cis.tagging_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.cis.tagging_client.Tag(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Tag class provides methods to create, read, update, delete, and +enumerate tags.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(name=None, description=None, category_id=None, tag_id=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Tag.CreateSpec class describes a tag.

+

Use the Tag.create() method to create a tag defined by the create +specification.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – The display name of the tag. The name must be unique within its +category.

  • +
  • description (str) – The description of the tag.

  • +
  • category_id (str) – The unique identifier of the parent category in which this tag will +be created. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.cis.tagging.Category. 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.tagging.Category.

  • +
  • tag_id (str or None) – This attribute was added in vSphere API 6.7. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.cis.tagging.Tag. 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.tagging.Tag. +If None an identifier will be generated by the server

  • +
+
+
+
+ +
+
+class UpdateSpec(name=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Tag.UpdateSpec class describes the updates to be made to an +existing tag.

+

Use the Tag.update() method to modify a tag. When you call the +method, you specify the tag identifier. You obtain the tag identifier when +you call the Tag.create() method. You can also retrieve an identifier +by using the Tag.list() method.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str or None) – The display name of the tag. +If None the name will not be modified.

  • +
  • description (str or None) – The description of the tag. +If None the description will not be modified.

  • +
+
+
+
+ +
+
+add_to_used_by(tag_id, used_by_entity)
+

Adds the used_by_entity to the TagModel.used_by subscribers +set. If the used_by_entity is already in the set, +then this becomes a no-op. To invoke this method, you need the modify +TagModel.used_by privilege on the tag.

+
+
Parameters
+
    +
  • tag_id (str) – The identifier of the input tag. +The parameter must be an identifier for the resource type: +com.vmware.cis.tagging.Tag.

  • +
  • used_by_entity (str) – The name of the user to be added to the TagModel.used_by +set.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the tag for the given tag_id does not exist in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have the privilege to add an entity to the +TagModel.used_by field.

+
+
+
+ +
+
+create(create_spec)
+

Creates a tag. To invoke this method, you need the create tag privilege +on the input category.

+
+
Parameters
+

create_spec (Tag.CreateSpec) – Specification for the new tag to be created.

+
+
Return type
+

str

+
+
Returns
+

The identifier of the created tag. +The return value will be an identifier for the resource type: +com.vmware.cis.tagging.Tag.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if the Tag.CreateSpec.name provided in the create_spec +is the name of an already existing tag in the input category.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if any of the input information in the create_spec is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the category for in the given create_spec does not exist in +the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have the privilege to create tag.

+
+
+
+ +
+
+delete(tag_id)
+

Deletes an existing tag. To invoke this method, you need the delete +privilege on the tag.

+
+
Parameters
+

tag_id (str) – The identifier of the input tag. +The parameter must be an identifier for the resource type: +com.vmware.cis.tagging.Tag.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the tag for the given tag_id does not exist in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have the privilege to delete the tag.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
+
+ +
+
+get(tag_id)
+

Fetches the tag information for the given tag identifier. To invoke +this method, you need the read privilege on the tag in order to view +the tag info.

+
+
Parameters
+

tag_id (str) – The identifier of the input tag. +The parameter must be an identifier for the resource type: +com.vmware.cis.tagging.Tag.

+
+
Return type
+

TagModel

+
+
Returns
+

The TagModel that corresponds to tag_id.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the tag for the given tag_id does not exist in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have the privilege to read the tag.

+
+
+
+ +
+
+list()
+

Enumerates the tags in the system. To invoke this method, you need read +privilege on the individual tags. The list will only contain +tags for which you have read privileges.

+
+
Return type
+

list of str

+
+
Returns
+

The list of resource identifiers for the tags in the +system. +The return value will contain identifiers for the resource type: +com.vmware.cis.tagging.Tag.

+
+
+
+ +
+
+list_tags_for_category(category_id)
+

Enumerates all tags for the given category. To invoke this method, you +need the read privilege on the given category and the individual tags +in that category.

+
+
Parameters
+

category_id (str) – The identifier of the input category. +The parameter must be an identifier for the resource type: +com.vmware.cis.tagging.Category.

+
+
Return type
+

list of str

+
+
Returns
+

The list of resource identifiers for the tags in the given +input category. +The return value will contain identifiers for the resource type: +com.vmware.cis.tagging.Tag.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the category for the given category_id does not exist in the +system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have the privilege to read the category.

+
+
+
+ +
+
+list_used_tags(used_by_entity)
+

Enumerates all tags for which the used_by_entity is part of the +TagModel.used_by subscribers set. To invoke this +method, you need the read privilege on the individual tags.

+
+
Parameters
+

used_by_entity (str) – The field on which the results will be filtered.

+
+
Return type
+

list of str

+
+
Returns
+

The list of resource identifiers for the tags in the +system that are used by used_by_entity. +The return value will contain identifiers for the resource type: +com.vmware.cis.tagging.Tag.

+
+
+
+ +
+
+remove_from_used_by(tag_id, used_by_entity)
+

Removes the used_by_entity from the TagModel.used_by +subscribers set. If the used_by_entity is not using this tag, then +this becomes a no-op. To invoke this method, you need modify +TagModel.used_by privilege on the tag.

+
+
Parameters
+
    +
  • tag_id (str) – The identifier of the input tag. +The parameter must be an identifier for the resource type: +com.vmware.cis.tagging.Tag.

  • +
  • used_by_entity (str) – The name of the user to be removed from the +TagModel.used_by set.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the tag for the given tag_id does not exist in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have the privilege to remove an entity from the +TagModel.used_by field.

+
+
+
+ +
+
+revoke_propagating_permissions(tag_id)
+

Revokes all propagating permissions on the given tag. You should then +attach a direct permission with tagging privileges on the given tag. To +invoke this method, you need tag related privileges (direct or +propagating) on the concerned tag.

+
+
Parameters
+

tag_id (str) – The identifier of the input tag. +The parameter must be an identifier for the resource type: +com.vmware.cis.tagging.Tag.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the tag for the given tag_id does not exist in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have the privilege to revoke propagating permissions +on the tag.

+
+
+
+ +
+
+update(tag_id, update_spec)
+

Updates an existing tag. To invoke this method, you need the edit +privilege on the tag.

+
+
Parameters
+
    +
  • tag_id (str) – The identifier of the input tag. +The parameter must be an identifier for the resource type: +com.vmware.cis.tagging.Tag.

  • +
  • update_spec (Tag.UpdateSpec) – Specification to update the tag.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if the Tag.UpdateSpec.name provided in the update_spec +is the name of an already existing tag in the same category.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if any of the input information in the update_spec is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the tag for the given tag_id does not exist in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have the privilege to update the tag.

+
+
+
+ +
+ +
+
+class com.vmware.cis.tagging_client.TagAssociation(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The TagAssociation class provides methods to attach, detach, and query +tags.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class BatchResult(success=None, error_messages=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The TagAssociation.BatchResult class describes the result of performing +the same method on several tags or objects in a single invocation. This +class was added in vSphere API 6.5.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • success (bool) – This is true if the batch method completed without any errors. +Otherwise it is false and all or some methods have failed. This +attribute was added in vSphere API 6.5.

  • +
  • error_messages (list of com.vmware.vapi.std_client.LocalizableMessage) – The list of error messages. This attribute was added in +vSphere API 6.5.

  • +
+
+
+
+ +
+
+class ObjectToTags(object_id=None, tag_ids=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The TagAssociation.ObjectToTags class describes an object and its +related tags. Use the TagAssociation.list_attached_tags_on_objects() +method to retrieve a list with each element containing an object +and the tags attached to it. This class was added in vSphere API 6.5.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • object_id (com.vmware.vapi.std_client.DynamicID) – The identifier of the object. This attribute was added in vSphere +API 6.5.

  • +
  • tag_ids (list of str) – The identifiers of the related tags. This attribute was added in +vSphere API 6.5. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.cis.tagging.Tag. When methods return a value of this +class as a return value, the attribute will contain identifiers for +the resource type: com.vmware.cis.tagging.Tag.

  • +
+
+
+
+ +
+
+class TagToObjects(tag_id=None, object_ids=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The TagAssociation.TagToObjects class describes a tag and its related +objects. Use the TagAssociation.list_attached_objects_on_tags() +method to retrieve a list with each element containing a tag and +the objects to which it is attached. This class was added in vSphere API +6.5.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • tag_id (str) – The identifier of the tag. This attribute was added in vSphere API +6.5. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.cis.tagging.Tag. 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.tagging.Tag.

  • +
  • object_ids (list of com.vmware.vapi.std_client.DynamicID) – The identifiers of the related objects. This attribute was added in +vSphere API 6.5.

  • +
+
+
+
+ +
+
+attach(tag_id, object_id)
+

Attaches the given tag to the input object. The tag needs to meet the +cardinality (CategoryModel.cardinality) and associability +(CategoryModel.associable_types) criteria in order to be +eligible for attachment. If the tag is already attached to the object, +then this method is a no-op and an error will not be thrown. To invoke +this method, you need the attach tag privilege on the tag and the read +privilege on the object.

+
+
Parameters
+
    +
  • tag_id (str) – The identifier of the input tag. +The parameter must be an identifier for the resource type: +com.vmware.cis.tagging.Tag.

  • +
  • object_id (com.vmware.vapi.std_client.DynamicID) – The identifier of the input object.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the tag for the given tag_id does not exist in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the input tag is not eligible to be attached to this object or +if the object_id is not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have the privilege to attach the tag or do not have +the privilege to read the object.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
+
+ +
+
+attach_multiple_tags_to_object(object_id, tag_ids)
+

Attaches the given tags to the input object. If a tag is already +attached to the object, then the individual method is a no-op and an +error will not be added to +TagAssociation.BatchResult.error_messages. To invoke this +method, you need the read privilege on the object and the attach tag +privilege on each tag. This method was added in vSphere API 6.5.

+
+
Parameters
+
    +
  • object_id (com.vmware.vapi.std_client.DynamicID) – The identifier of the input object.

  • +
  • tag_ids (list of str) – The identifiers of the input tags. +The parameter must contain identifiers for the resource type: +com.vmware.cis.tagging.Tag.

  • +
+
+
Return type
+

TagAssociation.BatchResult

+
+
Returns
+

The outcome of the batch method and the list of error +messages (TagAssociation.BatchResult.error_messages) +describing attachment failures.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have the privilege to read the object.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
+
+ +
+
+attach_tag_to_multiple_objects(tag_id, object_ids)
+

Attaches the given tag to the input objects. If a tag is already +attached to the object, then the individual method is a no-op and an +error will not be added to +TagAssociation.BatchResult.error_messages. To invoke this +method, you need the attach tag privilege on the tag and the read +privilege on each object. This method was added in vSphere API 6.5.

+
+
Parameters
+
    +
  • tag_id (str) – The identifier of the input tag. +The parameter must be an identifier for the resource type: +com.vmware.cis.tagging.Tag.

  • +
  • object_ids (list of com.vmware.vapi.std_client.DynamicID) – The identifiers of the input objects.

  • +
+
+
Return type
+

TagAssociation.BatchResult

+
+
Returns
+

The outcome of the batch method and the list of error +messages (TagAssociation.BatchResult.error_messages) +describing attachment failures.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the tag for the given tag_id does not exist in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have the attach tag privilege on the tag.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
+
+ +
+
+detach(tag_id, object_id)
+

Detaches the tag from the given object. If the tag is already removed +from the object, then this method is a no-op and an error will not be +thrown. To invoke this method, you need the attach tag privilege on the +tag and the read privilege on the object.

+
+
Parameters
+
    +
  • tag_id (str) – The identifier of the input tag. +The parameter must be an identifier for the resource type: +com.vmware.cis.tagging.Tag.

  • +
  • object_id (com.vmware.vapi.std_client.DynamicID) – The identifier of the input object.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the tag for the given tag_id does not exist in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have the privilege to detach the tag or do not have +the privilege to read the given object.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
+
+ +
+
+detach_multiple_tags_from_object(object_id, tag_ids)
+

Detaches the given tags from the input object. If a tag is already +removed from the object, then the individual method is a no-op and an +error will not be added to +TagAssociation.BatchResult.error_messages. To invoke this +method, you need the read privilege on the object and the attach tag +privilege each tag. This method was added in vSphere API 6.5.

+
+
Parameters
+
    +
  • object_id (com.vmware.vapi.std_client.DynamicID) – The identifier of the input object.

  • +
  • tag_ids (list of str) – The identifiers of the input tags. +The parameter must contain identifiers for the resource type: +com.vmware.cis.tagging.Tag.

  • +
+
+
Return type
+

TagAssociation.BatchResult

+
+
Returns
+

The outcome of the batch method and the list of error +messages (TagAssociation.BatchResult.error_messages) +describing detachment failures.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have the privilege to read the object.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
+
+ +
+
+detach_tag_from_multiple_objects(tag_id, object_ids)
+

Detaches the given tag from the input objects. If a tag is already +removed from the object, then the individual method is a no-op and an +error will not be added to +TagAssociation.BatchResult.error_messages. To invoke this +method, you need the attach tag privilege on the tag and the read +privilege on each object. This method was added in vSphere API 6.5.

+
+
Parameters
+
    +
  • tag_id (str) – The identifier of the input tag. +The parameter must be an identifier for the resource type: +com.vmware.cis.tagging.Tag.

  • +
  • object_ids (list of com.vmware.vapi.std_client.DynamicID) – The identifiers of the input objects.

  • +
+
+
Return type
+

TagAssociation.BatchResult

+
+
Returns
+

The outcome of the batch method and the list of error +messages (TagAssociation.BatchResult.error_messages) +describing detachment failures.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the tag for the given tag does not exist in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have the attach tag privilege on the tag.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
+
+ +
+
+list_attachable_tags(object_id)
+

Fetches the list of attachable tags for the given object, +omitting the tags that have already been attached. Criteria for +attachability is calculated based on tagging cardinality +(CategoryModel.cardinality) and associability +(CategoryModel.associable_types) constructs. To invoke this +method, you need the read privilege on the input object. The +list will only contain those tags for which you have read +privileges.

+
+
Parameters
+

object_id (com.vmware.vapi.std_client.DynamicID) – The identifier of the input object.

+
+
Return type
+

list of str

+
+
Returns
+

The list of tag identifiers that are eligible to be +attached to the given object. +The return value will contain identifiers for the resource type: +com.vmware.cis.tagging.Tag.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have the privilege to read the object.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
+
+ +
+
+list_attached_objects(tag_id)
+

Fetches the list of attached objects for the given tag. To +invoke this method, you need the read privilege on the input tag. Only +those objects for which you have the read privilege will be returned.

+
+
Parameters
+

tag_id (str) – The identifier of the input tag. +The parameter must be an identifier for the resource type: +com.vmware.cis.tagging.Tag.

+
+
Return type
+

list of com.vmware.vapi.std_client.DynamicID

+
+
Returns
+

The list of attached object identifiers.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the tag for the given tag_id does not exist in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have the privilege to read the tag.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
+
+ +
+
+list_attached_objects_on_tags(tag_ids)
+

Fetches the list of TagAssociation.TagToObjects +describing the input tag identifiers and the objects they are attached +to. To invoke this method, you need the read privilege on each input +tag. The TagAssociation.TagToObjects.object_ids will only +contain those objects for which you have the read privilege. This +method was added in vSphere API 6.5.

+
+
Parameters
+

tag_ids (list of str) – The identifiers of the input tags. +The parameter must contain identifiers for the resource type: +com.vmware.cis.tagging.Tag.

+
+
Return type
+

list of TagAssociation.TagToObjects

+
+
Returns
+

The list of the tag identifiers to all object identifiers +that each tag is attached to.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
+
+ +
+
+list_attached_tags(object_id)
+

Fetches the list of tags attached to the given object. To +invoke this method, you need the read privilege on the input object. +The list will only contain those tags for which you have the +read privileges.

+
+
Parameters
+

object_id (com.vmware.vapi.std_client.DynamicID) – The identifier of the input object.

+
+
Return type
+

list of str

+
+
Returns
+

The list of all tag identifiers that correspond to the +tags attached to the given object. +The return value will contain identifiers for the resource type: +com.vmware.cis.tagging.Tag.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have the privilege to read the object.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
+
+ +
+
+list_attached_tags_on_objects(object_ids)
+

Fetches the list of TagAssociation.ObjectToTags +describing the input object identifiers and the tags attached to each +object. To invoke this method, you need the read privilege on each +input object. The TagAssociation.ObjectToTags.tag_ids will only +contain those tags for which you have the read privilege. This method +was added in vSphere API 6.5.

+
+
Parameters
+

object_ids (list of com.vmware.vapi.std_client.DynamicID) – The identifiers of the input objects.

+
+
Return type
+

list of TagAssociation.ObjectToTags

+
+
Returns
+

The list of the object identifiers to all tag identifiers +that are attached to that object.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
+
+ +
+ +
+
+class com.vmware.cis.tagging_client.TagModel(id=None, category_id=None, name=None, description=None, used_by=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The TagModel class defines a tag that can be attached to vSphere +objects.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) – The unique identifier of the tag. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.cis.tagging.Tag. 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.tagging.Tag.

  • +
  • category_id (str) – The identifier of the parent category in which this tag will be +created. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.cis.tagging.Category. 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.tagging.Category.

  • +
  • name (str) – The display name of the tag.

  • +
  • description (str) – The description of the tag.

  • +
  • used_by (set of str) – The set of users that can use this tag. To add users to +this, you need to have the edit privilege on the tag. Similarly, to +unsubscribe from this tag, you need the edit privilege on the tag. +You should not modify other users subscription from this +set.

  • +
+
+
+
+ +
+
+

com.vmware.cis.task_client module

+

The com.vmware.cis.task_client module provides classes and classes used for +managing tasks.

+
+
+class com.vmware.cis.task_client.CommonInfo(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.VapiStruct

+

The CommonInfo class contains information common to all tasks. This +class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • description (com.vmware.vapi.std_client.LocalizableMessage) – Description of the operation associated with the task. This +attribute was added in vSphere API 6.7.

  • +
  • service (str) – Identifier of the service containing the operation. This attribute +was added in vSphere API 6.7. +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. This +attribute was added in vSphere API 6.7. +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 (str or None) – Parent of the current task. This attribute was added in vSphere API +6.7. +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.DynamicID or None) – Identifier of the target created by the operation or an existing +one the operation performed on. This attribute was added in vSphere +API 6.7. +This attribute will be None if the operation has no target or +multiple targets.

  • +
  • status (Status) – Status of the operation associated with the task. This attribute +was added in vSphere API 6.7.

  • +
  • cancelable (bool) – Flag to indicate whether or not the operation can be cancelled. The +value may change as the operation progresses. This attribute was +added in vSphere API 6.7.

  • +
  • error (Exception or None) – Description of the error if the operation status is “FAILED”. This +attribute was added in vSphere API 6.7. +If None the description of why the operation failed will be +included in the result of the operation (see Info.result).

  • +
  • start_time (datetime.datetime) – Time when the operation is started. This attribute was added in +vSphere API 6.7. +This attribute is optional and it is only relevant when the value +of status is one of Status.RUNNING, +Status.BLOCKED, Status.SUCCEEDED, or +Status.FAILED.

  • +
  • end_time (datetime.datetime) – Time when the operation is completed. This attribute was added in +vSphere API 6.7. +This attribute is optional and it is only relevant when the value +of status is one of Status.SUCCEEDED or +Status.FAILED.

  • +
  • user (str or None) – Name of the user who performed the operation. This attribute was +added in vSphere API 6.7. +This attribute will be None if the operation is performed by the +system.

  • +
+
+
+
+ +
+
+class com.vmware.cis.task_client.Info(progress=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.VapiStruct

+

The Info class contains information about a task. This class was added +in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • progress (Progress) – Progress of the operation. This attribute was added in vSphere API +6.7. +This attribute is optional and it is only relevant when the value +of #status is one of Status.RUNNING, +Status.BLOCKED, Status.SUCCEEDED, or +Status.FAILED.

  • +
  • result (DataValue or None) – Result of the operation. If an operation reports partial results +before it completes, this attribute could be set before +the CommonInfo.status has the value +Status.SUCCEEDED. The value could change as the operation +progresses. This attribute was added in vSphere API 6.7. +This attribute will be None if the operation does not return a +result or if the result is not available at the current step of the +operation.

  • +
  • description (com.vmware.vapi.std_client.LocalizableMessage) – Description of the operation associated with the task. This +attribute was added in vSphere API 6.7.

  • +
  • service (str) – Identifier of the service containing the operation. This attribute +was added in vSphere API 6.7. +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. This +attribute was added in vSphere API 6.7. +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 (str or None) – Parent of the current task. This attribute was added in vSphere API +6.7. +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.DynamicID or None) – Identifier of the target created by the operation or an existing +one the operation performed on. This attribute was added in vSphere +API 6.7. +This attribute will be None if the operation has no target or +multiple targets.

  • +
  • status (Status) – Status of the operation associated with the task. This attribute +was added in vSphere API 6.7.

  • +
  • cancelable (bool) – Flag to indicate whether or not the operation can be cancelled. The +value may change as the operation progresses. This attribute was +added in vSphere API 6.7.

  • +
  • error (Exception or None) – Description of the error if the operation status is “FAILED”. This +attribute was added in vSphere API 6.7. +If None the description of why the operation failed will be +included in the result of the operation (see Info.result).

  • +
  • start_time (datetime.datetime) – Time when the operation is started. This attribute was added in +vSphere API 6.7. +This attribute is optional and it is only relevant when the value +of status is one of Status.RUNNING, +Status.BLOCKED, Status.SUCCEEDED, or +Status.FAILED.

  • +
  • end_time (datetime.datetime) – Time when the operation is completed. This attribute was added in +vSphere API 6.7. +This attribute is optional and it is only relevant when the value +of status is one of Status.SUCCEEDED or +Status.FAILED.

  • +
  • user (str or None) – Name of the user who performed the operation. This attribute was +added in vSphere API 6.7. +This attribute will be None if the operation is performed by the +system.

  • +
+
+
+
+ +
+
+class com.vmware.cis.task_client.Progress(total=None, completed=None, message=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Progress class contains information describe the progress of an +operation. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • total (long) – Total amount of the work for the operation. This attribute was +added in vSphere API 6.7.

  • +
  • completed (long) – The amount of work completed for the operation. The value can only +be incremented. This attribute was added in vSphere API 6.7.

  • +
  • message (com.vmware.vapi.std_client.LocalizableMessage) – Message about the work progress. This attribute was added in +vSphere API 6.7.

  • +
+
+
+
+ +
+
+class com.vmware.cis.task_client.Status(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Status class defines the status values that can be reported for an +operation. This enumeration was added in vSphere API 6.7.

+
+

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 the Status instance.

+
+
+
+
+BLOCKED = Status(string='BLOCKED')
+

The operation is blocked. This class attribute was added in vSphere API +6.7.

+
+ +
+
+FAILED = Status(string='FAILED')
+

The operation failed. This class attribute was added in vSphere API 6.7.

+
+ +
+
+PENDING = Status(string='PENDING')
+

The operation is in pending state. This class attribute was added in +vSphere API 6.7.

+
+ +
+
+RUNNING = Status(string='RUNNING')
+

The operation is in progress. This class attribute was added in vSphere API +6.7.

+
+ +
+
+SUCCEEDED = Status(string='SUCCEEDED')
+

The operation completed successfully. This class attribute was added in +vSphere API 6.7.

+
+ +
+ +
+
+class com.vmware.cis.task_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.content.html b/vsphere/7.0.0.1/com.vmware.content.html new file mode 100644 index 00000000..a685624a --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.content.html @@ -0,0 +1,2584 @@ + + + + + + + + + + + com.vmware.content package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.content package

+ +
+

Submodules

+
+
+

com.vmware.content.library_client module

+

The Content Library module provides classes and classes for defining and +managing the library’s items, subscription, publication, and storage.

+
+
+class com.vmware.content.library_client.Item(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Item class provides methods for managing library items.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class DestinationSpec(subscription=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Item.DestinationSpec class contains information required to publish +the library item to a specific subscription. This class was added in +vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

subscription (str) – Identifier of the subscription associated with the subscribed +library. This attribute was added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.library.Subscriptions. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.content.library.Subscriptions.

+
+
+
+ +
+
+class FindSpec(name=None, library_id=None, source_id=None, type=None, cached=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Item.FindSpec class specifies the properties that can be used as a +filter to find library items. When multiple attributes are specified, all +properties of the item must match the specification.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str or None) – The name of the library item. The name is case-insensitive. See +ItemModel.name. +If not specified all library item names are searched.

  • +
  • library_id (str or None) – The identifier of the library containing the item. See +ItemModel.library_id. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.Library. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: com.vmware.content.Library. +If not specified all libraries are searched.

  • +
  • source_id (str or None) – The identifier of the library item as reported by the publisher. +See ItemModel.source_id. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.library.Item. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.content.library.Item. +If not specified all library items are searched.

  • +
  • type (str or None) – The type of the library item. The type is case-insensitive. See +ItemModel.type. +If not specified all types are searched.

  • +
  • cached (bool or None) – Whether the item is cached. Possible values are ‘true’ or ‘false’. +See ItemModel.cached. +If not specified all library items are searched.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.content.library.Item'
+

Resource type for item.

+
+ +
+
+copy(source_library_item_id, destination_create_spec, client_token=None)
+

Copies a library item.

+

Copying a library item allows a duplicate to be made within the same or +different library. The copy occurs by first creating a new library +item, whose identifier is returned. The content of the library item is +then copied asynchronously. This copy can be tracked as a task.

+

If the copy fails, Content Library Service will roll back the copy by +deleting any content that was already copied, and removing the new +library item. A failure during rollback may require manual cleanup by +an administrator.

+
+

A library item cannot be copied into a subscribed library.

+
+
+
Parameters
+
    +
  • client_token (str or None) – A unique token generated on the client for each copy request. The +token should be a universally unique identifier (UUID), for +example: b8a2a2e3-2314-43cd-a871-6ede0f429751. This token can +be used to guarantee idempotent copy. +If not specified copy is not idempotent.

  • +
  • source_library_item_id (str) – Identifier of the existing library item from which the content will +be copied. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

  • +
  • destination_create_spec (ItemModel) – Specification for the new library item to be created.

  • +
+
+
Return type
+

str

+
+
Returns
+

The identifier of the new library item into which the content is +being copied. +The return value will be an identifier for the resource type: +com.vmware.content.library.Item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library item with source_library_item_id does not exist, +or if the library referenced by the ItemModel.library_id +property of destination_create_spec does not exist.

+
+
Raise
+
+
com.vmware.vapi.std.errors_client.InvalidArgument

if one of the following is true for the new library item:

+
+
+
    +
  • name is empty

  • +
  • name exceeds 80 characters

  • +
  • description exceeds 2000 characters

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the client_token does not conform to the UUID format.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementType +if the ItemModel.library_id property of +destination_create_spec refers to a subscribed library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the copy operation failed because the source or destination +library item is not accessible.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the content of the source library item specified by +source_library_item_id, or the content of the target library +specified by the library ID (see ItemModel.library_id) +property of destination_create_spec has been deleted from the +storage backings (see null) associated with it.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.library.Item referenced by +the parameter source_library_item_id requires System.Read.

  • +
  • The resource com.vmware.content.Library referenced by the +attribute ItemModel.library_id requires +ContentLibrary.AddLibraryItem.

  • +
+
+
+
+ +
+
+create(create_spec, client_token=None)
+

Creates a new library item.

+

A new library item is created without any content. After creation, +content can be added through the +com.vmware.content.library.item_client.UpdateSession and +com.vmware.content.library.item.updatesession_client.File +classes.

+
+

A library item cannot be created in a subscribed library.

+
+
+
Parameters
+
    +
  • client_token (str or None) – A unique token generated on the client for each creation request. +The token should be a universally unique identifier (UUID), for +example: b8a2a2e3-2314-43cd-a871-6ede0f429751. This token can +be used to guarantee idempotent creation. +If not specified creation is not idempotent.

  • +
  • create_spec (ItemModel) – Specification that defines the properties of the new library item.

  • +
+
+
Return type
+

str

+
+
Returns
+

Identifier of the new library item. +The return value will be an identifier for the resource type: +com.vmware.content.library.Item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the ItemModel.library_id property of create_spec +refers to a library that does not exist.

+
+
Raise
+
+
com.vmware.vapi.std.errors_client.InvalidArgument

if one of the following is true for the new library item:

+
+
+
    +
  • name is empty

  • +
  • name exceeds 80 characters

  • +
  • description exceeds 2000 characters

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the client_token does not conform to the UUID format.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementType +if the ItemModel.library_id property of create_spec +refers to a subscribed library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the content of the library specified by the library ID (see +ItemModel.library_id) property of create_spec has been +deleted from the storage backings (see null) associated with it.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if there is already a library item with same name in the library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.Library referenced by the +attribute ItemModel.library_id requires +ContentLibrary.AddLibraryItem.

  • +
+
+
+
+ +
+
+delete(library_item_id)
+

Deletes a library item.

+

This method will immediately remove the item from the library that owns +it. The content of the item will be asynchronously removed from the +storage backings. The content deletion can be tracked with a task. In +the event that the task fails, an administrator may need to manually +remove the files from the storage backing.

+

This method cannot be used to delete a library item that is a member of +a subscribed library. Removing an item from a subscribed library +requires deleting the item from the original published local library +and syncing the subscribed library.

+
+
Parameters
+

library_item_id (str) – Identifier of the library item to delete. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementType +if the library item with the given library_item_id is a member +of a subscribed library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library item with the specified library_item_id does not +exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the library item contains a virtual machine template and a +virtual machine is checked out of the library item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.library.Item referenced by +the parameter library_item_id requires +ContentLibrary.DeleteLibraryItem.

  • +
+
+
+
+ +
+
+find(spec)
+

Returns identifiers of all the visible (as determined by authorization +policy) library items matching the requested Item.FindSpec.

+
+
Parameters
+

spec (Item.FindSpec) – Specification describing what properties to filter on.

+
+
Return type
+

list of str

+
+
Returns
+

The list of identifiers of all the visible library items +matching the given spec. +The return value will contain identifiers for the resource type: +com.vmware.content.library.Item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if no properties are specified in the spec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
  • The resource com.vmware.content.Library referenced by the +attribute Item.FindSpec.library_id requires +System.Read.

  • +
+
+
+
+ +
+
+get(library_item_id)
+

Returns the ItemModel with the given identifier.

+
+
Parameters
+

library_item_id (str) – Identifier of the library item to return. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

+
+
Return type
+

ItemModel

+
+
Returns
+

The ItemModel instance with the given library_item_id.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if no item with the given library_item_id exists.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.library.Item referenced by +the parameter library_item_id requires System.Read.

  • +
+
+
+
+ +
+
+list(library_id)
+

Returns the identifiers of all items in the given library.

+
+
Parameters
+

library_id (str) – Identifier of the library whose items should be returned. +The parameter must be an identifier for the resource type: +com.vmware.content.Library.

+
+
Return type
+

list of str

+
+
Returns
+

The list of identifiers of the items in the library +specified by library_id. +The return value will contain identifiers for the resource type: +com.vmware.content.library.Item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library associated with library_id does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.Library referenced by the +parameter library_id requires System.Read.

  • +
+
+
+
+ +
+
+publish(library_item_id, force_sync_content, subscriptions=None)
+

Publishes the library item to specified subscriptions of the library. +If no subscriptions are specified, then publishes the library item to +all subscriptions of the library. This method was added in vSphere API +6.7.2.

+
+
Parameters
+
    +
  • library_item_id (str) – Library item identifier. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

  • +
  • force_sync_content (bool) – Whether to synchronize file content as well as metadata. This +parameter applies only if the subscription is on-demand.

  • +
  • subscriptions (list of Item.DestinationSpec or None) – The list of subscriptions to publish this library item to.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the library item specified by library_item_id does not +exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If one or more arguments in subscriptions is not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementType +If the library item specified by library_item_id is a member of +a subscribed library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +If the library item specified by library_item_id does not +belong to a published library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the user that requested the method cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user that requested the method is not authorized to perform +the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.library.Item referenced by +the parameter library_item_id requires +ContentLibrary.PublishLibraryItem.

  • +
+
+
+
+ +
+
+update(library_item_id, update_spec)
+

Updates the specified properties of a library item.

+

This is an incremental update to the library item. Attributes that are +None in the update specification are left unchanged.

+

This method cannot update a library item that is a member of a +subscribed library. Those items must be updated in the source published +library and synchronized to the subscribed library.

+
+
Parameters
+
    +
  • library_item_id (str) – Identifier of the library item to update. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

  • +
  • update_spec (ItemModel) – Specification of the properties to set.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library item specified by library_item_id does not +exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementType +if the library item corresponding to library_item_id is a +member of a subscribed library.

+
+
Raise
+
+
com.vmware.vapi.std.errors_client.InvalidArgument

if one of the following is true for the update_spec:

+
+
+
    +
  • name is empty

  • +
  • name exceeds 80 characters

  • +
  • description exceeds 2000 characters

  • +
  • version is not equal to the current version of the library item

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the library item belongs to a published library with JSON +persistence enabled (see PublishInfo.persist_json_enabled) +and the content of the library item specified by +library_item_id has been deleted from the storage backings (see +null) associated with it.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if there is already a library item with same name in the library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.library.Item referenced by +the parameter library_item_id requires +ContentLibrary.UpdateLibraryItem.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.content.library_client.ItemModel(id=None, library_id=None, content_version=None, creation_time=None, description=None, last_modified_time=None, last_sync_time=None, metadata_version=None, name=None, cached=None, size=None, type=None, version=None, source_id=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ItemModel class represents a library item that has been stored in a +library.

+

A ItemModel represents a single logical unit to be managed within a +com.vmware.content_client.LibraryModel. Items contain the actual +content of a library, and their placement within a library determines +policies that affect that content such as publishing.

+

A library item can have a specified type, indicated with the +ItemModel.type attribute. This property is associated with a +Content Library Service plugin that supports specific types and provides +additional services. The types available in a specific Content Library +Service can be queried using the com.vmware.content_client.Type +class. Items of an unknown or unspecified type are treated generically. +Because subscribed library catalogs are synchronized as is, subscribing to +a remote Content Library Service effectively gives you a library with the +functionality of the remote service’s type adapter plugins, even if they +are not installed locally.

+

Items can be managed using the Item class and, for items in +subscribed libraries, the SubscribedItem class.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) – A unique identifier for this library item. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.library.Item. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.content.library.Item. +This attribute is not used for the create method. It will not +be present in the return value of the get or list methods. +It is not used for the update method.

  • +
  • library_id (str) – The identifier of the +com.vmware.content_client.LibraryModel to which this item +belongs. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.Library. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: com.vmware.content.Library. +This attribute must be provided for the create method. It will +always be present in the return value of the get or list +methods. It is not used for the update method.

  • +
  • content_version (str) – The latest version of the file content list of this library item. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.library.item.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.content.library.item.Version. +This attribute is not used for the create method. It will +always be present in the return value of the get or list +methods. It is not used for the update method.

  • +
  • creation_time (datetime.datetime) – The date and time when this library item was created. +This attribute is not used for the create method. It will +always be present in the return value of the get or list +methods. It is not used for the update method.

  • +
  • description (str) – A human-readable description for this library item. +This attribute is optional for the create method. Leaving it +None during creation will result in an empty string value. It will +always be present in the result of a get or list method. It +is optional for the update method. Leaving it None during +update indicates that the description remains unchanged.

  • +
  • last_modified_time (datetime.datetime) –

    The date and time when the metadata for this library item was last +changed.

    +

    This attribute is affected by changes to the properties or file +content of this item. It is not modified by changes to the tags of +the item, or by changes to the library which owns this item. +This attribute is not used for the create method. It will +always be present in the return value of the get or list +methods. It is not used for the update method.

    +

  • +
  • last_sync_time (datetime.datetime) –

    The date and time when this library item was last synchronized.

    +

    This attribute is updated every time a synchronization is triggered +on the library item, including when a synchronization is triggered +on the library to which this item belongs. The value is None for a +library item that belongs to a local library. +This attribute is not used for the create method. It is +optional in the return value of the get or list methods. It +is not used for the update method.

    +

  • +
  • metadata_version (str) –

    A version number for the metadata of this library item.

    +

    This value is incremented with each change to the metadata of this +item. Changes to name, description, and so on will increment this +value. The value is not incremented by changes to the content or +tags of the item or the library which owns it. +This attribute is not used for the create method. It will +always be present in the return value of the get or list +methods. It is not used for the update method.

    +

  • +
  • name (str) –

    A human-readable name for this library item.

    +

    The name may not be None or an empty string. The name does not have +to be unique, even within the same library. +This attribute must be provided for the create method. It will +always be present in the return value of the get or list +methods. It is optional for the update method.

    +

  • +
  • cached (bool) – The status that indicates whether the library item is on disk or +not. The library item is cached when all its files are on disk. +This attribute is not used for the create method. It will +always be present in the return value of the get or list +methods. It is not used for the update method.

  • +
  • size (long) – The library item size, in bytes. The size is the sum of the size +used on the storage backing for all the files in the item. When the +library item is not cached, the size is 0. +This attribute is not used for the create method. It is +optional in the return value of the get or list methods. It +is not used for the update method.

  • +
  • type (str) –

    An optional type identifier which indicates the type adapter plugin +to use.

    +

    This attribute may be set to a non-empty string value that +corresponds to an identifier supported by a type adapter plugin +present in the Content Library Service. A type adapter plugin, if +present for the specified type, can provide additional information +and services around the item content. A type adapter can guide the +upload process by creating file entries that are in need of being +uploaded to complete an item.

    +

    The types and plugins supported by the Content Library Service can +be queried using the com.vmware.content_client.Type class. +This attribute is optional for the create and update +methods. During creation, if the type is left unspecified, or if +the type is specified but does not have a corresponding type +support plugin, then the type of the library item is considered to +be generic and all data is treated as generic files. During update, +if the type is not specified, then it is not updated.

    +

  • +
  • version (str) –

    A version number that is updated on metadata changes. This value is +used to validate update requests to provide optimistic concurrency +of changes.

    +

    This value represents a number that is incremented every time +library item properties, such as name or description, are changed. +It is not incremented by changes to the file content of the library +item, including adding or removing files. It is also not affected +by tagging the library item. +This attribute is not used for the create method. It will +always be present in the result of a get or list method. It +is optional for the update method. Leaving it None during +update indicates that you do not need to detect concurrent updates.

    +

  • +
  • source_id (str) – The identifier of the ItemModel to which this item is +synchronized to if the item belongs to a subscribed library. The +value is None for a library item that belongs to a local library. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.library.Item. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.content.library.Item. +This attribute is not used for the create method. It is +optional in the return value of the get or list methods. It +is not used for the update method.

  • +
+
+
+
+ +
+
+class com.vmware.content.library_client.OptimizationInfo(optimize_remote_publishing=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The OptimizationInfo class defines different optimizations and +optimization parameters applied to particular library.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

optimize_remote_publishing (bool) –

If set to true then library would be optimized for remote +publishing.

+

Turn it on if remote publishing is dominant use case for this +library. Remote publishing means here that publisher and +subscribers are not the part of the same Vcenter SSO domain.

+

Any optimizations could be done as result of turning on this +optimization during library creation. For example, library content +could be stored in different format but optimizations are not +limited to just storage format.

+

Note, that value of this toggle could be set only during creation +of the library and you would need to migrate your library in case +you need to change this value (optimize the library for different +use case). +This attribute is optional for the create method. If not +specified for the create, the default is for the library to not +be optmized for specific use case. It is not used for the +update method.

+

+
+
+
+ +
+
+class com.vmware.content.library_client.PublishInfo(authentication_method=None, published=None, publish_url=None, user_name=None, password=None, current_password=None, persist_json_enabled=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The PublishInfo class defines how a local library is published publicly +for synchronization to other libraries.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+
+class AuthenticationMethod(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The PublishInfo.AuthenticationMethod class indicates how a subscribed +library should authenticate to the published library endpoint.

+
+

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 the AuthenticationMethod instance.

+
+
+
+
+BASIC = AuthenticationMethod(string='BASIC')
+

Require HTTP Basic authentication matching a specified username and +password.

+
+ +
+
+NONE = AuthenticationMethod(string='NONE')
+

Require no authentication.

+
+ +
+ +
+ +
+
+class com.vmware.content.library_client.SourceInfo(source_library=None, subscription=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The SourceInfo class contains information about the source published +library of a subscribed library. This class was added in vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • source_library (str) – Identifier of the published library. This attribute was added in +vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.Library. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: com.vmware.content.Library. +This attribute must be provided for the create method. It will +always be present in the return value of the get or list +methods. It is optional for the update method.

  • +
  • subscription (str) – Identifier of the subscription associated with the subscribed +library. This attribute was added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.library.Subscriptions. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.content.library.Subscriptions. +This attribute must be provided for the create method. It will +always be present in the return value of the get or list +methods. It is optional for the update method.

  • +
+
+
+
+ +
+
+class com.vmware.content.library_client.StorageBacking(type=None, datastore_id=None, storage_uri=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The StorageBacking class defines a storage location where content in a +library will be stored. The storage location can either be a Datastore or +Other type.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (StorageBacking.Type) – Type (DATASTORE, OTHER) of StorageBacking. +This attribute must be provided for the create method. It will +always be present in the return value of the get or list +methods. It is not used for the update method.

  • +
  • datastore_id (str) – Identifier of the datastore used to store the content in the +library. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Datastore. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Datastore. +This attribute is optional and it is only relevant when the value +of type is StorageBacking.Type.DATASTORE.

  • +
  • storage_uri (str) –

    URI identifying the location used to store the content in the +library.

    +
    +

    The following URI formats are supported:

    +

    vSphere 6.5

    +
    + +
    +

    vSphere 6.0 Update 1

    +
    +
      +
    • nfs://server:/path (for vCenter Server Appliance only)

    • +
    • file://unc-server/path (for vCenter Server for Windows only)

    • +
    • file:///mount/point (for vCenter Server Appliance only) - Local +file URIs are supported only when the path is a local mount point +for an NFS file system. Use of file URIs is strongly discouraged. +Instead, use an NFS URI to specify the remote file system.

    • +
    +
    +

    vSphere 6.0

    +
    + +

    This attribute is optional and it is only relevant when the value +of type is StorageBacking.Type.OTHER.

    +

  • +
+
+
+
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The StorageBacking.Type class specifies the type of the +StorageBacking.

+
+

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 the Type instance.

+
+
+
+
+DATASTORE = Type(string='DATASTORE')
+

The content of the library will be stored on a datastore.

+

These are vCenter Server managed datastores, and are logical containers +that hide specifics of each storage device. Depending on the type of +storage you use, datastores can be backed by the following file system +formats:

+
    +
  • Virtual Machine File System (VMFS)

  • +
  • Network File System (NFS)

  • +
+
+ +
+
+OTHER = Type(string='OTHER')
+

The content of the library will be stored on a remote file system.

+
+

Supports the following remote file systems:

+
+
    +
  • NFS (on vCenter Server Appliance)

  • +
  • SMB (on vCenter Server Appliance and vCenter Server for Windows)

  • +
+
+ +
+ +
+ +
+
+class com.vmware.content.library_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.content.library_client.SubscribedItem(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The SubscribedItem class manages the unique features of library items +that are members of a subscribed library.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+evict(library_item_id)
+

Evicts the cached content of a library item in a subscribed library.

+

This method allows the cached content of a library item to be removed +to free up storage capacity. This method will only work when a library +item is synchronized on-demand. When a library is not synchronized +on-demand, it always attempts to keep its cache up-to-date with the +published source. Evicting the library item will set +ItemModel.cached to false.

+
+
Parameters
+

library_item_id (str) – Identifier of the library item whose content should be evicted. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library item specified by library_item_id does not +exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementType +if the library item specified by library_item_id is not a +member of a subscribed library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementConfiguration +if the library item specified by library_item_id is a member of +a subscribed library that does not synchronize on-demand.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the content of the library item specified by library_item_id +has been deleted from the storage backings (see null) associated +with it.

+

For instance, this {\@term error) is reported on evicting a +library item in an on-demand subscribed library that was restored +from backup, and the library item was deleted after backup, thus +resulting in its content being deleted from the associated storage +backings. In this scenario, the metadata of the library item is +present on a restore, while its content has been deleted.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.library.Item referenced by +the parameter library_item_id requires +ContentLibrary.EvictLibraryItem.

  • +
+
+
+
+ +
+
+sync(library_item_id, force_sync_content)
+

Forces the synchronization of an individual library item in a +subscribed library.

+

Synchronizing an individual item will update that item’s metadata from +the remote source. If the source library item on the remote library has +been deleted, this method will delete the library item from the +subscribed library as well.

+

The default behavior of the synchronization is determined by the +SubscriptionInfo of the library which owns the library item.

+
    +
  • If SubscriptionInfo.on_demand is true, then the file content +is not synchronized by default. In this case, only the library item +metadata is synchronized. The file content may still be forcefully +synchronized by passing true for the force_sync_content parameter.

  • +
  • If SubscriptionInfo.on_demand is false, then this call will +always synchronize the file content. The force_sync_content +parameter is ignored when the subscription is not on-demand.

  • +
+

When the file content has been synchronized, the +ItemModel.cached attribute will be true.

+

This method will return immediately and create an asynchronous task to +perform the synchronization.

+
+
Parameters
+
    +
  • library_item_id (str) – Identifier of the library item to synchronize. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

  • +
  • force_sync_content (bool) – Whether to synchronize file content as well as metadata. This +parameter applies only if the subscription is on-demand.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library item specified by library_item_id could not be +found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementType +if the library item specified by library_item_id is not a +member of a subscribed library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the content of the library item specified by library_item_id +has been deleted from the storage backings (see null) associated +with it.

+

For instance, this {\@term error) is reported on synchronizing a +library item in a subscribed library that was restored from backup, +and the library item was deleted after backup, thus resulting in +its content being deleted from the associated storage backings. In +this scenario, the metadata of the library item is present on a +restore, while its content has been deleted.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.library.Item referenced by +the parameter library_item_id requires +ContentLibrary.SyncLibraryItem.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.content.library_client.SubscriptionInfo(authentication_method=None, automatic_sync_enabled=None, on_demand=None, password=None, ssl_thumbprint=None, subscription_url=None, user_name=None, source_info=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The SubscriptionInfo class defines the subscription behavior for a +subscribed library.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • authentication_method (SubscriptionInfo.AuthenticationMethod) – Indicate how the subscribed library should authenticate (BASIC, +NONE) with the published library endpoint. +This attribute must be provided for the create method. It will +always be present in the return value of the get or list +methods. It is optional for the update method.

  • +
  • automatic_sync_enabled (bool) – Whether the library should participate in automatic library +synchronization. In order for automatic synchronization to happen, +the global +com.vmware.content_client.ConfigurationModel.automatic_sync_enabled +option must also be true. The subscription is still active even +when automatic synchronization is turned off, but synchronization +is only activated with an explicit call to +com.vmware.content_client.SubscribedLibrary.sync() or +SubscribedItem.sync(). In other words, manual synchronization +is still available even when automatic synchronization is disabled. +This attribute must be provided for the create method. It will +always be present in the return value of the get or list +methods. It is optional for the update method.

  • +
  • on_demand (bool) –

    Indicates whether a library item’s content will be synchronized +only on demand.

    +

    If this is set to true, then the library item’s metadata will +be synchronized but the item’s content (its files) will not be +synchronized. The Content Library Service will synchronize the +content upon request only. This can cause the first use of the +content to have a noticeable delay.

    +

    Items without synchronized content can be forcefully synchronized +in advance using the SubscribedItem.sync() call with +forceSyncContent set to true. Once content has been +synchronized, the content can removed with the +SubscribedItem.evict() call.

    +

    If this value is set to false, all content will be synchronized +in advance. +This attribute must be provided for the create method. It will +always be present in the return value of the get or list +methods. It is optional for the update method.

    +

  • +
  • password (str) –

    The password to use when authenticating.

    +

    The password must be set when using a password-based authentication +method; empty strings are not allowed. +This attribute is optional for the create method. It will not +be present in the return value of the get or list methods. +It is optional for the update method.

    +

  • +
  • ssl_thumbprint (str) –

    An optional SHA-1 hash of the SSL certificate for the remote +endpoint.

    +

    If this value is defined the SSL certificate will be verified by +comparing it to the SSL thumbprint. The SSL certificate must verify +against the thumbprint. When specified, the standard certificate +chain validation behavior is not used. The certificate chain is +validated normally if this value is None. +This attribute is optional for the create method. It will not +be present in the return value of the get or list methods. +It is optional for the update method.

    +

  • +
  • subscription_url (str) –

    The URL of the endpoint where the metadata for the remotely +published library is being served.

    +

    This URL can be the PublishInfo.publish_url of the +published library (for example, https://server/path/lib.json).

    +

    If the source content comes from a published library with +PublishInfo.persist_json_enabled, the subscription URL can +be a URL pointing to the library JSON file on a datastore or remote +file system. The supported formats are:

    +
    +

    vSphere 6.5

    +
    + +
    +

    vSphere 6.0

    +
    + +

    When you specify a DS subscription URL, the datastore must be on +the same vCenter Server as the subscribed library. When you specify +an NFS or SMB subscription URL, the +StorageBacking.storage_uri of the subscribed library must +be on the same remote file server and should share a common parent +path with the subscription URL. +This attribute must be provided for the create method. It will +always be present in the return value of the get or list +methods. It is optional for the update method.

    +

  • +
  • user_name (str) –

    The username to use when authenticating.

    +

    The username must be set when using a password-based authentication +method. Empty strings are allowed for usernames. +This attribute is optional for the create method. It is +optional in the return value of the get or list methods. It +is optional for the update method.

    +

  • +
  • source_info (SourceInfo) – Information about the source published library. This attribute will +be set for a subscribed library which is associated with a +subscription of the published library. This attribute was added in +vSphere API 6.7.2. +This attribute is optional for the create method. It is +optional in the return value of the get or list methods. It +is optional for the update method.

  • +
+
+
+
+
+class AuthenticationMethod(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Indicate how the subscribed library should authenticate with the published +library endpoint.

+
+

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 the AuthenticationMethod instance.

+
+
+
+
+BASIC = AuthenticationMethod(string='BASIC')
+

Require HTTP Basic authentication matching a specified username and +password.

+
+ +
+
+NONE = AuthenticationMethod(string='NONE')
+

Require no authentication.

+
+ +
+ +
+ +
+
+class com.vmware.content.library_client.Subscriptions(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Subscriptions class provides methods for managing the subscription +information of the subscribers of a published library. This class was added +in vSphere API 6.7.2.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(subscribed_library=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Subscriptions.CreateSpec class defines the information required to +create a new subscription of the published library. This class was added in +vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

subscribed_library (Subscriptions.CreateSpecSubscribedLibrary) – Specification for the subscribed library to be associated with the +subscription. This attribute was added in vSphere API 6.7.2.

+
+
+
+ +
+
+class CreateSpecNewSubscribedLibrary(name=None, description=None, storage_backings=None, automatic_sync_enabled=None, on_demand=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Subscriptions.CreateSpecNewSubscribedLibrary class defines the +information required to create a new subscribed library. This class was +added in vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Name of the subscribed library. This attribute was added in vSphere +API 6.7.2.

  • +
  • description (str or None) – Description of the subscribed library. This attribute was added in +vSphere API 6.7.2. +If None, the description will be an empty string.

  • +
  • storage_backings (list of StorageBacking) –

    The list of default storage backings for this library.

    +

    The list must contain exactly one storage backing. Multiple default +storage locations are not currently supported but may become +supported in future releases.. This attribute was added in vSphere +API 6.7.2.

    +

  • +
  • automatic_sync_enabled (bool) – Specifies whether the library should participate in automatic +library synchronization. This attribute was added in vSphere API +6.7.2.

  • +
  • on_demand (bool) – Specifies whether a library item’s content will be synchronized +only on demand. This attribute was added in vSphere API 6.7.2.

  • +
+
+
+
+ +
+
+class CreateSpecPlacement(folder=None, cluster=None, resource_pool=None, host=None, network=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Subscriptions.CreateSpecPlacement class defines the placement +information for the subscribed library’s virtual machine template library +items. Storage location of the virtual machine template items is defined by +the subscribed library’s storage backing. This placement information needs +to be compatible with the subscribed library’s storage backing. The +Subscriptions.CreateSpecPlacement class is only applicable for the +virtual machine template library items of the subscribed library. This +class was added in vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • folder (str or None) – Virtual machine folder into which the virtual machine template +should be placed. This attribute was added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Folder:VCenter. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Folder:VCenter. +This attribute is currently required. In future, if this is None, +the system will attempt to choose a suitable folder for the virtual +machine template; if a folder cannot be chosen, publishing a +virtual machine template item will fail.

  • +
  • cluster (str or None) – Cluster onto which the virtual machine template should be placed. +If cluster and resourcePool are both specified, +resourcePool must belong to cluster. If cluster and +host are both specified, host must be a member of +cluster. This attribute was added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource:VCenter. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: ClusterComputeResource:VCenter. +If resourcePool or host is specified, it is recommended +that this attribute be None.

  • +
  • resource_pool (str or None) – Resource pool into which the virtual machine template should be +placed. If host and resourcePool are both specified, +resourcePool must belong to host. If cluster and +resourcePool are both specified, resourcePool must belong +to cluster. This attribute was added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ResourcePool:VCenter. When methods return a value of this class +as a return value, the attribute will be an identifier for the +resource type: ResourcePool:VCenter. +This attribute is currently required. In future, if this is None, +the system will attempt to choose a suitable resource pool for the +virtual machine template; if a resource pool cannot be chosen, +publish of virtual machine template item will fail.

  • +
  • host (str or None) – Host onto which the virtual machine template should be placed. If +host and resourcePool are both specified, resourcePool +must belong to host. If host and cluster are both +specified, host must be a member of cluster. This attribute +was added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +HostSystem:VCenter. When methods return a value of this class +as a return value, the attribute will be an identifier for the +resource type: HostSystem:VCenter. +If this is None, the system will attempt to choose a suitable host +for the virtual machine template; if a host cannot be chosen, +publishing the virtual machine template item will fail.

  • +
  • network (str or None) – Network that backs the virtual Ethernet adapters in the virtual +machine template. This attribute was added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Network:VCenter. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Network:VCenter. +If None, the virtual Ethernet adapters will not be backed by a +network.

  • +
+
+
+
+ +
+
+class CreateSpecSubscribedLibrary(target=None, new_subscribed_library=None, subscribed_library=None, location=None, vcenter=None, placement=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Subscriptions.CreateSpecSubscribedLibrary class defines the +subscribed library information used to create the subscription. This class +was added in vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • target (Subscriptions.CreateSpecSubscribedLibrary.Target) – Specifies whether the target subscribed library should be newly +created or an existing subscribed library should be used. This +attribute was added in vSphere API 6.7.2.

  • +
  • new_subscribed_library (Subscriptions.CreateSpecNewSubscribedLibrary) – Specification for creating a new subscribed library associated with +the subscription. This attribute was added in vSphere API 6.7.2. +This attribute is optional and it is only relevant when the value +of target is +Subscriptions.CreateSpecSubscribedLibrary.Target.CREATE_NEW.

  • +
  • subscribed_library (str) – Identifier of the existing subscribed library to associate with the +subscription. Only the subscribed libraries for which +SubscriptionInfo.subscription_url property is set to the +PublishInfo.publish_url of the published library can be +associated with the subscription. This attribute was added in +vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.Library. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: com.vmware.content.Library. +This attribute is optional and it is only relevant when the value +of target is +Subscriptions.CreateSpecSubscribedLibrary.Target.USE_EXISTING.

  • +
  • location (Subscriptions.Location) – Location of the subscribed library relative to the published +library. This attribute was added in vSphere API 6.7.2.

  • +
  • vcenter (Subscriptions.CreateSpecVcenter) – Specification for the subscribed library’s vCenter Server instance. +This attribute was added in vSphere API 6.7.2. +This attribute is optional and it is only relevant when the value +of location is Subscriptions.Location.REMOTE.

  • +
  • placement (Subscriptions.CreateSpecPlacement or None) – Placement specification for the virtual machine template library +items on the subscribed library. This attribute was added in +vSphere API 6.7.2. +This attribute is currently required. In future, if this is None, +the system will attempt to choose a suitable placement +specification for the virtual machine template items; if a +placement specification cannot be chosen, publish of virtual +machine template items will fail.

  • +
+
+
+
+
+class Target(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Subscriptions.CreateSpecSubscribedLibrary.Target class defines the +options related to the target subscribed library which will be associated +with the subscription. This enumeration was added in vSphere API 6.7.2.

+
+

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 the Target instance.

+
+
+
+
+CREATE_NEW = Target(string='CREATE_NEW')
+

Create a new subscribed library. This class attribute was added in vSphere +API 6.7.2.

+
+ +
+
+USE_EXISTING = Target(string='USE_EXISTING')
+

Use the specified existing subscribed library. This class attribute was +added in vSphere API 6.7.2.

+
+ +
+ +
+ +
+
+class CreateSpecVcenter(hostname=None, https_port=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Subscriptions.CreateSpecVcenter class defines information about the +vCenter Server instance where the subscribed library associated with the +subscription exists or will be created. This class was added in vSphere API +6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • hostname (str) – The hostname of the subscribed library’s vCenter Server. This +attribute was added in vSphere API 6.7.2.

  • +
  • https_port (long or None) – The HTTPS port of the vCenter Server instance where the subscribed +library exists. This attribute was added in vSphere API 6.7.2. +If None, port 443 will be used.

  • +
+
+
+
+ +
+
+class Info(subscribed_library=None, subscribed_library_name=None, subscribed_library_location=None, subscribed_library_vcenter=None, subscribed_library_placement=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Subscriptions.Info class contains information about the +subscription. This class was added in vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • subscribed_library (str) – Identifier of the subscribed library associated with the +subscription. This attribute was added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.Library. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: com.vmware.content.Library.

  • +
  • subscribed_library_name (str) – Name of the subscribed library associated with the subscription. +This attribute was added in vSphere API 6.7.2.

  • +
  • subscribed_library_location (Subscriptions.Location) – Location of the subscribed library relative to the published +library. This attribute was added in vSphere API 6.7.2.

  • +
  • subscribed_library_vcenter (Subscriptions.VcenterInfo) – Information about the vCenter Server instance where the subscribed +library exists. This attribute was added in vSphere API 6.7.2. +This attribute is optional and it is only relevant when the value +of subscribedLibraryLocation is +Subscriptions.Location.REMOTE.

  • +
  • subscribed_library_placement (Subscriptions.PlacementInfo) – Placement information about the subscribed library’s virtual +machine template items. This attribute was added in vSphere API +6.7.2.

  • +
+
+
+
+ +
+
+class Location(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Subscriptions.Location class defines the location of subscribed +library relative to the published library. This enumeration was added in +vSphere API 6.7.2.

+
+

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 the Location instance.

+
+
+
+
+LOCAL = Location(string='LOCAL')
+

The subscribed library belongs to the same vCenter instance as the +published library. This class attribute was added in vSphere API 6.7.2.

+
+ +
+
+REMOTE = Location(string='REMOTE')
+

The subscribed library belongs to a different vCenter instance than the +published library. This class attribute was added in vSphere API 6.7.2.

+
+ +
+ +
+
+class PlacementInfo(folder=None, cluster=None, resource_pool=None, host=None, network=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Subscriptions.PlacementInfo class contains the placement +information for the subscribed library’s virtual machine template library +items. The Subscriptions.PlacementInfo class is only applicable for the +virtual machine template library items of the subscribed library. This +class was added in vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • folder (str or None) – Virtual machine folder into which the virtual machine template +should be placed. This attribute was added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Folder:VCenter. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Folder:VCenter. +The attribute will be None if the subscribed library associated +with the subscription does not have a virtual machine folder.

  • +
  • cluster (str or None) – Cluster onto which the virtual machine template should be placed. +This attribute was added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource:VCenter. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: ClusterComputeResource:VCenter. +The attribute will be None if the subscribed library associated +with the subscription does not have a cluster.

  • +
  • resource_pool (str or None) – Resource pool into which the virtual machine template should be +placed. This attribute was added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ResourcePool:VCenter. When methods return a value of this class +as a return value, the attribute will be an identifier for the +resource type: ResourcePool:VCenter. +The attribute will be None if the subscribed library associated +with the subscription does not have a resource pool.

  • +
  • host (str or None) – Host onto which the virtual machine template should be placed. If +host and resourcePool are both specified, resourcePool +must belong to host. If host and cluster are both +specified, host must be a member of cluster. This attribute +was added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +HostSystem:VCenter. When methods return a value of this class +as a return value, the attribute will be an identifier for the +resource type: HostSystem:VCenter. +The attribute will be None if the subscribed library associated +with the subscription does not have a host.

  • +
  • network (str or None) – Network that backs the virtual Ethernet adapters in the virtual +machine template. This attribute was added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Network:VCenter. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Network:VCenter. +The attribute will be None if the subscribed library associated +with the subscription does not have a network.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.content.library.Subscriptions'
+

Resource type for Subscription resource. This class attribute was added in +vSphere API 6.7.2.

+
+ +
+
+class Summary(subscription=None, subscribed_library=None, subscribed_library_name=None, subscribed_library_vcenter_hostname=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Subscriptions.Summary class contains commonly used information +about the subscription. This class was added in vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • subscription (str) – Identifier of the subscription. This attribute was added in vSphere +API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.library.Subscriptions. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.content.library.Subscriptions.

  • +
  • subscribed_library (str) – Identifier of the subscribed library. This attribute was added in +vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.Library. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: com.vmware.content.Library.

  • +
  • subscribed_library_name (str) – Name of the subscribed library. This attribute was added in vSphere +API 6.7.2.

  • +
  • subscribed_library_vcenter_hostname (str or None) – Hostname of the vCenter instance where the subscribed library +exists. This attribute was added in vSphere API 6.7.2. +This attribute is unset if the subscribed library is on the same +vCenter Server instance as the published library.

  • +
+
+
+
+ +
+
+class UpdateSpec(subscribed_library_vcenter=None, subscribed_library_placement=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Subscriptions.UpdateSpec class defines information required to +update the subscription. This class was added in vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • subscribed_library_vcenter (Subscriptions.UpdateSpecVcenter or None) – Specification for the subscribed library’s vCenter Server instance. +This attribute was added in vSphere API 6.7.2. +If None, the value is unchanged.

  • +
  • subscribed_library_placement (Subscriptions.UpdateSpecPlacement or None) – Placement specification for the virtual machine template items of +the subscribed library. Updating this information will only affect +new or updated items, existing items will not be moved. The entire +placement configuration of the subscribed library will replaced by +the new specification. This attribute was added in vSphere API +6.7.2. +If None, the placement configuration of the subscribed library will +be unchanged.

  • +
+
+
+
+ +
+
+class UpdateSpecPlacement(folder=None, cluster=None, resource_pool=None, host=None, network=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Subscriptions.UpdateSpecPlacement class defines the placement +information for the subscribed library’s virtual machine template library +items. Storage location of the virtual machine template items is defined by +the subscribed library’s storage backing. This placement information needs +to be compatible with the subscribed library’s storage backing. The +Subscriptions.UpdateSpecPlacement class is only applicable for the +newly published virtual machine template library items of the subscribed +library. Existing items will not be moved. This class was added in vSphere +API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • folder (str or None) – Virtual machine folder into which the virtual machine template +should be placed. This attribute was added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Folder:VCenter. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Folder:VCenter. +This attribute is currently required. In future, if this is None, +the system will attempt to choose a suitable folder for the virtual +machine template; if a folder cannot be chosen, publishing a +virtual machine template item will fail.

  • +
  • cluster (str or None) – Cluster onto which the virtual machine template should be placed. +If cluster and resourcePool are both specified, +resourcePool must belong to cluster. If cluster and +host are both specified, host must be a member of +cluster. If resourcePool or host is specified, it is +recommended that this attribute be None. This attribute was added +in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource:VCenter. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: ClusterComputeResource:VCenter. +If resourcePool or host is specified, it is recommended +that this attribute be None.

  • +
  • resource_pool (str or None) – Resource pool into which the virtual machine template should be +placed. This attribute was added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ResourcePool:VCenter. When methods return a value of this class +as a return value, the attribute will be an identifier for the +resource type: ResourcePool:VCenter. +This attribute is currently required. In future, if this is None, +the system will attempt to choose a suitable resource pool for the +virtual machine template; if a resource pool cannot be chosen, +publish of virtual machine template item will fail.

  • +
  • host (str or None) – Host onto which the virtual machine template should be placed. If +host and resourcePool are both specified, resourcePool +must belong to host. If host and cluster are both +specified, host must be a member of cluster. This attribute +was added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +HostSystem:VCenter. When methods return a value of this class +as a return value, the attribute will be an identifier for the +resource type: HostSystem:VCenter. +If this is None, the system will attempt to choose a suitable host +for the virtual machine template; if a host cannot be chosen, +publishing the virtual machine template item will fail.

  • +
  • network (str or None) – Network that backs the virtual Ethernet adapters in the virtual +machine template. This attribute was added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Network:VCenter. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Network:VCenter. +If None, newly published virtual machine template library items +will not be backed by a network.

  • +
+
+
+
+ +
+
+class UpdateSpecVcenter(hostname=None, https_port=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Subscriptions.UpdateSpecVcenter class defines information about the +vCenter Server instance where the subscribed library associated with the +subscription exists. The Subscriptions.UpdateSpecVcenter class is only +applicable to subscribed library which exists on remote vCenter Server +instance. This class was added in vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • hostname (str or None) – The hostname of the subscribed library’s vCenter Server. This +attribute was added in vSphere API 6.7.2. +If None, the value is unchanged.

  • +
  • https_port (long or None) – The HTTPS port of the vCenter Server instance where the subscribed +library exists. This attribute was added in vSphere API 6.7.2. +If None, the value is unchanged.

  • +
+
+
+
+ +
+
+class VcenterInfo(hostname=None, https_port=None, server_guid=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Subscriptions.VcenterInfo class contains information about the +vCenter Server instance where the subscribed library associated with the +subscription exists. This class was added in vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • hostname (str) – Hostname of the vCenter Server instance where the subscribed +library exists. This attribute was added in vSphere API 6.7.2.

  • +
  • https_port (long or None) – The HTTPS port of the vCenter Server instance where the subscribed +library exists. This attribute was added in vSphere API 6.7.2. +If None, port 443 will be used.

  • +
  • server_guid (str) – The unique identifier of the vCenter Server where the subscribed +library exists. This attribute was added in vSphere API 6.7.2.

  • +
+
+
+
+ +
+
+create(library, spec, client_token=None)
+

Creates a subscription of the published library. This method was added +in vSphere API 6.7.2.

+
+
Parameters
+
    +
  • client_token (str or None) – A unique token generated on the client for each creation request. +The token should be a universally unique identifier (UUID), for +example: b8a2a2e3-2314-43cd-a871-6ede0f429751. This token can +be used to guarantee idempotent creation. +If not specified, creation is not idempotent.

  • +
  • library (str) – Identifier of the published library. +The parameter must be an identifier for the resource type: +com.vmware.content.Library.

  • +
  • spec (Subscriptions.CreateSpec) – Specification for the subscription.

  • +
+
+
Return type
+

str

+
+
Returns
+

Subscription identifier. +The return value will be an identifier for the resource type: +com.vmware.content.library.Subscriptions.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +If a subscription of the published library to the specified +subscribed library already exists. This is only applicable when +subscribedLibrary#subscribedLibrary is specified.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the library specified by library does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the subscribed library specified by +subscribedLibrary#subscribedLibrary does not exist at the +vCenter instance specified by subscribedLibrary#vcenter.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +If the vCenter instance specified by subscribedLibrary#vcenter +cannot be contacted or found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If Subscriptions.CreateSpec contains invalid arguments.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementType +If the library specified by library is a subscribed library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +If the library specified by library is not a published library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the user that requested the method cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user that requested the method is not authorized to perform +the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.Library referenced by the +parameter library requires ContentLibrary.AddSubscription.

  • +
+
+
+
+ +
+
+delete(library, subscription)
+

Deletes the specified subscription of the published library. The +subscribed library associated with the subscription will not be +deleted. This method was added in vSphere API 6.7.2.

+
+
Parameters
+
    +
  • library (str) – Identifier of the published library. +The parameter must be an identifier for the resource type: +com.vmware.content.Library.

  • +
  • subscription (str) – Subscription identifier. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Subscriptions.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementType +If the library specified by library is a subscribed library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +If the library specified by library is not a published library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the library specified by library does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the subscription specified by subscription does not exist +for the library specified by library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the user that requested the method cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user that requested the method is not authorized to perform +the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.Library referenced by the +parameter library requires +ContentLibrary.DeleteSubscription.

  • +
+
+
+
+ +
+
+get(library, subscription)
+

Returns information about the specified subscription of the published +library. This method was added in vSphere API 6.7.2.

+
+
Parameters
+
    +
  • library (str) – Identifier of the published library. +The parameter must be an identifier for the resource type: +com.vmware.content.Library.

  • +
  • subscription (str) – Identifier of the subscription. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Subscriptions.

  • +
+
+
Return type
+

Subscriptions.Info

+
+
Returns
+

Information about the subscription.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the library specified by library does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the subscription is not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementType +If the library specified by library is a subscribed library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +If the library specified by library is not a published library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the user that requested the method cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user that requested the method is not authorized to perform +the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.Library referenced by the +parameter library requires System.Read.

  • +
+
+
+
+ +
+
+list(library)
+

Lists the subscriptions of the published library. This method was added +in vSphere API 6.7.2.

+
+
Parameters
+

library (str) – Identifier of the published library. +The parameter must be an identifier for the resource type: +com.vmware.content.Library.

+
+
Return type
+

list of Subscriptions.Summary

+
+
Returns
+

List of commonly used information about subscriptions of the +published library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementType +If the library specified by library is a subscribed library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the library specified by library does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +If the library specified by library is not a published library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the user that requested the method cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user that requested the method is not authorized to perform +the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.Library referenced by the +parameter library requires System.Read.

  • +
+
+
+
+ +
+
+update(library, subscription, spec)
+

Updates the specified subscription of the published library.

+

This is an incremental update to the subscription. Except for the +Subscriptions.UpdateSpecPlacement class, attributes that are +None in the update specification will be left unchanged. If +spec#subscribedLibraryPlacement is specified, all attributes of the +current subscribed library placement will be replaced by this +placement.. This method was added in vSphere API 6.7.2.

+
+
Parameters
+
    +
  • library (str) – Identifier of the published library. +The parameter must be an identifier for the resource type: +com.vmware.content.Library.

  • +
  • subscription (str) – subscription identifier. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Subscriptions.

  • +
  • spec (Subscriptions.UpdateSpec) – Specification of the new property values to set on the +subscription.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the library specified by library does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the subscription specified by subscription does not exist +for the library specified by library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +If the subscribed library cannot be contacted or found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If Subscriptions.UpdateSpec contains invalid arguments.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementType +If the library specified by library is a subscribed library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +If the library specified by library is not a published library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the user that requested the method cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user that requested the method is not authorized to perform +the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.Library referenced by the +parameter library requires +ContentLibrary.UpdateSubscription.

  • +
+
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.content.library.html b/vsphere/7.0.0.1/com.vmware.content.library.html new file mode 100644 index 00000000..fd9fee54 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.content.library.html @@ -0,0 +1,1814 @@ + + + + + + + + + + + com.vmware.content.library package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.content.library package

+ +
+

Submodules

+
+
+

com.vmware.content.library.item_client module

+

The Content Library Item module provides classes and classes for managing files +in a library item.

+
+
+class com.vmware.content.library.item_client.Changes(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Changes class provides methods to get a history of the content +changes made to a library item. This class was added in vSphere API 6.9.1.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(time=None, user=None, message=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Changes.Info class contains information about a library item +change. This class was added in vSphere API 6.9.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • time (datetime.datetime) – The date and time when the item content was changed. This attribute +was added in vSphere API 6.9.1.

  • +
  • user (str or None) – The user who made the content change. This attribute was added in +vSphere API 6.9.1. +This attribute will be None if the user could not be determined.

  • +
  • message (str or None) – The full message describing the content change. This attribute was +added in vSphere API 6.9.1. +This attribute will be None if a message was not provided when the +item content was changed.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.content.library.item.Version'
+

Resource type for library item versions. This class attribute was added in +vSphere API 6.9.1.

+
+ +
+
+class Summary(version=None, time=None, user=None, short_message=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Changes.Summary class contains commonly used information about a +library item change. This class was added in vSphere API 6.9.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • version (str) – The version of the library item. This attribute was added in +vSphere API 6.9.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.library.item.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.content.library.item.Version.

  • +
  • time (datetime.datetime) – The date and time when the item content was changed. This attribute +was added in vSphere API 6.9.1.

  • +
  • user (str or None) – The user who made the content change. This attribute was added in +vSphere API 6.9.1. +This attribute will be None if the user could not be determined.

  • +
  • short_message (str or None) – The short message describing the content change. The message is +truncated to the first 80 characters or first non-leading newline +character, whichever length is shorter. This attribute was added in +vSphere API 6.9.1. +This attribute will be None if a message was not provided when the +item content was changed.

  • +
+
+
+
+ +
+
+get(library_item, version)
+

Returns information about a library item change. This method was added +in vSphere API 6.9.1.

+
+
Parameters
+
    +
  • library_item (str) – Library item identifer. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

  • +
  • version (str) – Library item version. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.Version.

  • +
+
+
Return type
+

Changes.Info

+
+
Returns
+

Information about the specified library item change.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library item or version is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user that requested the method cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user that requested the method is not authorized to perform +the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.library.Item referenced by +the parameter library_item requires System.Read.

  • +
+
+
+
+ +
+
+list(library_item)
+

Returns commonly used information about the content changes made to a +library item. This method was added in vSphere API 6.9.1.

+
+
Parameters
+

library_item (str) – Library item identifier. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

+
+
Return type
+

list of Changes.Summary

+
+
Returns
+

List of commonly used information about the library item changes.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library item is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user that requested the method cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user that requested the method is not authorized to perform +the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.library.Item referenced by +the parameter library_item requires System.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.content.library.item_client.DownloadSession(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The DownloadSession class manipulates download sessions, which are used +to download content from the Content Library Service.

+

A download session is an object that tracks the download of content (that +is, downloading content from the Content Library Service) and acts as a +lease to keep the download links available.

+

The com.vmware.content.library.item.downloadsession_client.File +class provides access to the download links.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.content.library.item.DownloadSession'
+

Resource type for a download session.

+
+ +
+
+cancel(download_session_id)
+

Cancels the download session. This method will abort any ongoing +transfers and invalidate transfer urls that the client may be +downloading from.

+
+
Parameters
+

download_session_id (str) – Identifer of the download session that should be canceled. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.DownloadSession.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if no download session with the given identifier exists.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the download session is not in the +DownloadSessionModel.State.ACTIVE state.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Anonymous.

  • +
+
+
+
+ +
+
+create(create_spec, client_token=None)
+

Creates a new download session.

+
+
Parameters
+
    +
  • client_token (str or None) – A unique token generated by the client for each creation request. +The token should be a universally unique identifier (UUID), for +example: b8a2a2e3-2314-43cd-a871-6ede0f429751. This token can +be used to guarantee idempotent creation. +If not specified creation is not idempotent.

  • +
  • create_spec (DownloadSessionModel) – Specification for the new download session to be created.

  • +
+
+
Return type
+

str

+
+
Returns
+

Identifier of the new download session being created. +The return value will be an identifier for the resource type: +com.vmware.content.library.item.DownloadSession.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the session specification is not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +format.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library item targeted by the download does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.library.Item referenced by +the attribute DownloadSessionModel.library_item_id requires +ContentLibrary.DownloadSession.

  • +
+
+
+
+ +
+
+delete(download_session_id)
+

Deletes a download session. This removes the session and all +information associated with it.

+

Removing a download session leaves any current transfers for that +session in an indeterminate state (there is no guarantee that the +transfers will be able to complete). However there will no longer be a +means of inspecting the status of those downloads except by seeing the +effect on the library item.

+

Download sessions for which there is no download activity or which are +complete will automatically be expired and then deleted after a period +of time.

+
+
Parameters
+

download_session_id (str) – Identifier of the download session to be deleted. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.DownloadSession.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the download session does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Anonymous.

  • +
+
+
+
+ +
+
+fail(download_session_id, client_error_message)
+

Terminates the download session with a client specified error message.

+

This is useful in transmitting client side failures (for example, not +being able to download a file) to the server side.

+
+
Parameters
+
    +
  • download_session_id (str) – Identifier of the download session to fail. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.DownloadSession.

  • +
  • client_error_message (str) – Client side error message. This can be useful in providing some +extra details about the client side failure. Note that the message +won’t be translated to the user’s locale.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the download session does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the download session is not in the +DownloadSessionModel.State.ACTIVE state.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Anonymous.

  • +
+
+
+
+ +
+
+get(download_session_id)
+

Gets the download session with the specified identifier, including the +most up-to-date status information for the session.

+
+
Parameters
+

download_session_id (str) – Identifier of the download session to retrieve. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.DownloadSession.

+
+
Return type
+

DownloadSessionModel

+
+
Returns
+

The DownloadSessionModel instance with the given +download_session_id.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if no download session with the given download_session_id +exists.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Anonymous.

  • +
+
+
+
+ +
+
+keep_alive(download_session_id, progress=None)
+

Keeps a download session alive. This operation is allowed only if the +session is in the DownloadSessionModel.State.ACTIVE state.

+

If there is no activity for a download session for a certain period of +time, the download session will expire. The download session expiration +timeout is configurable in the Content Library Service system +configuration. The default is five minutes. Invoking this method +enables a client to specifically extend the lifetime of an active +download session.

+
+
Parameters
+
    +
  • download_session_id (str) – Identifier of the download session whose lifetime should be +extended. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.DownloadSession.

  • +
  • progress (long or None) – Optional update to the progress property of the session. If +specified, the new progress should be greater then the current +progress. See DownloadSessionModel.client_progress. +If not specified the progress is not updated.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if no download session with the given identifier exists.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the download session is not in the +DownloadSessionModel.State.ACTIVE state.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Anonymous.

  • +
+
+
+
+ +
+
+list(library_item_id=None)
+

Lists the identifiers of the download sessions created by the calling +user. Optionally may filter by library item.

+
+
Parameters
+

library_item_id (str or None) – Library item identifier on which to filter results. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.DownloadSession. +If not specified all download session identifiers are listed.

+
+
Return type
+

list of str

+
+
Returns
+

The list of identifiers of all download sessions created +by the calling user. +The return value will contain identifiers for the resource type: +com.vmware.content.library.item.DownloadSession.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if a library item identifier is given for an item which does not +exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.library.item.DownloadSession +referenced by the parameter library_item_id requires +ContentLibrary.DownloadSession.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.content.library.item_client.DownloadSessionModel(id=None, library_item_id=None, library_item_content_version=None, error_message=None, client_progress=None, state=None, expiration_time=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The DownloadSessionModel class provides information on an active +DownloadSession resource.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) – The identifier of this download session. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.library.item.DownloadSession. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.content.library.item.DownloadSession. +This attribute is not used for the create method. It will not +be present in the return value of the get or list methods. +It is not used for the update method.

  • +
  • library_item_id (str) – The identifier of the library item whose content is being +downloaded. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.library.Item. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.content.library.Item. +This attribute must be provided for the create method. It will +always be present in the return value of the get or list +methods. It is not used for the update method.

  • +
  • library_item_content_version (str) – The content version of the library item whose content is being +downloaded. This value is the +com.vmware.content.library_client.ItemModel.content_version +at the time when the session is created for the library item. +This attribute is not used for the create method. It will +always be present in the return value of the get or list +methods. It is not used for the update method.

  • +
  • error_message (com.vmware.vapi.std_client.LocalizableMessage) – If the session is in the DownloadSessionModel.State.ERROR +status this property will have more details about the error. +This attribute is not used for the create method. It is +optional in the return value of the get or list methods. It +is not used for the update method.

  • +
  • client_progress (long) – The progress that has been made with the download. This property is +to be updated by the client during the download process to indicate +the progress of its work in completing the download. The initial +progress is 0 until updated by the client. The maximum value is +100, which indicates that the download is complete. +This attribute is not used for the create method. It will +always be present in the return value of the get or list +methods. It is optional for the update method.

  • +
  • state (DownloadSessionModel.State) – The current state (ACTIVE, CANCELED, ERROR) of the download +session. +This attribute is not used for the create method. It will +always be present in the return value of the get or list +methods. It is not used for the update method.

  • +
  • expiration_time (datetime.datetime) – Indicates the time after which the session will expire. The session +is guaranteed not to expire before this time. +This attribute is not used for the create method. It will +always be present in the return value of the get or list +methods. It is not used for the update method.

  • +
+
+
+
+
+class State(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The state of the download session.

+
+

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 the State instance.

+
+
+
+
+ACTIVE = State(string='ACTIVE')
+

The session is active. Individual files may be in the process of being +transferred and may become ready for download at different times.

+
+ +
+
+CANCELED = State(string='CANCELED')
+

The session has been canceled. On-going downloads may fail. The session +will stay in this state until it is either deleted by the user or +automatically cleaned up by the Content Library Service.

+
+ +
+
+ERROR = State(string='ERROR')
+

Indicates there was an error during the session lifecycle.

+
+ +
+ +
+ +
+
+class com.vmware.content.library.item_client.File(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The File class can be used to query for information on the files within +a library item. Files are objects which are added to a library item through +the UpdateSession and +com.vmware.content.library.item.updatesession_client.File classes.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class ChecksumAlgorithm(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The File.ChecksumAlgorithm class defines the valid checksum algorithms.

+
+

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 the ChecksumAlgorithm instance.

+
+
+
+
+MD5 = ChecksumAlgorithm(string='MD5')
+

Checksum algorithm: MD5

+
+ +
+
+SHA1 = ChecksumAlgorithm(string='SHA1')
+

Checksum algorithm: SHA-1

+
+ +
+
+SHA256 = ChecksumAlgorithm(string='SHA256')
+

Checksum algorithm: SHA-256. This class attribute was added in vSphere API +6.8.

+
+ +
+
+SHA512 = ChecksumAlgorithm(string='SHA512')
+

Checksum algorithm: SHA-512. This class attribute was added in vSphere API +6.8.

+
+ +
+ +
+
+class ChecksumInfo(algorithm=None, checksum=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Provides checksums for a File.Info object.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • algorithm (File.ChecksumAlgorithm or None) – The checksum algorithm (SHA1, MD5, SHA256, SHA512) used to +calculate the checksum. +If not specified the default checksum algorithm is +File.ChecksumAlgorithm.SHA1.

  • +
  • checksum (str) – The checksum value calculated with +File.ChecksumInfo.algorithm.

  • +
+
+
+
+ +
+
+class Info(checksum_info=None, name=None, size=None, cached=None, version=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The File.Info class provides information about a file in Content +Library Service storage.

+

A file is an actual stored object for a library item. An item will have +zero files initially, but one or more can be uploaded to the item.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • checksum_info (File.ChecksumInfo or None) –

    A checksum for validating the content of the file.

    +

    This value can be used to verify that a transfer was completed +without errors. +A checksum cannot always be calculated, and the value will be None +if the file does not have content.

    +

  • +
  • name (str) –

    The name of the file.

    +

    This value will be unique within the library item for each file. It +cannot be an empty string.

    +

  • +
  • size (long) – The file size, in bytes. The file size is the storage used and not +the uploaded or provisioned size. For example, when uploading a +disk to a datastore, the amount of storage that the disk consumes +may be different from the disk file size. When the file is not +cached, the size is 0.

  • +
  • cached (bool) – Indicates whether the file is on disk or not.

  • +
  • version (str) – The version of this file; incremented when a new copy of the file +is uploaded.

  • +
+
+
+
+ +
+
+get(library_item_id, name)
+

Retrieves the information for a single file in a library item by its +name.

+
+
Parameters
+
    +
  • library_item_id (str) – Identifier of the library item whose file information should be +returned. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

  • +
  • name (str) – Name of the file in the library item whose information should be +returned.

  • +
+
+
Return type
+

File.Info

+
+
Returns
+

The File.Info object with information on the specified +file.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if library_item_id refers to a library item that does not +exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if name refers to a file that does not exist in the library +item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.library.Item referenced by +the parameter library_item_id requires System.Read.

  • +
+
+
+
+ +
+
+list(library_item_id)
+

Lists all of the files that are stored within a given library item.

+
+
Parameters
+

library_item_id (str) – Identifier of the library item whose files should be listed. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

+
+
Return type
+

list of File.Info

+
+
Returns
+

The list of all of the files that are stored within the +given library item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if library_item_id refers to a library item that does not +exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.library.Item referenced by +the parameter library_item_id requires System.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.content.library.item_client.Storage(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Storage is a resource that represents a specific instance of a file +stored on a storage backing. Unlike File, which is abstract, +storage represents concrete files on the various storage backings. A file +is only represented once in File, but will be represented multiple +times (once for each storage backing) in Storage. The Storage class +provides information on the storage backing and the specific location of +the file in that backing to privileged users who want direct access to the +file on the storage medium.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(storage_backing=None, storage_uris=None, checksum_info=None, name=None, size=None, cached=None, version=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Storage.Info class is the expanded form of File.Info that +includes details about the storage backing for a file in a library item.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • storage_backing (com.vmware.content.library_client.StorageBacking) – The storage backing on which this object resides. This might not be +the same as the default storage backing associated with the +library.

  • +
  • storage_uris (list of str) –

    URIs that identify the file on the storage backing.

    +

    These URIs may be specific to the backing and may need +interpretation by the client. A client that understands a URI +scheme in this list may use that URI to directly access the file on +the storage backing. This can provide high-performance support for +file manipulation.

    +

  • +
  • checksum_info (File.ChecksumInfo or None) –

    A checksum for validating the content of the file.

    +

    This value can be used to verify that a transfer was completed +without errors. +A checksum cannot always be calculated, and the value will be None +if the file does not have content.

    +

  • +
  • name (str) –

    The name of the file.

    +

    This value will be unique within the library item for each file. It +cannot be an empty string.

    +

  • +
  • size (long) – The file size, in bytes. The file size is the storage used and not +the uploaded or provisioned size. For example, when uploading a +disk to a datastore, the amount of storage that the disk consumes +may be different from the disk file size. When the file is not +cached, the size is 0.

  • +
  • cached (bool) – Indicates whether the file is on disk or not.

  • +
  • version (str) – The version of this file; incremented when a new copy of the file +is uploaded.

  • +
+
+
+
+ +
+
+get(library_item_id, file_name)
+

Retrieves the storage information for a specific file in a library +item.

+
+
Parameters
+
    +
  • library_item_id (str) – Identifier of the library item whose storage information should be +retrieved. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

  • +
  • file_name (str) – Name of the file for which the storage information should be +listed.

  • +
+
+
Return type
+

list of Storage.Info

+
+
Returns
+

The list of all the storage items for the given file +within the given library item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the specified library item does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the specified file does not exist in the given library item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.library.Item referenced by +the parameter library_item_id requires +ContentLibrary.ReadStorage.

  • +
+
+
+
+ +
+
+list(library_item_id)
+

Lists all storage items for a given library item.

+
+
Parameters
+

library_item_id (str) – Identifier of the library item whose storage information should be +listed. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

+
+
Return type
+

list of Storage.Info

+
+
Returns
+

The list of all storage items for a given library item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the specified library item does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.library.Item referenced by +the parameter library_item_id requires +ContentLibrary.ReadStorage.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.content.library.item_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.content.library.item_client.TransferEndpoint(uri=None, ssl_certificate_thumbprint=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The TransferEndpoint class encapsulates a URI along with extra +information about it.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • uri (str) –

    Transfer endpoint URI. The supported URI schemes are: http, +https, and ds.

    +

    An endpoint URI with the ds scheme specifies the location of +the file on the datastore. The format of the datastore URI is:

    +
      +
    • ds:///vmfs/volumes/uuid/path

    • +
    +

    When the transfer endpoint is a datastore location, the server can +import the file directly from the storage backing without the +overhead of streaming over HTTP.

    +

  • +
  • ssl_certificate_thumbprint (str or None) – Thumbprint of the expected SSL certificate for this endpoint. Only +used for HTTPS connections. The thumbprint is the SHA-1 hash of the +DER encoding of the remote endpoint’s SSL certificate. If set, the +remote endpoint’s SSL certificate is only accepted if it matches +this thumbprint, and no other certificate validation is performed. +If not specified, standard certificate validation is performed.

  • +
+
+
+
+ +
+
+class com.vmware.content.library.item_client.TransferStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The TransferStatus class defines the transfer state of a file.

+
+

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 the TransferStatus instance.

+
+
+
+
+ERROR = TransferStatus(string='ERROR')
+

Indicates that there was an error transferring or validating the file.

+
+ +
+
+READY = TransferStatus(string='READY')
+

Indicates that the file has been fully transferred and is ready to be used.

+
+ +
+
+TRANSFERRING = TransferStatus(string='TRANSFERRING')
+

Indicates that data is being transferred to the file.

+
+ +
+
+VALIDATING = TransferStatus(string='VALIDATING')
+

Indicates that the file is being validated (checksum, type adapters).

+
+ +
+
+WAITING_FOR_TRANSFER = TransferStatus(string='WAITING_FOR_TRANSFER')
+

Indicates that a file has been defined for a library item and its content +needs to be uploaded.

+
+ +
+ +
+
+class com.vmware.content.library.item_client.UpdateSession(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The UpdateSession class manipulates sessions that are used to upload +content into the Content Library Service, and/or to remove files from a +library item.

+

An update session is a resource which tracks changes to content. An update +session is created with a set of files that are intended to be uploaded to +a specific com.vmware.content.library_client.ItemModel, or removed +from an item. The session object can be used to track the uploads and +inspect the changes that are being made to the item by that upload. It can +also serve as a channel to check on the result of the upload, and status +messages such as errors and warnings for the upload.

+

Modifications are not visible to other clients unless the session is +completed and all necessary files have been received.

+

The management of the files within the session is done through the +com.vmware.content.library.item.updatesession_client.File class.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.content.library.item.UpdateSession'
+

Resource type for an update session.

+
+ +
+
+cancel(update_session_id)
+

Cancels the update session and sets its state to +UpdateSessionModel.State.CANCELED. This method will free up any +temporary resources currently associated with the session.

+
+

This method is not allowed if the session has been already completed.

+
+

Cancelling an update session will cancel any in progress transfers +(either uploaded by the client or pulled by the server). Any content +that has been already received will be scheduled for deletion.

+
+
Parameters
+

update_session_id (str) – Identifier of the update session that should be canceled. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.UpdateSession.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if no update session with the given identifier exists.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the update session is not in the +UpdateSessionModel.State.ACTIVE state.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Anonymous.

  • +
+
+
+
+ +
+
+complete(update_session_id)
+

Completes the update session. This indicates that the client has +finished making all the changes required to the underlying library +item. If the client is pushing the content to the server, the library +item will be updated once this call returns. If the server is pulling +the content, the call may return before the changes become visible. In +that case, the client can track the session to know when the server is +done.

+

This method requires the session to be in the +UpdateSessionModel.State.ACTIVE state.

+

Depending on the type of the library item associated with this session, +a type adapter may be invoked to verify the validity of the files +uploaded. The user can explicitly validate the session before +completing the session by using the +com.vmware.content.library.item.updatesession_client.File.validate() +method.

+

Modifications are not visible to other clients unless the session is +completed and all necessary files have been received.

+
+
Parameters
+

update_session_id (str) – Identifier of the update session that should be completed. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.UpdateSession.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if no update session with the given identifier exists.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the update session is not in the +UpdateSessionModel.State.ACTIVE state, or if some of the +files that will be uploaded by the client aren’t received +correctly.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Anonymous.

  • +
+
+
+
+ +
+
+create(create_spec, client_token=None)
+

Creates a new update session. An update session is used to make +modifications to a library item. Modifications are not visible to other +clients unless the session is completed and all necessary files have +been received.

+

Content Library Service allows only one single update session to be +active for a specific library item.

+
+
Parameters
+
    +
  • client_token (str or None) – Unique token generated by the client for each creation request. The +token should be a universally unique identifier (UUID), for +example: b8a2a2e3-2314-43cd-a871-6ede0f429751. This token can +be used to guarantee idempotent creation. +If not specified creation is not idempotent.

  • +
  • create_spec (UpdateSessionModel) – Specification for the new update session to be created.

  • +
+
+
Return type
+

str

+
+
Returns
+

Identifier of the new update session being created. +The return value will be an identifier for the resource type: +com.vmware.content.library.item.UpdateSession.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the session specification is not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the client_token does not conform to the UUID format.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementType +if the update session is being created on a subscribed library +item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the item targeted for update does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if there is another update session on the same library item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.library.Item referenced by +the attribute UpdateSessionModel.library_item_id requires +ContentLibrary.UpdateSession.

  • +
+
+
+
+ +
+
+delete(update_session_id)
+

Deletes an update session. This removes the session and all information +associated with it.

+

Removing an update session leaves any current transfers for that +session in an indeterminate state (there is no guarantee that the +server will terminate the transfers, or that the transfers can be +completed). However there will no longer be a means of inspecting the +status of those uploads except by seeing the effect on the library +item.

+

Update sessions for which there is no upload activity or which are +complete will automatically be deleted after a period of time.

+
+
Parameters
+

update_session_id (str) – Identifer of the update session to delete. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.UpdateSession.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the update session does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the update session is in the +UpdateSessionModel.State.ACTIVE state.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Anonymous.

  • +
+
+
+
+ +
+
+fail(update_session_id, client_error_message)
+

Terminates the update session with a client specified error message.

+

This is useful in transmitting client side failures (for example, not +being able to access a file) to the server side.

+
+
Parameters
+
    +
  • update_session_id (str) – Identifier of the update session to fail. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.UpdateSession.

  • +
  • client_error_message (str) – Client side error message. This can be useful in providing some +extra details about the client side failure. Note that the message +won’t be translated to the user’s locale.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the update session does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the update session is not in the +UpdateSessionModel.State.ACTIVE state.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Anonymous.

  • +
+
+
+
+ +
+
+get(update_session_id)
+

Gets the update session with the specified identifier, including the +most up-to-date status information for the session.

+
+
Parameters
+

update_session_id (str) – Identifier of the update session to retrieve. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.UpdateSession.

+
+
Return type
+

UpdateSessionModel

+
+
Returns
+

The UpdateSessionModel instance with the given +update_session_id.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if no update session with the given identifier exists.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Anonymous.

  • +
+
+
+
+ +
+
+keep_alive(update_session_id, client_progress=None)
+

Keeps an update session alive.

+

If there is no activity for an update session after a period of time, +the update session will expire, then be deleted. The update session +expiration timeout is configurable in the Content Library Service +system configuration. The default is five minutes. Invoking this method +enables a client to specifically extend the lifetime of the update +session.

+
+
Parameters
+
    +
  • update_session_id (str) – Identifier of the update session whose lifetime should be extended. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.UpdateSession.

  • +
  • client_progress (long or None) – Optional update to the progress property of the session. If +specified, the new progress should be greater then the current +progress. See UpdateSessionModel.client_progress. +If not specified the progress is not updated.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if no update session with the given identifier exists.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the update session is not in the +UpdateSessionModel.State.ACTIVE state.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Anonymous.

  • +
+
+
+
+ +
+
+list(library_item_id=None)
+

Lists the identifiers of the update session created by the calling +user. Optionally may filter by library item.

+
+
Parameters
+

library_item_id (str or None) – Optional library item identifier on which to filter results. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.UpdateSession. +If not specified the results are not filtered.

+
+
Return type
+

list of str

+
+
Returns
+

The list of identifiers of all update sessions created by +the calling user. +The return value will contain identifiers for the resource type: +com.vmware.content.library.item.UpdateSession.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if a library item identifier is given for an item which does not +exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.library.item.UpdateSession +referenced by the parameter library_item_id requires +ContentLibrary.UpdateSession.

  • +
+
+
+
+ +
+
+update(update_session_id, update_spec)
+

Updates the properties of an update session.

+

This is an incremental update to the update session. Any attribute in +the UpdateSessionModel class that is None will not be +modified.

+

This method will only update the property +UpdateSessionModel.warning_behavior of the update session. This +will not, for example, update the +UpdateSessionModel.library_item_id or +UpdateSessionModel.state of an update session.

+

This method requires the session to be in the +UpdateSessionModel.State.ACTIVE state.. This method was added +in vSphere API 6.8.

+
+
Parameters
+
    +
  • update_session_id (str) – Identifer of the update session that should be updated. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.UpdateSession.

  • +
  • update_spec (UpdateSessionModel) – Specification for the new property values to be set on the update +session.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the update session does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the update session is not in the +UpdateSessionModel.State.ACTIVE state.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the update session specification is not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Anonymous.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.content.library.item_client.UpdateSessionModel(id=None, library_item_id=None, library_item_content_version=None, error_message=None, client_progress=None, state=None, expiration_time=None, preview_info=None, warning_behavior=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The UpdateSessionModel class provides information on an active +UpdateSession resource.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) – The identifier of this update session. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.library.item.UpdateSession. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.content.library.item.UpdateSession. +This attribute is not used for the create method. It will not +be present in the return value of the get or list methods. +It is not used for the update method.

  • +
  • library_item_id (str) – The identifier of the library item to which content will be +uploaded or removed. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.library.Item. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.content.library.Item. +This attribute must be provided for the create method. It will +always be present in the return value of the get or list +methods. It is not used for the update method.

  • +
  • library_item_content_version (str) – The content version of the library item whose content is being +modified. This value is the +com.vmware.content.library_client.ItemModel.content_version +at the time when the session is created for the library item. +This attribute is not used for the create method. It will +always be present in the return value of the get or list +methods. It is not used for the update method.

  • +
  • error_message (com.vmware.vapi.std_client.LocalizableMessage) – If the session is in the UpdateSessionModel.State.ERROR +status this property will have more details about the error. +This attribute is not used for the create method. It is +optional in the return value of the get or list methods. It +is not used for the update method.

  • +
  • client_progress (long) – The progress that has been made with the upload. This property is +to be updated by the client during the upload process to indicate +the progress of its work in completing the upload. The initial +progress is 0 until updated by the client. The maximum value is +100, which indicates that the update is complete. +This attribute is not used for the create method. It will +always be present in the return value of the get or list +methods. It is not used for the update method.

  • +
  • state (UpdateSessionModel.State) – The current state (ACTIVE, DONE, ERROR, CANCELED) of the update +session. This attribute was added in vSphere API 6.8. +This attribute is not used for the create method. It will +always be present in the return value of the get or list +methods. It is not used for the update method.

  • +
  • expiration_time (datetime.datetime) – Indicates the time after which the session will expire. The session +is guaranteed not to expire earlier than this time. +This attribute is not used for the create method. It will +always be present in the return value of the get or list +methods. It is not used for the update method.

  • +
  • preview_info (com.vmware.content.library.item.updatesession_client.PreviewInfo) – A preview of the files currently being uploaded in the session. +This property will be set only when the session is in the +UpdateSessionModel.State.ACTIVE. This attribute was added +in vSphere API 6.8. +This attribute is optional and it is only relevant when the value +of state is UpdateSessionModel.State.ACTIVE.

  • +
  • warning_behavior (list of com.vmware.content.library.item.updatesession_client.WarningBehavior) – Indicates the update session behavior if warnings are raised in the +session preview. Any warning which is raised by session preview but +not ignored by the client will, by default, fail the update +session. This attribute was added in vSphere API 6.8. +This attribute is optional for the create method. It is +optional in the return value of the get or list methods. It +is optional for the update method.

  • +
+
+
+
+
+class State(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The state of an update session.

+
+

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 the State instance.

+
+
+
+
+ACTIVE = State(string='ACTIVE')
+

The session is currently active. This is the initial state when the session +is created. Files may be uploaded by the client or pulled by the Content +Library Service at this stage.

+
+ +
+
+CANCELED = State(string='CANCELED')
+

The session has been canceled.

+
+ +
+
+DONE = State(string='DONE')
+

The session is done and all its effects are now visible.

+
+ +
+
+ERROR = State(string='ERROR')
+

There was an error during the session.

+
+ +
+ +
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.content.library.item.html b/vsphere/7.0.0.1/com.vmware.content.library.item.html new file mode 100644 index 00000000..81cc222e --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.content.library.item.html @@ -0,0 +1,1187 @@ + + + + + + + + + + + com.vmware.content.library.item package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.content.library.item package

+
+

Submodules

+
+
+

com.vmware.content.library.item.downloadsession_client module

+

The Content Library Item Download Session module provides classes and classes +for downloading files in a session.

+
+
+class com.vmware.content.library.item.downloadsession_client.File(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The File class provides methods for accessing files within a download +session.

+

After a download session is created against a library item, the File +class can be used to retrieve all downloadable content within the library +item. Since the content may not be available immediately in a downloadable +form on the server side, the client will have to prepare the file and wait +for the file status to become File.PrepareStatus.PREPARED.

+
+
+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class EndpointType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The File.EndpointType class defines the types of endpoints used to +download the file.

+
+

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 the EndpointType instance.

+
+
+
+
+DIRECT = EndpointType(string='DIRECT')
+

A direct download endpoint indicating the location of the file on storage. +The caller is responsible for retrieving the file from the storage location +directly.

+
+ +
+
+HTTPS = EndpointType(string='HTTPS')
+

An https download endpoint.

+
+ +
+ +
+
+class Info(name=None, size=None, bytes_transferred=None, status=None, download_endpoint=None, checksum_info=None, error_message=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The File.Info class defines the downloaded file.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – The name of the file.

  • +
  • size (long or None) – The file size, in bytes. +This attribute may not be available immediately. It is guaranteed +to be set when the client finishes downloading the file.

  • +
  • bytes_transferred (long) – The number of bytes that have been transferred by the server so far +for making this file prepared for download. This value may stay at +zero till the client starts downloading the file.

  • +
  • status (File.PrepareStatus) – The preparation status (UNPREPARED, PREPARE_REQUESTED, PREPARING, +PREPARED, ERROR) of the file.

  • +
  • download_endpoint (com.vmware.content.library.item_client.TransferEndpoint or None) – Endpoint at which the file is available for download. The value is +valid only when the File.Info.status is +File.PrepareStatus.PREPARED. +This attribute won’t be set until the file status is +File.PrepareStatus.PREPARED.

  • +
  • checksum_info (com.vmware.content.library.item_client.File.ChecksumInfo or None) – The checksum information of the file. When the download is +complete, you can retrieve the checksum from the File.get() +method to verify the checksum for the downloaded file. +The checksum is always calculated for the downloaded file, but this +attribute won’t be set until the download is complete.

  • +
  • error_message (com.vmware.vapi.std_client.LocalizableMessage or None) – Error message for a failed preparation when the prepare status is +File.PrepareStatus.ERROR. +This attribute won’t be set unless there was an error with the file +transfer.

  • +
+
+
+
+ +
+
+class PrepareStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The File.PrepareStatus class defines the state of the file in +preparation for download.

+
+

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 the PrepareStatus instance.

+
+
+
+
+ERROR = PrepareStatus(string='ERROR')
+

Prepare failed.

+
+ +
+
+PREPARED = PrepareStatus(string='PREPARED')
+

Prepare succeeded. The file is ready for download.

+
+ +
+
+PREPARE_REQUESTED = PrepareStatus(string='PREPARE_REQUESTED')
+

A prepare has been requested, however the server hasn’t started the +preparation yet.

+
+ +
+
+PREPARING = PrepareStatus(string='PREPARING')
+

A prepare has been requested and the file is in the process of being +prepared.

+
+ +
+
+UNPREPARED = PrepareStatus(string='UNPREPARED')
+

The file hasn’t been requested for preparation.

+
+ +
+ +
+
+get(download_session_id, file_name)
+

Retrieves file download information for a specific file.

+
+
Parameters
+
    +
  • download_session_id (str) – Identifier of the download session. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.DownloadSession.

  • +
  • file_name (str) – Name of the file requested.

  • +
+
+
Return type
+

File.Info

+
+
Returns
+

The File.Info instance containing the status of the file +and its download link if available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the download session associated with download_session_id +does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if there is no file with the specified file_name.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Anonymous.

  • +
+
+
+
+ +
+
+list(download_session_id)
+

Lists the information of all the files in the library item associated +with the download session.

+
+
Parameters
+

download_session_id (str) – Identifier of the download session. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.DownloadSession.

+
+
Return type
+

list of File.Info

+
+
Returns
+

The list of File.Info instances.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the download session associated with download_session_id +doesn’t exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Anonymous.

  • +
+
+
+
+ +
+
+prepare(download_session_id, file_name, endpoint_type=None)
+

Requests a file to be prepared for download.

+
+
Parameters
+
    +
  • download_session_id (str) – Identifier of the download session. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.DownloadSession.

  • +
  • file_name (str) – Name of the file requested for download.

  • +
  • endpoint_type (File.EndpointType or None) – Endpoint type request, one of HTTPS, DIRECT. This will determine +the type of the File.Info.download_endpoint that is +generated when the file is prepared. The +File.EndpointType.DIRECT is only available to users who +have the ContentLibrary.ReadStorage privilege. +If not specified the default is File.EndpointType.HTTPS.

  • +
+
+
Return type
+

File.Info

+
+
Returns
+

File information containing the status of the request and the +download link to the file.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the download session does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if there is no file with the specified file_name.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the the download session wasn’t created with the +ContentLibrary.ReadStorage privilege and the caller requested a +File.EndpointType.DIRECT endpoint type.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Anonymous.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.content.library.item.downloadsession_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.content.library.item.updatesession_client module

+

The Content Library Item Update Session module provides classes and classes for +updating files in a session.

+
+
+class com.vmware.content.library.item.updatesession_client.CertificateInfo(issuer=None, subject=None, self_signed=None, x509=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CertificateInfo class contains information about the public key +certificate used to sign the content. This class was added in vSphere API +6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • issuer (str) – Certificate issuer. For example: /C=US/ST=California/L=Palo +Alto/O=VMware, Inc. This attribute was added in vSphere API 6.8.

  • +
  • subject (str) – Certificate subject. For example: +C=US/ST=Massachusetts/L=Hopkinton/O=EMC Corporation/OU=EMC +Avamar/CN=EMC Corporation. This attribute was added in vSphere API +6.8.

  • +
  • self_signed (bool) – Whether the certificate is self-signed. This attribute was added in +vSphere API 6.8.

  • +
  • x509 (str) – The X509 representation of the certificate. This attribute was +added in vSphere API 6.8.

  • +
+
+
+
+ +
+
+class com.vmware.content.library.item.updatesession_client.File(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The File class provides methods for accessing files within an update +session.

+

After an update session is created against a library item, the File +class can be used to make changes to the underlying library item metadata +as well as the content of the files. The following changes can be made:

+
    +
  • deleting an existing file within the library item. This deletes both the +metadata and the content.

  • +
  • updating an existing file with new content.

  • +
  • adding a new file to the library item.

  • +
+

The above changes are not applied or visible until the session is +completed. See +com.vmware.content.library.item_client.UpdateSession.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class AddSpec(name=None, source_type=None, source_endpoint=None, size=None, checksum_info=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The File.AddSpec class describes the properties of the file to be +uploaded.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – The name of the file being uploaded.

  • +
  • source_type (File.SourceType) – The source type (NONE, PUSH, PULL) from which the file content will +be retrieved.

  • +
  • source_endpoint (com.vmware.content.library.item_client.TransferEndpoint) – Location from which the Content Library Service will fetch the +file, rather than requiring a client to upload the file. +This attribute is optional and it is only relevant when the value +of sourceType is File.SourceType.PULL.

  • +
  • size (long or None) – The file size, in bytes. +If None, the server will not verify it received the correct size.

  • +
  • checksum_info (com.vmware.content.library.item_client.File.ChecksumInfo or None) – The checksum of the file. If specified, the server will verify the +checksum once the file is received. If there is a mismatch, the +upload will fail. For ova files, this value should not be set. +If None, the server will not verify the checksum.

  • +
+
+
+
+ +
+
+class Info(name=None, source_type=None, size=None, checksum_info=None, source_endpoint=None, upload_endpoint=None, bytes_transferred=None, status=None, error_message=None, keep_in_storage=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The File.Info class defines the uploaded file.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class SourceType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The File.SourceType class defines how the file content is retrieved.

+
+

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 the SourceType instance.

+
+
+
+
+NONE = SourceType(string='NONE')
+

No source type has been requested.

+
+ +
+
+PULL = SourceType(string='PULL')
+

The server is pulling content from a URL. The URL scheme can be http, +https, file, or ds.

+
+ +
+
+PUSH = SourceType(string='PUSH')
+

The client is uploading content using HTTP(S) PUT requests.

+
+ +
+ +
+
+class ValidationError(name=None, error_message=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The File.ValidationError class defines the validation error of a file +in the session.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class ValidationResult(has_errors=None, missing_files=None, invalid_files=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The File.ValidationResult class defines the result of validating the +files in the session.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • has_errors (bool) – Whether the validation was succesful or not. In case of errors, the +File.ValidationResult.missing_files and +File.ValidationResult.invalid_files will contain at least +one entry.

  • +
  • missing_files (set of str) – A set containing the names of the files that are required +but the client hasn’t added.

  • +
  • invalid_files (list of File.ValidationError) – A list containing the files that have been identified as +invalid and details about the error.

  • +
+
+
+
+ +
+
+add(update_session_id, file_spec)
+

Requests file content to be changed (either created, or updated). +Depending on the source type of the file, this method will either +return an upload endpoint where the client can push the content, or the +server will pull from the provided source endpoint. If a file with the +same name already exists in this session, this method will be used to +update the content of the existing file.

+

When importing a file directly from storage, where the source endpoint +is a file or datastore URI, you will need to have the +ContentLibrary.ReadStorage privilege on the library item. If the file +is located in the same directory as the library storage backing folder, +the server will move the file instead of copying it, thereby allowing +instantaneous import of files for efficient backup and restore +scenarios. In all other cases, a copy is performed rather than a move.

+
+
Parameters
+
    +
  • update_session_id (str) – Identifier of the update session to be modified. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.UpdateSession.

  • +
  • file_spec (File.AddSpec) – Specification for the file that needs to be added or updated. This +includes whether the client wants to push the content or have the +server pull it.

  • +
+
+
Return type
+

File.Info

+
+
Returns
+

An File.Info class containing upload links as well as +server side state tracking the transfer of the file.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the file_spec is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the update session doesn’t exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the caller doesn’t have ContentLibrary.ReadStorage privilege on +the library item of the update session and source type +File.SourceType.PULL is requested for a file or datastore +source endpoint (that is, not HTTP or HTTPs based endpoint).

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the content of the library item associated with the update +session has been deleted from the storage backings (see null) +associated with it.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if metadata files such as manifest and certificate file are added +after the OVF descriptor file. This is applicable to update +sessions with library item type OVF only. This error was added in +vSphere 6.8.0.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Anonymous.

  • +
+
+
+
+ +
+
+get(update_session_id, file_name)
+

Retrieves information about a specific file in the snapshot of the +library item at the time when the update session was created.

+
+
Parameters
+
    +
  • update_session_id (str) – Identifier of the update session. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.UpdateSession.

  • +
  • file_name (str) – Name of the file.

  • +
+
+
Return type
+

File.Info

+
+
Returns
+

Information about the file.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the update session doesn’t exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the file doesn’t exist in the library item associated with the +update session.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Anonymous.

  • +
+
+
+
+ +
+
+list(update_session_id)
+

Lists all files in the library item associated with the update session.

+
+
Parameters
+

update_session_id (str) – Identifier of the update session. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.UpdateSession.

+
+
Return type
+

list of File.Info

+
+
Returns
+

The list of the files in the library item associated with +the update session. This list may be empty if the caller +has removed all the files as part of this session (in which case +completing the update session will result in an empty library +item).

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the update session doesn’t exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Anonymous.

  • +
+
+
+
+ +
+
+remove(update_session_id, file_name)
+

Requests a file to be removed. The file will only be effectively +removed when the update session is completed.

+
+
Parameters
+
    +
  • update_session_id (str) – Identifier of the update session. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.UpdateSession.

  • +
  • file_name (str) – Name of the file to be removed.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the update session doesn’t exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the file doesn’t exist in the library item associated with the +update session.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Anonymous.

  • +
+
+
+
+ +
+
+validate(update_session_id)
+

Validates the files in the update session with the referenced +identifier and ensures all necessary files are received. In the case +where a file is missing, this method will return its name in the +File.ValidationResult.missing_files set. The user can add the +missing files and try re-validating. For other type of errors, +File.ValidationResult.invalid_files will contain the list of +invalid files.

+
+
Parameters
+

update_session_id (str) – Identifier of the update session to validate. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.UpdateSession.

+
+
Return type
+

File.ValidationResult

+
+
Returns
+

A validation result containing missing files or invalid files and +the reason why they are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if no update session with the given identifier exists.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the update session is not in the +com.vmware.content.library.item_client.UpdateSessionModel.State.ACTIVE +state, or if some of the files that will be uploaded by the client +aren’t received correctly.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Anonymous.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.content.library.item.updatesession_client.PreviewInfo(state=None, certificate_info=None, warnings=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The PreviewInfo class contains information about the files being +uploaded in the update session. This class was added in vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • state (PreviewInfo.State) – Indicates the state of the preview of the update session. This +attribute was added in vSphere API 6.8.

  • +
  • certificate_info (CertificateInfo or None) – The certificate information of the signed update session content. +This attribute was added in vSphere API 6.8. +This attribute is None if the update session content is not signed.

  • +
  • warnings (list of PreviewWarningInfo) – The list of warnings raised for this update session. Any warning +which is not ignored by the client will, by default, fail the +update session during session complete operation. This attribute +was added in vSphere API 6.8. +This attribute is optional and it is only relevant when the value +of state is PreviewInfo.State.AVAILABLE.

  • +
+
+
+
+
+class State(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The PreviewInfo.State class defines the state of the update session’s +preview. This enumeration was added in vSphere API 6.8.

+
+

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 the State instance.

+
+
+
+
+AVAILABLE = State(string='AVAILABLE')
+

Preview is available for this update session. It is possible to review +certificate details and warnings, if any. This state is reached when the +applicable metadata files in the session have been fully uploaded. This +class attribute was added in vSphere API 6.8.

+
+ +
+
+NOT_APPLICABLE = State(string='NOT_APPLICABLE')
+

Preview is not possible for this update session. This state is reached when +there are no metadata files in the update session and user invokes a +session complete operation. This class attribute was added in vSphere API +6.8.

+
+ +
+
+PREPARING = State(string='PREPARING')
+

A preview is being prepared for the files currently in the update session. +This state is reached when the applicable metadata files are added to the +update session but their content is not fully uploaded yet. For OVF item +type, this state indicates that the OVF descriptor file is currently being +uploaded. This class attribute was added in vSphere API 6.8.

+
+ +
+
+UNAVAILABLE = State(string='UNAVAILABLE')
+

There are no files in the update session OR a preview is not possible for +the files currently in the update session. However, preview may be possible +after metadata files such as OVF descriptor are added to the session. In +this case the state will transition to PREPARING. This class attribute +was added in vSphere API 6.8.

+
+ +
+ +
+ +
+
+class com.vmware.content.library.item.updatesession_client.PreviewWarningInfo(type=None, message=None, ignored=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The PreviewWarningInfo class provides information about the warnings +which are raised during the update session preview. This class was added in +vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (WarningType) – The warning type raised during preview of the update session. This +attribute was added in vSphere API 6.8.

  • +
  • message (com.vmware.vapi.std_client.LocalizableMessage) – The message specifying more details about the warning. This +attribute was added in vSphere API 6.8.

  • +
  • ignored (bool) – Indicates if this warning will be ignored during session complete +operation. This attribute was added in vSphere API 6.8.

  • +
+
+
+
+ +
+
+class com.vmware.content.library.item.updatesession_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.content.library.item.updatesession_client.WarningBehavior(type=None, ignored=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The WarningBehavior class defines the session behavior if the warning +is raised during the update session. This class was added in vSphere API +6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (WarningType) – The warning type which may be raised during the update session. +This attribute was added in vSphere API 6.8.

  • +
  • ignored (bool) – Indicates if this warning will be ignored during session complete +operation. This attribute was added in vSphere API 6.8.

  • +
+
+
+
+ +
+
+class com.vmware.content.library.item.updatesession_client.WarningType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The WarningType class defines the warnings which can be raised during +the update session. This enumeration was added in vSphere API 6.8.

+
+

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 the WarningType instance.

+
+
+
+
+EXPIRED_CERTIFICATE = WarningType(string='EXPIRED_CERTIFICATE')
+

The certificate used for signing the content is expired. This class +attribute was added in vSphere API 6.8.

+
+ +
+
+NOT_YET_VALID_CERTIFICATE = WarningType(string='NOT_YET_VALID_CERTIFICATE')
+

The certificate used for signing the content is not yet valid. This class +attribute was added in vSphere API 6.8.

+
+ +
+
+SELF_SIGNED_CERTIFICATE = WarningType(string='SELF_SIGNED_CERTIFICATE')
+

The certificate used for signing the content is self-signed. This class +attribute was added in vSphere API 6.8.

+
+ +
+
+UNTRUSTED_CERTIFICATE = WarningType(string='UNTRUSTED_CERTIFICATE')
+

The certificate used for signing the content is not trusted. This class +attribute was added in vSphere API 6.8.

+
+ +
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.content.type.html b/vsphere/7.0.0.1/com.vmware.content.type.html new file mode 100644 index 00000000..f8d85bf6 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.content.type.html @@ -0,0 +1,630 @@ + + + + + + + + + + + com.vmware.content.type package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.content.type package

+ +
+

Submodules

+
+
+

com.vmware.content.type.ovf_client module

+
+
+class com.vmware.content.type.ovf_client.Cpu(num_cpus=None, reservation=None, limit=None, shares=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Provide the CPU information in a template VM.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • num_cpus (long) – number of CPUs

  • +
  • reservation (long or None) – reservation in MHz +It is optional to set a CPU reservation.

  • +
  • limit (long or None) – CPU limit in MHz +Is is optional to set a CPU limit.

  • +
  • shares (long or None) – CPU shares +It is optional to specify CPU shares.

  • +
+
+
+
+ +
+
+class com.vmware.content.type.ovf_client.Disk(name=None, disk_capacity=None, storage_policy=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Provide the disk information in a template VM.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Name of the disk

  • +
  • disk_capacity (long) – Capacity of the disk in megabytes

  • +
  • storage_policy (com.vmware.content.type.ovf.policy_client.StoragePolicy or None) –

    Storage policy of the disk.

    +

    It is a reference to the storage policy group. +It is not required that storage policy be specified.

    +

  • +
+
+
+
+ +
+
+class com.vmware.content.type.ovf_client.DiskController(name=None, type=None, sub_type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Provide the disk controller information in a template VM.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Name of the disk controller

  • +
  • type (str or None) – Disk controller type: DiskControllerType.IDE.SATA.SCSI; +It is optional to specify a disk controller type.

  • +
  • sub_type (str or None) – Disk controller sub type: DiskControllerSubType +It is optional to specify a disk controller subtype.

  • +
+
+
+
+ +
+
+class com.vmware.content.type.ovf_client.Drive(name=None, type=None, sub_type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Provide the drive information in a template VM.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Name of the drive

  • +
  • type (str or None) – Drive type +It is optional to specify a drive type.

  • +
  • sub_type (str or None) – Drive sub type +It is optional to specify a drive subtype.

  • +
+
+
+
+ +
+
+class com.vmware.content.type.ovf_client.Floppy(name=None, connected=None, type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Provide the floppy information in a template VM.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Name of the floppy

  • +
  • connected (bool or None) – True if floppy is connected +It is optional to specify if a floppy is connected.

  • +
  • type (str or None) – Floppy type +It is optional to specify the type of floppy drive.

  • +
+
+
+
+ +
+
+class com.vmware.content.type.ovf_client.Memory(size=None, reservation=None, limit=None, shares=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Provide the memory information in a template VM.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • size (long) – memory size in MB

  • +
  • reservation (long or None) – memory reservation in MB +It is not required that memory reservation be specified.

  • +
  • limit (long or None) – memory limit in MB +It is not required that memory limit be specified.

  • +
  • shares (long or None) – memory shares +It is not required that memory shares be specified.

  • +
+
+
+
+ +
+
+class com.vmware.content.type.ovf_client.Network(name=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Provide network information in a template VM.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Name of the network

  • +
  • description (str or None) – Description of the network +Networks do not require a description.

  • +
+
+
+
+ +
+
+class com.vmware.content.type.ovf_client.Nic(name=None, network_name=None, mac_address=None, start_connected=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Provide NIC information in a VM template

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Name of NIC

  • +
  • network_name (str or None) – Name of the network that this NIC connects to +It is not required that network name be specified.

  • +
  • mac_address (str or None) – Mac address of this NIC +It is not required that MAC address be specified.

  • +
  • start_connected (bool or None) – True if this nic will be connected on start. +It is not required that whether the NIC is connected be specified.

  • +
+
+
+
+ +
+
+class com.vmware.content.type.ovf_client.OvfTemplate(id=None, vm_count=None, version=None, library_id_parent=None, is_vapp_template=None, vm_template=None, vapp_template=None, networks=None, storage_policy_groups=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Provides extra information about a library item of type “ovf”.

+

An OVF library item is the basic building block for instantiating virtual +machines from content library. It may contain one or multiple virtual +machine templates. This structure provides a rich view of the virtual +machines within the ovf container as well as information about to the ovf +descriptor associated with the library item

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) – Library item id. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.library.Item. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.content.library.Item.

  • +
  • vm_count (long) – Number of virtual machines in the the ovf template.

  • +
  • version (str) –

    A version number indicating the generation of the OvfTemplate

    +

    This value is incremented every time OvfTemplate changes.

    +

  • +
  • library_id_parent (str) – The identifier of the +com.vmware.content_client.LibraryModel to which this item +belongs. This is used to set the parent of the ovf template for +permission propagation. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.Library. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: com.vmware.content.Library.

  • +
  • is_vapp_template (bool) – True if this is a vApp template, otherwise this is a VM template.

  • +
  • vm_template (VmTemplate or None) – The Vitrual Machine if this is a VM template +An OVF template does not require a VM template.

  • +
  • vapp_template (VAppTemplate or None) – The root VApp template in this OVF template if this is a vApp +template +An OVF template does not require a vApp template.

  • +
  • networks (list of Network) – networks in this OVF template

  • +
  • storage_policy_groups (list of com.vmware.content.type.ovf.policy_client.StoragePolicyGroup or None) – Storage policy groups for disks, virtual machines and/or virtual +machine collections. +An OVF template does not require policies.

  • +
+
+
+
+ +
+
+class com.vmware.content.type.ovf_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.content.type.ovf_client.USBController(type=None, auto_connect=None, ehci_pci_slot_number=None, pci_slot_number=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Provide USB controller information in a template VM.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (str or None) – USBControllerType.EHCI (USB 2.0), XHCI (USB 3.0) +A template is not required to specify the USB type.

  • +
  • auto_connect (bool or None) – True if the USB controller is connected automatically +A template is not required to specify if auto connect.

  • +
  • ehci_pci_slot_number (long or None) – ehci.pci slot number +A template is not required to specify the ehci.pci slot number.

  • +
  • pci_slot_number (long or None) – pci slot number +A template is not required to specify the pci slot number.

  • +
+
+
+
+ +
+
+class com.vmware.content.type.ovf_client.VAppTemplate(vapp_name=None, vm_templates=None, storage_policies=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Provide information for vApp template in an OVF template file.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • vapp_name (str or None) – Name of the vApp template +vApp templates do not require a name.

  • +
  • vm_templates (list of VmTemplate or None) – Vitrual Machines in this vApp template +vApp templates do not require a list of VM templates.

  • +
  • storage_policies (list of com.vmware.content.type.ovf.policy_client.StoragePolicy or None) – Storage policies of the vApp template. +vApp templates do not require a list of storage policies.

  • +
+
+
+
+ +
+
+class com.vmware.content.type.ovf_client.VideoCard(render_type=None, video_ram_size=None, graphics_memory_size=None, enable3d=None, num_displays=None, use_auto_detect=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Provide video card information in a template VM.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • render_type (str or None) – Render type +A template is not required to specify the render type.

  • +
  • video_ram_size (long or None) – video RAM size in KB +A template is not required to specify the video RAM.

  • +
  • graphics_memory_size (long or None) – graphics memory size in KB +A template is not required to specify the amount of graphics +memory.

  • +
  • enable3d (bool or None) – True if 3D is enabled +A template is not required to specify if 3D is enabled.

  • +
  • num_displays (long or None) – number of displayes +A template is not required to specify the number of displays.

  • +
  • use_auto_detect (bool or None) – True if use auto detect +A template is not required to specify use auto dectect.

  • +
+
+
+
+ +
+
+class com.vmware.content.type.ovf_client.VmTemplate(vm_name=None, os_type=None, os_description=None, cpu=None, memory=None, disks=None, nics=None, video_cards=None, drives=None, floppies=None, disk_controllers=None, usb_controllers=None, storage_policies=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Provide template VM information in an OVF template (see OvfTemplate#type). +The template VM provide the information about the operation system, CPU, +memory, disks and NICs.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • vm_name (str) – Name of the VM

  • +
  • os_type (str or None) – OS type of the VM +A VM template is not required to specify an OS.

  • +
  • os_description (str or None) – OS description +A VM template is not required to specify an OS.

  • +
  • cpu (Cpu or None) – CPU information of the VM +A VM template is not required to specify a CPU.

  • +
  • memory (Memory or None) – memory information of the VM +A VM template is not required to specify memory.

  • +
  • disks (list of Disk or None) – All hard disks on the VM +A VM template is not required to specify a list of disks.

  • +
  • nics (list of Nic or None) – All NICs on the VM +A VM template is not required to specify a list of network +interfaces.

  • +
  • video_cards (list of VideoCard or None) – Video cards of the VM +A VM template is not required to specify a list of video cards.

  • +
  • drives (list of Drive or None) – CD / DVD drives of the VM +A VM template is not required to specify a list of drives.

  • +
  • floppies (list of Floppy or None) – floppy drives of the VM +A VM template is not required to specify a list of floppy drives.

  • +
  • disk_controllers (list of DiskController or None) – Disk Controllers +A VM template is not required to specify a list of disk +controllers.

  • +
  • usb_controllers (list of USBController or None) – USB Controllers +A VM template is not required to specify a list of USB controllers.

  • +
  • storage_policies (list of com.vmware.content.type.ovf.policy_client.StoragePolicy or None) – Storage policies of the VM. +A VM template is not required to specify a list of storage +policies.

  • +
+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.content.type.ovf.html b/vsphere/7.0.0.1/com.vmware.content.type.ovf.html new file mode 100644 index 00000000..429a3a80 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.content.type.ovf.html @@ -0,0 +1,291 @@ + + + + + + + + + + + com.vmware.content.type.ovf package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.content.type.ovf package

+
+

Submodules

+
+
+

com.vmware.content.type.ovf.policy_client module

+
+
+class com.vmware.content.type.ovf.policy_client.StoragePolicy(group_id=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Provide information of the membership of a particular storage policy group.

+

It is valid for disk, virtual machine or virtual machine collection.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

group_id (str) – Id reference of the particular storage policy group.

+
+
+
+ +
+
+class com.vmware.content.type.ovf.policy_client.StoragePolicyGroup(id=None, name=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Provide information of storage policy for a group of disks, virtual +machines and/or virtual machine collections.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) – Id of the policy

  • +
  • name (str) – Name of the policy

  • +
  • description (str or None) – Description of the policy +Description is not required.

  • +
+
+
+
+ +
+
+class com.vmware.content.type.ovf.policy_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.esx.hcl.html b/vsphere/7.0.0.1/com.vmware.esx.hcl.html new file mode 100644 index 00000000..58754741 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.esx.hcl.html @@ -0,0 +1,686 @@ + + + + + + + + + + + com.vmware.esx.hcl package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.esx.hcl package

+
+

Submodules

+
+
+

com.vmware.esx.hcl.hosts_client module

+
+
+class com.vmware.esx.hcl.hosts_client.CompatibilityReleases(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

This class provides methods to list available releases for generating +compatibility report for a specific ESXi host.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class EsxiCompatibilityReleases(current_compatibility_release=None, newer_compatibility_releases=None, notifications=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

This CompatibilityReleases.EsxiCompatibilityReleases class contains +attributes that describe available releases for generating compatibility +report for a specific ESXi host.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • current_compatibility_release (str) –

    The current release of the ESXi, which also can be checked for +compatibility.

    +

    The information for the release does not include patch information.

    +

  • +
  • newer_compatibility_releases (list of str) – The available ESXi releases, greater than the current one, than can +be checked for compatibility.

  • +
  • notifications (com.vmware.esx.hcl_client.Notifications) – Notifications returned by the operation.

  • +
+
+
+
+ +
+
+list(host)
+

Lists the locally available ESXi releases for a given host that can be +used to generate a compatiblity report. Each host has its own list of +supported releases depending on its current release.

+
+
Parameters
+

host (str) – Contains the MoID identifying the ESXi host. +The parameter must be an identifier for the resource type: +HostSystem.

+
+
Return type
+

CompatibilityReleases.EsxiCompatibilityReleases

+
+
Returns
+

Available releases for compatibility for a specified host.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InternalServerError +If there is some internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if there is no compatibility data on the vCenter executing the +operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if no host with the given MoID can be found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the provided host is not supported.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the vCenter this API is executed on is not part of the Customer +Experience Improvement Program (CEIP).

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown error. The accompanying error message will +give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.HardwareCompatibility.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.hcl.hosts_client.CompatibilityReport(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

This class provides methods to generate hardware compatibility report for a +given ESXi host against a specific ESXi release.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class BiosConstraint(bios=None, notes=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

This CompatibilityReport.BiosConstraint class contains attributes that +describe the BIOS that is supported for the given server and ESXi release.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class DeviceConstraint(driver=None, firmware=None, notes=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

This CompatibilityReport.DeviceConstraint class contains attributes +that describe pair of driver and firmware that are supported for a given +PCI device and ESXi release.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class DeviceHclInfo(compatibility=None, device=None, device_constraints=None, supported_releases=None, vcg_link=None, notes=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

This CompatibilityReport.DeviceHclInfo class contains attributes that +describe a PCI device of a given ESXi host and its compatibility +information.

+

If there are multiple PCI devices of the same type on the host each one +will be listed in separate instance of this class.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • compatibility (com.vmware.esx.hcl_client.CompatibilityStatus) – Indicates compatibility status of the PCI device.

  • +
  • device (com.vmware.esx.hcl_client.PCIDevice) – Information about the PCI device.

  • +
  • device_constraints (list of CompatibilityReport.DeviceConstraint or None) – Lists the constraints the target ESXi release has for this PCI +device +If None no constraints are present as PCI device is either not +compatible or compatibility information is not found.

  • +
  • supported_releases (list of str or None) – Provides information about supported releases for this device. +If None device is compatible with the given target release.

  • +
  • vcg_link (str or None) – Provides link to the VMware Compatibility Guide for further +information on the compatibility. +If None there is no VMware Compatibility link available as this is +device used by VSAN.

  • +
  • notes (list of com.vmware.vapi.std_client.LocalizableMessage or None) – Information that needs to be taken into account when considering +this device hcl. +Only set if there is any information reported.

  • +
+
+
+
+ +
+
+class HclReport(host=None, target_release=None, server_hcl=None, devices_hcl=None, generated_at=None, notifications=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

This CompatibilityReport.HclReport represents the hardware +compatibility report generated for a specific host and target ESXi release.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • host (str) – FQDN identifying the ESXi host that the report refers to.

  • +
  • target_release (str) – Indicates for which ESXi release the report is generated.

  • +
  • server_hcl (CompatibilityReport.ServerHclInfo) – Lists compatibility information for the ESXi’s server part.

  • +
  • devices_hcl (list of CompatibilityReport.DeviceHclInfo or None) – Lists compatibility information for discoverable PCI devices of the +host. +If None the server is not compatible with the requested release and +the PCI devices cannot be checked.

  • +
  • generated_at (datetime.datetime) – Specifies the time the report was generated.

  • +
  • notifications (com.vmware.esx.hcl_client.Notifications) – Notifications returned by the operation.

  • +
+
+
+
+ +
+
+class Result(report=None, identifier=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CompatibilityReport.Result class contains the result of hardware +compatibility report creation operation.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • report (CompatibilityReport.HclReport) – The hardware compatibility report.

  • +
  • identifier (str or None) –

    The identifier of the compatibility report.

    +

    com.vmware.esx.hcl_client.Reports.get() provides location +where a file based report based on the +CompatibilityReport.HclReport can be downloaded using this +identifier. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.hcl.resources.CompatibilityReport. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.esx.hcl.resources.CompatibilityReport. +None in case of error reported in +CompatibilityReport.HclReport.notifications.

    +

  • +
+
+
+
+ +
+
+class ServerCompatibility(bios_constraints=None, cpu_series=None, supported_releases=None, vcg_link=None, notes=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

This CompatibilityReport.ServerCompatibility class contains attributes +that provide the compatibility information for a server model, cpu and +BIOS.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • bios_constraints (list of CompatibilityReport.BiosConstraint or None) – Lists the BIOS constraints that the target ESXi release has for +this server. +If None no constraints are present as server is either not +compatible or compatibility information is not found.

  • +
  • cpu_series (str) – The CPU series name.

  • +
  • supported_releases (list of str or None) – Provides information about supported releases for this entry. +If None server is compatible with the given target release.

  • +
  • vcg_link (str) – Provides link to the VMware Compatibility Guide for further +information on the compatibility.

  • +
  • notes (list of com.vmware.vapi.std_client.LocalizableMessage or None) – Information that needs to be taken into account when considering +this server hardware compatibility. +Only set if there is any information reported.

  • +
+
+
+
+ +
+
+class ServerHclInfo(server=None, matches=None, model_compatibility=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

This CompatibilityReport.ServerHclInfo class contains attributes that +describe the server of a ESXi host and its compatibility information.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class Spec(release=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CompatibilityReport.Spec class contains attributes to describe the +input configuration for an ESXi’s compatibility report generation.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

release (str) – A target ESXi release which will be used to generate a +compatibility report. Releases that can be used to generate report +can be found using CompatibilityReleases.list()

+
+
+
+ +
+
+create_task(host, spec=None)
+

Generates hardware compatibility report for a specified ESXi host +against specific ESXi release.

+

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.

+
+
Parameters
+
    +
  • host (str) – Contains the MoID identifying the ESXi host. +The parameter must be an identifier for the resource type: +HostSystem.

  • +
  • spec (CompatibilityReport.Spec or None) – Specifies the input parameters for generating compatibility report. +If None host compatibility will be checked against the current +release of the ESXi.

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if no host with the given MoID can be found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the provided host is not supported.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the vCenter this API is executed on is not part of the Customer +Experience Improvement Program (CEIP).

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if there is no compatibility data on the vCenter executing the +operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown error. The accompanying error message will +give more details about the failure.

+
+
+
+ +
+
+get(host)
+

Returns the last generated hardware compatibility report for the given +host.

+
+
Parameters
+

host (str) – The parameter must be an identifier for the resource type: +HostSystem.

+
+
Return type
+

CompatibilityReport.Result

+
+
Returns
+

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if there is no report generated for the given host. This operation +does not check if the host id is valid or it exists.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the vCenter this API is executed on is not part of the Customer +Experience Improvement Program (CEIP).

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown error. The accompanying error message will +give more details about the failure.

+
+
+
+ +
+ +
+
+class com.vmware.esx.hcl.hosts_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.esx.hosts.health.html b/vsphere/7.0.0.1/com.vmware.esx.hosts.health.html new file mode 100644 index 00000000..67d5fbdd --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.esx.hosts.health.html @@ -0,0 +1,252 @@ + + + + + + + + + + + com.vmware.esx.hosts.health package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.esx.hosts.health package

+
+

Submodules

+
+
+

com.vmware.esx.hosts.health.perspectives_client module

+

The com.vmware.esx.hosts.health.perspectives_client module provides classes +to get the health status of ESX hosts relevant to a specific perspective.

+
+
+class com.vmware.esx.hosts.health.perspectives_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.esx.hosts.html b/vsphere/7.0.0.1/com.vmware.esx.hosts.html new file mode 100644 index 00000000..1ce3cf3f --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.esx.hosts.html @@ -0,0 +1,345 @@ + + + + + + + + + + + com.vmware.esx.hosts package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.esx.hosts package

+ +
+

Submodules

+
+
+

com.vmware.esx.hosts.software_client module

+

The com.vmware.esx.hosts.software_client module provides classes to get +information about current software on ESX.

+
+
+class com.vmware.esx.hosts.software_client.InstalledComponents(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The InstalledComponents class provides methods to get installed list of +components.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class InstalledComponentInfo(display_name=None, version=None, display_version=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The InstalledComponents.InstalledComponentInfo class contains +attributes that describe the installed component on the host.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • display_name (str) – Display name of the component.

  • +
  • version (str) – Version of the installed component

  • +
  • display_version (str) – Human readable version of the component.

  • +
+
+
+
+ +
+
+list(host)
+

Returns the installed components on the host.

+
+
Parameters
+

host (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +HostSystem.

+
+
Return type
+

dict of str and InstalledComponents.InstalledComponentInfo

+
+
Returns
+

The components installed on the host. +The key in the return value dict will be an identifier for +the resource type: com.vmware.esx.hosts.component.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InternalServerError +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no host associated with host in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
  • The resource HostSystem referenced by the parameter host +requires VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.hosts.software_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.esx.html b/vsphere/7.0.0.1/com.vmware.esx.html new file mode 100644 index 00000000..a67d921b --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.esx.html @@ -0,0 +1,2268 @@ + + + + + + + + + + + com.vmware.esx package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.esx package

+
+

Subpackages

+
+ +
+
+
+

Submodules

+
+
+

com.vmware.esx.hcl_client module

+

The com.vmware.esx.hcl_client module provides classes to query the hardware +compatibility for an ESXi or a cluster.

+
+
+class com.vmware.esx.hcl_client.CompatibilityData(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

This class provides methods to update the local compatibility data residing +on the vCenter Appliance or to get information about the said data. The +information in the data is generic VMware compatibility information for +servers and devices.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Status(updated_at=None, notifications=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CompatibilityData.Status class contains attributes to describe the +information available for the compatibility data.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • updated_at (datetime.datetime) – Indicates when the data was last updated.

  • +
  • notifications (Notifications) – Notifications returned by the operation.

  • +
+
+
+
+ +
+
+get()
+

Provides information about the compatibility data located on the +vCenter Appliance.

+
+
Return type
+

CompatibilityData.Status

+
+
Returns
+

Information about the compatibility data.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if there is no compatibility data on the vCenter executing the +operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the vCenter this API is executed on is not part of the Customer +Experience Improvement Program (CEIP).

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown error. The accompanying error message will +give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.HardwareCompatibility.Read.

  • +
+
+
+
+ +
+
+update_task()
+

Replaces the local compatibility data with the latest version found +from VMware official source.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if there is compatibility data update in progress.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the vCenter this API is executed on is not part of the Customer +Experience Improvement Program (CEIP).

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown error. The accompanying error message will +give more details about the failure.

+
+
+
+ +
+ +
+
+class com.vmware.esx.hcl_client.CompatibilityStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The CompatibilityStatus class defines compatibility status of a given +server or PCI device against a specific release of ESXi.

+
+

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 the CompatibilityStatus instance.

+
+
+
+
+CERTIFIED = CompatibilityStatus(string='CERTIFIED')
+

When given hardware is certified for the specified ESXi release. Its +software is also validated and it is also certified.

+
+ +
+
+COMPATIBLE = CompatibilityStatus(string='COMPATIBLE')
+

When given hardware is certified for the specified ESXi release but no +validation of the software of this hardware is performed.

+
+ +
+
+INCOMPATIBLE = CompatibilityStatus(string='INCOMPATIBLE')
+

When given hardware is not certified for the specified ESXi release.

+
+ +
+
+NOT_CERTIFIED = CompatibilityStatus(string='NOT_CERTIFIED')
+

When given hardware is certified for the specified ESXi release. Its +software is also validated and it is not certified.

+
+ +
+
+UNAVAILABLE = CompatibilityStatus(string='UNAVAILABLE')
+

When there is no information about specified hardware.

+
+ +
+ +
+
+class com.vmware.esx.hcl_client.Driver(name=None, version=None, vendor=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Driver class contains attributes describing information about a +driver.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – The name of the driver.

  • +
  • version (str) – The version of the driver.

  • +
  • vendor (str or None) – The vendor that produced the driver. +If None vendor is unknown.

  • +
+
+
+
+ +
+
+class com.vmware.esx.hcl_client.Firmware(version=None, vendor=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Firmware class contains attributes describing information about a +firmware.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • version (str) – The version of the firmware.

  • +
  • vendor (str or None) – The vendor that produced the firmware. +If None vendor is unknown.

  • +
+
+
+
+ +
+
+class com.vmware.esx.hcl_client.Notification(id=None, time=None, message=None, resolution=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Notification class contains attributes to describe any +info/warning/error messages that Tasks can raise.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class com.vmware.esx.hcl_client.Notifications(info=None, warnings=None, errors=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Notifications class contains info/warning/error messages that can +be reported be the task.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • info (list of Notification or None) – Info notification messages reported. +Only set if an info was reported by the task.

  • +
  • warnings (list of Notification or None) – Warning notification messages reported. +Only set if an warning was reported by the task.

  • +
  • errors (list of Notification or None) – Error notification messages reported. +Only set if an error was reported by the task.

  • +
+
+
+
+ +
+
+class com.vmware.esx.hcl_client.PCIDevice(pci_address=None, vid=None, did=None, svid=None, ssid=None, vendor=None, model_name=None, class_code=None, sub_class_code=None, driver=None, firmware=None, used_by_vsan=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The PCIDevice class contains attributes describing information about a +single PCI device on a host.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • pci_address (str) – The device’s address in a given ESXi host.

  • +
  • vid (str) – A unique number assigned to each computer hardware device that +helps to identify the chipset manufacturer. For example, Dell, +Broadcom, etc.

  • +
  • did (str) – A unique number that identifies the specific device of the Vendor +(VID).

  • +
  • svid (str) – A unique number that identifies the card manufacturer.

  • +
  • ssid (str) – A unique number that identifies the specific device of Subsystem +Vendor (SVID).

  • +
  • vendor (str) – The name of the vendor.

  • +
  • model_name (str) – The name of the device model.

  • +
  • class_code (str) – Register that specifies the type of function the device performs.

  • +
  • sub_class_code (str) – Register that specifies the specific function the device performs.

  • +
  • driver (Driver) – Currently installed driver used by the device.

  • +
  • firmware (Firmware or None) – Currently installed firmware used by the device. +If None firmware is unknown.

  • +
  • used_by_vsan (bool) – Shows whether the device is part of VSAN cluster or not.

  • +
+
+
+
+ +
+
+class com.vmware.esx.hcl_client.Reports(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

This class provides methods to download information generated from the +hardware compatibility feature residing on the vCenter Appliance.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Location(url=None, report_token=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Reports.Location class contains the URI location to download +generated compatibility report, as well as a token required (as a header on +the HTTP GET request) to get the report. The validity of the token is 5 +minutes. After the token expires, any attempt to call the URI with said +token will fail.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • url (str) – Compatibility report download URL.

  • +
  • report_token (Reports.Token) – Information about the token required in the HTTP GET request to +download the compatibility report.

  • +
+
+
+
+ +
+
+class Token(token=None, expiry=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Reports.Token class contains information about the token required +to be passed in the HTTP header in the HTTP GET request to generate the +report.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • token (str) – A one-time, short-lived token required in the HTTP header of the +request to the url. This token needs to be passed in as a header +with the name “session-id”.

  • +
  • expiry (datetime.datetime) – Expiry time of the token

  • +
+
+
+
+ +
+
+get(report)
+

Returns the location Reports.Location information for +downloading a compatibility report.

+
+
Parameters
+

report (str) – identifier of hardware compatiblity report to be downloaded. +The parameter must be an identifier for the resource type: +com.vmware.esx.hcl.resources.CompatibilityReport.

+
+
Return type
+

Reports.Location

+
+
Returns
+

Reports.Location class which includes the URI to file, short +lived token and expiry of the token in the +Reports.Location object.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if there is no report for the given id.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the vCenter this API is executed on is not part of the Customer +Experience Improvement Program (CEIP).

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown error. The accompanying error message will +give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.HardwareCompatibility.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.hcl_client.Server(model_name=None, vendor=None, cpu_series=None, cpu_features=None, bios=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Server class contains attributes describing information about a +server.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • model_name (str) – The name of the server model.

  • +
  • vendor (str) – The name of the vendor.

  • +
  • cpu_series (str) – The CPU series name.

  • +
  • cpu_features (str) – The current CPU features.

  • +
  • bios (Firmware) – Currently installed BIOS of the server.

  • +
+
+
+
+ +
+
+class com.vmware.esx.hcl_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.esx.hosts_client module

+

The com.vmware.esx.hosts_client module provides classes to manage ESX host.

+
+
+class com.vmware.esx.hosts_client.AddOnInfo(name=None, version=None, display_name=None, vendor=None, display_version=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The AddOnInfo class contains attributes that describe a specific OEM +customization add-on.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Name of the add-on +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.hosts.add_on. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.esx.hosts.add_on.

  • +
  • version (str) – Version of the add-on

  • +
  • display_name (str) – Display name of the OEM add-on.

  • +
  • vendor (str) – Vendor of the OEM add-on.

  • +
  • display_version (str) – Human readable version of the OEM add-on.

  • +
+
+
+
+ +
+
+class com.vmware.esx.hosts_client.BaseImageInfo(version=None, display_name=None, display_version=None, release_date=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The BaseImageInfo class contains attributes that describe a specific +ESX base-image.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • version (str) – Version of the base-image. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.hosts.base_image. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.esx.hosts.base_image.

  • +
  • display_name (str) – Display name of the base-image.

  • +
  • display_version (str) – Human readable version of the base-image.

  • +
  • release_date (datetime.datetime) – Release date of the base-image.

  • +
+
+
+
+ +
+
+class com.vmware.esx.hosts_client.ComponentInfo(version=None, display_name=None, display_version=None, vendor=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ComponentInfo class contains attributes that describe a specific +component version in a software specification.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • version (str) – Version of the component.

  • +
  • display_name (str) – Display name of the component.

  • +
  • display_version (str) – Human readable version of the component.

  • +
  • vendor (str) – Vendor of the component.

  • +
+
+
+
+ +
+
+class com.vmware.esx.hosts_client.SoftwareInfo(base_image=None, add_on=None, components=None, solutions=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The SoftwareInfo class contains attributes that describe desired +software specification for an ESX host.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • base_image (BaseImageInfo) – Base image of the ESX.

  • +
  • add_on (AddOnInfo or None) – OEM customization on top of given base-image. The components in +this customization override the components in the base base-image. +If None, no OEM customization will be applied.

  • +
  • components (dict of str and (ComponentInfo or None)) – Map of components in an ESX image. The key is the component name +and value is the information about specific version of the +component. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.esx.hosts.component. When methods return a +value of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.esx.hosts.component.

  • +
  • solutions (dict of str and SolutionInfo) – Map of software solutions in an ESX image. The key is the solution +name and value is the specification detailing components registered +by that solution. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.esx.hosts.solution. When methods return a +value of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.esx.hosts.solution.

  • +
+
+
+
+ +
+
+class com.vmware.esx.hosts_client.SolutionInfo(version=None, display_name=None, components=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The SolutionInfo class contains attributes that describe solution +registered in the software specification.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • version (str) – Version of the solution.

  • +
  • display_name (str) – Display name of the solution.

  • +
  • components (dict of str and ComponentInfo) – Components registered by the solution. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.esx.hosts.component. When methods return a +value of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.esx.hosts.component.

  • +
+
+
+
+ +
+
+class com.vmware.esx.hosts_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.esx.settings_client module

+

The com.vmware.esx.settings_client module provides classes to manage ESX +settings.

+
+
+class com.vmware.esx.settings_client.AddOnCompliance(status=None, current=None, target=None, notifications=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The AddOnCompliance class contains information that describe the +compliance of the OEM add-on with respect to the add-on present in the +target software specification.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • status (ComplianceStatus) – Compliance status of the OEM add-on.

  • +
  • current (AddOnInfo or None) – Current OEM add-on present on the host. +None if OEM add-on is not present on the host.

  • +
  • target (AddOnInfo or None) – Target OEM add-on present in the software specification. +None if OEM add-on is not present in the software specification.

  • +
  • notifications (Notifications) – Notifications describing the compliance result.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.AddOnDetails(display_name=None, vendor=None, display_version=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The AddOnDetails class contains information that provide more details +about the add-on from the depot.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • display_name (str) – Display name of the OEM add-on.

  • +
  • vendor (str) – Vendor of the OEM add-on.

  • +
  • display_version (str) – Human readable version of the OEM add-on.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.AddOnInfo(details=None, name=None, version=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The AddOnInfo class contains information that describe a specific OEM +customization add-on.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • details (AddOnDetails or None) – Details about the add-on. +None if add-on is not present in the depot.

  • +
  • name (str) – Name of the add-on

  • +
  • version (str) – Version of the add-on

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.AddOnSpec(name=None, version=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The AddOnSpec class contains attributes that describe a specific OEM +customization add-on.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Name of the add-on

  • +
  • version (str) – Version of the add-on

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.BaseImageCompliance(status=None, current=None, target=None, notifications=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The BaseImageCompliance class contains information that describe the +compliance of ESX base image with respect to the base image present in the +target software specification.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • status (ComplianceStatus) – Compliance status of the base image.

  • +
  • current (BaseImageInfo) – Current base image information on the host.

  • +
  • target (BaseImageInfo) – Target base image information present in the software +specification.

  • +
  • notifications (Notifications) – Notifications describing the compliance result.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.BaseImageDetails(display_name=None, display_version=None, release_date=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The BaseImageDetails class contains information that provide more +details about the base image from the depot.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • display_name (str) – Display name of the base-image.

  • +
  • display_version (str) – Human readable version of the base-image.

  • +
  • release_date (datetime.datetime) – Release date of the base-image.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.BaseImageInfo(details=None, version=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The BaseImageInfo class contains information that describe a specific +ESX base-image.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • details (BaseImageDetails or None) – Details about the base-image. +None if base-image is not present in the depot.

  • +
  • version (str) – Version of the base-image

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.BaseImageSpec(version=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The BaseImageSpec class contains attributes that describe a specific +ESX base-image.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

version (str) – Version of the base-image

+
+
+
+ +
+
+class com.vmware.esx.settings_client.ClusterCompliance(impact=None, status=None, notifications=None, scan_time=None, commit=None, compliant_hosts=None, non_compliant_hosts=None, incompatible_hosts=None, unavailable_hosts=None, hosts=None, host_info=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ClusterCompliance class contains attributes to describe the +compliance result of a cluster.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • impact (ComplianceImpact) – Overall impact.

  • +
  • status (ComplianceStatus) – Overall compliance state of the host.

  • +
  • notifications (Notifications) – Notifications returned by the scan operation.

  • +
  • scan_time (datetime.datetime) – Scan completion time.

  • +
  • commit (str or None) – Identifier of the commit on which the scan is run to generate this +result. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.settings.commit. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.esx.settings.commit. +None if operation is performed on a draft.

  • +
  • compliant_hosts (set of str) – Identifiers of compliant hosts. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: HostSystem.

  • +
  • non_compliant_hosts (set of str) – Identifiers of non-compliant hosts. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: HostSystem.

  • +
  • incompatible_hosts (set of str) – Identifiers of incompatible hosts. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: HostSystem.

  • +
  • unavailable_hosts (set of str) – Identifiers of unavailable hosts. There will not be compliance +details for these hosts in ClusterCompliance.hosts. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: HostSystem.

  • +
  • hosts (dict of str and HostCompliance) – Mapping from host identifier to the compliance information for the +host. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: HostSystem. When methods return a value of this class as +a return value, the key in the attribute dict will be an +identifier for the resource type: HostSystem.

  • +
  • host_info (dict of str and HostInfo) – Auxillary information about the hosts. This gives some additional +information about the hosts referenced in this result. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: HostSystem. When methods return a value of this class as +a return value, the key in the attribute dict will be an +identifier for the resource type: HostSystem.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.ComplianceImpact(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The ComplianceImpact class contains information about the impact of +applying the target state in case of non compliance.

+
+

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 the ComplianceImpact instance.

+
+
+
+
+MAINTENANCE_MODE_REQUIRED = ComplianceImpact(string='MAINTENANCE_MODE_REQUIRED')
+

Host requires maintenance mode to reach this target state.

+
+ +
+
+NO_IMPACT = ComplianceImpact(string='NO_IMPACT')
+

Host has no impact.

+
+ +
+
+REBOOT_REQUIRED = ComplianceImpact(string='REBOOT_REQUIRED')
+

Host requires reboot to reach this target state.

+
+ +
+
+UNKNOWN = ComplianceImpact(string='UNKNOWN')
+

Impact is unknown.

+
+ +
+ +
+
+class com.vmware.esx.settings_client.ComplianceStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The ComplianceStatus class contains the possible different status of +compliance with respect to target version.

+
+

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 the ComplianceStatus instance.

+
+
+
+
+COMPLIANT = ComplianceStatus(string='COMPLIANT')
+

Target version is same as current version.

+
+ +
+
+INCOMPATIBLE = ComplianceStatus(string='INCOMPATIBLE')
+

Target state cannot be applied due to conflict or missing dependencies or +the target state is lesser than the current version.

+
+ +
+
+NON_COMPLIANT = ComplianceStatus(string='NON_COMPLIANT')
+

Target version is greater than current version.

+
+ +
+
+UNAVAILABLE = ComplianceStatus(string='UNAVAILABLE')
+

Drift check failed due to unknown error or check hasn’t happened yet and +results are not available.

+
+ +
+ +
+
+class com.vmware.esx.settings_client.ComponentCompliance(status=None, current=None, target=None, current_source=None, target_source=None, notifications=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ComponentCompliance class contains information that describe the +compliance of a component with respect to the component present in the +target software specification.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • status (ComplianceStatus) – Compliance status of the component.

  • +
  • current (ComponentInfo or None) – Current version of the component present on the host. +None if component is not present on the host.

  • +
  • target (ComponentInfo or None) – Target version of the component present in the software +specification. +None if component is not present in the software specification.

  • +
  • current_source (ComponentSource or None) – Source of the component on the host. +None if component is not present on the host.

  • +
  • target_source (ComponentSource or None) – Source of the component in the software specification. +None if component is not present in the software specification.

  • +
  • notifications (Notifications) – Notifications describing the compliance result.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.ComponentDetails(display_name=None, vendor=None, display_version=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ComponentDetails class contains information that provide more +details about the component from the depot.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • display_name (str) – Display name of the component.

  • +
  • vendor (str) – Vendor of the component.

  • +
  • display_version (str or None) – Human readable version of the component. +None if no version is provided for the component.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.ComponentInfo(version=None, details=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ComponentInfo class contains information that describe a specific +component version in a software specification.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • version (str or None) – Version of the component. +None if version is not specified.

  • +
  • details (ComponentDetails or None) – Details about the component. +None if component is not present in the depot.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.ComponentOverrideInfo(version=None, display_version=None, source=None, note=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ComponentOverrideInfo class contains fields that describe how the +component was overridden.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class com.vmware.esx.settings_client.ComponentSource(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The ComponentSource class contains the component’s source information.

+
+

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 the ComponentSource instance.

+
+
+
+
+ADD_ON = ComponentSource(string='ADD_ON')
+

Addon is the source for this component

+
+ +
+
+BASE_IMAGE = ComponentSource(string='BASE_IMAGE')
+

Base image is the source for this component

+
+ +
+
+HARDWARE_SUPPORT_PACKAGE = ComponentSource(string='HARDWARE_SUPPORT_PACKAGE')
+

Hardware Support Package (HSP) is the source for this component

+
+ +
+
+SOLUTION = ComponentSource(string='SOLUTION')
+

Solution is the source for this component

+
+ +
+
+USER = ComponentSource(string='USER')
+

User is the source for this component

+
+ +
+ +
+
+class com.vmware.esx.settings_client.Depots(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Depots class provides methods to manage Software Depots used during +ESX lifecycle management.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+sync_task()
+

Syncs the metadata from the currently configured online or umds depots. +If any umds depot is set, then metadata is downloaded from that depot +else metadata is downloaded from the online depots. 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.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.TimedOut +if the service is timed out.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
+
+ +
+ +
+
+class com.vmware.esx.settings_client.EffectiveComponentDetails(display_name=None, display_version=None, vendor=None, source=None, note=None, overridden_components=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The EffectiveComponentDetails class contains information that provide +more details about the component from the depot.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • display_name (str) – Display name of the component.

  • +
  • display_version (str) – Human readable version of the component.

  • +
  • vendor (str) – Vendor of the component.

  • +
  • source (ComponentSource) – Final effective source of the component.

  • +
  • note (com.vmware.vapi.std_client.LocalizableMessage or None) – Note assosicated with this component. +If None, note is present for this component.

  • +
  • overridden_components (list of ComponentOverrideInfo) – List of other component versions present in base-image, add-ons or +solutions that this component is overriding. For example, if a +component version-1 was implicitly present in the base-image, but +user wants it to be changed to version-2. In that case, +EffectiveComponentDetails.source would be USER and there +will be one entry in this list indicating base-image component +version-1 is being overridden.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.EffectiveComponentInfo(version=None, details=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The EffectiveComponentInfo class contains information that describe a +component and how that component appeared in the software specification.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • version (str) – Version of the component.

  • +
  • details (EffectiveComponentDetails or None) – Details about the effective component. +None if component is not present in the depot.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.HardwareModuleClass(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The HardwareModuleClass class contains the module’s source information.

+
+

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 the HardwareModuleClass instance.

+
+
+
+
+OTHER = HardwareModuleClass(string='OTHER')
+

Other (non-PCI) hardware

+
+ +
+
+PCI_DEVICE = HardwareModuleClass(string='PCI_DEVICE')
+

PCI device

+
+ +
+
+SYSTEM_BIOS = HardwareModuleClass(string='SYSTEM_BIOS')
+

System BIOS

+
+ +
+ +
+
+class com.vmware.esx.settings_client.HardwareModuleDetails(component_class=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The HardwareModuleDetails class contains information that provide more +details about the a hardware module (e.g. BIOS, PCI device).

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • component_class (HardwareModuleClass) – Class of module (BIOS, PCI Device, non-PCI hardware, etc.)

  • +
  • description (str or None) – Descipription of the hardware module (e.g. “System BIOS” or +“Frobozz 100Gb NIC”). +None if description is not specified.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.HardwareModuleFirmwareCompliance(status=None, details=None, current=None, target=None, notifications=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The HardwareModuleFirmwareCompliance class contains information that +describe the compliance of firmware of a particular hardware module (e.g. +BIOS, PCI device) on the host with respect to the firmware present in the +target Hardware Support Package (HSP) specification.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • status (ComplianceStatus) – Compliance status of the hardware module’s firmware.

  • +
  • details (HardwareModuleDetails or None) – Additional details about the hardware module itself +None if no further info was provided by HSM.

  • +
  • current (HardwareModuleFirmwareInfo or None) – Current version of the firmware present on the host hardware +module. +None if version of firmware on the hardware module on the host +cannot be determined.

  • +
  • target (HardwareModuleFirmwareInfo or None) – Target version of the firmware present in the Hardware Support +Package (HSP). +None if component is not present in the software specification.

  • +
  • notifications (Notifications) – Notifications describing the compliance result.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.HardwareModuleFirmwareInfo(version=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The HardwareModuleFirmwareInfo class contains information to describe +the firmware on a hardware component or module (e.g. BIOS, PCI device).

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

version (str) – Version of the hardware module firmware.

+
+
+
+ +
+
+class com.vmware.esx.settings_client.HardwareSupportInfo(packages=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The HardwareSupportInfo class contains information to describe the +desired Hardware Support Package (HSP) configured for a cluster.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

packages (dict of str and HardwareSupportPackageInfo) – Map of Hardware Support Packages (HSPs) for the cluster. The key is +the Hardware Support Manager (HSM) identifier and the value is the +specification detailing the HSP configured for that HSM. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.esx.setting.hardware_support.manager. When +methods return a value of this class as a return value, the key in +the attribute dict will be an identifier for the resource +type: com.vmware.esx.setting.hardware_support.manager.

+
+
+
+ +
+
+class com.vmware.esx.settings_client.HardwareSupportPackageCompliance(status=None, current=None, target=None, hardware_modules=None, notifications=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The HardwareSupportPackageCompliance class contains information that +describe compliance of the Hardware Support Package (HSP) on the host with +respect to the Hardware support Package (HSP) present in the target +software image specification, if any.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • status (ComplianceStatus) – Compliance status of the Hardware Support Package (HSP).

  • +
  • current (HardwareSupportPackageInfo or None) – Current version of the Hardware Support Package present on the +host. +None if there is no known Hardware Support Package on the host.

  • +
  • target (HardwareSupportPackageInfo or None) – Target version of the Hardware Support Package present in the +software specification. +None if current desired image includes a Hardware Support Manager +(HSM) but no target Hardware Support Package (HSP).

  • +
  • hardware_modules (dict of str and HardwareModuleFirmwareCompliance) – Compliance result for individual hardware module on the host. The +key is the module identifier and value is the +HardwareModuleFirmwareCompliance for the device. NOTE: if no +individual hardware module compliance is returned by the, Hardware +Support Manager (HSM), this map may have no entries even if +ComplianceStatus = NON_COMPLIANT +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.esx.setting.hardware_module. When methods +return a value of this class as a return value, the key in the +attribute dict will be an identifier for the resource +type: com.vmware.esx.setting.hardware_module.

  • +
  • notifications (Notifications) – Notifications describing the compliance result.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.HardwareSupportPackageInfo(pkg=None, version=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The HardwareSupportPackageInfo class contains information to describe +the desired Hardware Support Package (HSP) configured for a single device +or distinct group of devices (typically the OEM’s, including BIOS and +device firmware).

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • pkg (str) – Identifier of Hardware Support Package (HSP) selected +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.setting.hardware_support.package. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.esx.setting.hardware_support.package.

  • +
  • version (str) – Version of the Hardware Support Package (HSP) selected (e.g. +“20180128.1” or “v42”)

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.HardwareSupportPackageSpec(pkg=None, version=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The HardwareSupportPackageSpec class contains attributes to describe +the desired Hardware Support Package (HSP) configured for a single device +or distinct group of devices (typically the OEM’s, including BIOS, device +firmware and OEM-supplied driver or agent components).

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • pkg (str or None) – Hardware Support Package (HSP) selected +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.setting.hardware_support.package. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.esx.setting.hardware_support.package.

  • +
  • version (str or None) – Version of the Hardware Support Package (HSP) selected (e.g. +“20180128.1” or “v42”) +If None, the system will use an empty string as the version.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.HardwareSupportSpec(packages=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The HardwareSupportSpec class contains attributes to describe the +desired Hardware Support Package (HSP) configured for a cluster.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

packages (dict of str and HardwareSupportPackageSpec) – Map of Hardware Support Packages (HSPs) for the cluster. The key is +the Hardware Support Manager (HSM) name and the value is the +specification detailing the HSP configured for that HSM. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.esx.setting.hardware_support.manager. When +methods return a value of this class as a return value, the key in +the attribute dict will be an identifier for the resource +type: com.vmware.esx.setting.hardware_support.manager.

+
+
+
+ +
+
+class com.vmware.esx.settings_client.HostCompliance(impact=None, status=None, notifications=None, scan_time=None, commit=None, base_image=None, add_on=None, hardware_support=None, components=None, solutions=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The HostCompliance class contains information to describe the +compliance result of a host with respect to given target software +specification.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • impact (ComplianceImpact) – Overall impact.

  • +
  • status (ComplianceStatus) – Overall compliance state of the host.

  • +
  • notifications (Notifications) – Notifications returned by the scan operation.

  • +
  • scan_time (datetime.datetime) – Scan completion time.

  • +
  • commit (str or None) – Identifier of the commit on which the scan is run to generate this +result. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.settings.commit. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.esx.settings.commit. +None if operation is performed on a working copy document.

  • +
  • base_image (BaseImageCompliance) – Compliance result for the base image.

  • +
  • add_on (AddOnCompliance) – Compliance result for the OEM add-on.

  • +
  • hardware_support (dict of str and HardwareSupportPackageCompliance) – Compliance result for hardware support (both Hardware Support +Package or HSP and individual hardware module firmware) for every +HSP configured, keyed by Hardware Support Manager (HSM). +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.esx.setting.hardware_support.manager. When +methods return a value of this class as a return value, the key in +the attribute dict will be an identifier for the resource +type: com.vmware.esx.setting.hardware_support.manager. +This attribute is optional because it was added in a newer version +than its parent node.

  • +
  • components (dict of str and ComponentCompliance) – Compliance result for all the effective components and all the +components present on the host. The key is the component name and +value is the ComponentCompliance. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.esx.settings.component. When methods return a +value of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.esx.settings.component.

  • +
  • solutions (dict of str and SolutionCompliance) – Compliance result for solutions. The key is the solution name and +value is the SolutionCompliance. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.esx.settings.solution. When methods return a +value of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.esx.settings.solution.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.HostInfo(name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The HostInfo class contains attributes to describe some details +regarding a host in the inventory.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

name (str) – Name of the host.

+
+
+
+ +
+
+class com.vmware.esx.settings_client.Notification(id=None, time=None, message=None, resolution=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Notification class contains attributes to describe any +info/warning/error messages that Tasks can raise.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class com.vmware.esx.settings_client.Notifications(info=None, warnings=None, errors=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Notifications class contains info/warning/error messages that can +be reported be the task.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • info (list of Notification or None) – Info notification messages reported. +Only set if an info was reported by the task.

  • +
  • warnings (list of Notification or None) – Warning notification messages reported. +Only set if an warning was reported by the task.

  • +
  • errors (list of Notification or None) – Error notification messages reported. +Only set if an error was reported by the task.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.SoftwareInfo(base_image=None, add_on=None, components=None, solutions=None, hardware_support=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The SoftwareInfo class contains information that describes the desired +software specification for an ESX host.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • base_image (BaseImageInfo) – Base image of the ESX.

  • +
  • add_on (AddOnInfo or None) – OEM customization on top of given base-image. The components in +this customization override the components in the base base-image. +If None, no OEM customization will be applied.

  • +
  • components (dict of str and ComponentInfo) – Information about the components in the software specification. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.esx.settings.component. When methods return a +value of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.esx.settings.component.

  • +
  • solutions (dict of str and SolutionInfo) – Information about the solutions in the software specification. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.esx.settings.solution. When methods return a +value of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.esx.settings.solution.

  • +
  • hardware_support (HardwareSupportInfo or None) – Information about the Hardware Support Packages (HSP) configured. +If None, no Hardware Support Package (HSP) is specified for the +cluster.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.SoftwareSpec(base_image=None, add_on=None, components=None, solutions=None, hardware_support=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The SoftwareSpec class contains attributes that describe desired +software specification for an ESX host.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • base_image (BaseImageSpec) – Base image of the ESX.

  • +
  • add_on (AddOnSpec or None) – OEM customization on top of given base-image. The components in +this customization override the components in the base base-image. +If None, no OEM customization will be applied.

  • +
  • components ((dict of str and (str or None)) or None) – Additional components which should be part of the software +specification. If value is not given for a particular component +then version for that component will be picked from the +constraints. These override the components present in +SoftwareSpec.add_on and SoftwareSpec.base_image. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.esx.settings.component. When methods return a +value of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.esx.settings.component. +If None, no additional components will be installed.

  • +
  • solutions ((dict of str and SolutionSpec) or None) – Mapping from solution identifier to the solution specification. The +key is the solution name and the value is the specification +detailing components registered by that solution. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.esx.settings.solution. When methods return a +value of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.esx.settings.solution. +If None, no solutions will be part of the software specification.

  • +
  • hardware_support (HardwareSupportSpec or None) – Information about the Hardware Support Package (HSP) configured in +the software specification. +If None or empty, no firmware compliance checking or remediation +will be done.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.SolutionCompliance(status=None, current=None, target=None, notifications=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The SolutionCompliance class contains information that describe the +compliance result of a host with respect to given solution present in the +target software specification.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • status (ComplianceStatus) – Compliance status of the solution.

  • +
  • current (SolutionInfo or None) – Current solution present on the host. +None if the solution is not present on the host.

  • +
  • target (SolutionInfo or None) – Target solution present in the software specification. +None if solution is not present in the software specification.

  • +
  • notifications (Notifications) – Notifications describing the compliance result.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.SolutionComponentDetails(component=None, display_name=None, display_version=None, vendor=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The SolutionComponentDetails class contains information that provide +more details about component registered by the solution from depot.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • component (str) – Identifier of the component. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.settings.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.esx.settings.component.

  • +
  • display_name (str) – Display name of the component.

  • +
  • display_version (str or None) – Human readable version of the component. +None if no version is provided for the component.

  • +
  • vendor (str) – Vendor of the component.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.SolutionComponentSpec(component=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The SolutionComponentSpec class contains attributes that describe a +component registered by a software solution.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

component (str) – Identifier of the component. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.settings.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.esx.settings.component.

+
+
+
+ +
+
+class com.vmware.esx.settings_client.SolutionDetails(display_name=None, display_version=None, components=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The SolutionDetails class contains information that provide more +details about the solution from the depot.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • display_name (str) – Display name of the solution.

  • +
  • display_version (str) – Display version of the solution.

  • +
  • components (list of SolutionComponentDetails) – Components registered by the solution. If the component is not +present in the depot, then corresponding details are absent from +the list.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.SolutionInfo(details=None, version=None, components=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The SolutionInfo class contains information that describe solution +registered in the software specification.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • details (SolutionDetails or None) – Details about the solution from the depot. +None if solution is not present in the depot.

  • +
  • version (str) – Version of the solution.

  • +
  • components (list of SolutionComponentSpec) – Components registered by the solution.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.SolutionSpec(version=None, components=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The SolutionSpec class contains attributes that describe solution +registered in the software specification.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • version (str) – Version of the solution.

  • +
  • components (list of SolutionComponentSpec) – Components registered by the solution.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.esx.settings_client.TaskInfo(progress=None, subtasks=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.VapiStruct

+

The TaskInfo class contains information about a task and its subtasks +of which it consists.

+
+

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. +This attribute is optional and it is only relevant when the value +of #status is one of +com.vmware.cis.task_client.Status.RUNNING, +com.vmware.cis.task_client.Status.BLOCKED, +com.vmware.cis.task_client.Status.SUCCEEDED, or +com.vmware.cis.task_client.Status.FAILED.

  • +
  • subtasks ((dict of str and TaskInfo) or None) – Information about the subtasks that this task contains. +When clients pass a value of this class as a parameter, the key in +the attribute dict 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 key in the attribute dict +will be an identifier for the resource type: +com.vmware.cis.task. +This attribute will be None if the task has no subtasks.

  • +
  • notifications (Notifications or None) – Notifications to the user +Only set if the notifications were reported by this +particular task.

  • +
  • result (DataValue or None) – Task result. +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 (str or None) – 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.DynamicID or None) – 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 (Exception or None) – 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 (see +com.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 +of status is one of +com.vmware.cis.task_client.Status.RUNNING, +com.vmware.cis.task_client.Status.BLOCKED, +com.vmware.cis.task_client.Status.SUCCEEDED, or +com.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 +of status is one of +com.vmware.cis.task_client.Status.SUCCEEDED or +com.vmware.cis.task_client.Status.FAILED.

  • +
  • user (str or None) – Name of the user who performed the operation. +This attribute will be None if the operation is performed by the +system.

  • +
+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.esx.settings.clusters.html b/vsphere/7.0.0.1/com.vmware.esx.settings.clusters.html new file mode 100644 index 00000000..0ff8389c --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.esx.settings.clusters.html @@ -0,0 +1,2435 @@ + + + + + + + + + + + com.vmware.esx.settings.clusters package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.esx.settings.clusters package

+ +
+

Submodules

+
+
+

com.vmware.esx.settings.clusters.enablement_client module

+

The com.vmware.esx.settings.clusters.enablement_client module provides +classes to manage enablement of the feature that allows to collectively manage +hosts within the cluster with a single software specification.

+
+
+class com.vmware.esx.settings.clusters.enablement_client.Software(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Software class provides methods to control whether the cluster is +managed with a single software specification.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CheckResult(notifications=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Software.CheckResult class contains information that describes the +results of the checks.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

notifications (dict of Software.CheckType and com.vmware.esx.settings_client.Notifications) – Notifications containing check results grouped by +Software.CheckType type.

+
+
+
+ +
+
+class CheckSpec(checks_to_skip=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Software.CheckSpec class contains information describing what +checks should be performed.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

checks_to_skip (set of Software.CheckType) – Specifies the checks that should be skipped. If the set is +empty, all checks will be performed.

+
+
+
+ +
+
+class CheckType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Software.CheckType class contains various checks to identify the +possibility to enable the feature that manages the cluster with a single +software specification.

+
+

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 the CheckType instance.

+
+
+
+
+SOFTWARE = CheckType(string='SOFTWARE')
+

Perform host software check. This check is to report standalone VIBs (VIBs +which are not part of any component) and the features on the given cluster +that cannot coexist with the feature which manages the cluster with a +single software specification.

+
+ +
+
+SOFTWARE_SPECIFICATION_EXISTENCE = CheckType(string='SOFTWARE_SPECIFICATION_EXISTENCE')
+

Perform cluster’s software specification existence check.

+
+ +
+
+STATELESSNESS = CheckType(string='STATELESSNESS')
+

Perform host statelessness check. This feature does not support stateless +hosts.

+
+ +
+
+VERSION = CheckType(string='VERSION')
+

Perform host version check. This feature does not support hosts with +version less than XYZ.

+
+ +
+
+VUM_REMEDIATION = CheckType(string='VUM_REMEDIATION')
+

Perform VUM active remediation check.

+
+ +
+ +
+
+class EnableSpec(skip_software_check=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Software.EnableSpec class contains information describing checks +that should be skipped during enablement. Currently only +Software.CheckType.SOFTWARE check can be skipped.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

skip_software_check (bool) – Skip Software.CheckType.SOFTWARE check during feature +enablement.

+
+
+
+ +
+
+class Info(enabled=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Software.Info class contains information describing whether the +feature is enabled.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

enabled (bool) – Status of the feature enablement True if feature is enabled, false +otherwise

+
+
+
+ +
+
+check_task(cluster, spec=None)
+

Checks the possibility to manage the cluster with a single software +specification.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • spec (Software.CheckSpec or None) – Check specification. +If None, all checks are performed.

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown error. The accompanying error message will +give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +If the feature is already enabled for the given cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
+
+ +
+
+enable_task(cluster, spec=None)
+

Enables the feature which manages the cluster with a single software +specification.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • spec (Software.EnableSpec or None) – Enablement specification. +If None, all checks are performed.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If feature enablement failed for the given cluster. The value of +the data attribute of +com.vmware.vapi.std.errors_client.Error will be a class +that contains all the attributes defined in +Software.CheckResult.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +If the feature is already enabled for the given cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
+
+ +
+
+get(cluster)
+

Returns whether the given cluster is managed with a single software +specification.

+
+
Parameters
+

cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

Software.Info

+
+
Returns
+

Information about the feature enablement.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.clusters.enablement_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.esx.settings.clusters.policies_client module

+

The com.vmware.esx.settings.clusters.policies_client module provides +classes to manage policies that affect management of desired state +configuration and software for an ESXi cluster. Copyright 2019 VMware, Inc. All +rights reserved. VMware Confidential

+
+
+class com.vmware.esx.settings.clusters.policies_client.Apply(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Apply class provides methods to configure the policies that will +impact how the software and configuration specification documents are +applied to an ESXi cluster.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class ConfiguredPolicySpec(failure_action=None, pre_remediation_power_action=None, enable_quick_boot=None, disable_dpm=None, disable_hac=None, evacuate_offline_vms=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Apply.ConfiguredPolicySpec class contains attributes that describe +the policies configured to be used when the software and configuration +specification documents are applied to an ESXi cluster.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • failure_action (Apply.FailureAction or None) – What action is to be taken if entering maintenance mode fails on a +given host of the cluster. +If None, configured value would be unset.

  • +
  • pre_remediation_power_action (Apply.ConfiguredPolicySpec.PreRemediationPowerAction or None) – Specifies what should be done to the power state of the VM before +entering maintenance mode. +If None, configured value would be unset.

  • +
  • enable_quick_boot (bool or None) – Enable Quick Boot during remediation in the cluster. +If None, configured value would be unset.

  • +
  • disable_dpm (bool or None) – Disable DPM on the cluster. +If None, configured value would be unset.

  • +
  • disable_hac (bool or None) – Disable HA Admission control on the cluster. +If None, configured value would be unset.

  • +
  • evacuate_offline_vms (bool or None) – Evacuate powered off/suspended VMs when attempting maintenance +mode. +If None, configured value would be unset.

  • +
+
+
+
+
+class PreRemediationPowerAction(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Apply.ConfiguredPolicySpec.PreRemediationPowerAction class defines +the possible actions to be taken, before entering maintenance mode.

+
+

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 the PreRemediationPowerAction instance.

+
+
+
+
+DO_NOT_CHANGE_VMS_POWER_STATE = PreRemediationPowerAction(string='DO_NOT_CHANGE_VMS_POWER_STATE')
+

Do not change the VM power state

+
+ +
+
+POWER_OFF_VMS = PreRemediationPowerAction(string='POWER_OFF_VMS')
+

Power off VMs before entering maintenance mode.

+
+ +
+
+SUSPEND_VMS = PreRemediationPowerAction(string='SUSPEND_VMS')
+

Suspend VMs before entering maintenance mode

+
+ +
+ +
+ +
+
+class FailureAction(action=None, retry_delay=None, retry_count=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Apply.FailureAction class contains attributes that describe the +actions to be taken when entering maintenance mode fails on a single host +within the cluster.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • action (Apply.FailureAction.Action) – What action (FAIL, RETRY) is to be taken if entering maintenance +mode fails on a single host within the cluster.

  • +
  • retry_delay (long) – Time to wait to retry the failed operation in seconds. +This attribute is optional and it is only relevant when the value +of action is Apply.FailureAction.Action.RETRY.

  • +
  • retry_count (long) – Number of times to retry the failed operation. +This attribute is optional and it is only relevant when the value +of action is Apply.FailureAction.Action.RETRY.

  • +
+
+
+
+
+class Action(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Apply.FailureAction.Action class defines the actions to be taken +when entering maintenance mode fails on a single host within the cluster.

+
+

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 the Action instance.

+
+
+
+
+FAIL = Action(string='FAIL')
+

Fail the apply method

+
+ +
+
+RETRY = Action(string='RETRY')
+

Retry the task Apply.FailureAction.retry_count number of times on +the failed host after Apply.FailureAction.retry_delay.

+
+ +
+ +
+ +
+
+get(cluster)
+

Returns the configured policy that has been set for the cluster.

+
+
Parameters
+

cluster (str) – The cluster identifier. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

Apply.ConfiguredPolicySpec

+
+
Returns
+

The configured policies that impact the apply method

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is an unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires VcIntegrity.lifecycleSettings.Read.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSettings.Read.

  • +
+
+
+
+ +
+
+set(cluster, spec)
+

This API will set the configured policy specification for the cluster.

+
+
Parameters
+
    +
  • cluster (str) – The cluster identifier. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • spec (Apply.ConfiguredPolicySpec) – The policy that needs to be configured.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is an unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If invalid value is provided.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSettings.Write.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSettings.Write.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.clusters.policies_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.esx.settings.clusters.software_client module

+

The com.vmware.esx.settings.clusters.software_client module provides +classes to manage desired state software for ESX cluster.

+
+
+class com.vmware.esx.settings.clusters.software_client.AddOn(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The AddOn class provides methods to manage desired OEM add-on +specification for a given cluster.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.esx.settings.add_on'
+

Resource type for add-on resource

+
+ +
+
+get(cluster)
+

Returns the desired OEM add-on specification for a given cluster.

+
+
Parameters
+

cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

com.vmware.esx.settings_client.AddOnInfo

+
+
Returns
+

Desired OEM add-on specification.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system or +if desired OEM add-on specification is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.clusters.software_client.BaseImage(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The BaseImage class provides methods to manage desired ESX base image.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.esx.settings.base_image'
+

Resource type for base-image resource

+
+ +
+
+get(cluster)
+

Returns the desired base-image specification set for given cluster

+
+
Parameters
+

cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

com.vmware.esx.settings_client.BaseImageInfo

+
+
Returns
+

Base-image specification.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system or +if desired specification is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.clusters.software_client.Commits(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Commits class provides methods to manage committed changes to +desired software document.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(author=None, commit_time=None, description=None, apply_status=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Commits.Info class defines the information about software draft.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • author (str) – Author of the commit.

  • +
  • commit_time (datetime.datetime) – Creation time of the commit.

  • +
  • description (str) – Description accompanying this commit.

  • +
  • apply_status (Commits.Info.ApplyStatusType) – Apply status of the commit.

  • +
+
+
+
+
+class ApplyStatusType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Commits.Info.ApplyStatusType class defines possible values +regarding the application of this commit.

+
+

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 the ApplyStatusType instance.

+
+
+
+
+APPLIED = ApplyStatusType(string='APPLIED')
+

Commit has been applied to the cluster.

+
+ +
+
+NOT_APPLIED = ApplyStatusType(string='NOT_APPLIED')
+

Commit hasn’t been applied to the cluster.

+
+ +
+ +
+ +
+
+RESOURCE_TYPE = 'com.vmware.esx.settings.commit'
+

Resource type for commit resource

+
+ +
+
+get(cluster, commit)
+

Returns the information about a specific commit.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • commit (str) – Identifier of the specific commit. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.commit.

  • +
+
+
Return type
+

Commits.Info

+
+
Returns
+

Information about the commit.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system or +if desired specification commit is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.clusters.software_client.Compliance(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Compliance class provides methods to get the last software +compliance result for an ESX cluster.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'ClusterComputeResource'
+

Resource type for cluster resource

+
+ +
+
+get(cluster)
+

Returns the compliance state for the cluster

+
+
Parameters
+

cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

com.vmware.esx.settings_client.ClusterCompliance

+
+
Returns
+

Cluster compliance result.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system or +if the compliance information is unavailable.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.clusters.software_client.Components(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Components class provides methods to get desired component +specification for an ESX cluster.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.esx.settings.component'
+

Resource type for component resource

+
+ +
+
+get(cluster, component)
+

Returns the component version for the given component in the desired +software specification.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • component (str) – Identifier of the component. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.component.

  • +
+
+
Return type
+

com.vmware.esx.settings_client.ComponentInfo or None

+
+
Returns
+

Details about the component version. +If None then version is supposed to be chosen based on the +constraints in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If invalid component name is provided.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system or +or no component associated with component in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
+
+
+
+ +
+
+list(cluster)
+

Returns a list of components in the desired software specification.

+
+
Parameters
+

cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

dict of str and com.vmware.esx.settings_client.ComponentInfo

+
+
Returns
+

Map of ComponentInfo keyed by the component identifier. If no +version is specified in desired software specification, then +ComponentInfo will not be present for that component. +The key in the return value dict will be an identifier for +the resource type: com.vmware.esx.settings.component.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.clusters.software_client.Drafts(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Drafts class provides methods to manage working copy of software +documents.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CommitSpec(message=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Drafts.CommitSpec class contains attributes that are used to create +a new commit.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

message (str or None) – Message to include with the commit. +If None, message is set to empty string.

+
+
+
+ +
+
+class FilterSpec(owners=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Drafts.FilterSpec class contains attributes used to filter the +results when listing software drafts. See Drafts.list().

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

owners (set of str or None) – Owners of the drafts. +If None or empty, drafts from all owners will be returned.

+
+
+
+ +
+
+class ImportSpec(source_type=None, location=None, file_id=None, software_spec=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Drafts.ImportSpec class defines the information used to import the +desired software specification.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • source_type (Drafts.SourceType) – Type of the source to import the desired software specification

  • +
  • location (str) – Location of the software specification file to be imported. +This attribute is optional and it is only relevant when the value +of sourceType is Drafts.SourceType.PULL.

  • +
  • file_id (str) – File identifier returned by the file upload endpoint after file is +uploaded. +This attribute is optional and it is only relevant when the value +of sourceType is Drafts.SourceType.PUSH.

  • +
  • software_spec (str) – The JSON string representing the desired software specification. +This attribute is optional and it is only relevant when the value +of sourceType is Drafts.SourceType.JSON_STRING.

  • +
+
+
+
+ +
+
+class Info(metadata=None, software=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Drafts.Info class defines the information about software draft.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class Metadata(owner=None, status=None, creation_time=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Drafts.Metadata class defines the metadata information about +software draft.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • owner (str) – Owner of the software draft.

  • +
  • status (Drafts.StatusType) – Status of the software draft.

  • +
  • creation_time (datetime.datetime) – Creation time of the software draft.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.esx.settings.draft'
+

Resource type for draft resource

+
+ +
+
+class SourceType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Drafts.SourceType class defines possible values of sources to +import software specification.

+
+

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 the SourceType instance.

+
+
+
+
+CURRENT_SERIES_RECOMMENDATION = SourceType(string='CURRENT_SERIES_RECOMMENDATION')
+

Content is from recommended image specification based on latest base image +patch or update of the current series. For example, a cluster’s current +desired base image is 7.0. Recommendation engine will look into any +recommendable image specification with 7.0 series base images available at +depot manager and try to recommend the highest version within 7.0 series if +possible. Let’s say in this example, depot manager has 7.0 patch a and 7.0 +update 1 base images. Recommendation engine would first validate all +possible images based on 7.0 update 1. If it finds a valid one, it will +store the recommended content with that series. This enum value will point +to that stored recommended image content. Recommendations can be generated +using {\@link: +com.vmware.esx.settings.clusters.software.Recommendations#generate}.

+
+ +
+
+JSON_STRING = SourceType(string='JSON_STRING')
+

The string representing the content of the software specfication.

+
+ +
+
+LATEST_RECOMMENDATION = SourceType(string='LATEST_RECOMMENDATION')
+

Content is from recommended image specification based on latest base image +version. Recommendations can be generated using {\@link: +com.vmware.esx.settings.clusters.software.Recommendations#generate}.

+
+ +
+
+PULL = SourceType(string='PULL')
+

Content is pulled from the URL location. The URL scheme of the value in +{\@link #pullLocation) can be http, https or file.

+
+ +
+
+PUSH = SourceType(string='PUSH')
+

Content was previously uploaded using the file upload enpoint present on +vCenter appliance. This endpoint is present at +https://VCENTERFQDN:9087/vum-fileupload URL.

+
+ +
+ +
+
+class StatusType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Drafts.StatusType class defines possible values of status of a +software draft.

+
+

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 the StatusType instance.

+
+
+
+
+INVALID = StatusType(string='INVALID')
+

Software draft is invalid.

+
+ +
+
+VALID = StatusType(string='VALID')
+

Software draft is valid.

+
+ +
+ +
+
+class Summary(metadata=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Drafts.Summary class defines the summary information about software +draft.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

metadata (Drafts.Metadata) – Metadata about the software draft.

+
+
+
+ +
+
+class ValidateResult(notifications=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Drafts.ValidateResult class contains attributes to describe result +of validation of desired software specification.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

notifications (com.vmware.esx.settings_client.Notifications) – Notifications associated with the validation.

+
+
+
+ +
+
+commit_task(cluster, draft, spec)
+

Commits the specified draft as the desired state document. 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.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • draft (str) – Identifier of the draft. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.draft.

  • +
  • spec (Drafts.CommitSpec) – The spec to be used to create the commit.

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster or no draft +associated with draft in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +If there is another operation in progress.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If validation of the software document fails. The value of the data +attribute of com.vmware.vapi.std.errors_client.Error will +be a class that contains all the attributes defined in +Drafts.ValidateResult.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
+
+ +
+
+create(cluster)
+

Creates a new software draft from the desired document. It will be +deleted, when the draft is committed successfully. If a desired +document is missing, then this method will create an empty draft.

+
+
Parameters
+

cluster (str) – Identifier of the cluster +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

str

+
+
Returns
+

Identifier of the working copy of the document. +The return value will be an identifier for the resource type: +com.vmware.esx.settings.draft.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +If there is already a draft created by this user.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Write.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Write.

  • +
+
+
+
+ +
+
+delete(cluster, draft)
+

Deletes the software draft.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • draft (str) – Identifier of the working copy of the document. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.draft.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster or no draft +associated with draft in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Write.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Write.

  • +
+
+
+
+ +
+
+get(cluster, draft)
+

Returns the information about given software draft.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • draft (str) – Identifier of the software draft. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.draft.

  • +
+
+
Return type
+

Drafts.Info

+
+
Returns
+

Information about the Software Draft.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster or no draft +associated with draft in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
+
+
+
+ +
+
+import_software_spec(cluster, spec)
+

Imports the desired software specification as a new draft. If a desired +document is missing, then this method will create an empty draft except +when the source type is of either +Drafts.SourceType.LATEST_RECOMMENDATION or +Drafts.SourceType.CURRENT_SERIES_RECOMMENDATION, then +com.vmware.vapi.std.errors_client.NotFound error is reported. +In addition, the exisiting draft will be overwritten when the source +type is of either LATEST_RECOMMENDATION or +CURRENT_SERIES_RECOMMENDATION.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • spec (Drafts.ImportSpec) – Specification to import desired software specification.

  • +
+
+
Return type
+

str

+
+
Returns
+

Identifier of the software draft. +The return value will be an identifier for the resource type: +com.vmware.esx.settings.draft.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system or +if the source type of import specification is of either +LATEST_RECOMMENDATION or CURRENT_SERIES_RECOMMENDATION, and +a recommendation does not exist for the cluster. It was either +never generated or deleted due to changes in cluster state such as +a new desired image spec being committed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Write.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Write.

  • +
+
+
+
+ +
+
+list(cluster, filter=None)
+

Returns information about the software drafts for the specified cluster +that match the Drafts.FilterSpec.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • filter (Drafts.FilterSpec or None) – Filter to be applied while returning drafts. +If None, all drafts will be returned.

  • +
+
+
Return type
+

dict of str and Drafts.Summary

+
+
Returns
+

Map of software drafts keyed by their identifiers. +The key in the return value dict will be an identifier for +the resource type: com.vmware.esx.settings.draft.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
+
+
+
+ +
+
+scan_task(cluster, draft)
+

Scans all the hosts in the cluster against the software draft. 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.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • draft (str) – Identifier of the working copy of the document. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.draft.

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster or no draft +associated with draft in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
+
+ +
+
+validate_task(cluster, draft)
+

Validates the software draft. 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.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • draft (str) – Identifier of the software draft. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.draft.

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster or no draft +associated with draft in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.clusters.software_client.EffectiveComponents(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The EffectiveComponents class provides methods to get effective list of +components.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+list(cluster)
+

Returns the effective components for the cluster.

+
+
Parameters
+

cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

dict of str and com.vmware.esx.settings_client.EffectiveComponentInfo

+
+
Returns
+

Map of effective components keyed by their identifier. +The key in the return value dict will be an identifier for +the resource type: com.vmware.esx.settings.component.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.clusters.software_client.Recommendations(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Recommendations class provides methods to manage the generation and +retrieval of recommended image specs.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class ExplanationDetails(display_name=None, display_version=None, explanation=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Recommendations.ExplanationDetails class contains attributes to +describe the result of validation of desired software specification.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • display_name (str) – Display name of an excluded image entity (base image, add-on etc.).

  • +
  • display_version (str) – Display version of an excluded image entity (base image, add-on +etc.).

  • +
  • explanation (list of com.vmware.vapi.std_client.LocalizableMessage) – List of explanations on why the image entity is excluded.

  • +
+
+
+
+ +
+
+class Info(latest_recommendation=None, current_series_recommendation=None, base_image_explanation_details=None, check_time=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Recommendations.Info class defines the information about the most +recent recommendation generation result.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • latest_recommendation (com.vmware.esx.settings_client.SoftwareInfo or None) – Recommended image specification based on latest base image version. +None if no recommended image based on latest base image version is +available.

  • +
  • current_series_recommendation (com.vmware.esx.settings_client.SoftwareInfo or None) – Recommended image specification based on latest base image patch or +update of the current series. +None if no recommended image based on latest base image patch or +update of the current series is available.

  • +
  • base_image_explanation_details (list of Recommendations.ExplanationDetails) – Details about why some base images are excluded in recommendation.

  • +
  • check_time (datetime.datetime or None) – The most recent timestamp when check for recommended image is +launched. +None if no recommendation check has ever been launched.

  • +
+
+
+
+ +
+
+generate_task(cluster)
+

Generates recommended software image spec(s) based on current desired +software spec. 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.

+
+
Parameters
+

cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ConcurrentChange +If a new desired image is committed in parallel via a different +client while recommendation is being generated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
+
+ +
+
+get(cluster)
+

Returns Information about the most recent recommendation generation +result.

+
+
Parameters
+

cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

Recommendations.Info

+
+
Returns
+

Information about the most recent recommendation generation result.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system or +recommendation is non-existing for the cluster due to either it is +never generated or deleted due to changes in cluster state such as +a new desired image spec being committed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.clusters.software_client.Solutions(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Solutions class provides methods to manage desired software +solution specifications for an ESX cluster.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.esx.settings.solution'
+

Resource type for solution resource

+
+ +
+
+delete_task(cluster, solution)
+

Deletes the given solution from the desired software specification. The +deletion will be validated along with the entire software specification +before it is committed as new desired spec. 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.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • solution (str) – Identifier of the solution. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.solution.

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if validation of the software document fails. The value of the data +attribute of com.vmware.vapi.std.errors_client.Error will +be a class that contains all the attributes defined in null.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster or no solution +associated with solution in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
+
+ +
+
+get(cluster, solution)
+

Returns components registered for the given solution in the desired +software specification.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • solution (str) – Identifier of the solution. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.solution.

  • +
+
+
Return type
+

com.vmware.esx.settings_client.SolutionInfo

+
+
Returns
+

Specification of components registered by the solution.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If invalid component name is provided.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system or +or no solution associated with solution in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
+
+
+
+ +
+
+list(cluster)
+

Returns all solutions in the desired software specification.

+
+
Parameters
+

cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

dict of str and com.vmware.esx.settings_client.SolutionInfo

+
+
Returns
+

Map of solutions where key is solution identifier and value is a +list of components registered by that solution. +The key in the return value dict will be an identifier for +the resource type: com.vmware.esx.settings.solution.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
+
+
+
+ +
+
+set_task(cluster, solution, spec)
+

Sets the components registered for the given solution in the desired +software specification. The task will set only one solution +specification at a time. Solution constraints would be validated with +the current desired software specification before it is committed as +new desired spec. 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.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • solution (str) – Identifier of the solution. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.solution.

  • +
  • spec (com.vmware.esx.settings_client.SolutionSpec) – Registered solution specification.

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if validation of the software document fails. The value of the data +attribute of com.vmware.vapi.std.errors_client.Error will +be a class that contains all the attributes defined in null.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster or no solution +associated with solution in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.clusters.software_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.esx.settings.clusters.policies.html b/vsphere/7.0.0.1/com.vmware.esx.settings.clusters.policies.html new file mode 100644 index 00000000..084f68f6 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.esx.settings.clusters.policies.html @@ -0,0 +1,453 @@ + + + + + + + + + + + com.vmware.esx.settings.clusters.policies package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.esx.settings.clusters.policies package

+
+

Submodules

+
+
+

com.vmware.esx.settings.clusters.policies.apply_client module

+

The com.vmware.esx.settings.clusters.policies.apply_client module provides +classes to manage policies that affect application of desired state +configuration and software for an ESXi cluster. Copyright 2019 VMware, Inc. All +rights reserved. VMware Confidential Copyright 2019 VMware, Inc. All rights +reserved. VMware Confidential

+
+
+class com.vmware.esx.settings.clusters.policies.apply_client.Effective(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Effective class provides methods to manage the effective policies +that will impact how the software and configuration specification documents +are applied to an ESXi cluster.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class EffectivePolicySpec(failure_action=None, pre_remediation_power_action=None, enable_quick_boot=None, disable_dpm=None, disable_hac=None, evacuate_offline_vms=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Effective.EffectivePolicySpec class contains attributes that +describe the effective policies to be used when the software and +configuration specification documents are applied to an ESXi cluster.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • failure_action (Effective.FailureAction) – What action is to be taken if entering maintenance mode fails on a +given host of the cluster.

  • +
  • pre_remediation_power_action (Effective.EffectivePolicySpec.PreRemediationPowerAction) – Specifies what should be done to the power state of the VM before +entering maintenance mode.

  • +
  • enable_quick_boot (bool) – Enable Quick Boot during remediation in the cluster.

  • +
  • disable_dpm (bool) – Disable DPM on the cluster.

  • +
  • disable_hac (bool) – Disable HA Admission control on the cluster.

  • +
  • evacuate_offline_vms (bool) – Evacuate powered off/suspended VMs when attempting maintenance +mode.

  • +
+
+
+
+
+class PreRemediationPowerAction(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Effective.EffectivePolicySpec.PreRemediationPowerAction class +defines the possible actions to be taken, before entering maintenance mode.

+
+

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 the PreRemediationPowerAction instance.

+
+
+
+
+DO_NOT_CHANGE_VMS_POWER_STATE = PreRemediationPowerAction(string='DO_NOT_CHANGE_VMS_POWER_STATE')
+

Do not change the VM power state

+
+ +
+
+POWER_OFF_VMS = PreRemediationPowerAction(string='POWER_OFF_VMS')
+

Power off VMs before entering maintenance mode.

+
+ +
+
+SUSPEND_VMS = PreRemediationPowerAction(string='SUSPEND_VMS')
+

Suspend VMs before entering maintenance mode

+
+ +
+ +
+ +
+
+class FailureAction(action=None, retry_delay=None, retry_count=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Effective.FailureAction class contains attributes that describe the +actions to be taken when entering maintenance mode fails on a single host +within the cluster.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • action (Effective.FailureAction.Action) – What action (FAIL, RETRY) is to be taken if entering maintenance +mode fails on a single host within the cluster.

  • +
  • retry_delay (long) – Time to wait to retry the failed operation in seconds. +This attribute is optional and it is only relevant when the value +of action is Effective.FailureAction.Action.RETRY.

  • +
  • retry_count (long) – Number of times to retry the failed operation. +This attribute is optional and it is only relevant when the value +of action is Effective.FailureAction.Action.RETRY.

  • +
+
+
+
+
+class Action(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Effective.FailureAction.Action class defines the actions to be +taken when entering maintenance mode fails on a single host within the +cluster.

+
+

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 the Action instance.

+
+
+
+
+FAIL = Action(string='FAIL')
+

Fail the apply method

+
+ +
+
+RETRY = Action(string='RETRY')
+

Retry the task null number of times on the failed host after null.

+
+ +
+ +
+ +
+
+get(cluster)
+

Returns the effective apply policy based on system defaults and what +has been configured for the cluster.

+
+
Parameters
+

cluster (str) – The cluster identifier. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

Effective.EffectivePolicySpec

+
+
Returns
+

The effective policies that impact the apply method on this +cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is an unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires VcIntegrity.lifecycleSettings.Read.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSettings.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.clusters.policies.apply_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.esx.settings.clusters.software.drafts.html b/vsphere/7.0.0.1/com.vmware.esx.settings.clusters.software.drafts.html new file mode 100644 index 00000000..ccd9f93a --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.esx.settings.clusters.software.drafts.html @@ -0,0 +1,946 @@ + + + + + + + + + + + com.vmware.esx.settings.clusters.software.drafts package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.esx.settings.clusters.software.drafts package

+
+

Submodules

+
+
+

com.vmware.esx.settings.clusters.software.drafts.software_client module

+

The com.vmware.esx.settings.clusters.software.drafts.software_client module +provides classes to manage draft of the software documents for ESX cluster.

+
+
+class com.vmware.esx.settings.clusters.software.drafts.software_client.AddOn(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The AddOn class provides methods to manage the OEM add-on specification +in a software draft.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.esx.settings.add_on'
+

Resource type for add-on resource

+
+ +
+
+delete(cluster, draft)
+

Deletes the desired OEM add-on specification in the software draft.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • draft (str) – Identifier of the working copy document. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.draft.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster or no draft +associated with draft in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Write.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Write.

  • +
+
+
+
+ +
+
+get(cluster, draft)
+

Returns the OEM add-on specification in a software draft.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • draft (str) – Identifier of the working copy document. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.draft.

  • +
+
+
Return type
+

com.vmware.esx.settings_client.AddOnInfo

+
+
Returns
+

OEM add-on specification.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster or no draft +associated with draft in the system or no add-on specification +is set.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
+
+
+
+ +
+
+set(cluster, draft, spec)
+

Sets a new desired OEM add-on specification in the software draft. It +will overwrite the existing desired OEM add-on specification if one +already exists.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • draft (str) – Identifier of the working copy document. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.draft.

  • +
  • spec (com.vmware.esx.settings_client.AddOnSpec) – AddOn specification.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster or no draft +associated with draft in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Write.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Write.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.clusters.software.drafts.software_client.BaseImage(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The BaseImage class provides methods to manage the base-image +specification in a software draft.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.esx.settings.base_image'
+

Resource type for base-image resource

+
+ +
+
+get(cluster, draft)
+

Returns the base-image specification in a software draft.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • draft (str) – Identifier of the working copy document. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.draft.

  • +
+
+
Return type
+

com.vmware.esx.settings_client.BaseImageInfo

+
+
Returns
+

Base-image specification.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster or no draft +associated with draft in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
+
+
+
+ +
+
+set(cluster, draft, spec)
+

Sets a new desired base-image specification in the software draft. It +will overwrite the existing desired base-image specification if one +already exists.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • draft (str) – Identifier of the working copy document. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.draft.

  • +
  • spec (com.vmware.esx.settings_client.BaseImageSpec) – Base-image specification.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster or no draft +associated with draft in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Write.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Write.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.clusters.software.drafts.software_client.Components(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Components class provides methods to manage component specification +in a software draft.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.esx.settings.component'
+

Resource type for component resource

+
+ +
+
+class UpdateSpec(components_to_set=None, components_to_delete=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Components.UpdateSpec class contains attributes that are specified +to update list of components in the draft.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • components_to_set ((dict of str and (str or None)) or None) – List of components to be updated. If the component already exists +in the draft, the version is updated, else it is added. If a +component is provided without version, then its version will be +chosen based on constraints in the system. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.esx.settings.component. When methods return a +value of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.esx.settings.component. +If None, no components will be added or updated.

  • +
  • components_to_delete (set of str or None) – List of components to be removed. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.esx.settings.component. When methods return a value +of this class as a return value, the attribute will contain +identifiers for the resource type: +com.vmware.esx.settings.component. +If None, no components will be removed.

  • +
+
+
+
+ +
+
+delete(cluster, draft, component)
+

Deletes the given component from the software draft.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • draft (str) – Identifier of the working copy document. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.draft.

  • +
  • component (str) – Identifier of the component. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.component.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster or no draft +associated with draft or no component associated with +component in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Write.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Write.

  • +
+
+
+
+ +
+
+get(cluster, draft, component)
+

Returns the component version for the given component in the software +draft.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • draft (str) – Identifier of the working copy document. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.draft.

  • +
  • component (str) – Identifier of the component. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.component.

  • +
+
+
Return type
+

com.vmware.esx.settings_client.ComponentInfo or None

+
+
Returns
+

Information about component version. +If None then version will be chosen based on the constraints in the +system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster or no draft +associated with draft or no component associated with +component in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
+
+
+
+ +
+
+list(cluster, draft)
+

Returns the components that comprise the software draft.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • draft (str) – Identifier of the working copy document. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.draft.

  • +
+
+
Return type
+

dict of str and com.vmware.esx.settings_client.ComponentInfo

+
+
Returns
+

Map of component version information keyed by the component +identifier. +The key in the return value dict will be an identifier for +the resource type: com.vmware.esx.settings.component.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster or no draft +associated with draft in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
+
+
+
+ +
+
+set(cluster, draft, component, version=None)
+

Set the component version for a given component in the software draft. +This will overwrite any existing version for the given component.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • draft (str) – Identifier of the working copy document. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.draft.

  • +
  • component (str) – Identifier of the component. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.component.

  • +
  • version (str or None) – Component version. +This attribute is currently required. In the future,if this +attribute is None then version is chosen based on the constraints +in the system.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster or no draft +associated with draft in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Write.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Write.

  • +
+
+
+
+ +
+
+update(cluster, draft, spec)
+

Updates the list of components in a given draft. This allows set and/or +delete of multiple components in a batch operation.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • draft (str) – Identifier of the working copy document. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.draft.

  • +
  • spec (Components.UpdateSpec) – Update specification containing list of components to add and/or +delete.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster or no draft +associated with draft in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Write.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Write.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.clusters.software.drafts.software_client.EffectiveComponents(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The EffectiveComponents class provides methods to manage effective list +of components.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+list(cluster, draft)
+

Returns the components that comprise the desired software state of the +cluster.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • draft (str) – Identifier of the working copy document. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.draft.

  • +
+
+
Return type
+

dict of str and com.vmware.esx.settings_client.EffectiveComponentInfo

+
+
Returns
+

Map of effective components keyed by their identifier. +The key in the return value dict will be an identifier for +the resource type: com.vmware.esx.settings.component.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster or no draft +associated with draft in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.clusters.software.drafts.software_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.esx.settings.clusters.software.html b/vsphere/7.0.0.1/com.vmware.esx.settings.clusters.software.html new file mode 100644 index 00000000..5a1e5ce9 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.esx.settings.clusters.software.html @@ -0,0 +1,1313 @@ + + + + + + + + + + + com.vmware.esx.settings.clusters.software package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.esx.settings.clusters.software package

+ +
+

Submodules

+
+
+

com.vmware.esx.settings.clusters.software.drafts_client module

+

The com.vmware.esx.settings.clusters.software.drafts_client module provides +classes to manage software drafts for ESX cluster.

+
+
+class com.vmware.esx.settings.clusters.software.drafts_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.esx.settings.clusters.software.reports_client module

+

The com.vmware.esx.settings.clusters.software.reports_client module +provides classes to manage reports pertaining to the desired state software for +a cluster of ESXi hosts.

+
+
+class com.vmware.esx.settings.clusters.software.reports_client.ApplyImpact(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The ApplyImpact class provides methods to get the impact of an apply +method on a cluster.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class ApplyImpactSpec(hosts=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ApplyImpact.ApplyImpactSpec class contains attributes that describe +the specification to be used for getting the impact of an apply method on +an ESXi cluster.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

hosts (set of str or None) – The specific hosts for which an impact is to be generated. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: HostSystem. +if None or empty impact is generated for all hosts within the +cluster.

+
+
+
+ +
+
+class ClusterImpact(impact=None, host_impact=None, commit=None, host_info=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ApplyImpact.ClusterImpact class contains attributes that describe +the summary of how hosts within a cluster will be impacted during an apply +method.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • impact (list of ApplyImpact.Impact) – Impact of steps performed during the setup and cleanup phase of the +apply method.

  • +
  • host_impact (dict of str and list of ApplyImpact.Impact) – Impact summary for each host within the clsuter. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: HostSystem. When methods return a value of this class as +a return value, the key in the attribute dict will be an +identifier for the resource type: HostSystem.

  • +
  • commit (str) – Identifier of the commit on which the impact is generated. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.settings.commit. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.esx.settings.commit.

  • +
  • host_info (dict of str and com.vmware.esx.settings_client.HostInfo) – Information of hosts within the cluster. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: HostSystem. When methods return a value of this class as +a return value, the key in the attribute dict will be an +identifier for the resource type: HostSystem.

  • +
+
+
+
+ +
+
+class Impact(message=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ApplyImpact.Impact class contains attributes that describe what the +impact is of a particular step during the apply method.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

message (com.vmware.vapi.std_client.LocalizableMessage) – Description of the impact.

+
+
+
+ +
+
+get(cluster, spec=None)
+

Returns a summary of how hosts within the cluster will be impacted +during an apply method. The impact is generated from the compliance +information obtained from +com.vmware.esx.settings.clusters.software_client.Compliance.get()

+
+
Parameters
+
    +
  • cluster (str) – The cluster identifier. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • spec (ApplyImpact.ApplyImpactSpec or None) – Specification for how much information should be returned.

  • +
+
+
Return type
+

ApplyImpact.ClusterImpact

+
+
Returns
+

Summary of how hosts will be impacted during an apply method

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is an unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareRemediation.Read.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareRemediation.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.clusters.software.reports_client.CheckResult(status=None, scan_time=None, v_san_data_only=None, commit=None, base_image_version=None, pci_device_compliance=None, notifications=None, note=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CheckResult class contains information to describe HCL compliance +result of a cluster on target software specification.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • status (ComplianceStatus) – Overall compliance status of Cluster with respective to all hosts +in the cluster.

  • +
  • scan_time (datetime.datetime) – HCL Validation check time.

  • +
  • v_san_data_only (bool or None) – HCL Validation Computed only for vSAN Clusters. +None to show vSAN in UI

  • +
  • commit (str or None) – Spec Identifier of the desired configuration on which the HCL scan +is performed to generate this result, populated by the HCL +validation. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.settings.commit. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.esx.settings.commit. +None if validation is performed with no spec

  • +
  • base_image_version (str) – Target base image version E.g., version = BaseImageSpec->Version +com.vmware.esx.settings_client.BaseImageSpec.version class

  • +
  • pci_device_compliance (PciDeviceCompliance or None) – Compliance result for the Pci Devices that are present in all hosts +of the cluster.

  • +
  • notifications (com.vmware.esx.settings_client.Notifications) – Notifications returned by the HCL Validation operation.

  • +
  • note (com.vmware.vapi.std_client.LocalizableMessage) – Localizable disclaimer notice to show on the UI detailing the type +of checks are done by the HCL Validaiton. Example : HCL Validation +is only done on storage and network controllers.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings.clusters.software.reports_client.ComplianceStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The ComplianceStatus class contains the possible different status of +compliance with respect to target version.

+
+

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 the ComplianceStatus instance.

+
+
+
+
+COMPATIBLE = ComplianceStatus(string='COMPATIBLE')
+

Target version is compliant with cluster hardware

+
+ +
+
+HCL_DATA_UNAVAILABLE = ComplianceStatus(string='HCL_DATA_UNAVAILABLE')
+

HCL data can not be fetched to validate cluster hardware.

+
+ +
+
+INCOMPATIBLE = ComplianceStatus(string='INCOMPATIBLE')
+

Target version is not compatible with the device present in one of the +hosts part of this cluster.

+
+ +
+
+NO_FIRMWARE_PROVIDER = ComplianceStatus(string='NO_FIRMWARE_PROVIDER')
+

No Firmware HSM present in Software Spec to get Firmware Details null class

+
+ +
+
+UNAVAILABLE = ComplianceStatus(string='UNAVAILABLE')
+

Hosts in cluster are not available to validate cluster hardware.

+
+ +
+ +
+
+class com.vmware.esx.settings.clusters.software.reports_client.DriverFirmwareVersion(driver_version=None, firmware_version=None, driver_name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The DriverFirmwareVersion class contains information about device’s +driver and firmware version combination from Hardware Compatibility List.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • driver_version (str) – Compatible Driver Version.

  • +
  • firmware_version (str) – Compatible Firmware Version.

  • +
  • driver_name (str) – Compatible Driver Name.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings.clusters.software.reports_client.HardwareCompatibility(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The HardwareCompatibility class provides methods to manage HCL +Validation of a software specification of an ESX cluster.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CheckSummary(status=None, scan_time=None, commit=None, base_image_version=None, summary_result=None, notifications=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The HardwareCompatibility.CheckSummary class contains information to +describe the HCL compliance summary result of a cluster on target software +specification.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • status (HardwareCompatibility.ComplianceStatus) – Overall compliance state of HCL Validation on the host.

  • +
  • scan_time (datetime.datetime) – HCL Validation check time.

  • +
  • commit (str or None) – Spec Identifier of the desired configuration on which the HCL scan +is performed to generate this result, populated by the HCL +validation. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.settings.commit. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.esx.settings.commit. +None if validation is performed with no spec

  • +
  • base_image_version (str) – Target base image version E.g., version = BaseImageSpec->Version +com.vmware.esx.settings_client.BaseImageSpec.version class

  • +
  • summary_result (com.vmware.vapi.std_client.LocalizableMessage) – Over all Compliance result for cluster for the software +specification.

  • +
  • notifications (com.vmware.esx.settings_client.Notifications) – Notifications returned by the HCL Validation operation.

  • +
+
+
+
+ +
+
+class ComplianceStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The HardwareCompatibility.ComplianceStatus class contains the possible +different status of compliance with respect to target version.

+
+

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 the ComplianceStatus instance.

+
+
+
+
+COMPATIBLE = ComplianceStatus(string='COMPATIBLE')
+

Target version is compliant with cluster hardware.

+
+ +
+
+HCL_DATA_UNAVAILABLE = ComplianceStatus(string='HCL_DATA_UNAVAILABLE')
+

HCL data can not be fetched to validate cluster hardware.

+
+ +
+
+INCOMPATIBLE = ComplianceStatus(string='INCOMPATIBLE')
+

Target version is not compatible with the device present in one of the +hosts which is part of this cluster.

+
+ +
+
+NO_FIRMWARE_PROVIDER = ComplianceStatus(string='NO_FIRMWARE_PROVIDER')
+

No Firmware HSM present in Software Spec to get Firmware Details null class

+
+ +
+
+UNAVAILABLE = ComplianceStatus(string='UNAVAILABLE')
+

Hosts in cluster are not available to validate cluster hardware.

+
+ +
+ +
+
+check_task(cluster)
+

Initiates a Cluster HCL Validation check for a given cluster. 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.

+
+
Parameters
+

cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some other unknown internal error. The accompanying +error message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
+
+ +
+
+get(cluster)
+

Returns the hcl validation check summary.

+
+
Parameters
+

cluster (str) – identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

HardwareCompatibility.CheckSummary

+
+
Returns
+

CheckSummary hcl validation summary.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some other unknown internal error. The accompanying +error message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.clusters.software.reports_client.LastApplyResult(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The LastApplyResult class provides methods to get the most recent +available result of applying the desired software document to all hosts +within a cluster.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class ApplyResult(status=None, commit=None, host_info=None, host_status=None, successful_hosts=None, failed_hosts=None, skipped_hosts=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LastApplyResult.ApplyResult class contains attributes that describe +the result of an apply method.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • status (LastApplyResult.ApplyStatus) – Specifies the aggregated status of the apply method.

  • +
  • commit (str) – The identifier of the commit used to fetch the desired software +document to be applied to all hosts within the cluster. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.settings.commit. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.esx.settings.commit.

  • +
  • host_info (dict of str and com.vmware.esx.settings_client.HostInfo) – Information of the hosts in this cluster to which the desired +software document specified by the +LastApplyResult.ApplyResult.commit should be applied to. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: HostSystem. When methods return a value of this class as +a return value, the key in the attribute dict will be an +identifier for the resource type: HostSystem.

  • +
  • host_status (dict of str and LastApplyResult.ApplyStatus) – Status of the hosts in this cluster to which the desired software +document specified by the +LastApplyResult.ApplyResult.commit was applied to. Hosts on +which the apply method was sucessful are specified by +LastApplyResult.ApplyResult.successful_hosts. Hosts on +which the apply method failed are specified by +LastApplyResult.ApplyResult.failed_hosts. Hosts which were +skipped by the apply method are specified by +LastApplyResult.ApplyResult.skipped_hosts. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: HostSystem. When methods return a value of this class as +a return value, the key in the attribute dict will be an +identifier for the resource type: HostSystem.

  • +
  • successful_hosts (set of str) – Hosts in this cluster to which the desired software document +specified by the LastApplyResult.ApplyResult.commit has +been successfully applied to. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: HostSystem.

  • +
  • failed_hosts (set of str) – Hosts in this cluster to which the desired software document +specified by the LastApplyResult.ApplyResult.commit failed +to be applied to. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: HostSystem.

  • +
  • skipped_hosts (set of str) – Hosts in this cluster that were skipped by the apply method. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: HostSystem.

  • +
+
+
+
+ +
+
+class ApplyStatus(status=None, start_time=None, end_time=None, notifications=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LastApplyResult.ApplyStatus class contains attributes that describe +the status of an apply method.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+
+class Status(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The LastApplyResult.ApplyStatus.Status class contains the possible +different status codes that can be returned while trying to apply the +desired software specification to hosts within the cluster.

+
+

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 the Status instance.

+
+
+
+
+ERROR = Status(string='ERROR')
+

The method encountered an unspecified error.

+
+ +
+
+OK = Status(string='OK')
+

The method completed successfully.

+
+ +
+
+SKIPPED = Status(string='SKIPPED')
+

The method was skipped.

+
+ +
+
+TIMED_OUT = Status(string='TIMED_OUT')
+

The method timed out.

+
+ +
+ +
+ +
+
+get(cluster)
+

Returns the most recent available result of applying the desired +software document to all hosts within the cluster.

+
+
Parameters
+

cluster (str) – The cluster identifier. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

LastApplyResult.ApplyResult

+
+
Returns
+

Most recent available result of applying the desired software +document to all hosts within the cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is an unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system or +if there is no result associated with the cluster cluster

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareRemediation.Read.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareRemediation.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.clusters.software.reports_client.LastCheckResult(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The LastCheckResult class provides methods to get the most recent +available result of the checks that have been run on a cluster before the +application of the desired software document to all hosts within the +cluster.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CheckInfo(check=None, name=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LastCheckResult.CheckInfo class contains attributes that describe a +particular check.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class CheckResult(status=None, start_time=None, end_time=None, commit=None, host_info=None, entity_results=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LastCheckResult.CheckResult class contains attributes that describe +aggregated status of all checks performed.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • status (LastCheckResult.Status) – Aggregated status from all checks performed.

  • +
  • start_time (datetime.datetime) – Time when the operation started.

  • +
  • end_time (datetime.datetime) – Time when the operation completed.

  • +
  • commit (str) – The identifier of the commit on which checks have been run. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.settings.commit. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.esx.settings.commit.

  • +
  • host_info (dict of str and com.vmware.esx.settings_client.HostInfo) – Information about the hosts in this cluster for which checks have +been requested to be run. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: HostSystem. When methods return a value of this class as +a return value, the key in the attribute dict will be an +identifier for the resource type: HostSystem.

  • +
  • entity_results (list of LastCheckResult.EntityCheckResult) – List of LastCheckResult.EntityCheckResult for all entities for +which checks have been run.

  • +
+
+
+
+ +
+
+class CheckStatus(check=None, status=None, issues=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LastCheckResult.CheckStatus class contains attributes that describe +a check result.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class EntityCheckResult(type=None, cluster=None, host=None, status=None, check_statuses=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LastCheckResult.EntityCheckResult class contains attributes that +describe aggregated status of all checks performed on a specific entity.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (LastCheckResult.EntityCheckResult.EntityType) – The entity type for which these checks are being run.

  • +
  • cluster (str) – If the entity type is CLUSTER then the cluster identifier for which +the checks have been run. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: ClusterComputeResource. +This attribute is optional and it is only relevant when the value +of type is +LastCheckResult.EntityCheckResult.EntityType.CLUSTER.

  • +
  • host (str) – If the entity type is HOST then the host identifier for which the +checks have been run. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: HostSystem. +This attribute is optional and it is only relevant when the value +of type is +LastCheckResult.EntityCheckResult.EntityType.HOST.

  • +
  • status (LastCheckResult.Status) – Aggregated status from all checks performed on this entity.

  • +
  • check_statuses (list of LastCheckResult.CheckStatus) – List of LastCheckResult.CheckStatus for all checks performed.

  • +
+
+
+
+
+class EntityType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The LastCheckResult.EntityCheckResult.EntityType class contains the +entitites on which checks can be performed.

+
+

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 the EntityType instance.

+
+
+
+
+CLUSTER = EntityType(string='CLUSTER')
+

Entity type Cluster

+
+ +
+
+HOST = EntityType(string='HOST')
+

Entity type Host

+
+ +
+ +
+ +
+
+class Status(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The LastCheckResult.Status class defines the status result for a +particular check.

+
+

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 the Status instance.

+
+
+
+
+ERROR = Status(string='ERROR')
+

The check indicates an error.

+
+ +
+
+OK = Status(string='OK')
+

The check indicates a success.

+
+ +
+
+TIMEOUT = Status(string='TIMEOUT')
+

The check did not return in a timely manner.

+
+ +
+
+WARNING = Status(string='WARNING')
+

The check indicates a warning.

+
+ +
+ +
+
+get(cluster)
+

Returns the most recent available result of checks run on the cluster +before the application of the desired software document to all hosts +within the cluster.

+
+
Parameters
+

cluster (str) – The cluster identifier. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

LastCheckResult.CheckResult

+
+
Returns
+

Most recent result available of the checks run on the cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is an unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system or +if there is no result associated with the cluster cluster

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareRemediation.Read.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareRemediation.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.clusters.software.reports_client.PciDevice(display_name=None, driver_name=None, vendor=None, vid=None, did=None, svid=None, ssid=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The PciDevice class contains information about a PCI Device.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • display_name (str) – Display name of the device.

  • +
  • driver_name (str) – Driver Name of the device.

  • +
  • vendor (str) – Vendor Name of the device.

  • +
  • vid (str) – PCI VID of the device.

  • +
  • did (str) – PCI DID of the device.

  • +
  • svid (str) – PCI SVID of the device.

  • +
  • ssid (str) – PCI SSID of the device.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings.clusters.software.reports_client.PciDeviceCompliance(status=None, compatible_devices=None, incompatible_devices=None, incompatible_driver_firmware=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The PciDeviceCompliance class contains information that describe the +compliance result of all pci device from all hosts in the clsuter with +respect to the component present in the target software specification.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • status (ComplianceStatus) – Over all Compliance status of PCI Devices in Cluster with +respective to all hosts in the cluster.

  • +
  • compatible_devices (list of PciDeviceComplianceInfo) – Compatible Device Compliance result for all devices present on all +hosts in the cluster compared with the corresponding component in +the software specification. The key is the DeviceName and value is +the PciDeviceComplianceInfo object.

  • +
  • incompatible_devices (list of PciDeviceComplianceInfo) – Incompatible Device Compliance result for all devices present on +all hosts in the cluster compared with the corresponding component +in the software specification. The key is the DeviceName and value +is the PciDeviceComplianceInfo object.

  • +
  • incompatible_driver_firmware (list of PciDeviceComplianceInfo) – Incompatible Driver Firmware combination Compliance result for all +devices present on hosts in the cluster compared with the +corresponding component in the software specification. The key is +the DeviceName and value is the PciDeviceComplianceInfo object.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings.clusters.software.reports_client.PciDeviceComplianceInfo(status=None, device=None, compatible_versions=None, host_info=None, target=None, supported=None, compatibility_guide_link=None, notifications=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The PciDeviceComplianceInfo class contains information that describe +the compliance of a pci device with respect to the component present in the +target software specification.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • status (ComplianceStatus) – Compliance status of the device.

  • +
  • device (PciDevice) – Pci Device Details

  • +
  • compatible_versions (list of str) – List of vSphere Versions compatible for this device. This field is +populated only for device found INCOMPATIBLE

  • +
  • host_info (dict of str and com.vmware.esx.settings_client.HostInfo) – Affected List of Host IDs where this device is found. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: HostSystem. When methods return a value of this class as +a return value, the key in the attribute dict will be an +identifier for the resource type: HostSystem.

  • +
  • target (DriverFirmwareVersion) – Driver and Firmware Version from Image Specification.

  • +
  • supported (list of DriverFirmwareVersion) – List of Supported Driver and Firmware Version combination from +Harware Compatibility List.

  • +
  • compatibility_guide_link (str or None) – Provides link to the VMware Compatibility Guide for further +information on the compatibility. +If None there is no VMware Compatibility link available as this is +device used by VSAN.

  • +
  • notifications (com.vmware.esx.settings_client.Notifications or None) – Device Specific notifications describing the compliance result.

  • +
+
+
+
+ +
+
+class com.vmware.esx.settings.clusters.software.reports_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.esx.settings.clusters.software.reports.html b/vsphere/7.0.0.1/com.vmware.esx.settings.clusters.software.reports.html new file mode 100644 index 00000000..a40d6958 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.esx.settings.clusters.software.reports.html @@ -0,0 +1,308 @@ + + + + + + + + + + + com.vmware.esx.settings.clusters.software.reports package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.esx.settings.clusters.software.reports package

+
+

Submodules

+
+
+

com.vmware.esx.settings.clusters.software.reports.hardware_compatibility_client module

+

The +com.vmware.esx.settings.clusters.software.reports.hardware_compatibility_client +module provides classes to manage reports pertaining to the desired state +software for a cluster of ESXi hosts.

+
+
+class com.vmware.esx.settings.clusters.software.reports.hardware_compatibility_client.Details(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The ComplianceStatus class contains the possible different status of +compliance with respect to target version.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+get(cluster)
+

Returns the hcl validation check detailed results.

+
+
Parameters
+

cluster (str) – identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

com.vmware.esx.settings.clusters.software.reports_client.CheckResult

+
+
Returns
+

CheckResult hcl validation result.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some other unknown internal error. The accompanying +error message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system or +if desired software document is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.clusters.software.reports.hardware_compatibility_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.esx.settings.defaults.clusters.html b/vsphere/7.0.0.1/com.vmware.esx.settings.defaults.clusters.html new file mode 100644 index 00000000..7a0cbc27 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.esx.settings.defaults.clusters.html @@ -0,0 +1,489 @@ + + + + + + + + + + + com.vmware.esx.settings.defaults.clusters package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.esx.settings.defaults.clusters package

+ +
+

Submodules

+
+
+

com.vmware.esx.settings.defaults.clusters.policies_client module

+

Copyright 2019 VMware, Inc. All rights reserved. VMware Confidential

+
+
+class com.vmware.esx.settings.defaults.clusters.policies_client.Apply(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Apply class provides methods to configure the policies that will +impact how the software and configuration specification documents are +applied to ESXi clusters.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class ConfiguredPolicySpec(failure_action=None, pre_remediation_power_action=None, enable_quick_boot=None, disable_dpm=None, disable_hac=None, evacuate_offline_vms=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Apply.ConfiguredPolicySpec class contains attributes that describe +the policies configured to be used when the software and configuration +specification documents are applied to ESXi clusters.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • failure_action (Apply.FailureAction or None) – What action is to be taken if entering maintenance mode fails on a +given host of the cluster. +If None, configured value would be unset.

  • +
  • pre_remediation_power_action (Apply.ConfiguredPolicySpec.PreRemediationPowerAction or None) – Specifies what should be done to the power state of the VM before +entering maintenance mode. +If None, configured value would be unset.

  • +
  • enable_quick_boot (bool or None) – Enable Quick Boot during remediation in the cluster. +If None, configured value would be unset.

  • +
  • disable_dpm (bool or None) – Disable DPM on the cluster. +If None, configured value would be unset.

  • +
  • disable_hac (bool or None) – Disable HA Admission control on the cluster. +If None, configured value would be unset.

  • +
  • evacuate_offline_vms (bool or None) – Evacuate powered off/suspended VMs when attempting maintenance +mode. +If None, configured value would be unset.

  • +
+
+
+
+
+class PreRemediationPowerAction(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Apply.ConfiguredPolicySpec.PreRemediationPowerAction class defines +the possible actions to be taken on VMs before entering maintenance mode.

+
+

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 the PreRemediationPowerAction instance.

+
+
+
+
+DO_NOT_CHANGE_VMS_POWER_STATE = PreRemediationPowerAction(string='DO_NOT_CHANGE_VMS_POWER_STATE')
+

Do not change the VM power state

+
+ +
+
+POWER_OFF_VMS = PreRemediationPowerAction(string='POWER_OFF_VMS')
+

Power off VMs before entering maintenance mode.

+
+ +
+
+SUSPEND_VMS = PreRemediationPowerAction(string='SUSPEND_VMS')
+

Suspend VMs before entering maintenance mode

+
+ +
+ +
+ +
+
+class FailureAction(action=None, retry_delay=None, retry_count=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Apply.FailureAction class contains attributes that describe the +actions to be taken when entering maintenance mode fails on a single host +within the cluster.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • action (Apply.FailureAction.Action) – What action (FAIL, RETRY) is to be taken if entering maintenance +mode fails on a single host within the cluster.

  • +
  • retry_delay (long) – Time to wait to retry the failed operation in seconds. +This attribute is optional and it is only relevant when the value +of action is Apply.FailureAction.Action.RETRY.

  • +
  • retry_count (long) – Number of times to retry the failed operation. +This attribute is optional and it is only relevant when the value +of action is Apply.FailureAction.Action.RETRY.

  • +
+
+
+
+
+class Action(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Apply.FailureAction.Action class defines the actions to be taken +when entering maintenance mode fails on a single host within the cluster.

+
+

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 the Action instance.

+
+
+
+
+FAIL = Action(string='FAIL')
+

Fail the apply method

+
+ +
+
+RETRY = Action(string='RETRY')
+

Retry the task Apply.FailureAction.retry_count number of times on +the failed host after Apply.FailureAction.retry_delay.

+
+ +
+ +
+ +
+
+get()
+

Returns the configured policy that has been set.

+
+
Return type
+

Apply.ConfiguredPolicySpec

+
+
Returns
+

The configured policies that impact the apply method

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is an unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires VcIntegrity.lifecycleSettings.Read.

  • +
+
+
+
+ +
+
+set(spec)
+

This API will set the configured policy specification.

+
+
Parameters
+

spec (Apply.ConfiguredPolicySpec) – The policy that needs to be configured.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is an unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If invalid value is provided.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSettings.Write.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.defaults.clusters.policies_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.esx.settings.defaults.clusters.policies.html b/vsphere/7.0.0.1/com.vmware.esx.settings.defaults.clusters.policies.html new file mode 100644 index 00000000..72e88074 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.esx.settings.defaults.clusters.policies.html @@ -0,0 +1,442 @@ + + + + + + + + + + + com.vmware.esx.settings.defaults.clusters.policies package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.esx.settings.defaults.clusters.policies package

+
+

Submodules

+
+
+

com.vmware.esx.settings.defaults.clusters.policies.apply_client module

+

The com.vmware.esx.settings.defaults.clusters.policies.apply_client module +provides classes to manage policies that affect application of desired state +configuration and software for ESXi clusters. Copyright 2019 VMware, Inc. All +rights reserved. VMware Confidential Copyright 2019 VMware, Inc. All rights +reserved. VMware Confidential

+
+
+class com.vmware.esx.settings.defaults.clusters.policies.apply_client.Effective(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Effective class provides methods to manage the effective policies +that will impact how the software and configuration specification documents +are applied to ESXi clusters.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class EffectivePolicySpec(failure_action=None, pre_remediation_power_action=None, enable_quick_boot=None, disable_dpm=None, disable_hac=None, evacuate_offline_vms=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Effective.EffectivePolicySpec class contains attributes that +describe the effective policies to be used when the software and +configuration specification documents are applied to ESXi clusters.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • failure_action (Effective.FailureAction) – What action is to be taken if entering maintenance mode fails on a +given host of the cluster.

  • +
  • pre_remediation_power_action (Effective.EffectivePolicySpec.PreRemediationPowerAction) – Specifies what should be done to the power state of the VM before +entering maintenance mode.

  • +
  • enable_quick_boot (bool) – Enable Quick Boot during remediation in the cluster.

  • +
  • disable_dpm (bool) – Disable DPM on the cluster.

  • +
  • disable_hac (bool) – Disable HA Admission control on the cluster.

  • +
  • evacuate_offline_vms (bool) – Evacuate powered off/suspended VMs when attempting maintenance +mode.

  • +
+
+
+
+
+class PreRemediationPowerAction(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Effective.EffectivePolicySpec.PreRemediationPowerAction class +defines the possible actions to be taken, before entering maintenance mode.

+
+

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 the PreRemediationPowerAction instance.

+
+
+
+
+DO_NOT_CHANGE_VMS_POWER_STATE = PreRemediationPowerAction(string='DO_NOT_CHANGE_VMS_POWER_STATE')
+

Do not change the VM power state

+
+ +
+
+POWER_OFF_VMS = PreRemediationPowerAction(string='POWER_OFF_VMS')
+

Power off VMs before entering maintenance mode.

+
+ +
+
+SUSPEND_VMS = PreRemediationPowerAction(string='SUSPEND_VMS')
+

Suspend VMs before entering maintenance mode

+
+ +
+ +
+ +
+
+class FailureAction(action=None, retry_delay=None, retry_count=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Effective.FailureAction class contains attributes that describe the +actions to be taken when entering maintenance mode fails on a single host +within the cluster.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • action (Effective.FailureAction.Action) – What action (FAIL, RETRY) is to be taken if entering maintenance +mode fails on a single host within the cluster.

  • +
  • retry_delay (long) – Time to wait to retry the failed operation in seconds. +This attribute is optional and it is only relevant when the value +of action is Effective.FailureAction.Action.RETRY.

  • +
  • retry_count (long) – Number of times to retry the failed operation. +This attribute is optional and it is only relevant when the value +of action is Effective.FailureAction.Action.RETRY.

  • +
+
+
+
+
+class Action(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Effective.FailureAction.Action class defines the actions to be +taken when entering maintenance mode fails on a single host within the +cluster.

+
+

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 the Action instance.

+
+
+
+
+FAIL = Action(string='FAIL')
+

Fail the apply method

+
+ +
+
+RETRY = Action(string='RETRY')
+

Retry the task null number of times on the failed host after null.

+
+ +
+ +
+ +
+
+get()
+

Returns the effective apply policy based on system defaults and what +has been configured.

+
+
Return type
+

Effective.EffectivePolicySpec

+
+
Returns
+

The effective policies that impact the apply method

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is an unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires VcIntegrity.lifecycleSettings.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.defaults.clusters.policies.apply_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.esx.settings.defaults.html b/vsphere/7.0.0.1/com.vmware.esx.settings.defaults.html new file mode 100644 index 00000000..a6beb804 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.esx.settings.defaults.html @@ -0,0 +1,273 @@ + + + + + + + + + + + com.vmware.esx.settings.defaults package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.esx.settings.defaults package

+ +
+

Submodules

+
+
+

com.vmware.esx.settings.defaults.clusters_client module

+

The com.vmware.esx.settings.defaults.clusters_client module provides +classes to manage defaults that affect management of desired state +configuration and software for ESXi clusters.

+
+
+class com.vmware.esx.settings.defaults.clusters_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.esx.settings.depot_content.html b/vsphere/7.0.0.1/com.vmware.esx.settings.depot_content.html new file mode 100644 index 00000000..049578d6 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.esx.settings.depot_content.html @@ -0,0 +1,840 @@ + + + + + + + + + + + com.vmware.esx.settings.depot_content package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.esx.settings.depot_content package

+
+

Submodules

+
+
+

com.vmware.esx.settings.depot_content.add_ons_client module

+

The com.vmware.esx.settings.depot_content.add_ons_client module provides +classes to retrieve OEM specific add-on versions from the depot.

+
+
+class com.vmware.esx.settings.depot_content.add_ons_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.esx.settings.depot_content.add_ons_client.Versions(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Versions class provides methods to get OEM add-on versions from the +sync’ed and imported depots.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CategoryType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Versions.CategoryType class defines possible values of categories +for a OEM add-on.

+
+

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 the CategoryType instance.

+
+
+
+
+BUGFIX = CategoryType(string='BUGFIX')
+

Bugfix

+
+ +
+
+ENHANCEMENT = CategoryType(string='ENHANCEMENT')
+

Enhancement

+
+ +
+
+SECURITY = CategoryType(string='SECURITY')
+

Security

+
+ +
+ +
+
+class ComponentInfo(name=None, display_name=None, version=None, display_version=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Versions.ComponentInfo class defines the information regarding a +component present in OEM add-on.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Identifier of the component. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.settings.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.esx.settings.component.

  • +
  • display_name (str) – Display name of the component.

  • +
  • version (str) – Version of the component.

  • +
  • display_version (str) – Human readable version of the OEM add-on.

  • +
+
+
+
+ +
+
+class Info(display_name=None, vendor=None, display_version=None, summary=None, description=None, category=None, kb=None, release_date=None, components=None, removed_components=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Versions.Info class defines the information regarding a OEM add-on +version.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • display_name (str) – Display name of the OEM add-on.

  • +
  • vendor (str) – Vendor of the OEM add-on.

  • +
  • display_version (str) – Human readable version of the OEM add-on.

  • +
  • summary (str) – Summary of the OEM add-on.

  • +
  • description (str) – Discription of the OEM add-on.

  • +
  • category (Versions.CategoryType) – Category of the OEM add-on.

  • +
  • kb (str) – Link to kb article related to this the OEM add-on.

  • +
  • release_date (datetime.datetime) – Release date of the OEM add-on.

  • +
  • components (list of Versions.ComponentInfo) – List of components in this OEM add-on.

  • +
  • removed_components (list of Versions.RemovedComponentInfo) – List of components removed by this OEM add-on.

  • +
+
+
+
+ +
+
+class RemovedComponentInfo(name=None, display_name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Versions.RemovedComponentInfo class defines the information +regarding a component removed by the OEM add-on.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Identifier of the component. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.settings.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.esx.settings.component.

  • +
  • display_name (str) – Display name of the component.

  • +
+
+
+
+ +
+
+get(name, version)
+

Returns information about a given OEM add-on version in the depot.

+
+
Parameters
+
    +
  • name (str) – Name of the OEM add-on +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.add_on.

  • +
  • version (str) – Version of the OEM add-on

  • +
+
+
Return type
+

Versions.Info

+
+
Returns
+

Information about the given OEM add-on

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if OEM add-on with given version is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires VcIntegrity.lifecycleSettings.Read.

  • +
+
+
+
+ +
+ +
+
+

com.vmware.esx.settings.depot_content.base_images_client module

+

The com.vmware.esx.settings.depot_content.base_images_client module +provides classes to retrieve base_images from the depot.

+
+
+class com.vmware.esx.settings.depot_content.base_images_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.esx.settings.depot_content.base_images_client.Versions(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Versions class provides methods to get versions of base-images from +the sync’ed and imported depots.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CategoryType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Versions.CategoryType class defines possible values of categories +for a base-image.

+
+

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 the CategoryType instance.

+
+
+
+
+BUGFIX = CategoryType(string='BUGFIX')
+

Bugfix

+
+ +
+
+ENHANCEMENT = CategoryType(string='ENHANCEMENT')
+

Enhancement

+
+ +
+
+SECURITY = CategoryType(string='SECURITY')
+

Security

+
+ +
+ +
+
+class ComponentVersionInfo(name=None, display_name=None, version=None, display_version=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Versions.ComponentVersionInfo class defines the information +regarding a component present inbase-image.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Identifier of the component. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.settings.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.esx.settings.component.

  • +
  • display_name (str) – Display name of the component.

  • +
  • version (str) – Version of the component.

  • +
  • display_version (str) – Human readable version of the base-image.

  • +
+
+
+
+ +
+
+class Info(display_name=None, version=None, display_version=None, summary=None, description=None, category=None, kb=None, release_date=None, components=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Versions.Info class defines the information regarding a base-image.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • display_name (str) – Display name of the base-image.

  • +
  • version (str) – Version of the base-image. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.settings.base_image. When methods return a value +of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.esx.settings.base_image.

  • +
  • display_version (str) – Human readable version of the base-image.

  • +
  • summary (str) – Summary of the base-image.

  • +
  • description (str) – Discription of the base-image.

  • +
  • category (Versions.CategoryType) – Category of the base-image.

  • +
  • kb (str) – Link to kb article related to this the base-image.

  • +
  • release_date (datetime.datetime) – Release date of the base-image.

  • +
  • components (list of Versions.ComponentVersionInfo) – List of components in this base-image.

  • +
+
+
+
+ +
+
+get(version)
+

Returns information about a given base-image version in the depot.

+
+
Parameters
+

version (str) – Version of the base-image

+
+
Return type
+

Versions.Info

+
+
Returns
+

Information about the given base-image

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if base-image with given version is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires VcIntegrity.lifecycleSettings.Read.

  • +
+
+
+
+ +
+ +
+
+

com.vmware.esx.settings.depot_content.components_client module

+

The com.vmware.esx.settings.depot_content.components_client module provides +classes to retrieve component versions from the depot.

+
+
+class com.vmware.esx.settings.depot_content.components_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.esx.settings.depot_content.components_client.Versions(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Versions class provides methods to get component versions from the +sync’ed and imported depots.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CategoryType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Versions.CategoryType class defines possible values of categories +for a component.

+
+

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 the CategoryType instance.

+
+
+
+
+BUGFIX = CategoryType(string='BUGFIX')
+

Bugfix

+
+ +
+
+ENHANCEMENT = CategoryType(string='ENHANCEMENT')
+

Enhancement

+
+ +
+
+GENERAL = CategoryType(string='GENERAL')
+

General

+
+ +
+
+INFO = CategoryType(string='INFO')
+

Info

+
+ +
+
+MISC = CategoryType(string='MISC')
+

Misc

+
+ +
+
+RECALL = CategoryType(string='RECALL')
+

Recall

+
+ +
+
+RECALL_FIX = CategoryType(string='RECALL_FIX')
+

Recall-fix

+
+ +
+
+SECURITY = CategoryType(string='SECURITY')
+

Security

+
+ +
+ +
+
+class Info(display_name=None, vendor=None, display_version=None, summary=None, description=None, category=None, urgency=None, kb=None, contact=None, release_date=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Versions.Info class defines the information regarding a component +version.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • display_name (str) – Display name of the component.

  • +
  • vendor (str) – Vendor of the component.

  • +
  • display_version (str) – Human readable version of the component.

  • +
  • summary (str) – Summary of the component version.

  • +
  • description (str) – Discription of the component version.

  • +
  • category (Versions.CategoryType) – Category of the component version.

  • +
  • urgency (Versions.UrgencyType) – Urgency of the component version.

  • +
  • kb (str) – Link to kb article related to this the component version.

  • +
  • contact (str) – Contact email for the component version.

  • +
  • release_date (datetime.datetime) – Release date of the component version.

  • +
+
+
+
+ +
+
+class UrgencyType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Versions.UrgencyType class defines possible values of urgencies for +a component.

+
+

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 the UrgencyType instance.

+
+
+
+
+CRITICAL = UrgencyType(string='CRITICAL')
+

Critical

+
+ +
+
+GENERAL = UrgencyType(string='GENERAL')
+

General

+
+ +
+
+IMPORTANT = UrgencyType(string='IMPORTANT')
+

Important

+
+ +
+
+LOW = UrgencyType(string='LOW')
+

Low

+
+ +
+
+MODERATE = UrgencyType(string='MODERATE')
+

Moderate

+
+ +
+ +
+
+get(name, version)
+

Returns information about a given component version in the depot.

+
+
Parameters
+
    +
  • name (str) – Name of the component +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.component.

  • +
  • version (str) – Version of the component

  • +
+
+
Return type
+

Versions.Info

+
+
Returns
+

Information about the given component

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if component with given version is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires VcIntegrity.lifecycleSettings.Read.

  • +
+
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.esx.settings.html b/vsphere/7.0.0.1/com.vmware.esx.settings.html new file mode 100644 index 00000000..0f0e0990 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.esx.settings.html @@ -0,0 +1,3285 @@ + + + + + + + + + + + com.vmware.esx.settings package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.esx.settings package

+
+

Subpackages

+
+ +
+
+
+

Submodules

+
+
+

com.vmware.esx.settings.clusters_client module

+

The com.vmware.esx.settings.clusters_client module provides classes to +manage desired state configuration and software for a cluster of ESX hosts.

+
+
+class com.vmware.esx.settings.clusters_client.DepotOverrides(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The DepotOverrides class provides methods to manage software depots +overriden for a given cluster. In general ESX servers reach out to vCenter +(VUM) to fetch the metadata and payloads required for lifecycle operations. +But in ROBO environments ESX clusters can’t (or because of bandwidth +requirements shouldn’t) reach out to vCenter to fetch payloads and +metadata. This class allows setting cluster level overrides for depots. If +any depots are provided for a cluster, then vCenter level depots are not +used for that cluster’s remediation. These are not synced periodically at +vCenter and are only used by ESXs for lifecycle operations.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Depot(location=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The DepotOverrides.Depot class defines the information regarding a +particular depot override for a given cluster.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

location (str) – Location of the depot override. This could be a location of zip +file or location to an index.xml file.

+
+
+
+ +
+
+class Info(depots=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The DepotOverrides.Info class defines the information regarding depot +overrides for a given cluster.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

depots (list of DepotOverrides.Depot) – List of the depot overrides.

+
+
+
+ +
+
+add(cluster, depot)
+

Adds a new depot override to the list of currently configured depot +overrides for a given cluster.

+
+
Parameters
+
    +
  • cluster (str) – Identifier for the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • depot (DepotOverrides.Depot) – Information of a depot override.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If an invalid location is provided.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if depot override with given information already exists.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSettings.Write.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSettings.Write.

  • +
+
+
+
+ +
+
+get(cluster)
+

Returns the information about currently configured depot overrides for +a given cluster.

+
+
Parameters
+

cluster (str) – Identifier for the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

DepotOverrides.Info

+
+
Returns
+

Information about currently configured depot overrides for a given +cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires VcIntegrity.lifecycleSettings.Read.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSettings.Read.

  • +
+
+
+
+ +
+
+remove(cluster, depot)
+

Removes a depot override from the list of currently configured depot +overrides for a given cluster.

+
+
Parameters
+
    +
  • cluster (str) – Identifier for the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • depot (DepotOverrides.Depot) – Information of the depot override to be removed.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no depot override with given information or no cluster +associated with identifier {param.name cluster} in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSettings.Write.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSettings.Write.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.clusters_client.Software(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Software class provides methods to manage desired software +specification of an ESX cluster.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class ApplyResult(status=None, commit=None, host_info=None, host_status=None, successful_hosts=None, failed_hosts=None, skipped_hosts=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Software.ApplyResult class contains attributes that describe the +result of an Software.apply() method.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • status (Software.ApplyStatus or None) – Specifies the aggregated status of the Software.apply() +method. +None if the Software.apply() method is in progress.

  • +
  • commit (str) – The identifier of the commit used to fetch the desired software +document to be applied to all hosts within the cluster. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.settings.commit. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.esx.settings.commit.

  • +
  • host_info (dict of str and com.vmware.esx.settings_client.HostInfo) – Information of the hosts in this cluster to which the desired +software document specified by the +Software.ApplyResult.commit should be applied to. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: HostSystem. When methods return a value of this class as +a return value, the key in the attribute dict will be an +identifier for the resource type: HostSystem.

  • +
  • host_status (dict of str and Software.ApplyStatus) – Status of the hosts in this cluster to which the desired software +document specified by the Software.ApplyResult.commit was +applied to. Hosts on which the Software.apply() method was +successful are specified by +Software.ApplyResult.successful_hosts. Hosts on which the +apply method failed are specified by +Software.ApplyResult.failed_hosts. Hosts which were skipped +by the Software.apply() method are specified by +Software.ApplyResult.skipped_hosts. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: HostSystem. When methods return a value of this class as +a return value, the key in the attribute dict will be an +identifier for the resource type: HostSystem.

  • +
  • successful_hosts (set of str) – Hosts in this cluster to which the desired software document +specified by the Software.ApplyResult.commit has been +successfully applied to. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: HostSystem.

  • +
  • failed_hosts (set of str) – Hosts in this cluster to which the desired software document +specified by the Software.ApplyResult.commit failed to be +applied to. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: HostSystem.

  • +
  • skipped_hosts (set of str) – Hosts in this cluster that were skipped by the +Software.apply() method. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: HostSystem.

  • +
+
+
+
+ +
+
+class ApplySpec(commit=None, hosts=None, accept_eula=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Software.ApplySpec class contains attributes that describe the +specification to be used for applying the desired software document to a +cluster.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • commit (str or None) – The minimum commit identifier of the desired software document to +be used during the Software.apply() method. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.settings.commit. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.esx.settings.commit. +if None or empty the apply method will use the latest commit to +fetch the desired state document.

  • +
  • hosts (set of str or None) – The specific hosts within the cluster to be considered during the +Software.apply() method. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: HostSystem. +if None or empty the Software.apply() method will remediate +all hosts within the cluster.

  • +
  • accept_eula (bool or None) – Accept the VMware End User License Agreement (EULA) before starting +the Software.apply() method. The VMware EULA is available for +download at, https://www.vmware.com/download/eula.html +if None the Software.apply() method could fail due to the +EULA not being accepted.

  • +
+
+
+
+ +
+
+class ApplyStatus(status=None, start_time=None, end_time=None, notifications=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Software.ApplyStatus class contains attributes that describe the +status of an Software.apply() method.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+
+class Status(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Software.ApplyStatus.Status class contains the possible different +status codes that can be returned while trying to Software.apply() +the desired software specification to hosts within the cluster.

+
+

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 the Status instance.

+
+
+
+
+ERROR = Status(string='ERROR')
+

The method encountered an unspecified error.

+
+ +
+
+OK = Status(string='OK')
+

The method completed successfully.

+
+ +
+
+SKIPPED = Status(string='SKIPPED')
+

The method was skipped.

+
+ +
+
+TIMED_OUT = Status(string='TIMED_OUT')
+

The method timed out.

+
+ +
+ +
+ +
+
+class CheckInfo(check=None, name=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Software.CheckInfo class contains attributes that describe a +particular check.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class CheckResult(status=None, start_time=None, end_time=None, commit=None, host_info=None, entity_results=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Software.CheckResult class contains attributes that describe +aggregated status of all checks performed.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • status (Software.Status) – Aggregated status from all checks performed.

  • +
  • start_time (datetime.datetime) – Time when the operation started.

  • +
  • end_time (datetime.datetime) – Time when the operation completed.

  • +
  • commit (str) – The identifier of the commit on which checks have been run. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.settings.commit. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.esx.settings.commit.

  • +
  • host_info (dict of str and com.vmware.esx.settings_client.HostInfo) – Information about the hosts in this cluster for which checks have +been requested to be run. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: HostSystem. When methods return a value of this class as +a return value, the key in the attribute dict will be an +identifier for the resource type: HostSystem.

  • +
  • entity_results (list of Software.EntityCheckResult) – List of Software.EntityCheckResult for all entities for which +checks have been run.

  • +
+
+
+
+ +
+
+class CheckSpec(commit=None, hosts=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Software.CheckSpec class contains attributes that describe the +specification to be used for running checks on the cluster before the +Software.apply() method.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • commit (str or None) – The minimum commit identifier of the desired software document to +be used during the check method. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.settings.commit. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.esx.settings.commit. +if None or empty the check opertion will use the latest commit to +fetch the desired state document.

  • +
  • hosts (set of str or None) – The specific hosts for which checks need to be performed +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: HostSystem. +if None or empty checks are run for all hosts within the cluster.

  • +
+
+
+
+ +
+
+class CheckStatus(check=None, status=None, issues=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Software.CheckStatus class contains attributes that describe a +check result.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class EntityCheckResult(type=None, cluster=None, host=None, status=None, check_statuses=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Software.EntityCheckResult class contains attributes that describe +aggregated status of all checks performed on a specific entity.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Software.EntityCheckResult.EntityType) – The entity type for which these checks are being run.

  • +
  • cluster (str) – If the entity type is CLUSTER then the cluster identifier for which +the checks have been run. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: ClusterComputeResource. +This attribute is optional and it is only relevant when the value +of type is +Software.EntityCheckResult.EntityType.CLUSTER.

  • +
  • host (str) – If the entity type is HOST then the host identifier for which the +checks have been run. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: HostSystem. +This attribute is optional and it is only relevant when the value +of type is Software.EntityCheckResult.EntityType.HOST.

  • +
  • status (Software.Status) – Aggregated status from all checks performed on this entity.

  • +
  • check_statuses (list of Software.CheckStatus) – List of Software.CheckStatus for all checks performed.

  • +
+
+
+
+
+class EntityType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Software.EntityCheckResult.EntityType class contains the entitites +on which checks can be performed.

+
+

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 the EntityType instance.

+
+
+
+
+CLUSTER = EntityType(string='CLUSTER')
+

Entity type Cluster

+
+ +
+
+HOST = EntityType(string='HOST')
+

Entity type Host

+
+ +
+ +
+ +
+
+class ExportSpec(export_software_spec=None, export_iso_image=None, export_offline_bundle=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Software.ExportSpec class contains information describing how a +software specification or image should be exported.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • export_software_spec (bool) – Whether to export software specification document.

  • +
  • export_iso_image (bool) – Whether to export ISO image.

  • +
  • export_offline_bundle (bool) – Whether to export offline bundle.

  • +
+
+
+
+ +
+
+class ExportType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Software.ExportType class defines the formats in which software +specification document or image can be exported.

+
+

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 the ExportType instance.

+
+
+
+
+ISO_IMAGE = ExportType(string='ISO_IMAGE')
+

Export ISO image.

+
+ +
+
+OFFLINE_BUNDLE = ExportType(string='OFFLINE_BUNDLE')
+

Export offline bundle.

+
+ +
+
+SOFTWARE_SPEC = ExportType(string='SOFTWARE_SPEC')
+

Export software specification document.

+
+ +
+ +
+
+class Status(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Software.Status class defines the status result for a particular +check.

+
+

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 the Status instance.

+
+
+
+
+ERROR = Status(string='ERROR')
+

The check indicates an error.

+
+ +
+
+OK = Status(string='OK')
+

The check indicates a success.

+
+ +
+
+TIMEOUT = Status(string='TIMEOUT')
+

The check did not return in a timely manner.

+
+ +
+
+WARNING = Status(string='WARNING')
+

The check indicates a warning.

+
+ +
+ +
+
+apply_task(cluster, spec)
+

Applies the desired software document associated with the given cluster +to hosts within the cluster. If commit attribute is set, +it implies the minimum commit that the Software.apply() method +should use, however if subsequent commits have been made to the desired +state document the apply method will use the most recent desired state +document. 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.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • spec (Software.ApplySpec) – Apply specification.

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +If the cluster is already at specified commit as described in the +apply specification.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is an unknown internal error or if the EULA has not been +accepted. The accompanying error message will give more details +about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the commit attribute of spec specifies an invalid +commit, or the hosts attribute of spec specifies an invalid +host or a host not part of the cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +If there is another operation in progress.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system or +if desired software document is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.TimedOut +If the operation times out.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
+
+ +
+
+check_task(cluster, spec)
+

Runs checks on the cluster before applying the desired software +document across all hosts in the cluster. Checks if all hosts in the +cluster are in a good state to be updated with the desired software +document. If commit attribute is set it implies the +minimum commit that the check method should use, however if subsequent +commits have been made to the desired state document the check method +will use the most recent desired state document. 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.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • spec (Software.CheckSpec) – Check specification.

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the commit attribute of spec specifies an invalid +commit, or the hosts attribute of spec specifies an invalid +host or a host not part of the cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +If there is another operation in progress or if the commit +attribute of spec specifies a commit that has already been +applied.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.TimedOut +If the operation times out.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
+
+ +
+
+export(cluster, spec)
+

Exports the desired software specification document and/or image. This +API will not export the solution section of the desired software +specification.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • spec (Software.ExportSpec) –

  • +
+
+
Return type
+

dict of Software.ExportType and str

+
+
Returns
+

A map from export type to URL of the exported data for that type.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is am unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system or +if desired software document is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
+
+
+
+ +
+
+get(cluster)
+

Returns the complete desired software specification.

+
+
Parameters
+

cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

com.vmware.esx.settings_client.SoftwareInfo

+
+
Returns
+

Cluster software specification.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires +VcIntegrity.lifecycleSoftwareSpecification.Read.

  • +
+
+
+
+ +
+
+scan_task(cluster)
+

Scans all the hosts in the cluster against the cluster’s desired state. +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.

+
+
Parameters
+

cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no cluster associated with cluster in the system or +if desired software document is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.clusters_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.esx.settings.defaults_client module

+

The com.vmware.esx.settings.defaults_client module provides classes to +manage defaults that affect management of desired state configuration and +software for ESXi clusters and hosts.

+
+
+class com.vmware.esx.settings.defaults_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.esx.settings.depot_content_client module

+

The com.vmware.esx.settings.depot_content_client module provides classes to +retrieve contents from the depot.

+
+
+class com.vmware.esx.settings.depot_content_client.AddOns(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The AddOns class provides methods to get OEM add-ons from the sync’ed +and imported depots.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class AddOnVersionSummary(version=None, display_version=None, summary=None, category=None, kb=None, release_date=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The AddOns.AddOnVersionSummary class defines the summary information +regarding a version of an OEM add-on.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • version (str) – Version of the OEM add-on.

  • +
  • display_version (str) – Human readable version of the OEM add-on.

  • +
  • summary (str) – Summary of the OEM add-on version.

  • +
  • category (AddOns.CategoryType) – Category of the OEM add-on version.

  • +
  • kb (str) – Link to kb article related to this the OEM add-on version.

  • +
  • release_date (datetime.datetime) – Release date of the OEM add-on version.

  • +
+
+
+
+ +
+
+class CategoryType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The AddOns.CategoryType class defines possible values of categories for +a OEM add-on.

+
+

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 the CategoryType instance.

+
+
+
+
+BUGFIX = CategoryType(string='BUGFIX')
+

Bugfix

+
+ +
+
+ENHANCEMENT = CategoryType(string='ENHANCEMENT')
+

Enhancement

+
+ +
+
+SECURITY = CategoryType(string='SECURITY')
+

Security

+
+ +
+ +
+
+class FilterSpec(vendors=None, names=None, versions=None, min_version=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The AddOns.FilterSpec class contains attributes used to filter the +results when listing OEM add-ons, see AddOns.list()).

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • vendors (set of str or None) – Vendors that an add-on must have to match the filter. +If None or empty, add-ons from any vendor will match the filter.

  • +
  • names (set of str or None) – Names that an add-on must have to match the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.esx.settings.add_on. When methods return a value of +this class as a return value, the attribute will contain +identifiers for the resource type: +com.vmware.esx.settings.add_on. +If None or empty, add-ons with any name will match the filter.

  • +
  • versions (set of str or None) – Versions that an add-on must have to match the filter. +If None or empty, add-ons with any version will match the filter.

  • +
  • min_version (str or None) – Minimum version of an add-on that can match the filter. +If set, only OEM add-ons with version greater than or +equal to this will be returned.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.esx.settings.add_on'
+

Resource type for add-on resource

+
+ +
+
+class Summary(name=None, display_name=None, vendor=None, versions=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The AddOns.Summary class defines the summary information regarding a +OEM add-on.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Name of the OEM add-on. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.settings.add_on. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.esx.settings.add_on.

  • +
  • display_name (str) – Display name of the OEM add-on.

  • +
  • vendor (str) – Vendor of the OEM add-on.

  • +
  • versions (list of AddOns.AddOnVersionSummary) – Summary information about the versions of this addon. These are +sorted by the version.

  • +
+
+
+
+ +
+
+list(filter=None)
+

Returns a list of currently available OEM add-ons in the depot.

+
+
Parameters
+

filter (AddOns.FilterSpec or None) – The specification of matching OEM add-ons. +If None, the behavior is equivalent to a AddOns.FilterSpec +with all attributes None, which means all OEM add-ons match the +filter.

+
+
Return type
+

list of AddOns.Summary

+
+
Returns
+

List of OEM add-ons in the depot.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires VcIntegrity.lifecycleSettings.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.depot_content_client.BaseImages(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The BaseImages class provides methods to get base-images from the +sync’ed and imported depots.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CategoryType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The BaseImages.CategoryType class defines possible values of categories +for a base-image.

+
+

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 the CategoryType instance.

+
+
+
+
+BUGFIX = CategoryType(string='BUGFIX')
+

Bugfix

+
+ +
+
+ENHANCEMENT = CategoryType(string='ENHANCEMENT')
+

Enhancement

+
+ +
+
+SECURITY = CategoryType(string='SECURITY')
+

Security

+
+ +
+ +
+
+class FilterSpec(min_version=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The BaseImages.FilterSpec class contains attributes used to filter the +results when listing base-images, see BaseImages.list()).

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

min_version (str or None) – Minimum version of a base-image that can match the filter. +If set, only base-images with version greater than or +equal to this version will be returned.

+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.esx.settings.base_image'
+

Resource type for add-on resource

+
+ +
+
+class Summary(display_name=None, version=None, display_version=None, summary=None, category=None, kb=None, release_date=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The BaseImages.Summary class defines the summary information regarding +a base-image.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • display_name (str) – Display name of the base-image.

  • +
  • version (str) – Version of the base-image. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.settings.base_image. When methods return a value +of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.esx.settings.base_image.

  • +
  • display_version (str) – Human readable version of the base-image.

  • +
  • summary (str) – Summary of the base-image.

  • +
  • category (BaseImages.CategoryType) – Category of the base-image.

  • +
  • kb (str) – Link to kb article related to this the base-image.

  • +
  • release_date (datetime.datetime) – Release date of the base-image.

  • +
+
+
+
+ +
+
+list(filter=None)
+

Returns a list of currently available base-images in the depot.

+
+
Parameters
+

filter (BaseImages.FilterSpec or None) – The specification of matching base-images. +If None, the behavior is equivalent to a +BaseImages.FilterSpec with all attributes None, which +means all base-images match the filter.

+
+
Return type
+

list of BaseImages.Summary

+
+
Returns
+

List of base-images in the depot. These will be sorted by the +version of the base-image.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires VcIntegrity.lifecycleSettings.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.depot_content_client.Components(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Components class provides methods to get Components from the +sync’ed and imported depots.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CategoryType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Components.CategoryType class defines possible values of categories +for a component.

+
+

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 the CategoryType instance.

+
+
+
+
+BUGFIX = CategoryType(string='BUGFIX')
+

Bugfix

+
+ +
+
+ENHANCEMENT = CategoryType(string='ENHANCEMENT')
+

Enhancement

+
+ +
+
+GENERAL = CategoryType(string='GENERAL')
+

General

+
+ +
+
+INFO = CategoryType(string='INFO')
+

Info

+
+ +
+
+MISC = CategoryType(string='MISC')
+

Misc

+
+ +
+
+RECALL = CategoryType(string='RECALL')
+

Recall

+
+ +
+
+RECALL_FIX = CategoryType(string='RECALL_FIX')
+

Recall-fix

+
+ +
+
+SECURITY = CategoryType(string='SECURITY')
+

Security

+
+ +
+ +
+
+class ComponentBundleType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Components.ComponentBundleType class defines possible ways +components are bundled.

+
+

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 the ComponentBundleType instance.

+
+
+
+
+ADD_ON = ComponentBundleType(string='ADD_ON')
+

Components bundled in add-ons

+
+ +
+
+BASE_IMAGE = ComponentBundleType(string='BASE_IMAGE')
+

Components bundled in base-images

+
+ +
+
+INDEPENDENT = ComponentBundleType(string='INDEPENDENT')
+

Components not bundled in base-images or add-ons

+
+ +
+ +
+
+class ComponentVersionSummary(version=None, display_version=None, summary=None, category=None, urgency=None, kb=None, release_date=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Components.ComponentVersionSummary class defines the summary +information regarding a version of a component.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • version (str) – Version of the component.

  • +
  • display_version (str) – Human readable version of the component.

  • +
  • summary (str) – Summary of the component version.

  • +
  • category (Components.CategoryType) – Category of the component version.

  • +
  • urgency (Components.UrgencyType) – Urgency of the component version.

  • +
  • kb (str) – Link to kb article related to this the component version.

  • +
  • release_date (datetime.datetime) – Release date of the component version.

  • +
+
+
+
+ +
+
+class FilterSpec(vendors=None, names=None, versions=None, min_version=None, bundle_types=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Components.FilterSpec class contains attributes used to filter the +results when listing components, see Components.list()).

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • vendors (set of str or None) – Vendors that a component must have to match the filter. +If None or empty, components with any vendor name match the filter.

  • +
  • names (set of str or None) – Names that a component must have to match the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.esx.settings.component. When methods return a value +of this class as a return value, the attribute will contain +identifiers for the resource type: +com.vmware.esx.settings.component. +If None or empty, components with any name will match the filter.

  • +
  • versions (set of str or None) – Versions that a component must have to match the filter. +If None or empty, components with any version will match the +filter.

  • +
  • min_version (str or None) – Minimum version of the component that can match the filter. +If set, only components with version greater than or equal +to the given version match the filter.

  • +
  • bundle_types (set of Components.ComponentBundleType or None) – Component bundle types that a component must have to match the +filter. +If None or empty, all components will match the filter.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.esx.settings.component'
+

Resource type for add-on resource

+
+ +
+
+class Summary(name=None, display_name=None, vendor=None, versions=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Components.Summary class defines the summary information regarding +a component.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Name of the Component. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.settings.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.esx.settings.component.

  • +
  • display_name (str) – Display name of the component.

  • +
  • vendor (str) – Vendor of the component.

  • +
  • versions (list of Components.ComponentVersionSummary) – Summary information about the versions of this component. These are +sorted by the version.

  • +
+
+
+
+ +
+
+class UrgencyType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Components.UrgencyType class defines possible values of urgencies +for a component.

+
+

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 the UrgencyType instance.

+
+
+
+
+CRITICAL = UrgencyType(string='CRITICAL')
+

Critical

+
+ +
+
+GENERAL = UrgencyType(string='GENERAL')
+

General

+
+ +
+
+IMPORTANT = UrgencyType(string='IMPORTANT')
+

Important

+
+ +
+
+LOW = UrgencyType(string='LOW')
+

Low

+
+ +
+
+MODERATE = UrgencyType(string='MODERATE')
+

Moderate

+
+ +
+ +
+
+list(filter=None)
+

Returns a list of currently available components in the depot.

+
+
Parameters
+

filter (Components.FilterSpec or None) – The specification of matching components. +If None, the behavior is equivalent to a +Components.FilterSpec with all attributes None, which +means ALL components match the filter.

+
+
Return type
+

list of Components.Summary

+
+
Returns
+

List of components in the depot.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires VcIntegrity.lifecycleSettings.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.depot_content_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.esx.settings.depots_client module

+

The com.vmware.esx.settings.depots_client module provides classes to manage +VUM compatible ESX Depots.

+
+
+class com.vmware.esx.settings.depots_client.Offline(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Offline class provides methods to manage Offline Software Depots +used during ESX lifecycle management.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateResult(depot=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Offline.CreateResult class defines the result information for a new +Offline Depot.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

depot (str) – ID of the Offline Depot. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.settings.depots.offline. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.esx.settings.depots.offline.

+
+
+
+ +
+
+class CreateSpec(description=None, source_type=None, location=None, file_id=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Offline.CreateSpec class defines the information used to create a +depot.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • description (str or None) – Description of the depot. +If None, the description will be empty.

  • +
  • source_type (Offline.SourceType) – Type of the source from which offline bundle is obtained.

  • +
  • location (str) – Location of the depot from which content should be retrieved. +This attribute is optional and it is only relevant when the value +of sourceType is Offline.SourceType.PULL.

  • +
  • file_id (str) – File identifier returned by the file upload endpoint after file is +uploaded. +This attribute is optional and it is only relevant when the value +of sourceType is Offline.SourceType.PUSH.

  • +
+
+
+
+ +
+
+class Info(description=None, source_type=None, location=None, file_id=None, create_time=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Offline.Info class defines the information regarding an Offline +Depot.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • description (str) – Description of the Depot. If not set during import, it will be +empty.

  • +
  • source_type (Offline.SourceType) – Type of the source from which Offline Depot is obtained.

  • +
  • location (str) – Location of the depot from which content is retrieved. +This attribute is optional and it is only relevant when the value +of sourceType is Offline.SourceType.PULL.

  • +
  • file_id (str) – File identifier returned by the file upload endpoint after file is +uploaded. +This attribute is optional and it is only relevant when the value +of sourceType is Offline.SourceType.PUSH.

  • +
  • create_time (datetime.datetime) – Time when the depot was created.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.esx.settings.depots.offline'
+

Resource type for depots resource

+
+ +
+
+class SourceType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Offline.SourceType class defines possible values of sources for the +offline depot.

+
+

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 the SourceType instance.

+
+
+
+
+PULL = SourceType(string='PULL')
+

Content is pulled from the URL location. The URL scheme of the value in +{\@link #pullLocation) can be http, https or file.

+
+ +
+
+PUSH = SourceType(string='PUSH')
+

Content was previously uploaded using the file upload enpoint present on +vCenter appliance. This endpoint is present at +https://VCENTERFQDN:9087/vum-fileupload URL.

+
+ +
+ +
+
+class Summary(description=None, source_type=None, location=None, file_id=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Offline.Summary class defines the summary information regarding an +Offline Depot.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • description (str) – Description of the Depot. If not set during import, it will be +empty.

  • +
  • source_type (Offline.SourceType) – Type of the source from which Offline Depot is obtained.

  • +
  • location (str) – Location of the depot from which content is retrieved. +This attribute is optional and it is only relevant when the value +of sourceType is Offline.SourceType.PULL.

  • +
  • file_id (str) – File identifier returned by the file upload endpoint after file is +uploaded. +This attribute is optional and it is only relevant when the value +of sourceType is Offline.SourceType.PUSH.

  • +
+
+
+
+ +
+
+create_task(spec)
+

Imports a new offline software depot. This will also import the +metadata and payloads from this offline depot. The returned task will +fail and no Offline Depot would be created if there are any issues +during import. 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.

+
+
Parameters
+

spec (Offline.CreateSpec) – Depot specification to import an offline depot.

+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If an invalid pullLocation is provided.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +If the depot content of CreateSpec already exists. The value of +the data attribute of +com.vmware.vapi.std.errors_client.Error will be a class +that contains existing depot content id as part of depot attribute +defined in Offline.CreateResult.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
+
+ +
+
+delete(depot)
+

Removes a depot from the list of imported offline software depots.

+
+
Parameters
+

depot (str) – Identifier of the depot to be removed. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.depots.offline.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no depot associated with parameter depot in the +system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSettings.Write.

  • +
+
+
+
+ +
+
+get(depot)
+

Gets the information about an imported offline software depot.

+
+
Parameters
+

depot (str) – Identifier for the depot. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.depots.offline.

+
+
Return type
+

Offline.Info

+
+
Returns
+

Information about the imported offline software depot.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no depot with given identifier depot in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires VcIntegrity.lifecycleSettings.Read.

  • +
+
+
+
+ +
+
+list()
+

Returns currently imported offline software depots.

+
+
Return type
+

dict of str and Offline.Summary

+
+
Returns
+

Map of currently imported offline software depots keyed by their +identifier. +The key in the return value dict will be an identifier for +the resource type: com.vmware.esx.settings.depots.offline.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires VcIntegrity.lifecycleSettings.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.depots_client.Online(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Online class provides methods to manage Online Software Depots used +during ESX lifecycle management.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(description=None, location=None, enabled=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Online.CreateSpec class defines the information used to create a +depot.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • description (str or None) – Description of the Depot. +If None, the description will be empty.

  • +
  • location (str) – Location of the Depot. It should be the location to the index.xml +for that depot.

  • +
  • enabled (bool or None) – Flag indicating whether this depot is enabled or not. Disabling the +depot doesn’t delete its cached metadata and payloads. It will not +be refreshed next time depots are re-synced. +If None the depot will be enabled.

  • +
+
+
+
+ +
+
+class Info(description=None, location=None, enabled=None, system_defined=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Online.Info class defines the information regarding a Depot.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • description (str) – Description of the Depot. It will be an empty string if no +description was provided during create.

  • +
  • location (str) – Location of the Depot.

  • +
  • enabled (bool) – Flag indicating whether this depot is enabled or not.

  • +
  • system_defined (bool) – Flag to indicate if the depot is system defined. System defined +depot can not be deleted.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.esx.settings.depots.online'
+

Resource type for depots resource

+
+ +
+
+class Summary(description=None, location=None, enabled=None, system_defined=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Online.Summary class defines the summary information regarding a +Depot.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • description (str) – Description of the Depot. It will be an empty string if no +description was provided during create.

  • +
  • location (str) – Location of the Depot.

  • +
  • enabled (bool) – Flag indicating whether this depot is enabled or not.

  • +
  • system_defined (bool) – Flag to indicate if the depot is system defined. System defined +depot can not be deleted.

  • +
+
+
+
+ +
+
+class UpdateSpec(enabled=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Online.UpdateSpec class defines the information used to update the +depot.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • enabled (bool or None) – Flag indicating whether this depot is enabled or not. Disabling the +depot doesn’t delete its cached metadata and payloads. It will not +be refreshed next time depots are re-synced. +If None, enabled flag is not updated.

  • +
  • description (str or None) – Description of the Depot. +If None, description is not updated.

  • +
+
+
+
+ +
+
+create(spec)
+

Adds a new online software depot to the list of currently configured +online software depots.

+
+
Parameters
+

spec (Online.CreateSpec) – Depot information.

+
+
Return type
+

str

+
+
Returns
+

Identifier of the currently configured online software depot. +The return value will be an identifier for the resource type: +com.vmware.esx.settings.depots.online.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If an invalid location is provided.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if depot with given location already exists.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSettings.Write.

  • +
+
+
+
+ +
+
+delete(depot)
+

Removes a depot from the list of currently configured online software +depots. It will not remove the downloaded metadata and payloads from +that depot.

+
+
Parameters
+

depot (str) – Identifier of the depot to be removed. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.depots.online.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If given depot is system defined.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no depot associated with depot in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSettings.Write.

  • +
+
+
+
+ +
+
+get(depot)
+

Gets the information about a currently configured online software +depot.

+
+
Parameters
+

depot (str) – Identifier for the depot. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.depots.online.

+
+
Return type
+

Online.Info

+
+
Returns
+

Information of the currently configured online software depot.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no depot with given identifier depot in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires VcIntegrity.lifecycleSettings.Read.

  • +
+
+
+
+ +
+
+list()
+

Returns a list of currently configured online software depots.

+
+
Return type
+

dict of str and Online.Summary

+
+
Returns
+

Map of currently configured online software depots keyed by their +identifiers. +The key in the return value dict will be an identifier for +the resource type: com.vmware.esx.settings.depots.online.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires VcIntegrity.lifecycleSettings.Read.

  • +
+
+
+
+ +
+
+update(depot, spec)
+

Updates the configuration of a currently configured online software +depot.

+
+
Parameters
+
    +
  • depot (str) – Identifier of the depot to be updated. +The parameter must be an identifier for the resource type: +com.vmware.esx.settings.depots.online.

  • +
  • spec (Online.UpdateSpec) – Update specification.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If given depot is system defined.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no depot associated with parameter depot in the +system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSettings.Write.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.depots_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.esx.settings.depots_client.SyncSchedule(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The SyncSchedule class provides methods to manage Schedule of Online +Software Depot sync.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class DayOfWeek(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The SyncSchedule.DayOfWeek class contains the supported days of the +week.

+
+

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 the DayOfWeek instance.

+
+
+
+
+FRIDAY = DayOfWeek(string='FRIDAY')
+

Friday.

+
+ +
+
+MONDAY = DayOfWeek(string='MONDAY')
+

Monday.

+
+ +
+
+SATURDAY = DayOfWeek(string='SATURDAY')
+

Saturday.

+
+ +
+
+SUNDAY = DayOfWeek(string='SUNDAY')
+

Sunday.

+
+ +
+
+THURSDAY = DayOfWeek(string='THURSDAY')
+

Thursday.

+
+ +
+
+TUESDAY = DayOfWeek(string='TUESDAY')
+

Tuesday.

+
+ +
+
+WEDNESDAY = DayOfWeek(string='WEDNESDAY')
+

Wednesday.

+
+ +
+ +
+
+class Recurrence(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The SyncSchedule.Recurrence class contains the supported values for how +often to sync from online or UMDS depots.

+
+

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 the Recurrence instance.

+
+
+
+
+DAILY = Recurrence(string='DAILY')
+

Daily.

+
+ +
+
+HOURLY = Recurrence(string='HOURLY')
+

Hourly.

+
+ +
+
+MONTHLY_BY_DAY = Recurrence(string='MONTHLY_BY_DAY')
+

Monthly by day.

+
+ +
+
+WEEKLY = Recurrence(string='WEEKLY')
+

Weekly.

+
+ +
+ +
+
+class Schedule(type=None, skip=None, minute=None, hour=None, day_of_month=None, day_of_week=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The SyncSchedule.Schedule class defines a schedule.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class Spec(enabled=None, schedule=None, email_addresses=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The SyncSchedule.Spec class defines the information regarding the sync +schedule.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • enabled (bool) – Flag indicating whether automatic sync is enabled or not

  • +
  • schedule (SyncSchedule.Schedule or None) – The schedule to check for new updates. +If None the schedule must be disabled.

  • +
  • email_addresses (list of str) – Email addresses to which the notification will be sent. If empty, +no notification is sent.

  • +
+
+
+
+ +
+
+get()
+

Returns the currently configured software depot sync schedule.

+
+
Return type
+

SyncSchedule.Spec

+
+
Returns
+

Currently configured sync schedule.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown error. The accompanying error message will +give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires VcIntegrity.lifecycleSettings.Read.

  • +
+
+
+
+ +
+
+set(spec=None)
+

Sets the software depot sync schedule.

+
+
Parameters
+

spec (SyncSchedule.Spec or None) – Information of the software depot sync schedule. +If None, it will be reset to the default schedule, which is daily +at a random hour chosen when this API is called.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If SyncSchedule.Spec.schedule is unset while +SyncSchedule.Spec.enabled is set to true or if any of the +values is not within valid range.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown error. The accompanying error message will +give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSettings.Write.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.depots_client.Umds(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Umds class provides methods to manage VMware vSphere Update Manager +Download Service (UMDS) software depots used during ESX lifecycle +management. This is the depot downloaded using UMDS.

+

If a UMDS depot is specified then online depots are ignored and data is +downloaded only from the UMDS depot.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(description=None, enabled=None, location=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Umds.Info class defines the information regarding an UMDS Depot.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • description (str) – Description of the Depot. It will be an empty string if no +description was provided during create.

  • +
  • enabled (bool) – Flag indicating whether or not this depot is enabled.

  • +
  • location (str) – Location of the Depot.

  • +
+
+
+
+ +
+
+class SetSpec(description=None, enabled=None, location=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Umds.SetSpec class defines the information of an UMDS depot.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • description (str or None) – Description of the Depot. +If None, the description will be empty.

  • +
  • enabled (bool or None) – Flag indicating whether or not this depot should be enabled. +Disabling the depot doesn’t delete its cached metadata and +payloads. It will not be refreshed next time depots are re-synced. +If None the depot will be enabled.

  • +
  • location (str) – Location of the Depot. It should be the location to the index.xml +for that depot.

  • +
+
+
+
+ +
+
+class UpdateSpec(enabled=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Umds.UpdateSpec class defines the information used to update the +UMDS depot.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • enabled (bool or None) – Flag indicating whether or not this depot is enabled. Disabling the +depot doesn’t delete its cached metadata and payloads. It will not +be refreshed next time depots are re-synced. +If None, the enabled flag is not updated.

  • +
  • description (str or None) – Description of the Depot. +If None, the description is not updated.

  • +
+
+
+
+ +
+
+delete()
+

Removes the configured UMDS software depot. It will not remove the +downloaded metadata and payloads from that depot.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no UMDS software depot set.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSettings.Write.

  • +
+
+
+
+ +
+
+get()
+

Gets the information about a currently configured UMDS software depot.

+
+
Return type
+

Umds.Info

+
+
Returns
+

Information of the currently configured UMDS software depot.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no UMDS software depot set.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires VcIntegrity.lifecycleSettings.Read.

  • +
+
+
+
+ +
+
+set(spec)
+

Sets or overwrites information about an UMDS software depot.

+
+
Parameters
+

spec (Umds.SetSpec) –

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If an invalid location is provided.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSettings.Write.

  • +
+
+
+
+ +
+
+update(spec)
+

Updates the configuration of a currently configured UMDS software +depot.

+
+
Parameters
+

spec (Umds.UpdateSpec) – Update specification.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no UMDS depot configured.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +VcIntegrity.lifecycleSettings.Write.

  • +
+
+
+
+ +
+ +
+
+

com.vmware.esx.settings.hosts_client module

+

The com.vmware.esx.settings.hosts_client module provides classes to manage +desired state configuration and software for a standalone ESX host.

+
+
+class com.vmware.esx.settings.hosts_client.Software(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Software class provides methods to manage desired software +specification of a standalone ESX host.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+scan_task(host)
+

Scans the host against the host’s desired state.. 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.

+
+
Parameters
+

host (str) – Identifier of the host. +The parameter must be an identifier for the resource type: +HostSystem.

+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is unknown internal error. The accompanying error message +will give more details about the failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no host associated with host in the system or if +desired software document is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the service is not available.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +If the host is not a standlone host, but instead part of a cluster.

+
+
+
+ +
+ +
+
+class com.vmware.esx.settings.hosts_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.html b/vsphere/7.0.0.1/com.vmware.html new file mode 100644 index 00000000..297bd5fd --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.html @@ -0,0 +1,12557 @@ + + + + + + + + + + + com.vmware package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware package

+
+

Subpackages

+
+ +
+
+
+

Submodules

+
+
+

com.vmware.appliance_client module

+

The com.vmware.appliance_client module provides classes for managing +vCenter Appliance configuration. The module is available starting in vSphere +6.7.

+
+
+class com.vmware.appliance_client.Health(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Health class provides methods to retrieve the appliance health +information. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+messages(item)
+

Get health messages. This method was added in vSphere API 6.7.

+
+
Parameters
+

item (str) – ID of the data item +The parameter must be an identifier for the resource type: +com.vmware.appliance.health.

+
+
Return type
+

list of Notification

+
+
Returns
+

List of the health messages

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +Unknown health item

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance_client.LocalAccounts(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The LocalAccounts class provides methods to manage local user account. +This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Config(password=None, old_password=None, full_name=None, email=None, roles=None, enabled=None, password_expires=None, password_expires_at=None, inactive_after_password_expiration=None, days_after_password_expiration=None, min_days_between_password_change=None, max_days_between_password_change=None, warn_days_before_password_expiration=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LocalAccounts.Config class defines the information required for the +account. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • password (str) – Password. This attribute was added in vSphere API 6.7.

  • +
  • old_password (str or None) – Old password of the user (required in case of the password change, +not required if superAdmin user changes the password of the other +user). This attribute was added in vSphere API 6.7. +If None, user may not have password set.

  • +
  • full_name (str or None) – Full name of the user. This attribute was added in vSphere API 6.7. +If None, user will have no fullname.

  • +
  • email (str or None) – Email address of the local account. This attribute was added in +vSphere API 6.7. +If None, user will have no email.

  • +
  • roles (list of str) – User roles. This attribute was added in vSphere API 6.7. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.appliance.roles. When methods return a value of this +class as a return value, the attribute will contain identifiers for +the resource type: com.vmware.appliance.roles.

  • +
  • enabled (bool or None) – Flag indicating if the account is enabled. This attribute was added +in vSphere API 6.7. +If None, defaults to True

  • +
  • password_expires (bool or None) – Flag indicating if the account password expires. This attribute was +added in vSphere API 6.7. +If None, defaults to True.

  • +
  • password_expires_at (datetime.datetime or None) – Date when the account’s password will expire. This attribute was +added in vSphere API 6.7. +If None, will be taken from system defaults (see +local-accounts/policy).

  • +
  • inactive_after_password_expiration (bool or None) – Flag indicating if the account will be locked after password +expiration. This attribute was added in vSphere API 6.7. +If None, defaults to True.

  • +
  • days_after_password_expiration (long or None) – Number of days after password expiration before the account will be +locked. This attribute was added in vSphere API 6.7. +If None, will be taken from system defaults (see +local-accounts/policy).

  • +
  • min_days_between_password_change (long or None) – Minimum number of days between password change. This attribute was +added in vSphere API 6.7. +If None, will be taken from system defaults (see +local-accounts/policy).

  • +
  • max_days_between_password_change (long or None) – Maximum number of days between password change. This attribute was +added in vSphere API 6.7. +If None, will be taken from system defaults (see +local-accounts/policy).

  • +
  • warn_days_before_password_expiration (long or None) – Number of days of warning before password expires. This attribute +was added in vSphere API 6.7. +If None, will be taken from system defaults (see +local-accounts/policy).

  • +
+
+
+
+ +
+
+class Info(fullname=None, email=None, roles=None, enabled=None, has_password=None, last_password_change=None, password_expires_at=None, inactive_at=None, min_days_between_password_change=None, max_days_between_password_change=None, warn_days_before_password_expiration=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LocalAccounts.Info class defines the local account properties. This +class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • fullname (str or None) – Full name of the user. This attribute was added in vSphere API 6.7. +If None, the value was never set.

  • +
  • email (str or None) – Email address of the local account. This attribute was added in +vSphere API 6.7. +If None, the value was never set.

  • +
  • roles (list of str) – User roles. This attribute was added in vSphere API 6.7. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.appliance.roles. When methods return a value of this +class as a return value, the attribute will contain identifiers for +the resource type: com.vmware.appliance.roles.

  • +
  • enabled (bool) – Flag indicating if the account is enabled. This attribute was added +in vSphere API 6.7.

  • +
  • has_password (bool) – Is the user password set. This attribute was added in vSphere API +6.7.

  • +
  • last_password_change (datetime.datetime or None) – Date and time password was changed. This attribute was added in +vSphere API 6.7. +If None, the password was never set.

  • +
  • password_expires_at (datetime.datetime or None) – Date when the account’s password will expire. This attribute was +added in vSphere API 6.7. +If None, the password never expires.

  • +
  • inactive_at (datetime.datetime or None) – Date and time account will be locked after password expiration. +This attribute was added in vSphere API 6.7. +If None, account will not be locked.

  • +
  • min_days_between_password_change (long or None) – Minimum number of days between password change. This attribute was +added in vSphere API 6.7. +If None, pasword can be changed any time.

  • +
  • max_days_between_password_change (long or None) – Maximum number of days between password change. This attribute was +added in vSphere API 6.7. +If None, password never expires.

  • +
  • warn_days_before_password_expiration (long or None) – Number of days of warning before password expires. This attribute +was added in vSphere API 6.7. +If None, a user is never warned.

  • +
+
+
+
+ +
+
+class UpdateConfig(password=None, old_password=None, full_name=None, email=None, roles=None, enabled=None, password_expires=None, password_expires_at=None, inactive_after_password_expiration=None, days_after_password_expiration=None, min_days_between_password_change=None, max_days_between_password_change=None, warn_days_before_password_expiration=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LocalAccounts.UpdateConfig class defines the fields that might be +updated. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • password (str or None) – Password. This attribute was added in vSphere API 6.7. +If None, value will not be changed

  • +
  • old_password (str or None) – Old password of the user (required in case of the password change, +not required if superAdmin user changes the password of the other +user). This attribute was added in vSphere API 6.7. +If None, user may not have password set.

  • +
  • full_name (str or None) – Full name of the user. This attribute was added in vSphere API 6.7. +If None, value will not be changed

  • +
  • email (str or None) – Email address of the local account. This attribute was added in +vSphere API 6.7. +If None, value will not be changed

  • +
  • roles (list of str or None) – User roles. This attribute was added in vSphere API 6.7. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.appliance.roles. When methods return a value of this +class as a return value, the attribute will contain identifiers for +the resource type: com.vmware.appliance.roles. +If None, value will not be changed

  • +
  • enabled (bool or None) – Flag indicating if the account is enabled. This attribute was added +in vSphere API 6.7. +If None, value will not be changed

  • +
  • password_expires (bool or None) – Flag indicating if the account password expires. This attribute was +added in vSphere API 6.7. +If None, value will not be changed

  • +
  • password_expires_at (datetime.datetime or None) – Date when the account’s password will expire. This attribute was +added in vSphere API 6.7. +If None, value will not be changed

  • +
  • inactive_after_password_expiration (bool or None) – Flag indicating if the account will be locked after password +expiration. This attribute was added in vSphere API 6.7. +If None, value will not be changed

  • +
  • days_after_password_expiration (long or None) – Number of days after password expiration before the account will be +locked. This attribute was added in vSphere API 6.7. +If None, value will not be changed

  • +
  • min_days_between_password_change (long or None) – Minimum number of days between password change. This attribute was +added in vSphere API 6.7. +If None, value will not be changed

  • +
  • max_days_between_password_change (long or None) – Maximum number of days between password change. This attribute was +added in vSphere API 6.7. +If None, value will not be changed

  • +
  • warn_days_before_password_expiration (long or None) – Number of days of warning before password expires. This attribute +was added in vSphere API 6.7. +If None, value will not be changed

  • +
+
+
+
+ +
+
+create(username, config)
+

Create a new local user account. This method was added in vSphere API +6.7.

+
+
Parameters
+
    +
  • username (str) – User login name +The parameter must be an identifier for the resource type: +com.vmware.appliance.local_accounts.

  • +
  • config (LocalAccounts.Config) – User configuration

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +If an account already exists

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If a username is invalid (username is validated against +[a-zA-Z0-9][a-zA-Z0-9-.\@]*[a-zA-Z0-9] pattern)

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+delete(username)
+

Delete a local user account. This method was added in vSphere API 6.7.

+
+
Parameters
+

username (str) – User login name +The parameter must be an identifier for the resource type: +com.vmware.appliance.local_accounts.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the account is not found

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+get(username)
+

Get the local user account information. This method was added in +vSphere API 6.7.

+
+
Parameters
+

username (str) – User login name

+
+
Return type
+

LocalAccounts.Info

+
+
Returns
+

Local user account information

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the account is not found

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+list()
+

Get a list of the local user accounts. This method was added in vSphere +API 6.7.

+
+
Return type
+

list of str

+
+
Returns
+

List of identifiers +The return value will contain identifiers for the resource type: +com.vmware.appliance.local_accounts.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+set(username, config)
+

Set local user account properties. This method was added in vSphere API +6.7.

+
+
Parameters
+
    +
  • username (str) – User login name +The parameter must be an identifier for the resource type: +com.vmware.appliance.local_accounts.

  • +
  • config (LocalAccounts.Config) – User configuration

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the account is not found

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+update(username, config)
+

Update selected fields in local user account properties. This method +was added in vSphere API 6.7.

+
+
Parameters
+
    +
  • username (str) – User login name +The parameter must be an identifier for the resource type: +com.vmware.appliance.local_accounts.

  • +
  • config (LocalAccounts.UpdateConfig) – User configuration

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the account is not found

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance_client.Monitoring(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Monitoring class provides methods Get and list monitoring data for +requested item.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class FunctionType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Monitoring.FunctionType class Defines aggregation function

+
+

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 the FunctionType instance.

+
+
+
+
+AVG = FunctionType(string='AVG')
+

Aggregation takes average per period

+
+ +
+
+COUNT = FunctionType(string='COUNT')
+

Aggregation takes count per period (sum)

+
+ +
+
+MAX = FunctionType(string='MAX')
+

Aggregation takes maximums per period

+
+ +
+
+MIN = FunctionType(string='MIN')
+

Aggregation takes minimums per period

+
+ +
+ +
+
+class IntervalType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Monitoring.IntervalType class Defines interval between the values in +hours and mins, for which aggregation will apply

+
+

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 the IntervalType instance.

+
+
+
+
+DAY1 = IntervalType(string='DAY1')
+

24 hours interval between values. One year has 365 values.

+
+ +
+
+HOURS2 = IntervalType(string='HOURS2')
+

Two hours interval between values. One month has 360 values.

+
+ +
+
+HOURS6 = IntervalType(string='HOURS6')
+

Six hour interval between values. One quarter is 360 values.

+
+ +
+
+MINUTES30 = IntervalType(string='MINUTES30')
+

Thirty minutes interval between values. One week is 336 values.

+
+ +
+
+MINUTES5 = IntervalType(string='MINUTES5')
+

Five minutes interval between values (finest). One day would have 288 +values, one week is 2016.

+
+ +
+ +
+
+class MonitoredItem(id=None, name=None, units=None, category=None, instance=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Monitoring.MonitoredItem class Structure representing requested +monitored item data.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) – monitored item ID Ex: CPU, MEMORY +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.appliance.monitoring. 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.monitoring.

  • +
  • name (str) – monitored item name Ex: “Network write speed”

  • +
  • units (str) – Y-axis label EX: “Mbps”, “%”

  • +
  • category (str) – category Ex: network, storage etc

  • +
  • instance (str) – instance name Ex: eth0

  • +
  • description (str) – monitored item description Ex: +com.vmware.applmgmt.mon.descr.net.rx.packetRate.eth0

  • +
+
+
+
+ +
+
+class MonitoredItemData(name=None, interval=None, function=None, start_time=None, end_time=None, data=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Monitoring.MonitoredItemData class Structure representing monitored +item data.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Monitored item IDs Ex: CPU, MEMORY, STORAGE_TOTAL +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.appliance.monitoring. 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.monitoring.

  • +
  • interval (Monitoring.IntervalType) – interval between values in hours, minutes

  • +
  • function (Monitoring.FunctionType) – aggregation function

  • +
  • start_time (datetime.datetime) – Start time in UTC

  • +
  • end_time (datetime.datetime) – End time in UTC

  • +
  • data (list of str) – list of values

  • +
+
+
+
+ +
+
+class MonitoredItemDataRequest(names=None, interval=None, function=None, start_time=None, end_time=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Monitoring.MonitoredItemDataRequest class Structure representing +requested monitored item data.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • names (list of str) – monitored item IDs Ex: CPU, MEMORY +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.appliance.monitoring. When methods return a value of +this class as a return value, the attribute will contain +identifiers for the resource type: +com.vmware.appliance.monitoring.

  • +
  • interval (Monitoring.IntervalType) – interval between values in hours, minutes

  • +
  • function (Monitoring.FunctionType) – aggregation function

  • +
  • start_time (datetime.datetime) – Start time in UTC

  • +
  • end_time (datetime.datetime) – End time in UTC

  • +
+
+
+
+ +
+
+get(stat_id)
+

Get monitored item info

+
+
Parameters
+

stat_id (str) – statistic item id +The parameter must be an identifier for the resource type: +com.vmware.appliance.monitoring.

+
+
Return type
+

Monitoring.MonitoredItem

+
+
Returns
+

MonitoredItem structure

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+list()
+

Get monitored items list

+
+
Return type
+

list of Monitoring.MonitoredItem

+
+
Returns
+

list of names

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+query(item)
+

Get monitoring data.

+
+
Parameters
+

item (Monitoring.MonitoredItemDataRequest) – MonitoredItemDataRequest Structure

+
+
Return type
+

list of Monitoring.MonitoredItemData

+
+
Returns
+

list of MonitoredItemData structure

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance_client.Networking(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Networking class provides methods Get Network configurations. This +class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class ChangeSpec(hostname=None, sso_user=None, sso_password=None, dns=None, ipv4=None, ipv6=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • hostname (str) – New hostname to assign to the management network of vCenter +appliance. This attribute was added in vSphere API 6.7.3.

  • +
  • sso_user (str) – vCenter Server SSO administrator username. This attribute was added +in vSphere API 6.7.3.

  • +
  • sso_password (str) – vCenter Server SSO administrator Password. This attribute was added +in vSphere API 6.7.3.

  • +
  • dns (com.vmware.appliance.networking.dns_client.Servers.DNSServerConfig or None) – DNS Configuration to set for the machine. This attribute was added +in vSphere API 6.7.3. +If None DNS settings will not be changed

  • +
  • ipv4 (com.vmware.appliance.networking.interfaces_client.Ipv4.Config or None) – IPv4 Configuration to set for the machine. This attribute was added +in vSphere API 6.7.3. +If None IPv4 settings will not be changed

  • +
  • ipv6 (com.vmware.appliance.networking.interfaces_client.Ipv6.Config or None) – IPv6 Configuration to set for the machine. This attribute was added +in vSphere API 6.7.3. +If None IPv6 settings will not be changed

  • +
+
+
+
+ +
+
+class DNSInfo(mode=None, hostname=None, servers=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Networking.DNSInfo class contains information about the DNS +configuration of a virtual appliance. This class was added in vSphere API +6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • mode (Networking.DNSInfo.DNSMode) – DNS mode. This attribute was added in vSphere API 6.7.

  • +
  • hostname (str) – Hostname. This attribute was added in vSphere API 6.7.

  • +
  • servers (list of str) – Servers. This attribute was added in vSphere API 6.7.

  • +
+
+
+
+
+class DNSMode(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Networking.DNSInfo.DNSMode class describes the source of DNS +servers. This enumeration was added in vSphere API 6.7.

+
+

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 the DNSMode instance.

+
+
+
+
+DHCP = DNSMode(string='DHCP')
+

The DNS servers addresses are obtained from a DHCP server. This class +attribute was added in vSphere API 6.7.

+
+ +
+
+STATIC = DNSMode(string='STATIC')
+

The DNS servers addresses are specified explicitly. This class attribute +was added in vSphere API 6.7.

+
+ +
+ +
+ +
+
+class Info(dns=None, interfaces=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Networking.Info class contains information about the network +configuration of a virtual appliance. This class was added in vSphere API +6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • dns (Networking.DNSInfo) – DNS configuration. This attribute was added in vSphere API 6.7.

  • +
  • interfaces (dict of str and com.vmware.appliance.networking_client.Interfaces.InterfaceInfo) – Interface configuration as a key-value map where key is a network +interface name, for example, “nic0”. This attribute was added in +vSphere API 6.7. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.appliance.networking.interfaces. When methods +return a value of this class as a return value, the key in the +attribute dict will be an identifier for the resource +type: com.vmware.appliance.networking.interfaces.

  • +
+
+
+
+ +
+
+class UpdateSpec(ipv6_enabled=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Networking.UpdateSpec class describes whether to enable or disable +ipv6 on interfaces. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

ipv6_enabled (bool or None) – IPv6 Enabled or not. This attribute was added in vSphere API 6.7. +If unspecified, leaves the current state of Ipv6.

+
+
+
+ +
+
+change_task(spec)
+

Changes the Hostname/IP of the management network of vCenter appliance. +The Hostname/IP change invokes the PNID change process which involves +LDAP entry modification, updating registry entries, configuration files +modification and network configuration changes. vCenter server is +expected to be down for few minutes during these changes. This method +was added in vSphere API 6.7.3.

+
+
Parameters
+

spec (Networking.ChangeSpec) – Information required to change the hostname.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if it’s not embedded node

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if passed arguments are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if another change task is in progress

+
+
+
+ +
+
+get()
+

Get Networking information for all configured interfaces. This method +was added in vSphere API 6.7.

+
+
Return type
+

Networking.Info

+
+
Returns
+

The Map of network configuration info for all interfaces.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error.

+
+
+
+ +
+
+reset()
+

Reset and restarts network configuration on all interfaces, also this +will renew the DHCP lease for DHCP IP address. This method was added in +vSphere API 6.7.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error.

+
+
+
+ +
+
+update(spec)
+

Enable or Disable ipv6 on all interfaces. This method was added in +vSphere API 6.7.

+
+
Parameters
+

spec (Networking.UpdateSpec) – update spec with optional boolean value

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error.

+
+
+
+ +
+ +
+
+class com.vmware.appliance_client.Notification(id=None, time=None, message=None, resolution=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Notification class describes a notification that can be reported by +the appliance task. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) – The notification id. This attribute was added in vSphere API 6.7.

  • +
  • time (datetime.datetime or None) – The time the notification was raised/found. This attribute was +added in vSphere API 6.7. +Only if the time information is available.

  • +
  • message (com.vmware.vapi.std_client.LocalizableMessage) – The notification message. This attribute was added in vSphere API +6.7.

  • +
  • resolution (com.vmware.vapi.std_client.LocalizableMessage or None) – The resolution message, if any. This attribute was added in vSphere +API 6.7. +Only set for warnings and errors.

  • +
+
+
+
+ +
+
+class com.vmware.appliance_client.Notifications(info=None, warnings=None, errors=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Notifications class contains info/warning/error messages that can +be reported be the appliance task. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • info (list of Notification or None) – Info notification messages reported. This attribute was added in +vSphere API 6.7. +Only set if an info was reported by the appliance task.

  • +
  • warnings (list of Notification or None) – Warning notification messages reported. This attribute was added in +vSphere API 6.7. +Only set if an warning was reported by the appliance task.

  • +
  • errors (list of Notification or None) – Error notification messages reported. This attribute was added in +vSphere API 6.7. +Only set if an error was reported by the appliance task.

  • +
+
+
+
+ +
+
+class com.vmware.appliance_client.Ntp(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Ntp class provides methods Gets NTP configuration status and tests +connection to ntp servers. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class LocalizableMessage(id=None, default_message=None, args=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Ntp.LocalizableMessage class Structure representing message. This class +was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) – id in message bundle. This attribute was added in vSphere API 6.7.

  • +
  • default_message (str) – text in english. This attribute was added in vSphere API 6.7.

  • +
  • args (list of str) – nested data. This attribute was added in vSphere API 6.7.

  • +
+
+
+
+ +
+
+class ServerStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Ntp.ServerStatus class Status of server during test. This enumeration +was added in vSphere API 6.7.

+
+

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 the ServerStatus instance.

+
+
+
+
+SERVER_REACHABLE = ServerStatus(string='SERVER_REACHABLE')
+

Server is reachable. This class attribute was added in vSphere API 6.7.

+
+ +
+
+SERVER_UNREACHABLE = ServerStatus(string='SERVER_UNREACHABLE')
+

Server is unreachable. This class attribute was added in vSphere API 6.7.

+
+ +
+ +
+
+class TestRunStatus(server=None, status=None, message=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Ntp.TestRunStatus class Status of the test. This class was added in +vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • server (str) – Server name associated with the test run. This attribute was added +in vSphere API 6.7.

  • +
  • status (Ntp.ServerStatus) – Server status. This attribute was added in vSphere API 6.7.

  • +
  • message (Ntp.LocalizableMessage) – Message associated with status. This attribute was added in vSphere +API 6.7.

  • +
+
+
+
+ +
+
+get()
+

Get the NTP configuration status. If you run the ‘timesync.get’ +command, you can retrieve the current time synchronization method (NTP- +or VMware Tools-based). The ‘ntp’ command always returns the NTP server +information, even when the time synchronization mode is not set to NTP. +If the time synchronization mode is not NTP-based, the NTP server +status is displayed as down. This method was added in vSphere API 6.7.

+
+
Return type
+

list of str

+
+
Returns
+

List of NTP servers.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+set(servers)
+

Set NTP servers. This method updates old NTP servers from configuration +and sets the input NTP servers in the configuration. If NTP based time +synchronization is used internally, the NTP daemon will be restarted to +reload given NTP configuration. In case NTP based time synchronization +is not used, this method only replaces servers in the NTP +configuration. This method was added in vSphere API 6.7.

+
+
Parameters
+

servers (list of str) – List of host names or ip addresses of ntp servers.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+test(servers)
+

Test the connection to a list of ntp servers. This method was added in +vSphere API 6.7.

+
+
Parameters
+

servers (list of str) – List of host names or IP addresses of NTP servers.

+
+
Return type
+

list of Ntp.TestRunStatus

+
+
Returns
+

List of test run statuses.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance_client.Recovery(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Recovery class provides methods to invoke an appliance recovery +(backup and restore). This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(supported=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Recovery.Info class contains the information about the appliance +recovery environment. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

supported (bool) – Is recovery supported in this appliance. This attribute was added +in vSphere API 6.7.

+
+
+
+ +
+
+get()
+

Gets the properties of the appliance Recovery subsystem. This method +was added in vSphere API 6.7.

+
+
Return type
+

Recovery.Info

+
+
Returns
+

Structure containing the properties of the Recovery subsystem.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any error occurs during the execution of the operation.

+
+
+
+ +
+ +
+
+class com.vmware.appliance_client.Services(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Service class provides methods to manage a single/set of appliance +services. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(description=None, state=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Services.Info class contains information about a service. This +class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • description (str) – Service description. This attribute was added in vSphere API 6.7.

  • +
  • state (Services.State) – Running State. This attribute was added in vSphere API 6.7.

  • +
+
+
+
+ +
+
+class State(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Services.State class defines valid Run State for services. This +enumeration was added in vSphere API 6.7.

+
+

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 the State instance.

+
+
+
+
+STARTED = State(string='STARTED')
+

Service Run State is Started, it is fully functional. This class attribute +was added in vSphere API 6.7.

+
+ +
+
+STARTING = State(string='STARTING')
+

Service Run State is Starting, it is still not functional. This class +attribute was added in vSphere API 6.7.

+
+ +
+
+STOPPED = State(string='STOPPED')
+

Service Run State is Stopped. This class attribute was added in vSphere API +6.7.

+
+ +
+
+STOPPING = State(string='STOPPING')
+

Service Run State is Stopping, it is not functional. This class attribute +was added in vSphere API 6.7.

+
+ +
+ +
+
+get(service)
+

Returns the state of a service. This method was added in vSphere API +6.7.

+
+
Parameters
+

service (str) – identifier of the service whose state is being queried. +The parameter must be an identifier for the resource type: +com.vmware.appliance.services.

+
+
Return type
+

Services.Info

+
+
Returns
+

Service Info structure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the service associated with service does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any other error occurs during the execution of the operation.

+
+
+
+ +
+
+list()
+

Lists details of vCenter services. This method was added in vSphere API +6.7.

+
+
Return type
+

dict of str and Services.Info

+
+
Returns
+

Map of service identifiers to service Info structures. +The key in the return value dict will be an identifier for +the resource type: com.vmware.appliance.services.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any error occurs during the execution of the operation.

+
+
+
+ +
+
+restart(service)
+

Restarts a service. This method was added in vSphere API 6.7.

+
+
Parameters
+

service (str) – identifier of the service to restart +The parameter must be an identifier for the resource type: +com.vmware.appliance.services.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the service associated with service does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.TimedOut +if any timeout occurs during the execution of the restart +operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the operation is denied in the current state of the service. If +a stop or start operation is in progress, issuing a restart +operation will lead to this error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if a restart operation is issued on a service which has startup +type null

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any other error occurs during the execution of the operation.

+
+
+
+ +
+
+start(service)
+

Starts a service. This method was added in vSphere API 6.7.

+
+
Parameters
+

service (str) – identifier of the service to start +The parameter must be an identifier for the resource type: +com.vmware.appliance.services.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the service associated with service does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the operation is denied in the current state of the service. If +a stop or restart operation is in progress, the start operation +will not be allowed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if start operation is issued on a service which has startup type +null.

+
+
Raise
+

com.vmware.vapi.std.errors_client.TimedOut +if any timeout occurs during the execution of the start operation. +Timeout occurs when the service takes longer than StartTimeout to +start.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any other error occurs during the execution of the operation.

+
+
+
+ +
+
+stop(service)
+

Stops a service. This method was added in vSphere API 6.7.

+
+
Parameters
+

service (str) – identifier of the service to stop +The parameter must be an identifier for the resource type: +com.vmware.appliance.services.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the service associated with service does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any other error occurs during the execution of the operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the operation is denied in the current state of the service. If +a stop operation is in progress, issuing another stop operation +will lead to this error.

+
+
+
+ +
+ +
+
+class com.vmware.appliance_client.Shutdown(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Shutdown class provides methods Performs reboot/shutdown operations on +appliance. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class ShutdownConfig(shutdown_time=None, action=None, reason=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Shutdown.ShutdownConfig class Structure that defines shutdown +configuration returned by the Shutdown.get operation. This class was added +in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • shutdown_time (datetime.datetime or None) – Shutdown time. This attribute was added in vSphere API 6.7. +shutdownTime Optional value of pending shutdown time

  • +
  • action (str) – The pending shutdown operation. The string values for pending +operations can be ‘poweroff’, ‘reboot’ or ‘’. This attribute was +added in vSphere API 6.7.

  • +
  • reason (str) – The reason behind the shutdown action. This attribute was added in +vSphere API 6.7.

  • +
+
+
+
+ +
+
+cancel()
+

Cancel pending shutdown action. This method was added in vSphere API +6.7.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+get()
+

Get details about the pending shutdown action. This method was added in +vSphere API 6.7.

+
+
Return type
+

Shutdown.ShutdownConfig

+
+
Returns
+

Configuration of pending shutdown action.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+poweroff(delay, reason)
+

Power off the appliance. This method was added in vSphere API 6.7.

+
+
Parameters
+
    +
  • delay (long) – Minutes after which poweroff should start. If 0 is specified, +poweroff will start immediately.

  • +
  • reason (str) – Reason for peforming poweroff.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+reboot(delay, reason)
+

Reboot the appliance. This method was added in vSphere API 6.7.

+
+
Parameters
+
    +
  • delay (long) – Minutes after which reboot should start. If 0 is specified, reboot +will start immediately.

  • +
  • reason (str) – Reason for peforming reboot.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.appliance_client.SubtaskInfo(progress=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.VapiStruct

+

The SubtaskInfo class contains information about one of the subtasks +that makes up an appliance task. This class was added in vSphere API 6.7.

+
+

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. This attribute was added in vSphere API +6.7. +This attribute is optional and it is only relevant when the value +of #status is one of +com.vmware.cis.task_client.Status.RUNNING, +com.vmware.cis.task_client.Status.BLOCKED, +com.vmware.cis.task_client.Status.SUCCEEDED, or +com.vmware.cis.task_client.Status.FAILED.

  • +
  • result (Notifications or None) – Result of the operation. If an operation reports partial results +before it completes, this attribute could be set before +the null has the value +com.vmware.cis.task_client.Status.SUCCEEDED. The value +could change as the operation progresses. This attribute was added +in vSphere API 6.7. +This attribute will be None if result is not available at the +current step of the operation.

  • +
  • 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 (str or None) – 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.DynamicID or None) – 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 (Exception or None) – 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 (see +com.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 +of status is one of +com.vmware.cis.task_client.Status.RUNNING, +com.vmware.cis.task_client.Status.BLOCKED, +com.vmware.cis.task_client.Status.SUCCEEDED, or +com.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 +of status is one of +com.vmware.cis.task_client.Status.SUCCEEDED or +com.vmware.cis.task_client.Status.FAILED.

  • +
  • user (str or None) – Name of the user who performed the operation. +This attribute will be None if the operation is performed by the +system.

  • +
+
+
+
+ +
+
+class com.vmware.appliance_client.TaskInfo(progress=None, subtask_order=None, subtasks=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.VapiStruct

+

The TaskInfo class contains information about an appliance task and the +subtasks of which it consists. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • progress (com.vmware.cis.task_client.Progress) – Progress of the task. This attribute was added in vSphere API 6.7. +This attribute is optional and it is only relevant when the value +of #status is one of +com.vmware.cis.task_client.Status.RUNNING, +com.vmware.cis.task_client.Status.BLOCKED, +com.vmware.cis.task_client.Status.SUCCEEDED, or +com.vmware.cis.task_client.Status.FAILED.

  • +
  • subtask_order (list of str) – List of tasks that make up this appliance task in the order they +are being run. This attribute was added in vSphere API 6.7.

  • +
  • subtasks (dict of str and SubtaskInfo) – Information about the subtasks that this appliance task consists +of. This attribute was added in vSphere API 6.7.

  • +
  • 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 (str or None) – 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.DynamicID or None) – 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 (Exception or None) – 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 (see +com.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 +of status is one of +com.vmware.cis.task_client.Status.RUNNING, +com.vmware.cis.task_client.Status.BLOCKED, +com.vmware.cis.task_client.Status.SUCCEEDED, or +com.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 +of status is one of +com.vmware.cis.task_client.Status.SUCCEEDED or +com.vmware.cis.task_client.Status.FAILED.

  • +
  • user (str or None) – Name of the user who performed the operation. +This attribute will be None if the operation is performed by the +system.

  • +
+
+
+
+ +
+
+class com.vmware.appliance_client.Timesync(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Timesync class provides methods Performs time synchronization +configuration. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class TimeSyncMode(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Timesync.TimeSyncMode class defines time synchronization modes. +This enumeration was added in vSphere API 6.7.

+
+

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 the TimeSyncMode instance.

+
+
+
+
+DISABLED = TimeSyncMode(string='DISABLED')
+

Time synchronization is disabled. This class attribute was added in vSphere +API 6.7.

+
+ +
+
+HOST = TimeSyncMode(string='HOST')
+

VMware Tool-based time synchronization. This class attribute was added in +vSphere API 6.7.

+
+ +
+
+NTP = TimeSyncMode(string='NTP')
+

NTP-based time synchronization. This class attribute was added in vSphere +API 6.7.

+
+ +
+ +
+
+get()
+

Get time synchronization mode. This method was added in vSphere API +6.7.

+
+
Return type
+

Timesync.TimeSyncMode

+
+
Returns
+

Time synchronization mode.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+set(mode)
+

Set time synchronization mode. This method was added in vSphere API +6.7.

+
+
Parameters
+

mode (Timesync.TimeSyncMode) – Time synchronization mode.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.appliance_client.Update(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Update class provides methods to get the status of the appliance +update. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(state=None, task=None, version=None, latest_query_time=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Update.Info class describes the state of the appliance update. This +class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • state (Update.State) – State of the appliance update. This attribute was added in vSphere +API 6.7.

  • +
  • task (TaskInfo or None) – The running or completed update task. This attribute was added in +vSphere API 6.7.

  • +
  • version (str) – Version of base appliance if state is UP_TO_DATE Version of update +being staged or installed if state is INSTALL_IN_PROGRESS or +STAGE_IN_PROGRESS Version of update staged if state is +UPDATES_PENDING Version of update failed if state is INSTALL_FAILED +or ROLLBACK_IN_PROGRESS. This attribute was added in vSphere API +6.7.

  • +
  • latest_query_time (datetime.datetime or None) – Timestamp of latest query to update repository. This attribute was +added in vSphere API 6.7. +If None the update was never queried

  • +
+
+
+
+ +
+
+class State(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Update.State class defines the various states the appliance update +can be in. This enumeration was added in vSphere API 6.7.

+
+

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 the State instance.

+
+
+
+
+INSTALL_FAILED = State(string='INSTALL_FAILED')
+

The appliance update failed and cannot recover. This class attribute was +added in vSphere API 6.7.

+
+ +
+
+INSTALL_IN_PROGRESS = State(string='INSTALL_IN_PROGRESS')
+

The appliance update is in progress of installing an update. This class +attribute was added in vSphere API 6.7.

+
+ +
+
+ROLLBACK_IN_PROGRESS = State(string='ROLLBACK_IN_PROGRESS')
+

The appliance update failed and recovery is in progress. This class +attribute was added in vSphere API 6.7.

+
+ +
+
+STAGE_IN_PROGRESS = State(string='STAGE_IN_PROGRESS')
+

The appliance update is in progress of downloading an update. This class +attribute was added in vSphere API 6.7.

+
+ +
+
+UPDATES_PENDING = State(string='UPDATES_PENDING')
+

A new update is available. This class attribute was added in vSphere API +6.7.

+
+ +
+
+UP_TO_DATE = State(string='UP_TO_DATE')
+

The appliance is up to date. This class attribute was added in vSphere API +6.7.

+
+ +
+ +
+
+cancel()
+

Request the cancellation the update operation that is currently in +progress. This method was added in vSphere API 6.7.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +Current task is not cancellable

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +session is not authenticated

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +session is not authorized to perform this operation

+
+
+
+ +
+
+get()
+

Gets the current status of the appliance update. This method was added +in vSphere API 6.7.

+
+
Return type
+

Update.Info

+
+
Returns
+

Info structure containing the status information about the +appliance.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +session is not authenticated

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +session is not authorized to perform this operation

+
+
+
+ +
+ +
+
+

com.vmware.cis_client module

+

The com.vmware.cis_client module provides VMware common infrastructure +classes.

+
+
+class com.vmware.cis_client.Session(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Session class allows API clients to manage session tokens including +creating, deleting and obtaining information about sessions.

+ +

The call to the Session.create() method is part of the overall +authentication process for API clients. For example, the sequence of steps +for establishing a session with SAML token is:

+
    +
  • Connect to lookup service.

  • +
  • Discover the secure token service (STS) endpoint URL.

  • +
  • Connect to the secure token service to obtain a SAML token.

  • +
  • Authenticate to the lookup service using the obtained SAML token.

  • +
  • Discover the API endpoint URL from lookup service.

  • +
  • Call the Session.create() method. The Session.create() call +must include the SAML token.

  • +
+

See the programming guide and samples for additional information about +establishing API sessions.

+
+

Execution Context and Security Context

+
+

To use session based authentication a client should supply the session +token obtained through the Session.create() method. The client should +add the session token in the security context when using SDK classes. +Clients using the REST API should supply the session token as a HTTP +header.

+
+

Session Lifetime

+
+

A session begins with call to the Session.create() method to exchange +a SAML token for a API session token. A session ends under the following +circumstances:

+
    +
  • Call to the Session.delete() method.

  • +
  • The session expires. Session expiration may be caused by one of the +following situations:

  • +
  • Client inactivity - For a particular session identified by client +requests that specify the associated session ID, the lapsed time since the +last request exceeds the maximum interval between requests.

  • +
  • Unconditional or absolute session expiration time: At the beginning of +the session, the session logic uses the SAML token and the system +configuration to calculate absolute expiration time.

  • +
+

When a session ends, the authentication logic will reject any subsequent +client requests that specify that session. Any operations in progress will +continue to completion.

+
+

Error Handling

+

The Session returns the following exceptions:

+
+ +
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(user=None, created_time=None, last_accessed_time=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Represents data associated with an API session.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • user (str) – Fully qualified name of the end user that created the session, for +example Administrator\@vsphere.local. A typical use case for +this information is in Graphical User Interfaces (GUI) or logging +systems to visualize the identity of the current user.

  • +
  • created_time (datetime.datetime) – Time when the session was created.

  • +
  • last_accessed_time (datetime.datetime) – Last time this session was used by passing the session key for +invoking an API.

  • +
+
+
+
+ +
+
+create()
+

Creates a session with the API. This is the equivalent of login. This +method exchanges user credentials supplied in the security context for +a session identifier that is to be used for authenticating subsequent +calls. To authenticate subsequent calls clients are expected to include +the session key.

+
+
Return type
+

str

+
+
Returns
+

Newly created session identifier to be used for authenticating +further requests.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the session creation fails due to request specific issues. Due +to the security nature of the API the details of the error are not +disclosed.

+

Please check the following preconditions if using a SAML token to +authenticate:

+
    +
  • the supplied token is delegate-able.

  • +
  • the time of client and server system are synchronized.

  • +
  • the token supplied is valid.

  • +
  • if bearer tokens are used check that system configuration allows +the API endpoint to accept such tokens.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if session creation fails due to server specific issues, for +example connection to a back end component is failing. Due to the +security nature of this API further details will not be disclosed +in the exception. Please refer to component health information, +administrative logs and product specific documentation for possible +causes.

+
+
+
+ +
+
+delete()
+

Terminates the validity of a session token. This is the equivalent of +log out.

+
+

A session identifier is expected as part of the request.

+
+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the session id is missing from the request or the corresponding +session object cannot be found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if session deletion fails due to server specific issues, for +example connection to a back end component is failing. Due to the +security nature of this API further details will not be disclosed +in the exception. Please refer to component health information, +administrative logs and product specific documentation for possible +causes.

+
+
+
+ +
+
+get()
+

Returns information about the current session. This method expects a +valid session identifier to be supplied.

+

A side effect of invoking this method may be a change to the session’s +last accessed time to the current time if this is supported by the +session implementation. Invoking any other method in the API will also +update the session’s last accessed time.

+

This API is meant to serve the needs of various front end projects that +may want to display the name of the user. Examples of this include +various web based user interfaces and logging facilities.

+
+
Return type
+

Session.Info

+
+
Returns
+

Information about the session.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the session id is missing from the request or the corresponding +session object cannot be found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if session retrieval fails due to server specific issues e.g. +connection to back end component is failing. Due to the security +nature of this API further details will not be disclosed in the +error. Please refer to component health information, administrative +logs and product specific documentation for possible causes.

+
+
+
+ +
+ +
+
+class com.vmware.cis_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.cis_client.Tasks(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Tasks class provides methods for managing the task related to a +long running operation. This class was added in vSphere API 6.7.1.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class FilterSpec(tasks=None, services=None, operations=None, status=None, targets=None, users=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Tasks.FilterSpec class contains attributes used to filter the +results when listing tasks (see Tasks.list()). If multiple attributes +are specified, only tasks matching all of the attributes match the filter.

+

Currently at least one of Tasks.FilterSpec.tasks or +Tasks.FilterSpec.services must be specified and not empty.. This +class was added in vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • tasks (set of str or None) – Identifiers of tasks that can match the filter. This attribute was +added in vSphere API 6.7.1. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.cis.task. When methods return a value of this class +as a return value, the attribute will contain identifiers for the +resource type: com.vmware.cis.task. +This attribute may be None if services is specified. Currently +all tasks must be from the same provider. If None or empty, tasks +with any identifier will match the filter.

  • +
  • services (set of str or None) – Identifiers of services. Tasks created by operations in these +services match the filter (see +com.vmware.cis.task_client.CommonInfo.service). This +attribute was added in vSphere API 6.7.1. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.vapi.service. When methods return a value of this +class as a return value, the attribute will contain identifiers for +the resource type: com.vmware.vapi.service. +This attribute may be None if tasks is specified. Currently all +services must be from the same provider. If this attribute is None +or empty, tasks for any service will match the filter.

  • +
  • operations (set of str or None) –

    Identifiers of operations. Tasks created by these operations match +the filter (see +com.vmware.cis.task_client.CommonInfo.operation).

    +

    Note that an operation identifier by itself is not globally unique. +To filter on an operation, the identifier of the service interface +containing the operation should also be specified in services.. +This attribute was added in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.vapi.operation. When methods return a value of this +class as a return value, the attribute will contain identifiers for +the resource type: com.vmware.vapi.operation. +If None or empty, tasks associated with any operation will match +the filter.

    +

  • +
  • status (set of com.vmware.cis.task_client.Status or None) – Status that a task must have to match the filter (see +com.vmware.cis.task_client.CommonInfo.status). This +attribute was added in vSphere API 6.7.1. +If None or empty, tasks with any status match the filter.

  • +
  • targets (list of com.vmware.vapi.std_client.DynamicID or None) – Identifiers of the targets the operation for the associated task +created or was performed on (see +com.vmware.cis.task_client.CommonInfo.target). This +attribute was added in vSphere API 6.7.1. +If None or empty, tasks associated with operations on any target +match the filter.

  • +
  • users (set of str or None) – Users who must have initiated the operation for the associated task +to match the filter (see +com.vmware.cis.task_client.CommonInfo.user). This attribute +was added in vSphere API 6.7.1. +If None or empty, tasks associated with operations initiated by any +user match the filter.

  • +
+
+
+
+ +
+
+class GetSpec(return_all=None, exclude_result=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Tasks.GetSpec class describes what data should be included when +retrieving information about a task. This class was added in vSphere API +6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • return_all (bool or None) – If true, all data, including operation-specific data, will be +returned, otherwise only the data described in +com.vmware.cis.task_client.Info will be returned. This +attribute was added in vSphere API 6.7.1. +If None, only the data described in +com.vmware.cis.task_client.Info will be returned.

  • +
  • exclude_result (bool or None) – If true, the result will not be included in the task information, +otherwise it will be included. This attribute was added in vSphere +API 6.7.1. +If None, the result of the operation will be included in the task +information.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.cis.task'
+

Resource type for task. This class attribute was added in vSphere API 6.7.1.

+
+ +
+
+cancel(task)
+

Cancel a running operation associated with the task. This is the best +effort attempt. Operation may not be cancelled anymore once it reaches +certain stage. This method was added in vSphere API 6.7.1.

+
+
Parameters
+

task (str) – Task identifier. +The parameter must be an identifier for the resource type: +com.vmware.cis.task.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the task is already canceled or completed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the task is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the task’s state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the task is not cancelable.

+
+
+
+ +
+
+get(task, spec=None)
+

Returns information about a task. This method was added in vSphere API +6.7.1.

+
+
Parameters
+
    +
  • task (str) – Task identifier. +The parameter must be an identifier for the resource type: +com.vmware.cis.task.

  • +
  • spec (Tasks.GetSpec or None) – Specification on what to get for a task. +If None, the behavior is equivalent to a Tasks.GetSpec +with all attributes None which means only the data described in +com.vmware.cis.task_client.Info will be returned and the +result of the operation will be return.

  • +
+
+
Return type
+

com.vmware.cis.task_client.Info

+
+
Returns
+

Information about the specified task.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the task is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the task’s state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+list(filter_spec=None, result_spec=None)
+

Returns information about at most 1000 visible (subject to permission +checks) tasks matching the Tasks.FilterSpec. All tasks must be +in the same provider. This method was added in vSphere API 6.7.1.

+
+
Parameters
+
    +
  • filter_spec (Tasks.FilterSpec or None) – Specification of matching tasks. +This is currently required. In the future, if it is None, the +behavior is equivalent to a Tasks.FilterSpec with all +attributes None which means all tasks match the filter.

  • +
  • result_spec (Tasks.GetSpec or None) – Specification of what to return for a task. +If None, the behavior is equivalent to a Tasks.GetSpec +with all attributes None which means only the data describe in +com.vmware.cis.task_client.Info will be returned and the +result of the operation will be return.

  • +
+
+
Return type
+

dict of str and com.vmware.cis.task_client.Info

+
+
Returns
+

Map of task identifier to information about the task. +The key in the return value dict will be an identifier for +the resource type: com.vmware.cis.task.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if any of the specified parameters are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if a task’s state cannot be accessed or over 1000 tasks matching +the Tasks.FilterSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+

com.vmware.content_client module

+

The Content module provides classes and classes for configuring global settings +and permissions, and for managing libraries in the Content Library Service.

+
+
+class com.vmware.content_client.Configuration(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Configuration class provides methods to configure the global +settings of the Content Library Service.

+

The configuration settings are used by the Content Library Service to +control the behavior of various operations.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+get()
+

Retrieves the current configuration values.

+
+
Return type
+

ConfigurationModel

+
+
Returns
+

The ConfigurationModel instance representing the +configuration of the Content Library Service.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires ContentLibrary.GetConfiguration.

  • +
+
+
+
+ +
+
+update(model)
+

Updates the configuration. The update is incremental. Any attribute in +the ConfigurationModel class that is None will not be +modified. Note that this update method doesn’t guarantee an atomic +change of all the properties. In the case of a system crash or failure, +some of the properties could be left unchanged while others may be +updated.

+
+
Parameters
+

model (ConfigurationModel) – The ConfigurationModel specifying the settings to update.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if one of the configuration properties is not within the proper +range.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires ContentLibrary.UpdateConfiguration.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.content_client.ConfigurationModel(automatic_sync_enabled=None, automatic_sync_start_hour=None, automatic_sync_stop_hour=None, maximum_concurrent_item_syncs=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ConfigurationModel class defines the global settings of the Content +Library Service.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • automatic_sync_enabled (bool) –

    Whether automatic synchronization is enabled.

    +

    When automatic synchronization is enabled, the Content Library +Service will automatically synchronize all subscribed libraries on +a daily basis. Subscribed libraries with the +com.vmware.content.library_client.SubscriptionInfo.automatic_sync_enabled +flag turned on will be synchronized every hour between +ConfigurationModel.automatic_sync_start_hour and +ConfigurationModel.automatic_sync_stop_hour. +This attribute is not used for the create method. It will +always be present in the return value of the get or list +methods. It is optional for the update method.

    +

  • +
  • automatic_sync_start_hour (long) – The hour at which the automatic synchronization will start. This +value is between 0 (midnight) and 23 inclusive. +This attribute is not used for the create method. It will +always be present in the return value of the get or list +methods. It is optional for the update method.

  • +
  • automatic_sync_stop_hour (long) – The hour at which the automatic synchronization will stop. Any +active synchronization operation will continue to run, however no +new synchronization operations will be triggered after the stop +hour. This value is between 0 (midnight) and 23 inclusive. +This attribute is not used for the create method. It will +always be present in the return value of the get or list +methods. It is optional for the update method.

  • +
  • maximum_concurrent_item_syncs (long) –

    The maximum allowed number of library items to synchronize +concurrently from remote libraries. This must be a positive number. +The service may not be able to guarantee the requested concurrency +if there is no available capacity.

    +
    +

    This setting is global across all subscribed libraries.

    +
    +

    This attribute is not used for the create method. It will +always be present in the return value of the get or list +methods. It is optional for the update method.

    +

  • +
+
+
+
+ +
+
+class com.vmware.content_client.Library(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Library class provides methods to manage and find +LibraryModel entities.

+

The Library class provides support for generic functionality which can +be applied equally to all types of libraries. The functionality provided by +this class will not affect the properties specific to the type of library. +See also LocalLibrary and SubscribedLibrary.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class FindSpec(name=None, type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Specifies the properties that can be used as a filter to find libraries. +When multiple attributes are specified, all properties of the library must +match the specification.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str or None) – Name of the library to search. The name is case-insensitive. See +LibraryModel.name. +If not specified any name will be searched.

  • +
  • type (LibraryModel.LibraryType or None) – Library type to search. See LibraryModel.type. +If not specified any library type will be searched.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.content.Library'
+

Resource type for library.

+
+ +
+
+find(spec)
+

Returns a list of all the visible (as determined by authorization +policy) libraries matching the requested Library.FindSpec.

+
+
Parameters
+

spec (Library.FindSpec) – Specification describing what properties to filter on.

+
+
Return type
+

list of str

+
+
Returns
+

The list of identifiers of all the visible libraries +matching the given spec. +The return value will contain identifiers for the resource type: +com.vmware.content.Library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if no properties are specified in the spec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
+
+
+
+ +
+
+get(library_id)
+

Returns a given LibraryModel.

+
+
Parameters
+

library_id (str) – Identifier of the library to return. +The parameter must be an identifier for the resource type: +com.vmware.content.Library.

+
+
Return type
+

LibraryModel

+
+
Returns
+

The LibraryModel instance with the specified +library_id.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the specified library does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.Library referenced by the +parameter library_id requires System.Read.

  • +
+
+
+
+ +
+
+list()
+

Returns the identifiers of all libraries of any type in the Content +Library.

+
+
Return type
+

list of str

+
+
Returns
+

The list of all identifiers of all libraries in the +Content Library. +The return value will contain identifiers for the resource type: +com.vmware.content.Library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
+
+
+
+ +
+
+update(library_id, update_spec)
+

Updates the properties of a library.

+

This is an incremental update to the library. Any attribute in the +LibraryModel class that is None will not be modified.

+

This method will only update the common properties for all library +types. This will not, for example, update the +LibraryModel.publish_info of a local library, nor the +LibraryModel.subscription_info of a subscribed library. +Specific properties are updated in LocalLibrary.update() and +SubscribedLibrary.update().

+
+
Parameters
+
    +
  • library_id (str) – Identifier of the library to update. +The parameter must be an identifier for the resource type: +com.vmware.content.Library.

  • +
  • update_spec (LibraryModel) – Specification of the new property values to set on the library.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library associated with library_id does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the update_spec is not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the LibraryModel.version of update_spec is not equal +to the current version of the library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.Library referenced by the +parameter library_id requires ContentLibrary.UpdateLibrary.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.content_client.LibraryModel(id=None, creation_time=None, description=None, last_modified_time=None, last_sync_time=None, name=None, storage_backings=None, type=None, optimization_info=None, version=None, publish_info=None, subscription_info=None, server_guid=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryModel class represents a Content Library resource +model.

+

A LibraryModel is a container for a set of items which represent a +usable set of files. The Content Library Service allows for multiple +libraries to be created with separate authorization and sharing policies.

+

Each LibraryModel is a container for a set of +com.vmware.content.library_client.ItemModel instances. Each item +is a logical object in a library, which may have multiple files.

+

A LibraryModel may be local or subscribed. A local library has its +source of truth about items within this Content Library Service. Items may +be added to or removed from the library. A local library may also be +private or published. When published, the library is exposed by a network +endpoint and can be used by another Content Library Service for +synchronization. A private local library cannot be used for +synchronization.

+

A subscribed library is a library which gets its source of truth from +another library that may be across a network in another Content Library +Service. A subscribed library may have a different name and metadata from +the library to which it subscribes, but the set of library items is always +the same as those in the source library. Library items cannot be manually +added to a subscribed library – they can only be added by adding new items +to the source library.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) – An identifier which uniquely identifies this LibraryModel. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.Library. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: com.vmware.content.Library. +This attribute is not used for the create method. It will not +be present in the return value of the get or list methods. +It is not used for the update method.

  • +
  • creation_time (datetime.datetime) – The date and time when this library was created. +This attribute is not used for the create method. It will +always be present in the return value of the get or list +methods. It is not used for the update method.

  • +
  • description (str) – A human-readable description for this library. +This attribute is optional for the create method. Leaving it +None during creation will result in an empty string value. It will +always be present in the result of a get or list method. It +is optional for the update method. Leaving it None during +update indicates that the description should be left unchanged.

  • +
  • last_modified_time (datetime.datetime) –

    The date and time when this library was last updated.

    +

    This attribute is updated automatically when the library properties +are changed. This attribute is not affected by adding, removing, or +modifying a library item or its content within the library. Tagging +the library or syncing the subscribed library does not alter this +attribute. +This attribute is not used for the create method. It will +always be present in the return value of the get or list +methods. It is not used for the update method.

    +

  • +
  • last_sync_time (datetime.datetime) –

    The date and time when this library was last synchronized.

    +

    This attribute applies only to subscribed libraries. It is updated +every time a synchronization is triggered on the library. The value +is None for a local library. +This attribute is not used for the create method. It is +optional in the return value of the get or list methods. It +is not used for the update method.

    +

  • +
  • name (str) –

    The name of the library.

    +

    A Library is identified by a human-readable name. Library names +cannot be undefined or an empty string. Names do not have to be +unique. +This attribute must be provided for the create method. It will +always be present in the return value of the get or list +methods. It is optional for the update method.

    +

  • +
  • storage_backings (list of com.vmware.content.library_client.StorageBacking) –

    The list of default storage backings which are available for this +library.

    +

    A com.vmware.content.library_client.StorageBacking defines +a default storage location which can be used to store files for +library items in this library. Some library items, for instance, +virtual machine template items, support files that may be +distributed across various storage backings. One or more item files +may or may not be located on the default storage backing.

    +

    Multiple default storage locations are not currently supported but +may become supported in future releases. +This attribute must be provided for the create method. It will +always be present in the return value of the get or list +methods. It is not used for the update method.

    +

  • +
  • type (LibraryModel.LibraryType) –

    The type (LOCAL, SUBSCRIBED) of this library.

    +

    This value can be used to determine what additional services and +information can be available for this library. This attribute is +not used for the create and update methods. It will always +be present in the result of a get method. +This attribute is not used for the create method. It will +always be present in the return value of the get or list +methods. It is not used for the update method.

    +

  • +
  • optimization_info (com.vmware.content.library_client.OptimizationInfo) – Defines various optimizations and optimization parameters applied +to this library. +This attribute is optional for the create method. It is +optional in the return value of the get or list methods. It +is optional for the update method.

  • +
  • version (str) –

    A version number which is updated on metadata changes. This value +allows clients to detect concurrent updates and prevent accidental +clobbering of data.

    +

    This value represents a number which is incremented every time +library properties, such as name or description, are changed. It is +not incremented by changes to a library item within the library, +including adding or removing items. It is also not affected by +tagging the library. +This attribute is not used for the create method. It will +always be present in the result of a get or list method. It +is optional for the update method. Leaving it None during +update indicates that you do not need to detect concurrent updates.

    +

  • +
  • publish_info (com.vmware.content.library_client.PublishInfo) –

    Defines how this library is published so that it can be subscribed +to by a remote subscribed library.

    +

    The com.vmware.content.library_client.PublishInfo defines +where and how the metadata for this local library is accessible. A +local library is only published publically if +com.vmware.content.library_client.PublishInfo.published is +true. +This attribute is optional for the create and update +methods. If not specified during creation, the default is for the +library to not be published. If not specified during update, the +attribute is left unchanged.

    +

  • +
  • subscription_info (com.vmware.content.library_client.SubscriptionInfo) –

    Defines the subscription behavior for this Library.

    +

    The com.vmware.content.library_client.SubscriptionInfo +defines how this subscribed library synchronizes to a remote +source. Setting the value will determine the remote source to which +the library synchronizes, and how. Changing the subscription will +result in synchronizing to a new source. If the new source differs +from the old one, the old library items and data will be lost. +Setting +com.vmware.content.library_client.SubscriptionInfo.automatic_sync_enabled +to false will halt subscription but will not remove existing cached +data. +This attribute is optional for the create and update +methods. If not specified during creation, a default will be +created without an active subscription. If not specified during +update, the attribute is left unchanged.

    +

  • +
  • server_guid (str) – The unique identifier of the vCenter server where the library +exists. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.VCenter. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: com.vmware.vcenter.VCenter. +This attribute is optional for the create method. It will +always be present in the return value of the get or list +methods. It is not used for the update method.

  • +
+
+
+
+
+class LibraryType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The LibraryModel.LibraryType class defines the type of a +LibraryModel.

+

The type of a library can be used to determine which additional services +can be performed with a library.

+
+

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 the LibraryType instance.

+
+
+
+
+LOCAL = LibraryType(string='LOCAL')
+

The library contents are defined and stored by the local Content Library +Service installation.

+

A local library can be retrieved and managed via the LocalLibrary.

+
+ +
+
+SUBSCRIBED = LibraryType(string='SUBSCRIBED')
+

The library synchronizes its items and content from another published +library.

+

A subscribed library can be retrieved and managed via the +SubscribedLibrary.

+
+ +
+ +
+ +
+
+class com.vmware.content_client.LocalLibrary(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The LocalLibrary class manages local libraries.

+

The LocalLibrary class provides support for creating and maintaining +local library instances. A local library may also use the Library +class to manage general library functionality.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class DestinationSpec(subscription=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LocalLibrary.DestinationSpec class contains information required to +publish the library to a specific subscription. This class was added in +vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

subscription (str) – Identifier of the subscription associated with the subscribed +library. This attribute was added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.library.Subscriptions. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.content.library.Subscriptions.

+
+
+
+ +
+
+create(create_spec, client_token=None)
+

Creates a new local library.

+
+
Parameters
+
    +
  • client_token (str or None) – A unique token generated on the client for each creation request. +The token should be a universally unique identifier (UUID), for +example: b8a2a2e3-2314-43cd-a871-6ede0f429751. This token can +be used to guarantee idempotent creation. +If not specified creation is not idempotent.

  • +
  • create_spec (LibraryModel) – Specification for the new local library.

  • +
+
+
Return type
+

str

+
+
Returns
+

Identifier of the newly created LibraryModel. +The return value will be an identifier for the resource type: +com.vmware.content.Library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the create_spec is not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the client_token does not conform to the UUID format.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if using multiple storage backings.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires ContentLibrary.CreateLocalLibrary.

  • +
  • The resource Datastore referenced by the attribute +com.vmware.content.library_client.StorageBacking.datastore_id +requires Datastore.AllocateSpace.

  • +
+
+
+
+ +
+
+delete(library_id)
+

Deletes the specified local library.

+

Deleting a local library will remove the entry immediately and begin an +asynchronous task to remove all cached content for the library. If the +asynchronous task fails, file content may remain on the storage +backing. This content will require manual removal.

+
+
Parameters
+

library_id (str) – Identifier of the local library to delete. +The parameter must be an identifier for the resource type: +com.vmware.content.Library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementType +if the library specified by library_id is not a local library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library specified by library_id does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the library contains a library item that cannot be deleted in +its current state. For example, the library item contains a virtual +machine template and a virtual machine is checked out of the +library item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.Library referenced by the +parameter library_id requires +ContentLibrary.DeleteLocalLibrary.

  • +
+
+
+
+ +
+
+get(library_id)
+

Returns a given local library.

+
+
Parameters
+

library_id (str) – Identifier of the local library to return. +The parameter must be an identifier for the resource type: +com.vmware.content.Library.

+
+
Return type
+

LibraryModel

+
+
Returns
+

The LibraryModel instance associated with library_id.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library specified by library_id does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementType +if the library specified by library_id is not a local library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.Library referenced by the +parameter library_id requires System.Read.

  • +
+
+
+
+ +
+
+list()
+

Returns the identifiers of all local libraries in the Content Library.

+
+
Return type
+

list of str

+
+
Returns
+

The list of identifiers of all local libraries in the +Content Library. +The return value will contain identifiers for the resource type: +com.vmware.content.Library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
+
+
+
+ +
+
+publish(library_id, subscriptions=None)
+

Publishes the library to specified subscriptions. If no subscriptions +are specified, then publishes the library to all its subscriptions. +This method was added in vSphere API 6.7.2.

+
+
Parameters
+
    +
  • library_id (str) – Identifier of the published library. +The parameter must be an identifier for the resource type: +com.vmware.content.Library.

  • +
  • subscriptions (list of LocalLibrary.DestinationSpec or None) – The list of subscriptions to publish this library to.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the library specified by library_id does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If one or more subscriptions is not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementType +If the library specified by library_id is a subscribed library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +If the library specified by library_id is not a published +library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the user that requested the method cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user that requested the method is not authorized to perform +the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.Library referenced by the +parameter library_id requires +ContentLibrary.PublishLibrary.

  • +
+
+
+
+ +
+
+update(library_id, update_spec)
+

Updates the properties of a local library.

+

This is an incremental update to the local library. Attributes that are +None in the update specification will be left unchanged.

+
+
Parameters
+
    +
  • library_id (str) – Identifier of the local library to update. +The parameter must be an identifier for the resource type: +com.vmware.content.Library.

  • +
  • update_spec (LibraryModel) – Specification of the new property values to set on the local +library.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library specified by library_id does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the library specified by library_id is a published library +with JSON persistence enabled (see +com.vmware.content.library_client.PublishInfo.persist_json_enabled) +and the content of the library has been deleted from the storage +backings (see LibraryModel.storage_backings) associated +with it.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementType +if the library specified by library_id is not a local library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the update_spec is not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the +com.vmware.content.library_client.PublishInfo.current_password +in the update_spec does not match the existing password of the +published library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the LibraryModel.version of update_spec is None and +the library is being concurrently updated by another user.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ConcurrentChange +if the LibraryModel.version of update_spec is not equal +to the current version of the library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.Library referenced by the +parameter library_id requires +ContentLibrary.UpdateLocalLibrary.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.content_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.content_client.SubscribedLibrary(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class ProbeResult(status=None, ssl_thumbprint=None, error_messages=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The SubscribedLibrary.ProbeResult class defines the subscription +information probe result. This describes whether using a given subscription +URL is successful or if there are access problems, such as SSL errors.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • status (SubscribedLibrary.ProbeResult.Status) – The status of probe result. This will be one of SUCCESS, +INVALID_URL, TIMED_OUT, HOST_NOT_FOUND, RESOURCE_NOT_FOUND, +INVALID_CREDENTIALS, CERTIFICATE_ERROR, UNKNOWN_ERROR.

  • +
  • ssl_thumbprint (str or None) – The SSL thumbprint for the remote endpoint. +An SSL thumbprint is only returned if the host is secured with +SSL/TLS.

  • +
  • error_messages (list of com.vmware.vapi.std_client.LocalizableMessage) – If the probe result is in an error status, this attribute will +contain the detailed error messages.

  • +
+
+
+
+
+class Status(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The SubscribedLibrary.ProbeResult.Status class defines the error status +constants for the probe result.

+
+

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 the Status instance.

+
+
+
+
+CERTIFICATE_ERROR = Status(string='CERTIFICATE_ERROR')
+

Indicates that the provided server certificate thumbprint in +com.vmware.content.library_client.SubscriptionInfo.ssl_thumbprint +is invalid. In this case, the returned null should be set in +com.vmware.content.library_client.SubscriptionInfo.ssl_thumbprint.

+
+ +
+
+HOST_NOT_FOUND = Status(string='HOST_NOT_FOUND')
+

Indicates that the host in the URL could not be found.

+
+ +
+
+INVALID_CREDENTIALS = Status(string='INVALID_CREDENTIALS')
+

Indicates that the connection was rejected due to invalid credentials.

+
+ +
+
+INVALID_URL = Status(string='INVALID_URL')
+

Indicates that the supplied URL was not valid.

+
+ +
+
+RESOURCE_NOT_FOUND = Status(string='RESOURCE_NOT_FOUND')
+

Indicates that the given resource at the URL was not found.

+
+ +
+
+SUCCESS = Status(string='SUCCESS')
+

Indicates that the probe was successful.

+
+ +
+
+TIMED_OUT = Status(string='TIMED_OUT')
+

Indicates that the probe timed out while attempting to connect to the URL.

+
+ +
+
+UNKNOWN_ERROR = Status(string='UNKNOWN_ERROR')
+

Indicates an unspecified error different from the other error cases defined +in SubscribedLibrary.ProbeResult.Status.

+
+ +
+ +
+ +
+
+create(create_spec, client_token=None)
+

Creates a new subscribed library.

+

Once created, the subscribed library will be empty. If the +LibraryModel.subscription_info property is set, the Content +Library Service will attempt to synchronize to the remote source. This +is an asynchronous operation so the content of the published library +may not immediately appear.

+
+
Parameters
+
    +
  • client_token (str or None) – Unique token generated on the client for each creation request. The +token should be a universally unique identifier (UUID), for +example: b8a2a2e3-2314-43cd-a871-6ede0f429751. This token can +be used to guarantee idempotent creation. +If not specified creation is not idempotent.

  • +
  • create_spec (LibraryModel) – Specification for the new subscribed library.

  • +
+
+
Return type
+

str

+
+
Returns
+

Identifier of the newly created subscribed library. +The return value will be an identifier for the resource type: +com.vmware.content.Library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the create_spec is not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the client_token does not conform to the UUID format.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if using multiple storage backings.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if subscribing to a published library which cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires +ContentLibrary.CreateSubscribedLibrary.

  • +
  • The resource Datastore referenced by the attribute +com.vmware.content.library_client.StorageBacking.datastore_id +requires Datastore.AllocateSpace.

  • +
+
+
+
+ +
+
+delete(library_id)
+

Deletes the specified subscribed library.

+

Deleting a subscribed library will remove the entry immediately and +begin an asynchronous task to remove all cached content for the +library. If the asynchronous task fails, file content may remain on the +storage backing. This content will require manual removal.

+
+
Parameters
+

library_id (str) – Identifier of the subscribed library to delete. +The parameter must be an identifier for the resource type: +com.vmware.content.Library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementType +if the library referenced by library_id is not a subscribed +library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library referenced by library_id does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.Library referenced by the +parameter library_id requires +ContentLibrary.DeleteSubscribedLibrary.

  • +
+
+
+
+ +
+
+evict(library_id)
+

Evicts the cached content of an on-demand subscribed library.

+

This method allows the cached content of a subscribed library to be +removed to free up storage capacity. This method will only work when a +subscribed library is synchronized on-demand.

+
+
Parameters
+

library_id (str) – Identifier of the subscribed library whose content should be +evicted. +The parameter must be an identifier for the resource type: +com.vmware.content.Library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library specified by library_id does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementType +if the library specified by library_id is not a subscribed +library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the library specified by library_id does not synchronize +on-demand, or if the content of the library specified by +library_id has been deleted from the storage backings (see +LibraryModel.storage_backings) associated with it.

+

For instance, this {\@term error) is reported on evicting an +on-demand subscribed library that was restored from backup, and the +library was deleted after the backup was taken, thus resulting in +its content being deleted from the associated storage backings. In +this scenario, the metadata of the library is present on a restore, +while its content has been deleted.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.Library referenced by the +parameter library_id requires +ContentLibrary.EvictSubscribedLibrary.

  • +
+
+
+
+ +
+
+get(library_id)
+

Returns a given subscribed library.

+
+
Parameters
+

library_id (str) – Identifier of the subscribed library to return. +The parameter must be an identifier for the resource type: +com.vmware.content.Library.

+
+
Return type
+

LibraryModel

+
+
Returns
+

The LibraryModel instance that corresponds to +library_id.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library associated with library_id does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementType +if the library associated with library_id is not a subscribed +library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.Library referenced by the +parameter library_id requires System.Read.

  • +
+
+
+
+ +
+
+list()
+

Returns the identifiers of all subscribed libraries in the Content +Library.

+
+
Return type
+

list of str

+
+
Returns
+

The list of identifiers of all subscribed libraries in the +Content Library. +The return value will contain identifiers for the resource type: +com.vmware.content.Library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
+
+
+
+ +
+
+probe(subscription_info)
+

Probes remote library subscription information, including URL, SSL +certificate and password. The resulting +SubscribedLibrary.ProbeResult class describes whether or not +the subscription configuration is successful.

+
+
Parameters
+

subscription_info (com.vmware.content.library_client.SubscriptionInfo) – The subscription info to be probed.

+
+
Return type
+

SubscribedLibrary.ProbeResult

+
+
Returns
+

The subscription info probe result.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires ContentLibrary.ProbeSubscription.

  • +
+
+
+
+ +
+
+sync(library_id)
+

Forces the synchronization of the subscribed library.

+

Synchronizing a subscribed library forcefully with this method will +perform the same synchronization behavior as would run periodically for +the library. The +com.vmware.content.library_client.SubscriptionInfo.on_demand +setting is respected. Calling this method on a library that is already +in the process of synchronizing will have no effect.

+
+
Parameters
+

library_id (str) – Identifier of the subscribed library to synchronize. +The parameter must be an identifier for the resource type: +com.vmware.content.Library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library specified by library_id does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementType +if the library specified by library_id is not a subscribed +library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the content of the library specified by library_id has been +deleted from the storage backings (see +LibraryModel.storage_backings) associated with it.

+

For instance, this {\@term error) is reported on synchronizing a +subscribed library that was restored from backup, and the library +was deleted after the backup was taken, thus resulting in its +content being deleted from the associated storage backings. In this +scenario, the metadata of the library is present on a restore, +while its content has been deleted.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if some parameter in the subscribed library subscription info is +invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the published library cannot be contacted or found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.Library referenced by the +parameter library_id requires ContentLibrary.SyncLibrary.

  • +
+
+
+
+ +
+
+update(library_id, update_spec)
+

Updates the properties of a subscribed library.

+

This is an incremental update to the subscribed library. Attributes +that are None in the update specification will be left unchanged.

+
+
Parameters
+
    +
  • library_id (str) – Identifier of the subscribed library to update. +The parameter must be an identifier for the resource type: +com.vmware.content.Library.

  • +
  • update_spec (LibraryModel) – Specification of the new property values to set on the subscribed +library.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library specified by library_id does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the update_spec updates the subscription URL (see +com.vmware.content.library_client.SubscriptionInfo.subscription_url) +and the content of the library specified by library_id has been +deleted from the storage backings (see +LibraryModel.storage_backings) associated with it.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementType +if the library specified by library_id is not a subscribed +library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the update_spec is not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the subscription info is being updated but the published library +cannot be contacted or found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the LibraryModel.version of update_spec is None and +the library is being concurrently updated by another user.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ConcurrentChange +if the LibraryModel.version of update_spec is not equal +to the current version of the library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource com.vmware.content.Library referenced by the +parameter library_id requires +ContentLibrary.UpdateSubscribedLibrary.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.content_client.Type(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Type class exposes the +com.vmware.content.library_client.ItemModel types that this +Content Library Service supports.

+

A library item has an optional type which can be specified with the +com.vmware.content.library_client.ItemModel.type attribute. For +items with a type that is supported by a plugin, the Content Library +Service may understand the files which are part of the library item and can +produce metadata for the item.

+

In other cases, uploads may require a process in which one upload implies +subsequent uploads. For example, an Open Virtualization Format (OVF) +package is composed of an OVF descriptor file and the associated virtual +disk files. Uploading an OVF descriptor can enable the Content Library +Service to understand that the complete OVF package requires additional +disk files, and it can set up the transfers for the disks automatically by +adding the file entries for the disks when the OVF descriptor is uploaded.

+

When a type is not supported by a plugin, or the type is not specified, the +Content Library Service can handle a library item in a default way, without +adding metadata to the item or guiding the upload process.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(description=None, name=None, type=None, vendor=None, version=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Type.Info class describes support for a specific type of data in an +com.vmware.content.library_client.ItemModel. The Type.Info can +be queried through the Type class. Type support describes plugins +in the Content Library which can provide metadata on library items and help +manage the transfer process by adding dependent files when a current file +is added.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • description (str) – A description of the type support offered by the plugin.

  • +
  • name (str) – The name of the plugin which provides the type support.

  • +
  • type (str) –

    The type which the plugin supports.

    +

    To upload a library item of the type supported by the plugin, the +com.vmware.content.library_client.ItemModel.type attribute +of the item should be set to this value.

    +

  • +
  • vendor (str) – The name of the vendor who created the type support plugin.

  • +
  • version (str) – The version number of the type support plugin.

  • +
+
+
+
+ +
+
+list()
+

Returns a list of Type.Info instances which describe +the type support plugins in this Content Library.

+
+
Return type
+

list of Type.Info

+
+
Returns
+

The list of Type.Info instances which describe +the type support plugins in this Content Library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires ContentLibrary.TypeIntrospection.

  • +
+
+
+
+ +
+ +
+
+

com.vmware.vapi_client module

+

The com.vmware.vapi_client component provides API infrastructure classes +and standard types that can be used in the interface specification of any +class.

+
+
+class com.vmware.vapi_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter_client module

+

The com.vmware.vcenter_client module provides classes for managing VMware +vSphere environments. The module is available starting in vSphere 6.5.

+
+
+class com.vmware.vcenter_client.Cluster(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Cluster class provides methods to manage clusters in the vCenter +Server.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class FilterSpec(clusters=None, names=None, folders=None, datacenters=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cluster.FilterSpec class contains attributes used to filter the +results when listing clusters (see Cluster.list()). If multiple +attributes are specified, only clusters matching all of the attributes +match the filter.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • clusters (set of str or None) – Identifiers of clusters that can match the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will contain identifiers for +the resource type: ClusterComputeResource. +If None or empty, clusters with any identifier match the filter.

  • +
  • names (set of str or None) – Names that clusters must have to match the filter (see +Cluster.Info.name). +If None or empty, clusters with any name match the filter.

  • +
  • folders (set of str or None) – Folders that must contain the cluster for the cluster to match the +filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +Folder. When methods return a value of this class as a return +value, the attribute will contain identifiers for the resource +type: Folder. +If None or empty, clusters in any folder match the filter.

  • +
  • datacenters (set of str or None) – Datacenters that must contain the cluster for the cluster to match +the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +Datacenter. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: Datacenter. +If None or empty, clusters in any datacenter match the filter.

  • +
+
+
+
+ +
+
+class Info(name=None, resource_pool=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cluster.Info class contains information about a cluster in vCenter +Server.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – The name of the cluster

  • +
  • resource_pool (str) – Identifier of the root resource pool of the cluster +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ResourcePool. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: ResourcePool.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'ClusterComputeResource'
+

The resource type for the vCenter Cluster

+
+ +
+
+class Summary(cluster=None, name=None, ha_enabled=None, drs_enabled=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cluster.Summary class contains commonly used information about a +cluster in vCenter Server.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: ClusterComputeResource.

  • +
  • name (str) – Name of the cluster.

  • +
  • ha_enabled (bool) – Flag indicating whether the vSphere HA feature is enabled for the +cluster.

  • +
  • drs_enabled (bool) – Flag indicating whether the vSphere DRS service is enabled for the +cluster.

  • +
+
+
+
+ +
+
+get(cluster)
+

Retrieves information about the cluster corresponding to cluster.

+
+
Parameters
+

cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

Cluster.Info

+
+
Returns
+

The Cluster.Info instances that corresponds to the +cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if there is no cluster associated with cluster in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the session id is missing from the request or the corresponding +session object cannot be found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t not have the required privileges.

+
+
+
+ +
+
+list(filter=None)
+

Returns information about at most 1000 visible (subject to permission +checks) clusters in vCenter matching the Cluster.FilterSpec.

+
+
Parameters
+

filter (Cluster.FilterSpec or None) – Specification of matching clusters for which information should be +returned. +If None, the behavior is equivalent to a +Cluster.FilterSpec with all attributes None which means +all clusters match the filter.

+
+
Return type
+

list of Cluster.Summary

+
+
Returns
+

Commonly used information about the clusters matching the +Cluster.FilterSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if more than 1000 clusters match the Cluster.FilterSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter_client.Datacenter(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Datacenter class provides methods to manage datacenters in the +vCenter Server.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(name=None, folder=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Datacenter.CreateSpec class defines the information used to create +a datacenter.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – The name of the datacenter to be created.

  • +
  • folder (str or None) – Datacenter folder in which the new datacenter should be created. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: Folder. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: Folder. +This attribute is currently required. In the future, if this +attribute is None, the system will attempt to choose a suitable +folder for the datacenter; if a folder cannot be chosen, the +datacenter creation operation will fail.

  • +
+
+
+
+ +
+
+class FilterSpec(datacenters=None, names=None, folders=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Datacenter.FilterSpec class contains attributes used to filter the +results when listing datacenters (see Datacenter.list()). If multiple +attributes are specified, only datacenters matching all of the attributes +match the filter.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • datacenters (set of str or None) – Identifiers of datacenters that can match the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +Datacenter. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: Datacenter. +If None or empty, datacenters with any identifier match the filter.

  • +
  • names (set of str or None) – Names that datacenters must have to match the filter (see +Datacenter.Info.name). +If None or empty, datacenters with any name match the filter.

  • +
  • folders (set of str or None) – Folders that must contain the datacenters for the datacenter to +match the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +Folder. When methods return a value of this class as a return +value, the attribute will contain identifiers for the resource +type: Folder. +If None or empty, datacenters in any folder match the filter.

  • +
+
+
+
+ +
+
+class Info(name=None, datastore_folder=None, host_folder=None, network_folder=None, vm_folder=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Datacenter.Info class contains information about a datacenter in +vCenter Server.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – The name of the datacenter.

  • +
  • datastore_folder (str) – The root datastore folder associated with the datacenter. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: Folder. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: Folder.

  • +
  • host_folder (str) – The root host and cluster folder associated with the datacenter. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: Folder. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: Folder.

  • +
  • network_folder (str) – The root network folder associated with the datacenter. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: Folder. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: Folder.

  • +
  • vm_folder (str) – The root virtual machine folder associated with the datacenter. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: Folder. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: Folder.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'Datacenter'
+

The resource type for the vCenter Datacenter

+
+ +
+
+class Summary(datacenter=None, name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Datacenter.Summary class contains commonly used information about a +datacenter in vCenter Server.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • datacenter (str) – Identifier of the datacenter. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Datacenter. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Datacenter.

  • +
  • name (str) – Name of the datacenter.

  • +
+
+
+
+ +
+
+create(spec)
+

Create a new datacenter in the vCenter inventory

+
+
Parameters
+

spec (Datacenter.CreateSpec) – Specification for the new datacenter to be created.

+
+
Return type
+

str

+
+
Returns
+

The identifier of the newly created datacenter +The return value will be an identifier for the resource type: +Datacenter.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if the datacenter with the same name is already present.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the datacenter name is empty or invalid as per the underlying +implementation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the folder is not specified and the system cannot choose a +suitable one.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the datacenter folder cannot be found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+delete(datacenter, force=None)
+

Delete an empty datacenter from the vCenter Server

+
+
Parameters
+
    +
  • datacenter (str) – Identifier of the datacenter to be deleted. +The parameter must be an identifier for the resource type: +Datacenter.

  • +
  • force (bool or None) – If true, delete the datacenter even if it is not empty. +If None a com.vmware.vapi.std.errors_client.ResourceInUse +exception will be reported if the datacenter is not empty. This is +the equivalent of passing the value false.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if there is no datacenter associated with datacenter in the +system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInUse +if the datacenter associated with datacenter is not empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+get(datacenter)
+

Retrieves information about the datacenter corresponding to +datacenter.

+
+
Parameters
+

datacenter (str) – Identifier of the datacenter. +The parameter must be an identifier for the resource type: +Datacenter.

+
+
Return type
+

Datacenter.Info

+
+
Returns
+

The Datacenter.Info instances that corresponds to the +datacenter.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if there is no datacenter associated with datacenter in the +system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+list(filter=None)
+

Returns information about at most 1000 visible (subject to permission +checks) datacenters in vCenter matching the +Datacenter.FilterSpec.

+
+
Parameters
+

filter (Datacenter.FilterSpec or None) – Specification of matching datacenters for which information should +be returned. +If None, the behavior is equivalent to a +Datacenter.FilterSpec with all attributes None which means +all datacenters match the filter.

+
+
Return type
+

list of Datacenter.Summary

+
+
Returns
+

Commonly used information about the datacenters matching the +Datacenter.FilterSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if more than 1000 datacenters match the +Datacenter.FilterSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter_client.Datastore(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Datastore class provides methods for manipulating a datastore.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class FilterSpec(datastores=None, names=None, types=None, folders=None, datacenters=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Datastore.FilterSpec class contains attributes used to filter the +results when listing datastores (see Datastore.list()). If multiple +attributes are specified, only datastores matching all of the attributes +match the filter.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • datastores (set of str or None) – Identifiers of datastores that can match the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +Datastore. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: Datastore. +If None or empty, datastores with any identifier match the filter.

  • +
  • names (set of str or None) – Names that datastores must have to match the filter (see +Datastore.Info.name). +If None or empty, datastores with any name match the filter.

  • +
  • types (set of Datastore.Type or None) – Types that datastores must have to match the filter (see +Datastore.Summary.type). +If None or empty, datastores with any type match the filter.

  • +
  • folders (set of str or None) – Folders that must contain the datastore for the datastore to match +the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +Folder. When methods return a value of this class as a return +value, the attribute will contain identifiers for the resource +type: Folder. +If None or empty, datastores in any folder match the filter.

  • +
  • datacenters (set of str or None) – Datacenters that must contain the datastore for the datastore to +match the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +Datacenter. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: Datacenter. +If None or empty, datastores in any datacenter match the filter.

  • +
+
+
+
+ +
+
+class Info(name=None, type=None, accessible=None, free_space=None, multiple_host_access=None, thin_provisioning_supported=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Datastore.Info class contains information about a datastore.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Name of the datastore.

  • +
  • type (Datastore.Type) – Type (VMFS, NFS, NFS41, CIFS, VSAN, VFFS, VVOL) of the datastore.

  • +
  • accessible (bool) – Whether or not this datastore is accessible.

  • +
  • free_space (long or None) –

    Available space of this datastore, in bytes.

    +
    +

    The server periodically updates this value.

    +
    +

    This attribute will be None if the available space of this +datastore is not known.

    +

  • +
  • multiple_host_access (bool) – Whether or not ore than one host in the datacenter has been +configured with access to the datastore.

  • +
  • thin_provisioning_supported (bool) – Whether or not the datastore supports thin provisioning on a per +file basis. When thin provisioning is used, backing storage is +lazily allocated.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'Datastore'
+

The resource type for the vCenter datastore

+
+ +
+
+class Summary(datastore=None, name=None, type=None, free_space=None, capacity=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Datastore.Summary class contains commonly used information about a +datastore.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • datastore (str) – Identifier of the datastore. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Datastore. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Datastore.

  • +
  • name (str) – Name of the datastore.

  • +
  • type (Datastore.Type) – Type (VMFS, NFS, NFS41, CIFS, VSAN, VFFS, VVOL) of the datatore.

  • +
  • free_space (long or None) –

    Available space of this datastore, in bytes.

    +
    +

    The server periodically updates this value.

    +
    +

    This attribute will be None if the available space of this +datastore is not known.

    +

  • +
  • capacity (long or None) –

    Capacity of this datastore, in bytes.

    +
    +

    The server periodically updates this value.

    +
    +

    This attribute will be None if the capacity of this datastore is +not known.

    +

  • +
+
+
+
+ +
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Datastore.Type class defines the supported types of vCenter +datastores.

+
+

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 the Type instance.

+
+
+
+
+CIFS = Type(string='CIFS')
+

Common Internet File System.

+
+ +
+
+NFS = Type(string='NFS')
+

Network file system v3 (linux & esx servers only).

+
+ +
+
+NFS41 = Type(string='NFS41')
+

Network file system v4.1 (linux & esx servers only).

+
+ +
+
+VFFS = Type(string='VFFS')
+

Flash Read Cache (ESX Server only).

+
+ +
+
+VMFS = Type(string='VMFS')
+

VMware File System (ESX Server only).

+
+ +
+
+VSAN = Type(string='VSAN')
+

Virtual SAN (ESX Server only).

+
+ +
+
+VVOL = Type(string='VVOL')
+

vSphere Virtual Volume (ESX Server only).

+
+ +
+ +
+
+get(datastore)
+

Retrieves information about the datastore indicated by datastore.

+
+
Parameters
+

datastore (str) – Identifier of the datastore for which information should be +retrieved. +The parameter must be an identifier for the resource type: +Datastore.

+
+
Return type
+

Datastore.Info

+
+
Returns
+

information about the datastore.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the datastore indicated by datastore does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+list(filter=None)
+

Returns information about at most 2500 visible (subject to permission +checks) datastores in vCenter matching the +Datastore.FilterSpec.

+
+
Parameters
+

filter (Datastore.FilterSpec or None) – Specification of matching datastores for which information should +be returned. +If None, the behavior is equivalent to a +Datastore.FilterSpec with all attributes None which means +all datastores match the filter.

+
+
Return type
+

list of Datastore.Summary

+
+
Returns
+

Commonly used information about the datastores matching the +Datastore.FilterSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the Datastore.FilterSpec.types attribute contains a +value that is not supported by the server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the Datastore.FilterSpec.types attribute contains a +value that is not supported by the server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if more than 2500 datastores match the +Datastore.FilterSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter_client.Deployment(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Deployment class provides methods to get the status of the vCenter +appliance deployment. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(state=None, progress=None, subtask_order=None, subtasks=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.VapiStruct

+

The Deployment.Info class contains attributes to describe the state of +the appliance. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • state (com.vmware.vcenter.deployment_client.ApplianceState) – State of the vCenter Server Appliance. This attribute was added in +vSphere API 6.7.

  • +
  • progress (com.vmware.cis.task_client.Progress) – The progress info of the current appliance status. This attribute +was added in vSphere API 6.7. +This attribute is optional and it is only relevant when the value +of #status is one of +com.vmware.cis.task_client.Status.RUNNING, +com.vmware.cis.task_client.Status.BLOCKED, +com.vmware.cis.task_client.Status.SUCCEEDED, or +com.vmware.cis.task_client.Status.FAILED.

  • +
  • subtask_order (list of str or None) – The ordered list of subtasks for this deployment operation. This +attribute was added in vSphere API 6.7. +Only set when the appliance state is RUNNING_IN_PROGRESS, +FAILED, CANCELLED and SUCCEEDED.

  • +
  • subtasks ((dict of str and Deployment.Task) or None) – The map of the deployment subtasks and their status infomation. +This attribute was added in vSphere API 6.7. +Only set when the appliance state is RUNNING_IN_PROGRESS, +FAILED, CANCELLED and SUCCEEDED.

  • +
  • 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 (str or None) – 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.DynamicID or None) – 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 (Exception or None) – 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 (see +com.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 +of status is one of +com.vmware.cis.task_client.Status.RUNNING, +com.vmware.cis.task_client.Status.BLOCKED, +com.vmware.cis.task_client.Status.SUCCEEDED, or +com.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 +of status is one of +com.vmware.cis.task_client.Status.SUCCEEDED or +com.vmware.cis.task_client.Status.FAILED.

  • +
  • user (str or None) – Name of the user who performed the operation. +This attribute will be None if the operation is performed by the +system.

  • +
+
+
+
+ +
+
+class Task(progress=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.VapiStruct

+

The Deployment.Task class contains attributes to describe a particular +deployment task. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • progress (com.vmware.cis.task_client.Progress) – The progress info of this deployment task. This attribute was added +in vSphere API 6.7. +This attribute is optional and it is only relevant when the value +of #status is one of +com.vmware.cis.task_client.Status.RUNNING, +com.vmware.cis.task_client.Status.BLOCKED, +com.vmware.cis.task_client.Status.SUCCEEDED, or +com.vmware.cis.task_client.Status.FAILED.

  • +
  • result (com.vmware.vcenter.deployment_client.Notifications or None) – Result of the task. This attribute was added in vSphere API 6.7. +This attribute will be None if result is not available at the +current step of the task.

  • +
  • 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 (str or None) – 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.DynamicID or None) – 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 (Exception or None) – 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 (see +com.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 +of status is one of +com.vmware.cis.task_client.Status.RUNNING, +com.vmware.cis.task_client.Status.BLOCKED, +com.vmware.cis.task_client.Status.SUCCEEDED, or +com.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 +of status is one of +com.vmware.cis.task_client.Status.SUCCEEDED or +com.vmware.cis.task_client.Status.FAILED.

  • +
  • user (str or None) – Name of the user who performed the operation. +This attribute will be None if the operation is performed by the +system.

  • +
+
+
+
+ +
+
+get()
+

Get the current status of the appliance deployment. This method was +added in vSphere API 6.7.

+
+
Return type
+

Deployment.Info

+
+
Returns
+

Info structure containing the status information about the +appliance.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if appliance state cannot be determined.

+
+
+
+ +
+
+rollback()
+

Rollback a failed appliance so it can be configured once again. This +method was added in vSphere API 6.7.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the appliance is not in FAILED state.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter_client.Folder(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Folder class provides methods for manipulating a vCenter Server folder.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class FilterSpec(folders=None, names=None, type=None, parent_folders=None, datacenters=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Folder.FilterSpec class contains attributes used to filter the +results when listing folders (see Folder.list()). If multiple +attributes are specified, only folders matching all of the attributes match +the filter.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • folders (set of str or None) – Identifiers of folders that can match the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +Folder. When methods return a value of this class as a return +value, the attribute will contain identifiers for the resource +type: Folder. +If None or empty, folders with any identifier match the filter.

  • +
  • names (set of str or None) – Names that folders must have to match the filter (see +Folder.Summary.name). +If None or empty, folders with any name match the filter.

  • +
  • type (Folder.Type or None) – Type that folders must have to match the filter (see +Folder.Summary.type). +If None, folders with any type match the filter.

  • +
  • parent_folders (set of str or None) – Folders that must contain the folder for the folder to match the +filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +Folder. When methods return a value of this class as a return +value, the attribute will contain identifiers for the resource +type: Folder. +If None or empty, folder in any folder match the filter.

  • +
  • datacenters (set of str or None) – Datacenters that must contain the folder for the folder to match +the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +Datacenter. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: Datacenter. +If None or empty, folder in any datacenter match the filter.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'Folder'
+

The resource type for the vCenter folder

+
+ +
+
+class Summary(folder=None, name=None, type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Folder.Summary class contains commonly used information about a +folder.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • folder (str) – Identifier of the folder. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: Folder. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: Folder.

  • +
  • name (str) – Name of the vCenter Server folder.

  • +
  • type (Folder.Type) – Type (DATACENTER, DATASTORE, HOST, NETWORK, VIRTUAL_MACHINE) of the +vCenter Server folder.

  • +
+
+
+
+ +
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Folder.Type class defines the type of a vCenter Server folder. The +type of a folder determines what what kinds of children can be contained in +the folder.

+
+

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 the Type instance.

+
+
+
+
+DATACENTER = Type(string='DATACENTER')
+

A folder that can contain datacenters.

+
+ +
+
+DATASTORE = Type(string='DATASTORE')
+

A folder that can contain datastores.

+
+ +
+
+HOST = Type(string='HOST')
+

A folder that can contain compute resources (hosts and clusters).

+
+ +
+
+NETWORK = Type(string='NETWORK')
+

A folder that can contain networkds.

+
+ +
+
+VIRTUAL_MACHINE = Type(string='VIRTUAL_MACHINE')
+

A folder that can contain virtual machines.

+
+ +
+ +
+
+list(filter=None)
+

Returns information about at most 1000 visible (subject to permission +checks) folders in vCenter matching the Folder.FilterSpec.

+
+
Parameters
+

filter (Folder.FilterSpec or None) – Specification of matching folders for which information should be +returned. +If None, the behavior is equivalent to a Folder.FilterSpec +with all attributes None which means all folders match the filter.

+
+
Return type
+

list of Folder.Summary

+
+
Returns
+

Commonly used information about the folders matching the +Folder.FilterSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the Folder.FilterSpec.type attribute contains a value +that is not supported by the server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if more than 1000 folders match the Folder.FilterSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter_client.Host(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Host class provides methods to manage hosts in the vCenter Server.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class ConnectionState(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Host.ConnectionState class defines the connection status of a host.

+
+

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 the ConnectionState instance.

+
+
+
+
+CONNECTED = ConnectionState(string='CONNECTED')
+

Host is connected to the vCenter Server

+
+ +
+
+DISCONNECTED = ConnectionState(string='DISCONNECTED')
+

Host is disconnected from the vCenter Server

+
+ +
+
+NOT_RESPONDING = ConnectionState(string='NOT_RESPONDING')
+

VirtualCenter is not receiving heartbeats from the server. The state +automatically changes to connected once heartbeats are received again.

+
+ +
+ +
+
+class CreateSpec(hostname=None, port=None, user_name=None, password=None, folder=None, thumbprint_verification=None, thumbprint=None, force_add=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Host.CreateSpec class defines the information used to create a +host.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • hostname (str) – The IP address or DNS resolvable name of the host.

  • +
  • port (long or None) – The port of the host. +If None, port 443 will be used.

  • +
  • user_name (str) – The administrator account on the host.

  • +
  • password (str) – The password for the administrator account on the host.

  • +
  • folder (str or None) – Host and cluster folder in which the new standalone host should be +created. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: Folder. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: Folder. +This attribute is currently required. In the future, if this +attribute is None, the system will attempt to choose a suitable +folder for the host; if a folder cannot be chosen, the host +creation operation will fail.

  • +
  • thumbprint_verification (Host.CreateSpec.ThumbprintVerification) – Type of host’s SSL certificate verification to be done.

  • +
  • thumbprint (str) – The thumbprint of the SSL certificate, which the host is expected +to have. The thumbprint is always computed using the SHA1 hash and +is the string representation of that hash in the format: +xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx where, +‘x’ represents a hexadecimal digit. +This attribute is optional and it is only relevant when the value +of thumbprintVerification is +Host.CreateSpec.ThumbprintVerification.THUMBPRINT.

  • +
  • force_add (bool or None) – Whether host should be added to the vCenter Server even if it is +being managed by another vCenter Server. The original vCenterServer +loses connection to the host. +If None, forceAdd is default to false.

  • +
+
+
+
+
+class ThumbprintVerification(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Host.CreateSpec.ThumbprintVerification class defines the thumbprint +verification schemes for a host’s SSL certificate.

+
+

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 the ThumbprintVerification instance.

+
+
+
+
+NONE = ThumbprintVerification(string='NONE')
+

Accept the host’s thumbprint without verifying it.

+
+ +
+
+THUMBPRINT = ThumbprintVerification(string='THUMBPRINT')
+

Host’s SSL certificate verified by checking its thumbprint against the +specified thumbprint.

+
+ +
+ +
+ +
+
+class FilterSpec(hosts=None, names=None, folders=None, datacenters=None, standalone=None, clusters=None, connection_states=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Host.FilterSpec class contains attributes used to filter the +results when listing hosts (see Host.list()). If multiple attributes +are specified, only hosts matching all of the attributes match the filter.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • hosts (set of str or None) – Identifiers of hosts that can match the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: HostSystem. +If None or empty, hosts with any identifier match the filter.

  • +
  • names (set of str or None) – Names that hosts must have to match the filter (see +Host.Summary.name). +If None or empty, hosts with any name match the filter.

  • +
  • folders (set of str or None) – Folders that must contain the hosts for the hosts to match the +filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +Folder. When methods return a value of this class as a return +value, the attribute will contain identifiers for the resource +type: Folder. +If None or empty, hosts in any folder match the filter.

  • +
  • datacenters (set of str or None) – Datacenters that must contain the hosts for the hosts to match the +filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +Datacenter. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: Datacenter. +If None or empty, hosts in any datacenter match the filter.

  • +
  • standalone (bool or None) – If true, only hosts that are not part of a cluster can match the +filter, and if false, only hosts that are are part of a cluster can +match the filter. +If None Hosts can match filter independent of whether they are part +of a cluster or not. If this field is true and +Host.FilterSpec.clusters os not empty, no hosts will match +the filter.

  • +
  • clusters (set of str or None) – Clusters that must contain the hosts for the hosts to match the +filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will contain identifiers for +the resource type: ClusterComputeResource. +If None or empty, hosts in any cluster and hosts that are not in a +cluster match the filter. If this attribute is not empty and +Host.FilterSpec.standalone is true, no hosts will match the +filter.

  • +
  • connection_states (set of Host.ConnectionState or None) – Connection states that a host must be in to match the filter (see +Host.Summary.connection_state. +If None or empty, hosts in any connection state match the filter.

  • +
+
+
+
+ +
+
+class PowerState(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Host.PowerState class defines the power states of a host.

+
+

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 the PowerState instance.

+
+
+
+
+POWERED_OFF = PowerState(string='POWERED_OFF')
+

The host was specifically powered off by the user through vCenter server. +This state is not a cetain state, because after vCenter server issues the +command to power off the host, the host might crash, or kill all the +processes but fail to power off.

+
+ +
+
+POWERED_ON = PowerState(string='POWERED_ON')
+

The host is powered on. A host that is entering standby mode is also in +this state.

+
+ +
+
+STANDBY = PowerState(string='STANDBY')
+

The host was specifically put in standby mode, either explicitly by the +user, or automatically by DPM. This state is not a cetain state, because +after VirtualCenter issues the command to put the host in standby state, +the host might crash, or kill all the processes but fail to enter standby +mode. A host that is exiting standby mode is also in this state.

+
+ +
+ +
+
+RESOURCE_TYPE = 'HostSystem'
+

The resource type for the vCenter Host.

+
+ +
+
+class Summary(host=None, name=None, connection_state=None, power_state=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Host.Summary class contains commonly used information about a host +in vCenter Server.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • host (str) – Identifier of the host. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: HostSystem.

  • +
  • name (str) – Name of the host.

  • +
  • connection_state (Host.ConnectionState) – Connection status of the host

  • +
  • power_state (Host.PowerState) – Power state of the host +This attribute is optional and it is only relevant when the value +of connectionState is Host.ConnectionState.CONNECTED.

  • +
+
+
+
+ +
+
+connect(host)
+

Connect to the host corresponding to host previously added to the +vCenter server.

+
+
Parameters
+

host (str) – Identifier of the host to be reconnected. +The parameter must be an identifier for the resource type: +HostSystem.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the host associated with host is already connected.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if there is no host associated with host in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+create(spec)
+

Add a new standalone host in the vCenter inventory. The newly connected +host will be in connected state. The vCenter Server will verify the SSL +certificate before adding the host to its inventory. In the case where +the SSL certificate cannot be verified because the Certificate +Authority is not recognized or the certificate is self signed, the +vCenter Server will fall back to thumbprint verification mode as +defined by Host.CreateSpec.ThumbprintVerification.

+
+
Parameters
+

spec (Host.CreateSpec) – Specification for the new host to be created.

+
+
Return type
+

str

+
+
Returns
+

The newly created identifier of the host in vCenter. +The return value will be an identifier for the resource type: +HostSystem.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if the host with the same name is already present.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if installation of VirtualCenter agent on a host fails.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the host name is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the host folder is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the SSL thumbprint specified is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementType +if the host folder id does not support vSphere compute resource as +its children type.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if there is no folder associated with the folder attribute in +the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInUse +if the host is already being managed by another vCenter Server

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if there are not enough licenses to add the host.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user name or password for the administration account on the +host are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the software version on the host is not supported.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+delete(host)
+

Remove a standalone host from the vCenter Server.

+
+
Parameters
+

host (str) – Identifier of the host to be deleted. +The parameter must be an identifier for the resource type: +HostSystem.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if there is no host associated with host in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInUse +if the host associated with host is in a vCenter cluster

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+disconnect(host)
+

Disconnect the host corresponding to host from the vCenter server

+
+
Parameters
+

host (str) – Identifier of the host to be disconnected. +The parameter must be an identifier for the resource type: +HostSystem.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the host associated with host is already disconnected.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if there is no host associated with host in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+list(filter=None)
+

Returns information about at most 2500 visible (subject to permission +checks) hosts in vCenter matching the Host.FilterSpec.

+
+
Parameters
+

filter (Host.FilterSpec or None) – Specification of matching hosts for which information should be +returned. +If None, the behavior is equivalent to a Host.FilterSpec +with all attributes None which means all hosts match the filter.

+
+
Return type
+

list of Host.Summary

+
+
Returns
+

Commonly used information about the hosts matching the +Host.FilterSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the Host.FilterSpec.connection_states attribute contains +a value that is not supported by the server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if more than 2500 hosts match the Host.FilterSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter_client.Network(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Network class provides methods for manipulating a vCenter Server +network.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class FilterSpec(networks=None, names=None, types=None, folders=None, datacenters=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Network.FilterSpec class contains attributes used to filter the +results when listing networks (see Network.list()). If multiple +attributes are specified, only networks matching all of the attributes +match the filter.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • networks (set of str or None) – Identifiers of networks that can match the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +Network. When methods return a value of this class as a return +value, the attribute will contain identifiers for the resource +type: Network. +If None or empty, networks with any identifier match the filter.

  • +
  • names (set of str or None) – Names that networks must have to match the filter (see +Network.Summary.name). +If None or empty, networks with any name match the filter.

  • +
  • types (set of Network.Type or None) – Types that networks must have to match the filter (see +Network.Summary.type). +If None, networks with any type match the filter.

  • +
  • folders (set of str or None) – Folders that must contain the network for the network to match the +filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +Folder. When methods return a value of this class as a return +value, the attribute will contain identifiers for the resource +type: Folder. +If None or empty, networks in any folder match the filter.

  • +
  • datacenters (set of str or None) – Datacenters that must contain the network for the network to match +the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +Datacenter. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: Datacenter. +If None or empty, networks in any datacenter match the filter.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'Network'
+

The resource type for the vCenter network

+
+ +
+
+class Summary(network=None, name=None, type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Network.Summary class contains commonly used information about a +network.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • network (str) – Identifier of the network. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: Network. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: Network.

  • +
  • name (str) – Name of the network.

  • +
  • type (Network.Type) – Type (STANDARD_PORTGROUP, DISTRIBUTED_PORTGROUP, OPAQUE_NETWORK) of +the vCenter Server network.

  • +
+
+
+
+ +
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Network.Type class defines the type of a vCenter Server network. +The type of a network can be used to determine what features it supports +and which APIs can be used to find more information about the network or +change its configuration.

+
+

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 the Type instance.

+
+
+
+
+DISTRIBUTED_PORTGROUP = Type(string='DISTRIBUTED_PORTGROUP')
+

XXX: vCenter based (create and managed through vCenter)

+
+ +
+
+OPAQUE_NETWORK = Type(string='OPAQUE_NETWORK')
+

A network for whose configuration is managed outside of vSphere. The +identifer and name of the network is made available through vSphere so that +host and virtual machine virtual ethernet devices can connect to them.

+
+ +
+
+STANDARD_PORTGROUP = Type(string='STANDARD_PORTGROUP')
+

XXX: ESX based (created and managed on ESX)

+
+ +
+ +
+
+list(filter=None)
+

Returns information about at most 1000 visible (subject to permission +checks) networks in vCenter matching the Network.FilterSpec.

+
+
Parameters
+

filter (Network.FilterSpec or None) – Specification of matching networks for which information should be +returned. +If None, the behavior is equivalent to a +Network.FilterSpec with all attributes None which means +all networks match the filter.

+
+
Return type
+

list of Network.Summary

+
+
Returns
+

Commonly used information about the networks matching the +Network.FilterSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the Network.FilterSpec.types attribute contains a value +that is not supported by the server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if more than 1000 networks match the Network.FilterSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter_client.ResourcePool(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The ResourcePool class provides methods for manipulating a vCenter Server +resource pool.

+

This class does not include virtual appliances in the inventory of resource +pools even though part of the behavior of a virtual appliance is to act +like a resource pool.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(name=None, parent=None, cpu_allocation=None, memory_allocation=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The class contains information used to create a resource pool, see +ResourcePool.create(). This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Name of the resource pool. This attribute was added in vSphere API +7.0.0.

  • +
  • parent (str) – Parent of the created resource pool. This attribute was added in +vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ResourcePool. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: ResourcePool.

  • +
  • cpu_allocation (ResourcePool.ResourceAllocationCreateSpec or None) – Resource allocation for CPU. This attribute was added in vSphere +API 7.0.0. +if None or empty, use the default CPU allocation specification.

  • +
  • memory_allocation (ResourcePool.ResourceAllocationCreateSpec or None) – Resource allocation for memory. This attribute was added in vSphere +API 7.0.0. +if None or empty, use the default memory allocation specification.

  • +
+
+
+
+ +
+
+class FilterSpec(resource_pools=None, names=None, parent_resource_pools=None, datacenters=None, hosts=None, clusters=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ResourcePool.FilterSpec class contains attributes used to filter +the results when listing resource pools (see ResourcePool.list()). If +multiple attributes are specified, only resource pools matching all of the +attributes match the filter.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • resource_pools (set of str or None) – Identifiers of resource pools that can match the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +ResourcePool. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: ResourcePool. +If None or empty, resource pools with any identifier match the +filter.

  • +
  • names (set of str or None) – Names that resource pools must have to match the filter (see +ResourcePool.Info.name). +If None or empty, resource pools with any name match the filter.

  • +
  • parent_resource_pools (set of str or None) – Resource pools that must contain the resource pool for the resource +pool to match the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +ResourcePool. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: ResourcePool. +If None or empty, resource pools in any resource pool match the +filter.

  • +
  • datacenters (set of str or None) – Datacenters that must contain the resource pool for the resource +pool to match the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +Datacenter. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: Datacenter. +If None or empty, resource pools in any datacenter match the +filter.

  • +
  • hosts (set of str or None) – Hosts that must contain the resource pool for the resource pool to +match the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: HostSystem. +If None or empty, resource pools in any host match the filter.

  • +
  • clusters (set of str or None) – Clusters that must contain the resource pool for the resource pool +to match the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will contain identifiers for +the resource type: ClusterComputeResource. +If None or empty, resource pools in any cluster match the filter.

  • +
+
+
+
+ +
+
+class Info(name=None, resource_pools=None, cpu_allocation=None, memory_allocation=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ResourcePool.Info class contains information about a resource pool.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Name of the vCenter Server resource pool.

  • +
  • resource_pools (set of str) – Identifiers of the child resource pools contained in this resource +pool. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +ResourcePool. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: ResourcePool.

  • +
  • cpu_allocation (ResourcePool.ResourceAllocationInfo) – Resource allocation information for CPU. This attribute was added +in vSphere API 7.0.0. +This attribute is optional because it was added in a newer version +than its parent node.

  • +
  • memory_allocation (ResourcePool.ResourceAllocationInfo) – Resource allocation information for memory. This attribute was +added in vSphere API 7.0.0. +This attribute is optional because it was added in a newer version +than its parent node.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'ResourcePool'
+

The resource type for the vCenter resource pool

+
+ +
+
+class ResourceAllocationCreateSpec(reservation=None, expandable_reservation=None, limit=None, shares=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ResourcePool.ResourceAllocationCreateSpec class contains resource +allocation information used to create a resource pool, see +ResourcePool.create(). This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • reservation (long or None) – Amount of resource that is guaranteed available to a resource pool. +Reserved resources are not wasted if they are not used. If the +utilization is less than the reservation, the resources can be +utilized by other running virtual machines. Units are MB fo memory, +and MHz for CPU. This attribute was added in vSphere API 7.0.0. +If None or empty, +ResourcePool.ResourceAllocationCreateSpec.reservation will +be set to 0.

  • +
  • expandable_reservation (bool or None) – In a resource pool with an expandable reservation, the reservation +can grow beyond the specified value, if the parent resource pool +has unreserved resources. A non-expandable reservation is called a +fixed reservation. This attribute was added in vSphere API 7.0.0. +If None or empty, +ResourcePool.ResourceAllocationCreateSpec.expandable_reservation +will be set to true.

  • +
  • limit (long or None) – The utilization of a resource pool will not exceed this limit, even +if there are available resources. This is typically used to ensure +a consistent performance of resource pools independent of available +resources. If set to -1, then there is no fixed limit on resource +usage (only bounded by available resources and shares). Units are +MB for memory, and MHz for CPU. This attribute was added in vSphere +API 7.0.0. +If None or empty, +ResourcePool.ResourceAllocationCreateSpec.limit will be set +to -1.

  • +
  • shares (ResourcePool.SharesInfo or None) – Shares are used in case of resource contention. This attribute was +added in vSphere API 7.0.0. +If None or empty, +ResourcePool.ResourceAllocationCreateSpec.shares will be +set to ‘ResourcePool.SharesInfo.Level.NORMAL’.

  • +
+
+
+
+ +
+
+class ResourceAllocationInfo(reservation=None, expandable_reservation=None, limit=None, shares=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ResourcePool.ResourceAllocationInfo class contains resource +allocation information of a resource pool. This class was added in vSphere +API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • reservation (long) – Amount of resource that is guaranteed available to a resource pool. +Reserved resources are not wasted if they are not used. If the +utilization is less than the reservation, the resources can be +utilized by other running virtual machines. Units are MB fo memory, +and MHz for CPU. This attribute was added in vSphere API 7.0.0.

  • +
  • expandable_reservation (bool) – In a resource pool with an expandable reservation, the reservation +can grow beyond the specified value, if the parent resource pool +has unreserved resources. A non-expandable reservation is called a +fixed reservation. This attribute was added in vSphere API 7.0.0.

  • +
  • limit (long) – The utilization of a resource pool will not exceed this limit, even +if there are available resources. This is typically used to ensure +a consistent performance of resource pools independent of available +resources. If set to -1, then there is no fixed limit on resource +usage (only bounded by available resources and shares). Units are +MB for memory, and MHz for CPU. This attribute was added in vSphere +API 7.0.0.

  • +
  • shares (ResourcePool.SharesInfo) – Shares are used in case of resource contention. This attribute was +added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class ResourceAllocationUpdateSpec(reservation=None, expandable_reservation=None, limit=None, shares=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ResourceAllocationUpdateSpec class descrives the updates to be made +to the resource allocation settings of a resource pool. This class was +added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • reservation (long or None) – Amount of resource that is guaranteed available to a resource pool. +Reserved resources are not wasted if they are not used. If the +utilization is less than the reservation, the resources can be +utilized by other running virtual machines. Units are MB fo memory, +and MHz for CPU. This attribute was added in vSphere API 7.0.0. +If None or empty, reservation will be set to 0.

  • +
  • expandable_reservation (bool or None) – In a resource pool with an expandable reservation, the reservation +can grow beyond the specified value, if the parent resource pool +has unreserved resources. A non-expandable reservation is called a +fixed reservation. This attribute was added in vSphere API 7.0.0. +If None or empty, expandableReservation will be set to true.

  • +
  • limit (long or None) – The utilization of a resource pool will not exceed this limit, even +if there are available resources. This is typically used to ensure +a consistent performance of resource pools independent of available +resources. If set to -1, then there is no fixed limit on resource +usage (only bounded by available resources and shares). Units are +MB for memory, and MHz for CPU. This attribute was added in vSphere +API 7.0.0. +If None or empty, limit will be set to -1.

  • +
  • shares (ResourcePool.SharesInfo or None) – Shares are used in case of resource contention. This attribute was +added in vSphere API 7.0.0. +If None or empty, shares will be set to +‘ResourcePool.SharesInfo.Level.NORMAL’.

  • +
+
+
+
+ +
+
+class SharesInfo(level=None, shares=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ResourcePool.SharesInfo class provides specification of shares.

+

Shares are used to determine relative allocation between resource +consumers. In general, a consumer with more shares gets proportionally more +of the resource, subject to certain other constraints.. This class was +added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • level (ResourcePool.SharesInfo.Level) – The allocation level. It maps to a pre-determined set of numeric +values for shares. If the shares value does not map to a predefined +size, then the level is set as CUSTOM. This attribute was added in +vSphere API 7.0.0.

  • +
  • shares (long) –

    When ResourcePool.SharesInfo.level is set to CUSTOM, it is +the number of shares allocated. Otherwise, this value is ignored.

    +

    There is no unit for this value. It is a relative measure based on +the settings for other resource pools.. This attribute was added in +vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of level is ResourcePool.SharesInfo.Level.CUSTOM.

    +

  • +
+
+
+
+
+class Level(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The ResourcePool.SharesInfo.Level class defines the possible values for +the allocation level. This enumeration was added in vSphere API 7.0.0.

+
+

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 the Level instance.

+
+
+
+
+CUSTOM = Level(string='CUSTOM')
+

If set, in case there is resource contention the server uses the +shares value to determine the resource allocation. This class attribute was +added in vSphere API 7.0.0.

+
+ +
+
+HIGH = Level(string='HIGH')
+
+
For CPU: Shares = 2000 * nmumber of virtual CPUs.

For Memory: Shares = 20 * virtual machine memory size in MB.

+
+
+

. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+LOW = Level(string='LOW')
+
+
For CPU: Shares = 500 * number of virtual CPUs.

For Memory: Shares = 5 * virtual machine memory size in MB.

+
+
+

. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+NORMAL = Level(string='NORMAL')
+
+
For CPU: Shares = 1000 * number of virtual CPUs.

For Memory: Shares = 10 * virtual machine memory size in MB.

+
+
+

. This class attribute was added in vSphere API 7.0.0.

+
+ +
+ +
+ +
+
+class Summary(resource_pool=None, name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ResourcePool.Summary class contains commonly used information about +a resource pool in vCenter Server.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • resource_pool (str) – Identifier of the resource pool. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ResourcePool. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: ResourcePool.

  • +
  • name (str) – Name of the resource pool.

  • +
+
+
+
+ +
+
+class UpdateSpec(name=None, cpu_allocation=None, memory_allocation=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The class contains specification for updating the configuration of a +resource pool. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str or None) – Name of the resource pool. This attribute was added in vSphere API +7.0.0. +if None or empty, the name of the resource pool will not be +changed.

  • +
  • cpu_allocation (ResourcePool.ResourceAllocationUpdateSpec or None) – Resource allocation for CPU. This attribute was added in vSphere +API 7.0.0. +if None or empty, the CPU allocation of the resource pool will not +be changed.

  • +
  • memory_allocation (ResourcePool.ResourceAllocationUpdateSpec or None) – Resource allocation for memory. This attribute was added in vSphere +API 7.0.0. +if None or empty, the memory allocation of the resource pool will +not be changed.

  • +
+
+
+
+ +
+
+create(spec)
+

Creates a resource pool. This method was added in vSphere API 7.0.0.

+
+
Parameters
+

spec (ResourcePool.CreateSpec) – Specification of the new resource pool to be created, see +ResourcePool.CreateSpec.

+
+
Return type
+

str

+
+
Returns
+

The identifier of the newly created resource pool. +The return value will be an identifier for the resource type: +ResourcePool.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If a parameter passed in the spec is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the resource specified in parent could not be found

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +If the specified resource in parent is not accessible.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if any of the resources needed to create the resource pool could +not be allocated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource ResourcePool referenced by the attribute +ResourcePool.CreateSpec.parent requires +Resource.CreatePool.

  • +
+
+
+
+ +
+
+delete(resource_pool)
+

Deletes a resource pool. This method was added in vSphere API 7.0.0.

+
+
Parameters
+

resource_pool (str) – Identifier of the resource pool to be deleted. +The parameter must be an identifier for the resource type: +ResourcePool.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the resource pool is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +If the resource pool is a root resource pool.

+
+
+
+ +
+
+get(resource_pool)
+

Retrieves information about the resource pool indicated by +resource_pool.

+
+
Parameters
+

resource_pool (str) – Identifier of the resource pool for which information should be +retrieved. +The parameter must be an identifier for the resource type: +ResourcePool.

+
+
Return type
+

ResourcePool.Info

+
+
Returns
+

Information about the resource pool.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the resource pool indicated by resource_pool does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource ResourcePool referenced by the parameter +resource_pool requires System.Read.

  • +
+
+
+
+ +
+
+list(filter=None)
+

Returns information about at most 1000 visible (subject to permission +checks) resource pools in vCenter matching the +ResourcePool.FilterSpec.

+
+
Parameters
+

filter (ResourcePool.FilterSpec or None) – Specification of matching resource pools for which information +should be returned. +If None, the behavior is equivalent to a +ResourcePool.FilterSpec with all attributes None which +means all resource pools match the filter.

+
+
Return type
+

list of ResourcePool.Summary

+
+
Returns
+

Commonly used information about the resource pools matching the +ResourcePool.FilterSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +If more than 1000 resource pools match the +ResourcePool.FilterSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user doesn’t have the required privileges.

+
+
+
+ +
+
+update(resource_pool, spec)
+

Updates the configuration of a resource pool. This method was added in +vSphere API 7.0.0.

+
+
Parameters
+
    +
  • resource_pool (str) – Identifier of the resource pool. +The parameter must be an identifier for the resource type: +ResourcePool.

  • +
  • spec (ResourcePool.UpdateSpec) – Specification for updating the configuration of the resource pool.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If any of the specified parameters is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the resource pool is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +If the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +If any of the resources needed to reconfigure the resource pool +could not be allocated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource ResourcePool referenced by the parameter +resource_pool requires Resource.EditPool.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.vcenter_client.VM(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The VM class provides methods for managing the lifecycle of a virtual +machine.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class ClonePlacementSpec(folder=None, resource_pool=None, host=None, cluster=None, datastore=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The VM.ClonePlacementSpec class contains information used to place a +clone of a virtual machine onto resources within the vCenter inventory. +This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • folder (str or None) – Virtual machine folder into which the cloned virtual machine should +be placed. This attribute was added in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: Folder. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: Folder. +If attribute is None, the system will use the virtual machine +folder of the source virtual machine. If this results in a conflict +due to other placement parameters, the virtual machine clone +operation will fail.

  • +
  • resource_pool (str or None) – Resource pool into which the cloned virtual machine should be +placed. This attribute was added in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ResourcePool. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: ResourcePool. +If attribute is None, the system will use the resource pool of the +source virtual machine. If this results in a conflict due to other +placement parameters, the virtual machine clone operation will +fail.

  • +
  • host (str or None) –

    Host onto which the cloned virtual machine should be placed.

    +

    If host and resourcePool are both specified, +resourcePool must belong to host.

    +

    If host and cluster are both specified, host must be a +member of cluster.. This attribute was added in vSphere API +7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: HostSystem. +If this attribute is unset, if resourcePool is unset, the +cloned virtual machine will use the host of the source virtual +machine. if resourcePool is set, and the target is a standalone +host, the host is used. if resourcePool is set, and the target +is a DRS cluster, a host will be picked by DRS. if resourcePool +is set, and the target is a cluster without DRS, InvalidArgument +will be thrown.

    +

  • +
  • cluster (str or None) –

    Cluster into which the cloned virtual machine should be placed.

    +

    If cluster and resourcePool are both specified, +resourcePool must belong to cluster.

    +

    If cluster and host are both specified, host must be a +member of cluster.. This attribute was added in vSphere API +7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: ClusterComputeResource. +If resourcePool or host is specified, it is recommended +that this attribute be None.

    +

  • +
  • datastore (str or None) – Datastore on which the cloned virtual machine’s configuration state +should be stored. This datastore will also be used for any virtual +disks that are created as part of the virtual machine clone +operation unless individually overridden. This attribute was added +in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Datastore. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Datastore. +If attribute is None, the system will use the datastore of the +source virtual machine.

  • +
+
+
+
+ +
+
+class CloneSpec(source=None, name=None, placement=None, disks_to_remove=None, disks_to_update=None, power_on=None, guest_customization_spec=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Document-based clone spec. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • source (str) – Virtual machine to clone from. This attribute was added in vSphere +API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +VirtualMachine. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: VirtualMachine.

  • +
  • name (str) – Virtual machine name. This attribute was added in vSphere API +7.0.0.

  • +
  • placement (VM.ClonePlacementSpec or None) – Virtual machine placement information. This attribute was added in +vSphere API 7.0.0. +If this attribute is None, the system will use the values from the +source virtual machine. If specified, each field will be used for +placement. If the fields result in disjoint placement the operation +will fail. If the fields along with the placement values of the +source virtual machine result in disjoint placement the operation +will fail.

  • +
  • disks_to_remove (set of str or None) – Set of Disks to Remove. This attribute was added in vSphere API +7.0.0. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.vcenter.vm.hardware.Disk. When methods return a +value of this class as a return value, the attribute will contain +identifiers for the resource type: +com.vmware.vcenter.vm.hardware.Disk. +If None, all disks will be copied. If the same identifier is in +VM.CloneSpec.disks_to_update InvalidArgument fault will be +returned.

  • +
  • disks_to_update ((dict of str and VM.DiskCloneSpec) or None) – Map of Disks to Update. This attribute was added in vSphere API +7.0.0. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.Disk. When methods return +a value of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Disk. +If None, all disks will copied to the datastore specified in the +VM.ClonePlacementSpec.datastore attribute of +VM.CloneSpec.placement. If the same identifier is in +VM.CloneSpec.disks_to_remove InvalidArgument fault will be +thrown.

  • +
  • power_on (bool or None) – Attempt to perform a VM.CloneSpec.power_on after clone. +This attribute was added in vSphere API 7.0.0. +If None, the virtual machine will not be powered on.

  • +
  • guest_customization_spec (VM.GuestCustomizationSpec or None) – Guest customization spec to apply to the virtual machine after the +virtual machine is deployed. This attribute was added in vSphere +API 7.0.0. +If None, the guest operating system is not customized after clone.

  • +
+
+
+
+ +
+
+class ComputePlacementSpec(resource_pool=None, host=None, cluster=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The VM.ComputePlacementSpec class contains information used to place a +virtual machine on compute resources.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • resource_pool (str or None) – Resource pool into which the virtual machine should be placed. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ResourcePool. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: ResourcePool. +This attribute is currently required if both host and +cluster are None. In the future, if this attribute is None, the +system will attempt to choose a suitable resource pool for the +virtual machine; if a resource pool cannot be chosen, the virtual +machine creation operation will fail.

  • +
  • host (str or None) –

    Host onto which the virtual machine should be placed.

    +

    If host and resourcePool are both specified, +resourcePool must belong to host.

    +

    If host and cluster are both specified, host must be a +member of cluster. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: HostSystem. +This attribute may be None if resourcePool or cluster is +specified. If None, the system will attempt to choose a suitable +host for the virtual machine; if a host cannot be chosen, the +virtual machine creation operation will fail.

    +

  • +
  • cluster (str or None) –

    Cluster into which the virtual machine should be placed.

    +

    If cluster and resourcePool are both specified, +resourcePool must belong to cluster.

    +

    If cluster and host are both specified, host must be a +member of cluster. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: ClusterComputeResource. +If resourcePool or host is specified, it is recommended +that this attribute be None.

    +

  • +
+
+
+
+ +
+
+class CreateSpec(guest_os=None, name=None, placement=None, hardware_version=None, boot=None, boot_devices=None, cpu=None, memory=None, disks=None, nics=None, cdroms=None, floppies=None, parallel_ports=None, serial_ports=None, sata_adapters=None, scsi_adapters=None, storage_policy=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Document-based creation spec.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class DiskCloneSpec(datastore=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Document-based disk clone spec. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

datastore (str or None) – Destination datastore to clone disk. This attribute was added in +vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Datastore. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Datastore. +This attribute is currently required. In the future, if this +attribute is None disk will be copied to the datastore specified in +the VM.ClonePlacementSpec.datastore attribute of +VM.CloneSpec.placement.

+
+
+
+ +
+
+class DiskRelocateSpec(datastore=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Document-based disk relocate spec. This class was added in vSphere API +7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

datastore (str or None) – Destination datastore to relocate disk. This attribute was added in +vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Datastore. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Datastore. +This attribute is currently required. In the future, if this +attribute is unset, disk will use the datastore specified in +VM.RelocatePlacementSpec.datastore attribute of +VM.RelocateSpec.placement.

+
+
+
+ +
+
+class FilterSpec(vms=None, names=None, folders=None, datacenters=None, hosts=None, clusters=None, resource_pools=None, power_states=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The VM.FilterSpec class contains attributes used to filter the results +when listing virtual machines (see VM.list()). If multiple attributes +are specified, only virtual machines matching all of the attributes match +the filter.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • vms (set of str or None) – Identifiers of virtual machines that can match the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +VirtualMachine. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: VirtualMachine. +If None or empty, virtual machines with any identifier match the +filter.

  • +
  • names (set of str or None) – Names that virtual machines must have to match the filter (see +VM.Info.name). +If None or empty, virtual machines with any name match the filter.

  • +
  • folders (set of str or None) – Folders that must contain the virtual machine for the virtual +machine to match the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +Folder. When methods return a value of this class as a return +value, the attribute will contain identifiers for the resource +type: Folder. +If None or empty, virtual machines in any folder match the filter.

  • +
  • datacenters (set of str or None) – Datacenters that must contain the virtual machine for the virtual +machine to match the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +Datacenter. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: Datacenter. +If None or empty, virtual machines in any datacenter match the +filter.

  • +
  • hosts (set of str or None) – Hosts that must contain the virtual machine for the virtual machine +to match the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: HostSystem. +If None or empty, virtual machines on any host match the filter.

  • +
  • clusters (set of str or None) – Clusters that must contain the virtual machine for the virtual +machine to match the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will contain identifiers for +the resource type: ClusterComputeResource. +If None or empty, virtual machines in any cluster match the filter.

  • +
  • resource_pools (set of str or None) – Resource pools that must contain the virtual machine for the +virtual machine to match the filter. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +ResourcePool. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: ResourcePool. +If None or empty, virtual machines in any resource pool match the +filter.

  • +
  • power_states (set of com.vmware.vcenter.vm_client.Power.State or None) – Power states that a virtual machine must be in to match the filter +(see com.vmware.vcenter.vm_client.Power.Info.state. +If None or empty, virtual machines in any power state match the +filter.

  • +
+
+
+
+ +
+
+class GuestCustomizationSpec(name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The VM.GuestCustomizationSpec class contains information required to +customize a virtual machine when deploying it. This class was added in +vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

name (str or None) – Name of the customization specification. This attribute was added +in vSphere API 7.0.0. +If None, no guest customization is performed.

+
+
+
+ +
+
+class Info(guest_os=None, name=None, identity=None, power_state=None, instant_clone_frozen=None, hardware=None, boot=None, boot_devices=None, cpu=None, memory=None, disks=None, nics=None, cdroms=None, floppies=None, parallel_ports=None, serial_ports=None, sata_adapters=None, scsi_adapters=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Document-based info.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • guest_os (com.vmware.vcenter.vm_client.GuestOS) – Guest OS.

  • +
  • name (str) – Virtual machine name.

  • +
  • identity (com.vmware.vcenter.vm_client.Identity.Info) – Identity of the virtual machine. This attribute was added in +vSphere API 6.7.1. +This attribute is optional because it was added in a newer version +than its parent node.

  • +
  • power_state (com.vmware.vcenter.vm_client.Power.State) – Power state of the virtual machine.

  • +
  • instant_clone_frozen (bool) – Indicates whether the virtual machine is frozen for instant clone, +or not. This attribute was added in vSphere API 6.7.1. +This attribute is optional because it was added in a newer version +than its parent node.

  • +
  • hardware (com.vmware.vcenter.vm_client.Hardware.Info) – Virtual hardware version information.

  • +
  • boot (com.vmware.vcenter.vm.hardware_client.Boot.Info) – Boot configuration.

  • +
  • boot_devices (list of com.vmware.vcenter.vm.hardware.boot_client.Device.Entry) – Boot device configuration. If the list has no entries, a +server-specific default boot sequence is used.

  • +
  • cpu (com.vmware.vcenter.vm.hardware_client.Cpu.Info) – CPU configuration.

  • +
  • memory (com.vmware.vcenter.vm.hardware_client.Memory.Info) – Memory configuration.

  • +
  • disks (dict of str and com.vmware.vcenter.vm.hardware_client.Disk.Info) – List of disks. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.Disk. When methods return +a value of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Disk.

  • +
  • nics (dict of str and com.vmware.vcenter.vm.hardware_client.Ethernet.Info) – List of Ethernet adapters. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.Ethernet. When methods +return a value of this class as a return value, the key in the +attribute dict will be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.Ethernet.

  • +
  • cdroms (dict of str and com.vmware.vcenter.vm.hardware_client.Cdrom.Info) – List of CD-ROMs. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.Cdrom. When methods return +a value of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Cdrom.

  • +
  • floppies (dict of str and com.vmware.vcenter.vm.hardware_client.Floppy.Info) – List of floppy drives. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.Floppy. When methods +return a value of this class as a return value, the key in the +attribute dict will be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.Floppy.

  • +
  • parallel_ports (dict of str and com.vmware.vcenter.vm.hardware_client.Parallel.Info) – List of parallel ports. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.ParallelPort. When methods +return a value of this class as a return value, the key in the +attribute dict will be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.ParallelPort.

  • +
  • serial_ports (dict of str and com.vmware.vcenter.vm.hardware_client.Serial.Info) – List of serial ports. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.SerialPort. When methods +return a value of this class as a return value, the key in the +attribute dict will be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.SerialPort.

  • +
  • sata_adapters (dict of str and com.vmware.vcenter.vm.hardware.adapter_client.Sata.Info) – List of SATA adapters. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.SataAdapter. When methods +return a value of this class as a return value, the key in the +attribute dict will be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.SataAdapter.

  • +
  • scsi_adapters (dict of str and com.vmware.vcenter.vm.hardware.adapter_client.Scsi.Info) – List of SCSI adapters. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.ScsiAdapter. When methods +return a value of this class as a return value, the key in the +attribute dict will be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.ScsiAdapter.

  • +
+
+
+
+ +
+
+class InstantClonePlacementSpec(folder=None, resource_pool=None, datastore=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The VM.InstantClonePlacementSpec class contains information used to +place an InstantClone of a virtual machine onto resources within the +vCenter inventory. This class was added in vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • folder (str or None) – Virtual machine folder into which the InstantCloned virtual machine +should be placed. This attribute was added in vSphere API 6.7.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: Folder. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: Folder. +If attribute is None, the system will use the virtual machine +folder of the source virtual machine.

  • +
  • resource_pool (str or None) – Resource pool into which the InstantCloned virtual machine should +be placed. This attribute was added in vSphere API 6.7.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ResourcePool. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: ResourcePool. +If attribute is None, the system will use the resource pool of the +source virtual machine.

  • +
  • datastore (str or None) – Datastore on which the InstantCloned virtual machine’s +configuration state should be stored. This datastore will also be +used for any virtual disks that are created as part of the virtual +machine InstantClone operation. This attribute was added in vSphere +API 6.7.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Datastore. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Datastore. +If attribute is None, the system will use the datastore of the +source virtual machine.

  • +
+
+
+
+ +
+
+class InstantCloneSpec(source=None, name=None, placement=None, nics_to_update=None, disconnect_all_nics=None, parallel_ports_to_update=None, serial_ports_to_update=None, bios_uuid=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Document-based InstantClone spec. This class was added in vSphere API +6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • source (str) – Virtual machine to InstantClone from. This attribute was added in +vSphere API 6.7.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +VirtualMachine. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: VirtualMachine.

  • +
  • name (str) – Name of the new virtual machine. This attribute was added in +vSphere API 6.7.1.

  • +
  • placement (VM.InstantClonePlacementSpec or None) – Virtual machine placement information. This attribute was added in +vSphere API 6.7.1. +If this attribute is None, the system will use the values from the +source virtual machine. If specified, each field will be used for +placement. If the fields result in disjoint placement the operation +will fail. If the fields along with the placement values of the +source virtual machine result in disjoint placement the operation +will fail.

  • +
  • nics_to_update ((dict of str and com.vmware.vcenter.vm.hardware_client.Ethernet.UpdateSpec) or None) – Map of NICs to update. This attribute was added in vSphere API +6.7.1. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.Ethernet. When methods +return a value of this class as a return value, the key in the +attribute dict will be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.Ethernet. +If None, no NICs will be updated.

  • +
  • disconnect_all_nics (bool or None) – Indicates whether all NICs on the destination virtual machine +should be disconnected from the newtwork. This attribute was added +in vSphere API 6.7.1. +If None, connection status of all NICs on the destination virtual +machine will be the same as on the source virtual machine.

  • +
  • parallel_ports_to_update ((dict of str and com.vmware.vcenter.vm.hardware_client.Parallel.UpdateSpec) or None) – Map of parallel ports to Update. This attribute was added in +vSphere API 6.7.1. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.ParallelPort. When methods +return a value of this class as a return value, the key in the +attribute dict will be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.ParallelPort. +If None, no parallel ports will be updated.

  • +
  • serial_ports_to_update ((dict of str and com.vmware.vcenter.vm.hardware_client.Serial.UpdateSpec) or None) – Map of serial ports to Update. This attribute was added in vSphere +API 6.7.1. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.SerialPort. When methods +return a value of this class as a return value, the key in the +attribute dict will be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.SerialPort. +If None, no serial ports will be updated.

  • +
  • bios_uuid (str or None) – 128-bit SMBIOS UUID of a virtual machine represented as a +hexadecimal string in “12345678-abcd-1234-cdef-123456789abc” +format. This attribute was added in vSphere API 6.7.1. +If None, will be generated.

  • +
+
+
+
+ +
+
+class InventoryPlacementSpec(folder=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The VM.InventoryPlacementSpec class contains information used to place +a virtual machine in the vCenter inventory.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

folder (str or None) – Virtual machine folder into which the virtual machine should be +placed. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: Folder. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: Folder. +This attribute is currently required. In the future, if this +attribute is None, the system will attempt to choose a suitable +folder for the virtual machine; if a folder cannot be chosen, the +virtual machine creation operation will fail.

+
+
+
+ +
+
+class PlacementSpec(folder=None, resource_pool=None, host=None, cluster=None, datastore=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The VM.PlacementSpec class contains information used to place a virtual +machine onto resources within the vCenter inventory.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • folder (str or None) – Virtual machine folder into which the virtual machine should be +placed. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: Folder. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: Folder. +This attribute is currently required. In the future, if this +attribute is None, the system will attempt to choose a suitable +folder for the virtual machine; if a folder cannot be chosen, the +virtual machine creation operation will fail.

  • +
  • resource_pool (str or None) – Resource pool into which the virtual machine should be placed. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ResourcePool. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: ResourcePool. +This attribute is currently required if both host and +cluster are None. In the future, if this attribute is None, the +system will attempt to choose a suitable resource pool for the +virtual machine; if a resource pool cannot be chosen, the virtual +machine creation operation will fail.

  • +
  • host (str or None) –

    Host onto which the virtual machine should be placed.

    +

    If host and resourcePool are both specified, +resourcePool must belong to host.

    +

    If host and cluster are both specified, host must be a +member of cluster. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: HostSystem. +This attribute may be None if resourcePool or cluster is +specified. If None, the system will attempt to choose a suitable +host for the virtual machine; if a host cannot be chosen, the +virtual machine creation operation will fail.

    +

  • +
  • cluster (str or None) –

    Cluster into which the virtual machine should be placed.

    +

    If cluster and resourcePool are both specified, +resourcePool must belong to cluster.

    +

    If cluster and host are both specified, host must be a +member of cluster. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: ClusterComputeResource. +If resourcePool or host is specified, it is recommended +that this attribute be None.

    +

  • +
  • datastore (str or None) – Datastore on which the virtual machine’s configuration state should +be stored. This datastore will also be used for any virtual disks +that are created as part of the virtual machine creation operation. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Datastore. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Datastore. +This attribute is currently required. In the future, if this +attribute is None, the system will attempt to choose suitable +storage for the virtual machine; if storage cannot be chosen, the +virtual machine creation operation will fail.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'VirtualMachine'
+

Resource type for virtual machines.

+
+ +
+
+class RegisterPlacementSpec(folder=None, resource_pool=None, host=None, cluster=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The VM.RegisterPlacementSpec class contains information used to place a +virtual machine, created from existing virtual machine files on storage, +onto resources within the vCenter inventory. This class was added in +vSphere API 6.8.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • folder (str or None) – Virtual machine folder into which the virtual machine should be +placed. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: Folder. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: Folder. +This attribute is currently required. In the future, if this +attribute is None, the system will attempt to choose a suitable +folder for the virtual machine; if a folder cannot be chosen, the +virtual machine creation operation will fail.

  • +
  • resource_pool (str or None) – Resource pool into which the virtual machine should be placed. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ResourcePool. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: ResourcePool. +This attribute is currently required if both host and +cluster are None. In the future, if this attribute is None, the +system will attempt to choose a suitable resource pool for the +virtual machine; if a resource pool cannot be chosen, the virtual +machine creation operation will fail.

  • +
  • host (str or None) –

    Host onto which the virtual machine should be placed.

    +

    If host and resourcePool are both specified, +resourcePool must belong to host.

    +

    If host and cluster are both specified, host must be a +member of cluster. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: HostSystem. +This attribute may be None if resourcePool or cluster is +specified. If None, the system will attempt to choose a suitable +host for the virtual machine; if a host cannot be chosen, the +virtual machine creation operation will fail.

    +

  • +
  • cluster (str or None) –

    Cluster into which the virtual machine should be placed.

    +

    If cluster and resourcePool are both specified, +resourcePool must belong to cluster.

    +

    If cluster and host are both specified, host must be a +member of cluster. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: ClusterComputeResource. +If resourcePool or host is specified, it is recommended +that this attribute be None.

    +

  • +
+
+
+
+ +
+
+class RegisterSpec(datastore=None, path=None, datastore_path=None, name=None, placement=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The VM.RegisterSpec class contains information used to create a virtual +machine from existing virtual machine files on storage.

+

The location of the virtual machine files on storage must be specified by +providing either VM.RegisterSpec.datastore and +VM.RegisterSpec.path or by providing +VM.RegisterSpec.datastore_path. If +VM.RegisterSpec.datastore and VM.RegisterSpec.path are +set, VM.RegisterSpec.datastore_path must be None, and if +VM.RegisterSpec.datastore_path is set, +VM.RegisterSpec.datastore and VM.RegisterSpec.path must be +None.. This class was added in vSphere API 6.8.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • datastore (str or None) – Identifier of the datastore on which the virtual machine’s +configuration state is stored. This attribute was added in vSphere +API 6.8.7. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Datastore. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Datastore. +If None, VM.RegisterSpec.path must also be None and +VM.RegisterSpec.datastore_path must be set.

  • +
  • path (str or None) – Path to the virtual machine’s configuration file on the datastore +corresponding to {\@link #datastore). This attribute was added +in vSphere API 6.8.7. +If None, VM.RegisterSpec.datastore must also be None and +VM.RegisterSpec.datastore_path must be set.

  • +
  • datastore_path (str or None) – Datastore path for the virtual machine’s configuration file in the +format “[datastore name] path”. For example “[storage1] +Test-VM/Test-VM.vmx”. This attribute was added in vSphere API +6.8.7. +If None, both VM.RegisterSpec.datastore and +VM.RegisterSpec.path must be set.

  • +
  • name (str or None) – Virtual machine name. This attribute was added in vSphere API +6.8.7. +If None, the display name from the virtual machine’s configuration +file will be used.

  • +
  • placement (VM.RegisterPlacementSpec or None) – Virtual machine placement information. This attribute was added in +vSphere API 6.8.7. +This attribute is currently required. In the future, if this +attribute is None, the system will attempt to choose suitable +resources on which to place the virtual machine.

  • +
+
+
+
+ +
+
+class RelocatePlacementSpec(folder=None, resource_pool=None, host=None, cluster=None, datastore=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The VM.RelocatePlacementSpec class contains information used to change +the placement of an existing virtual machine within the vCenter inventory. +This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • folder (str or None) – Virtual machine folder into which the virtual machine should be +placed. This attribute was added in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: Folder. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: Folder. +If this attribute is None, the virtual machine will stay in the +current folder.

  • +
  • resource_pool (str or None) – Resource pool into which the virtual machine should be placed. This +attribute was added in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ResourcePool. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: ResourcePool. +If this attribute is None, the virtual machine will stay in the +current resource pool.

  • +
  • host (str or None) –

    Host onto which the virtual machine should be placed.

    +

    If host and resourcePool are both specified, +resourcePool must belong to host.

    +

    If host and cluster are both specified, host must be a +member of cluster.. This attribute was added in vSphere API +7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: HostSystem. +If this attribute is unset, if resourcePool is unset, the +virtual machine will remain on the current host. if +resourcePool is set, and the target is a standalone host, the +host is used. if resourcePool is set, and the target is a DRS +cluster, a host will be picked by DRS. if resourcePool is set, +and the target is a cluster without DRS, InvalidArgument will be +thrown.

    +

  • +
  • cluster (str or None) –

    Cluster into which the virtual machine should be placed.

    +

    If cluster and resourcePool are both specified, +resourcePool must belong to cluster.

    +

    If cluster and host are both specified, host must be a +member of cluster.. This attribute was added in vSphere API +7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: ClusterComputeResource. +If resourcePool or host is specified, it is recommended +that this attribute be None.

    +

  • +
  • datastore (str or None) – Datastore on which the virtual machine’s configuration state should +be stored. This datastore will also be used for any virtual disks +that are associated with the virtual machine, unless individually +overridden. This attribute was added in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Datastore. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Datastore. +If this attribute is None, the virtual machine will remain on the +current datastore.

  • +
+
+
+
+ +
+
+class RelocateSpec(placement=None, disks=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Document-based relocate spec. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • placement (VM.RelocatePlacementSpec or None) – Virtual machine placement information. This attribute was added in +vSphere API 7.0.0. +If this attribute is None, the system will use the values from the +source virtual machine. If specified, each field will be used for +placement. If the fields result in disjoint placement the operation +will fail. If the fields along with the other existing placement of +the virtual machine result in disjoint placement the operation will +fail.

  • +
  • disks ((dict of str and VM.DiskRelocateSpec) or None) – Individual disk relocation map. This attribute was added in vSphere +API 7.0.0. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.Disk. When methods return +a value of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Disk. +If None, all disks will migrate to the datastore specified in the +VM.RelocatePlacementSpec.datastore attribute of +VM.RelocateSpec.placement.

  • +
+
+
+
+ +
+
+class StoragePlacementSpec(datastore=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The VM.StoragePlacementSpec class contains information used to store a +virtual machine’s files.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

datastore (str or None) – Datastore on which the virtual machine’s configuration state should +be stored. This datastore will also be used for any virtual disks +that are created as part of the virtual machine creation operation. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Datastore. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Datastore. +This attribute is currently required. In the future, if this +attribute is None, the system will attempt to choose suitable +storage for the virtual machine; if storage cannot be chosen, the +virtual machine creation operation will fail.

+
+
+
+ +
+
+class StoragePolicySpec(policy=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The VM.StoragePolicySpec class contains information about the storage +policy to be associated with a virtual machine object. This class was added +in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

policy (str) – Identifier of the storage policy which should be associated with +the virtual machine. This attribute was added in vSphere API 6.7. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.StoragePolicy. When methods return a value +of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.StoragePolicy.

+
+
+
+ +
+
+class Summary(vm=None, name=None, power_state=None, cpu_count=None, memory_size_mib=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The VM.Summary class contains commonly used information about a virtual +machine.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • vm (str) – Identifier of the virtual machine. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +VirtualMachine. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: VirtualMachine.

  • +
  • name (str) – Name of the Virtual machine.

  • +
  • power_state (com.vmware.vcenter.vm_client.Power.State) – Power state of the virtual machine.

  • +
  • cpu_count (long or None) – Number of CPU cores. +This attribute will be None if the virtual machine configuration is +not available. For example, the configuration information would be +unavailable if the server is unable to access the virtual machine +files on disk, and is often also unavailable during the intial +phases of virtual machine creation.

  • +
  • memory_size_mib (long or None) – Memory size in mebibytes. +This attribute will be None if the virtual machine configuration is +not available. For example, the configuration information would be +unavailable if the server is unable to access the virtual machine +files on disk, and is often also unavailable during the intial +phases of virtual machine creation.

  • +
+
+
+
+ +
+
+clone(spec)
+

Creates a virtual machine from an existing virtual machine.

+

. This method was added in vSphere API 7.0.0.

+
+
Parameters
+

spec (VM.CloneSpec) – Virtual machine clone specification.

+
+
Return type
+

str

+
+
Returns
+

ID of newly-created virtual machine. +The return value will be an identifier for the resource type: +VirtualMachine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if a virtual machine with the specified name already exists.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if any of the specified parameters are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if any of the resources specified in spec could not be found

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if a specified resource (eg. host) is not accessible.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if any of the resources needed to clone the virtual machine could +not be allocated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource Datastore referenced by the attribute +VM.DiskCloneSpec.datastore requires +Datastore.AllocateSpace.

  • +
  • The resource Datastore referenced by the attribute +VM.ClonePlacementSpec.datastore requires +Datastore.AllocateSpace.

  • +
  • The resource Folder referenced by the attribute +VM.ClonePlacementSpec.folder requires +VirtualMachine.Inventory.CreateFromExisting.

  • +
  • The resource ResourcePool referenced by the attribute +VM.ClonePlacementSpec.resource_pool requires +Resource.AssignVMToPool.

  • +
  • The resource VirtualMachine referenced by the attribute +VM.CloneSpec.source requires +VirtualMachine.Provisioning.Clone.

  • +
+
+
+
+ +
+
+clone_task(spec)
+

Creates a virtual machine from an existing virtual machine.

+

. This method was added in vSphere API 7.0.0.

+
+
Parameters
+

spec (VM.CloneSpec) – Virtual machine clone specification.

+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if a virtual machine with the specified name already exists.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if any of the specified parameters are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if any of the resources specified in spec could not be found

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if a specified resource (eg. host) is not accessible.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if any of the resources needed to clone the virtual machine could +not be allocated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource Datastore referenced by the attribute +VM.DiskCloneSpec.datastore requires +Datastore.AllocateSpace.

  • +
  • The resource Datastore referenced by the attribute +VM.ClonePlacementSpec.datastore requires +Datastore.AllocateSpace.

  • +
  • The resource Folder referenced by the attribute +VM.ClonePlacementSpec.folder requires +VirtualMachine.Inventory.CreateFromExisting.

  • +
  • The resource ResourcePool referenced by the attribute +VM.ClonePlacementSpec.resource_pool requires +Resource.AssignVMToPool.

  • +
  • The resource VirtualMachine referenced by the attribute +VM.CloneSpec.source requires +VirtualMachine.Provisioning.Clone.

  • +
+
+
+
+ +
+
+create(spec)
+

Creates a virtual machine.

+
+
Parameters
+

spec (VM.CreateSpec) – Virtual machine specification.

+
+
Return type
+

str

+
+
Returns
+

ID of newly-created virtual machine. +The return value will be an identifier for the resource type: +VirtualMachine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if a virtual machine with the specified name already exists.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if any of the specified parameters are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if any of the resources specified in spec could not be found

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if a specified resource (eg. host) is not accessible.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInUse +if any of the specified storage addresses (eg. IDE, SATA, SCSI, +NVMe) result in a storage address conflict.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if any of the resources needed to create the virtual machine could +not be allocated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if guestOS is not supported for the requested virtual hardware +version and spec includes None attributes that default to +guest-specific values.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource Folder referenced by the attribute +VM.InventoryPlacementSpec.folder requires +VirtualMachine.Inventory.Create.

  • +
  • The resource ResourcePool referenced by the attribute +VM.ComputePlacementSpec.resource_pool requires +Resource.AssignVMToPool.

  • +
  • The resource Datastore referenced by the attribute +VM.StoragePlacementSpec.datastore requires +Datastore.AllocateSpace.

  • +
  • The resource Network referenced by the attribute +com.vmware.vcenter.vm.hardware_client.Ethernet.BackingSpec.network +requires Network.Assign.

  • +
+
+
+
+ +
+
+delete(vm)
+

Deletes a virtual machine.

+
+
Parameters
+

vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is running (powered on).

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource VirtualMachine referenced by the parameter +vm requires VirtualMachine.Inventory.Delete.

  • +
+
+
+
+ +
+
+get(vm)
+

Returns information about a virtual machine.

+
+
Parameters
+

vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

VM.Info

+
+
Returns
+

Information about the specified virtual machine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource VirtualMachine referenced by the parameter +vm requires System.Read.

  • +
+
+
+
+ +
+
+instant_clone(spec)
+

Create an instant clone of an existing virtual machine. This method was +added in vSphere API 6.7.1.

+
+
Parameters
+

spec (VM.InstantCloneSpec) – Virtual machine InstantCloneSpec.

+
+
Return type
+

str

+
+
Returns
+

ID of newly-created virtual machine. +The return value will be an identifier for the resource type: +VirtualMachine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if a virtual machine with the specified name already exists.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if any of the specified parameters are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if any of the resources specified in spec could not be found

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if a specified resource (eg. host) is not accessible.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if any of the resources needed to create an instant clone could not +be allocated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource VirtualMachine referenced by the attribute +VM.InstantCloneSpec.source requires +VirtualMachine.Provisioning.Clone and +VirtualMachine.Inventory.CreateFromExisting.

  • +
  • The resource Folder referenced by the attribute +VM.InstantClonePlacementSpec.folder requires +VirtualMachine.Interact.PowerOn.

  • +
  • The resource ResourcePool referenced by the attribute +VM.InstantClonePlacementSpec.resource_pool requires +Resource.AssignVMToPool.

  • +
  • The resource Datastore referenced by the attribute +VM.InstantClonePlacementSpec.datastore requires +Datastore.AllocateSpace.

  • +
  • The resource Network referenced by the attribute +com.vmware.vcenter.vm.hardware_client.Ethernet.BackingSpec.network +requires Network.Assign.

  • +
+
+
+
+ +
+
+list(filter=None)
+

Returns information about at most 4000 visible (subject to permission +checks) virtual machines in vCenter matching the +VM.FilterSpec.

+
+
Parameters
+

filter (VM.FilterSpec or None) – Specification of matching virtual machines for which information +should be returned. +If None, the behavior is equivalent to a VM.FilterSpec +with all attributes None which means all virtual machines match the +filter.

+
+
Return type
+

list of VM.Summary

+
+
Returns
+

Commonly used information about the virtual machines matching the +VM.FilterSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the VM.FilterSpec.power_states attribute contains a +value that is not supported by the server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if more than 4000 virtual machines match the +VM.FilterSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+register(spec)
+

Creates a virtual machine from existing virtual machine files on +storage. This method was added in vSphere API 6.8.7.

+
+
Parameters
+

spec (VM.RegisterSpec) – Specification of the location of the virtual machine files and the +placement of the new virtual machine.

+
+
Return type
+

str

+
+
Returns
+

Identifier of the newly-created virtual machine. +The return value will be an identifier for the resource type: +VirtualMachine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if a virtual machine with the specified name already exists or if a +virtual machine using the specified virtual machine files already +exists.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if any of the specified parameters are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if any of the resources specified in spec could not be found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if a specified resource (eg. host) is not accessible.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if any of the resources needed to register the virtual machine +could not be allocated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource Datastore referenced by the attribute +VM.RegisterSpec.datastore requires System.Read.

  • +
  • The resource Folder referenced by the attribute +VM.InventoryPlacementSpec.folder requires +VirtualMachine.Inventory.Register.

  • +
  • The resource ResourcePool referenced by the attribute +VM.ComputePlacementSpec.resource_pool requires +Resource.AssignVMToPool.

  • +
+
+
+
+ +
+
+relocate(vm, spec)
+

Relocates a virtual machine based on the specification. The parts of +the virtual machine that can move are: FOLDER, RESOURCE_POOL, HOST, +CLUSTER and DATASTORE of home of the virtual machine and disks.

+

. This method was added in vSphere API 7.0.0.

+
+
Parameters
+
    +
  • vm (str) – Existing Virtual machine to relocate. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • spec (VM.RelocateSpec) – Relocate specification.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if any of the specified parameters are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if any of the resources specified in spec or the given “vm” could +not be found

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if a specified resource (eg. host) is not accessible.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource VirtualMachine referenced by the parameter +vm requires Resource.ColdMigrate.

  • +
  • The resource ResourcePool referenced by the attribute +VM.RelocatePlacementSpec.resource_pool requires +Resource.AssignVMToPool.

  • +
+
+
+
+ +
+
+relocate_task(vm, spec)
+

Relocates a virtual machine based on the specification. The parts of +the virtual machine that can move are: FOLDER, RESOURCE_POOL, HOST, +CLUSTER and DATASTORE of home of the virtual machine and disks.

+

. This method was added in vSphere API 7.0.0.

+
+
Parameters
+
    +
  • vm (str) – Existing Virtual machine to relocate. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • spec (VM.RelocateSpec) – Relocate specification.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if any of the specified parameters are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if any of the resources specified in spec or the given “vm” could +not be found

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if a specified resource (eg. host) is not accessible.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource VirtualMachine referenced by the parameter +vm requires Resource.ColdMigrate.

  • +
  • The resource ResourcePool referenced by the attribute +VM.RelocatePlacementSpec.resource_pool requires +Resource.AssignVMToPool.

  • +
+
+
+
+ +
+
+unregister(vm)
+

Removes the virtual machine corresponding to vm from the vCenter +inventory without removing any of the virtual machine’s files from +storage. All high-level information stored with the management server +(ESXi or vCenter) is removed, including information such as statistics, +resource pool association, permissions, and alarms. This method was +added in vSphere API 6.8.7.

+
+
Parameters
+

vm (str) – Identifier of the virtual machine to be unregistered. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is running (powered on).

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if there is no virtual machine associated with vm in the +system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource VirtualMachine referenced by the parameter +vm requires VirtualMachine.Inventory.Unregister.

  • +
+
+
+
+ +
+ +
+
+

com.vmware.vstats_client module

+

The com.vmware.vstats_client component provides API classes and types used +in the vStats service.

+
+
+class com.vmware.vstats_client.AcqSpecs(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The AcqSpecs class provides methods to perform acquisition +specification related operations. An acquisition specification defines the +statistical data that should be collected at desired sampling rates from +the underlying providers. It designates the resources and their counters +which should be sampled, and a desired sampling rate. 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.

+
+
+
+
+class CounterSpec(cid_mid=None, set_id=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The AcqSpecs.CounterSpec class designates a counter or counter set in +an acquisition specification. 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
+
    +
  • cid_mid (CidMid or None) – Counter and optional meatadata 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 None the setId field will be used.

  • +
  • set_id (str or None) – Counter set 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.vstats.model.CounterSet. When methods return a value +of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vstats.model.CounterSet. +When None the cidMid field will be used.

  • +
+
+
+
+ +
+
+class CreateSpec(counters=None, resources=None, interval=None, expiration=None, memo_=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The AcqSpecs.CreateSpec class contains information for a new data +acquisition specification. 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
+
    +
  • counters (AcqSpecs.CounterSpec) – Designates the counter(s) to be sampled. 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.

  • +
  • resources (list of RsrcId) – A set of resource identifiers representing a single resource to be +monitored. 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.

  • +
  • interval (long or None) – Desired sampling rate in seconds. 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 default of 10s will be used.

  • +
  • expiration (long or None) – Expiration time for this acquisition specification in Unix UTC +number of seconds (since epoch). 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 this attribute is None or 0, default expiration duration is +100 minutes.

  • +
  • memo (str or None) – Consumer provided text about this acquisition specification. +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 default empty string will be used.

  • +
+
+
+
+ +
+
+class FilterSpec(page=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The AcqSpecs.FilterSpec class contains attributes used to filter the +results when listing acquisition specifications. 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
+

page (str or None) – Used to retrieve paged data for larger result sets. The value of +this token is generated by server and returned as next +attribute in the result of list methods. 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. +None the first page of results will be returned.

+
+
+
+ +
+
+class Info(id=None, counters=None, resources=None, interval=None, expiration=None, memo_=None, status=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The AcqSpecs.Info class is the information about an acquisition +specification. It specifies the statistical data that should be collected +at desired sampling rates. It designates the resources and their counters +which should be sampled, and a desired sampling rate. 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
+
    +
  • id (str) – Acquisition specification 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.vstats.model.AcqSpec. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.vstats.model.AcqSpec.

  • +
  • counters (AcqSpecs.CounterSpec) – Designates the counter(s) to be sampled. 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.

  • +
  • resources (list of RsrcId) – A set of resource identifiers representing a single resource to be +monitored. 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.

  • +
  • interval (long or None) – Desired sampling rate in seconds. 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 this attribute is None, default interval is 10 seconds.

  • +
  • expiration (long or None) – Expiration time for this acquisition specification represented as +Unix UTC number of seconds (since epoch). 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 this attribute is None or 0, default expiration duration is +100 minutes.

  • +
  • memo (str) – Consumer provided text about this Acquisition Specification. +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 (AcqSpecs.Status) – Acquisition Specification 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.

  • +
+
+
+
+ +
+
+class ListResult(acq_specs=None, next=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The AcqSpecs.ListResult class contains attributes used to return the +acquisition specifications. 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
+
    +
  • acq_specs (list of AcqSpecs.Info) – List of acquisition specifications received. 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.

  • +
  • next (str or None) – The next attribute is a token used to retrieve paged data for +larger result sets. This is opaque token generated by the server. +It is to be sent in the AcqSpecs.FilterSpec.page attribute +to issue a subsequent call to the list method for retrieving +results that did not fit the current page. 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. +set when there are more results to retrieve.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.vstats.model.AcqSpec'
+

Resource type for acquisition specifications. 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 Status(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Describes the status of an Acquisition Specification. 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 the Status instance.

+
+
+
+
+DISABLED = Status(string='DISABLED')
+

The acquisition specification is disabled. 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.

+
+ +
+
+ENABLED = Status(string='ENABLED')
+

The acquisition specification is enabled. 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.

+
+ +
+
+EXPIRED = Status(string='EXPIRED')
+

The acquisition specification is expired. 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 UpdateSpec(counters=None, resources=None, interval=None, expiration=None, memo_=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The AcqSpecs.UpdateSpec class contains attributes that can be updated +in an acquisition specification. 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
+
    +
  • counters (AcqSpecs.CounterSpec or None) – Designates the counter(s) to be sampled. 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 value is unchanged.

  • +
  • resources (list of RsrcId or None) – A set of resource identifiers representing a single resource to be +monitored. 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 value is unchanged.

  • +
  • interval (long or None) – Desired sampling rate in seconds. 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 value is unchanged.

  • +
  • expiration (long or None) – Expiration time for this acquisition specification in Unix UTC +number of seconds (since epoch). When this attribute is 0, the +default expiration duration is 100 minutes. 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 value is unchanged.

  • +
  • memo (str or None) – Consumer provided text about this Acquisition Specification. +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 value is unchanged.

  • +
+
+
+
+ +
+
+create(acq_spec)
+

Create a new acquisition specification record. 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
+

acq_spec (AcqSpecs.CreateSpec) – Specification for the acquisition of stats data.

+
+
Return type
+

str

+
+
Returns
+

Identifier of the newly created acquisition specification. +The return value will be an identifier for the resource type: +com.vmware.vstats.model.AcqSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if acq_spec contain any errors.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have sufficient privileges.

+
+
+
+ +
+
+delete(id)
+

Delete an acquisition specification. 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
+

id (str) – Acquisition specification ID. +The parameter must be an identifier for the resource type: +com.vmware.vstats.model.AcqSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if id is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if acquisition specification could not be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have sufficient privileges.

+
+
+
+ +
+
+get(id)
+

Returns information about a specific acquisition specification. +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
+

id (str) – Acquisition specification ID. +The parameter must be an identifier for the resource type: +com.vmware.vstats.model.AcqSpec.

+
+
Return type
+

AcqSpecs.Info

+
+
Returns
+

Information about the desired acquisition specification.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if id is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +acquisition specification could not be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have sufficient privileges.

+
+
+
+ +
+
+list(filter=None)
+

Returns information about all acquisition specifications. 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
+

filter (AcqSpecs.FilterSpec or None) – Criteria for selecting records to return. +When set filtering will be applied to the result.

+
+
Return type
+

AcqSpecs.ListResult

+
+
Returns
+

List of acquisition specification records.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if any of the specified parameters are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have sufficient privileges.

+
+
+
+ +
+
+update(id, acq_spec)
+

Update an existing acquisition specification. 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
+
    +
  • id (str) – Acquisition specification ID. +The parameter must be an identifier for the resource type: +com.vmware.vstats.model.AcqSpec.

  • +
  • acq_spec (AcqSpecs.UpdateSpec) – Updated acquisition specification.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if any of the specified parameters are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +acquisition specification could not be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have sufficient privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vstats_client.CidMid(cid=None, mid=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CidMid class is used to designate a counter. It contains a counter +id that identifies the semantical counter. There is optional metadata +identifier that identifies the particular generation of the counter. When +counter metadata is not designated vStats will use a default for the +counter metadata. 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
+
    +
  • cid (str) – Counter Id. CID is a string with rather strong semantic consistency +across deployments and versions. If two CIDs are identical it +implies the corresponding counters are the same. 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.vstats.model.Counter. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.vstats.model.Counter.

  • +
  • mid (str or None) – MID is a 64-bit integer with strong consistency. Given a particular +CID=cid, if two MIDs are the same, then the corresponding +counter-metadata objects are same. 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.vstats.model.CounterMetadata. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vstats.model.CounterMetadata. +When this attribute is None vStats will use default for the counter +metadata as obtained from the provider.

  • +
+
+
+
+ +
+
+class com.vmware.vstats_client.CounterMetadata(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The CounterMetadata class provides access to the different historical +editions of counters. As computing platforms evolve over time the +measurement units for different characteristics of the systems change. As +such changes occur, counters will receive different editions reflected in a +new metadata record. For example computer memory had changes from kilobytes +through megabytes into gigabytes. 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.

+
+
+
+
+class CounterEditionStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Counter metadata 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 the CounterEditionStatus instance.

+
+
+
+
+CURRENT = CounterEditionStatus(string='CURRENT')
+

The counter edition is current. This implies a support commitment. +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.

+
+ +
+
+DEFAULT = CounterEditionStatus(string='DEFAULT')
+

The counter edition is current and is the default. 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.

+
+ +
+
+DEPRECATED = CounterEditionStatus(string='DEPRECATED')
+

The counter edition is deprecated. It will be decommissioned rather soon. +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.

+
+ +
+
+EXPERIMENTAL = CounterEditionStatus(string='EXPERIMENTAL')
+

The counter edition is experimental. Consumers shouldn’t rely on it for the +long haul. 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.

+
+ +
+
+REMOVED = CounterEditionStatus(string='REMOVED')
+

The counter edition was removed. 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 FilterSpec(status=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CounterMetadata.FilterSpec class is used to filter the counter +metadata list. 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 (CounterMetadata.CounterEditionStatus or None) – Counter edition 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. +When None no filtering on counter metadata status will be made.

+
+
+
+ +
+
+class Info(cid=None, mid=None, status=None, type=None, units=None, scale=None, user_info=None, pid=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CounterMetadata.Info class contains information about +CounterMetadata. It represents edition of the Counter. 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
+
    +
  • cid (str) – Counter Id. 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.vstats.model.Counter. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.vstats.model.Counter.

  • +
  • mid (str) – Metadata Id. 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.vstats.model.CounterMetadata. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vstats.model.CounterMetadata.

  • +
  • status (CounterMetadata.CounterEditionStatus) – Counter Edition 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.

  • +
  • type (CounterMetadata.SampleType) – Numeric properties of the sampled data. 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.

  • +
  • units (CounterMetadata.MetricUnits) – The units of the measurement. 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.

  • +
  • scale (CounterMetadata.UnitsFactor or None) – Additional multiplier factors to be used with units. 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 None default of ONE is used.

  • +
  • user_info (UserInfo or None) – Human legible localizable text about the counter. 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 None in the current version.

  • +
  • pid (str or None) – ID of the respective provider. 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.vstats.model.Provider. When methods return a value +of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vstats.model.Provider. +This attribute is None in the current version.

  • +
+
+
+
+ +
+
+class MetricUnits(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Unit used by a metric. 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 the MetricUnits instance.

+
+
+
+
+AMPERE = MetricUnits(string='AMPERE')
+

Ampere. 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.

+
+ +
+
+BIT = MetricUnits(string='BIT')
+

Bit. 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.

+
+ +
+
+BITSPERSECOND = MetricUnits(string='BITSPERSECOND')
+

Bits per second. 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.

+
+ +
+
+BYTE = MetricUnits(string='BYTE')
+

Byte. 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.

+
+ +
+
+BYTESPERSECOND = MetricUnits(string='BYTESPERSECOND')
+

Bytes per second. 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.

+
+ +
+
+CANDELA = MetricUnits(string='CANDELA')
+

Candela. 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.

+
+ +
+
+CELSIUS = MetricUnits(string='CELSIUS')
+

Celsius. 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.

+
+ +
+
+GRAM = MetricUnits(string='GRAM')
+

Gram. 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.

+
+ +
+
+HERTZ = MetricUnits(string='HERTZ')
+

Hertz. 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.

+
+ +
+
+JOULE = MetricUnits(string='JOULE')
+

Joule. 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.

+
+ +
+
+KELVIN = MetricUnits(string='KELVIN')
+

Kelvin. 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.

+
+ +
+
+KILOGRAM = MetricUnits(string='KILOGRAM')
+

Kilogram. 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.

+
+ +
+
+METER = MetricUnits(string='METER')
+

Meter. 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.

+
+ +
+
+METERSPERSECOND = MetricUnits(string='METERSPERSECOND')
+

Meters per second. 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.

+
+ +
+
+METERSPERSECONDSQUARED = MetricUnits(string='METERSPERSECONDSQUARED')
+

Meters per second squared. 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.

+
+ +
+
+MOLE = MetricUnits(string='MOLE')
+

Mole. 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.

+
+ +
+
+NUMBER = MetricUnits(string='NUMBER')
+

Number. 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.

+
+ +
+
+PERCENT = MetricUnits(string='PERCENT')
+

Percent. 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.

+
+ +
+
+SECOND = MetricUnits(string='SECOND')
+

Second. 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.

+
+ +
+
+VOLT = MetricUnits(string='VOLT')
+

Volt. 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.

+
+ +
+
+VOLTAMPERE = MetricUnits(string='VOLTAMPERE')
+

Volt Ampere. 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.

+
+ +
+
+WATT = MetricUnits(string='WATT')
+

Watt. 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 SampleType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Type of the sampled data. 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 the SampleType instance.

+
+
+
+
+ABSOLUTE = SampleType(string='ABSOLUTE')
+

Absolute value samples. Represents an actual value of the counter. +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.

+
+ +
+
+DELTA = SampleType(string='DELTA')
+

Delta samples. Represents an amount of change for the counter between the +current time-stamp and the last time-stamp when the counter was sampled. +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.

+
+ +
+
+FRACTION = SampleType(string='FRACTION')
+

Fraction samples. Implies range from 0.00 to 1.00. 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.

+
+ +
+
+LOGN = SampleType(string='LOGN')
+

Log(n) samples. A natural logarithm of the value. 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.

+
+ +
+
+RATE = SampleType(string='RATE')
+

Rate samples. Represents a value that has been normalized over the time +period. 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.

+
+ +
+
+RAW = SampleType(string='RAW')
+

Raw samples. The value unprocessed as-is sampled. 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 UnitsFactor(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Unit factor of measurement. 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 the UnitsFactor instance.

+
+
+
+
+ATTO = UnitsFactor(string='ATTO')
+

Atto 10^-18. 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.

+
+ +
+
+CENTI = UnitsFactor(string='CENTI')
+

Centi 10^-2. 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.

+
+ +
+
+DECA = UnitsFactor(string='DECA')
+

Deca 10. 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.

+
+ +
+
+DECI = UnitsFactor(string='DECI')
+

Deci 10^-1. 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.

+
+ +
+
+EXA = UnitsFactor(string='EXA')
+

Exa 10^18. 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.

+
+ +
+
+EXBI = UnitsFactor(string='EXBI')
+

Exbi 2^60, 1024^6. 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.

+
+ +
+
+FEMTO = UnitsFactor(string='FEMTO')
+

Femto 10^-15. 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.

+
+ +
+
+GIBI = UnitsFactor(string='GIBI')
+

Gibi 2^30, 1024^3. 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.

+
+ +
+
+GIGA = UnitsFactor(string='GIGA')
+

Giga 10^9. 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.

+
+ +
+
+HECTO = UnitsFactor(string='HECTO')
+

Hecto 10^2. 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.

+
+ +
+
+KIBI = UnitsFactor(string='KIBI')
+

Kibi 2^10, 1024. 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.

+
+ +
+
+KILO = UnitsFactor(string='KILO')
+

Kilo 10^3. 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.

+
+ +
+
+MEBI = UnitsFactor(string='MEBI')
+

Mebi 2^20, 1024^2. 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.

+
+ +
+
+MEGA = UnitsFactor(string='MEGA')
+

Mega 10^6. 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.

+
+ +
+
+MICRO = UnitsFactor(string='MICRO')
+

Micro 10^-6. 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.

+
+ +
+
+MILLI = UnitsFactor(string='MILLI')
+

Milli 10^-3. 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.

+
+ +
+
+NANO = UnitsFactor(string='NANO')
+

Nano 10^-9. 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.

+
+ +
+
+ONE = UnitsFactor(string='ONE')
+

One. 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.

+
+ +
+
+PEBI = UnitsFactor(string='PEBI')
+

Pebi 2^50, 1024^5. 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.

+
+ +
+
+PETA = UnitsFactor(string='PETA')
+

Peta 10^15. 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.

+
+ +
+
+PIKO = UnitsFactor(string='PIKO')
+

Pico 10^-12. 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.

+
+ +
+
+TEBI = UnitsFactor(string='TEBI')
+

Tebi 2^40, 1024^4. 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.

+
+ +
+
+TERA = UnitsFactor(string='TERA')
+

Tera 10^12. 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.

+
+ +
+
+YOBI = UnitsFactor(string='YOBI')
+

Yobi 2^80, 1024^8. 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.

+
+ +
+
+YOCTO = UnitsFactor(string='YOCTO')
+

Yocto 10^-24. 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.

+
+ +
+
+YOTTA = UnitsFactor(string='YOTTA')
+

Yotta 10^24. 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.

+
+ +
+
+ZEBI = UnitsFactor(string='ZEBI')
+

Zebi 2^70, 1024^7. 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.

+
+ +
+
+ZEPTO = UnitsFactor(string='ZEPTO')
+

Zepto 10^-21. 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.

+
+ +
+
+ZETTA = UnitsFactor(string='ZETTA')
+

Zetta 10^21. 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.

+
+ +
+ +
+
+get(cid, mid)
+

Returns information about a specific CounterMetadata. 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
+
    +
  • cid (str) – Counter ID. +The parameter must be an identifier for the resource type: +com.vmware.vstats.model.Counter.

  • +
  • mid (str) – CounterMetadata ID. +The parameter must be an identifier for the resource type: +com.vmware.vstats.model.CounterMetadata.

  • +
+
+
Return type
+

CounterMetadata.Info

+
+
Returns
+

Information about the desired CounterMetadata.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if any of the specified parameters are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if Counter or CounterMetadata could not be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have sufficient privileges.

+
+
+
+ +
+
+get_default(cid)
+

This method returns the “default” CounterMetadata. A Counter has at +least one related metadata object. Usually, stats providers (for +example hosts) are in agreement about the default metadata. In this +case the returned list has a single metadata object.

+

Sometimes, when providers are in “disagreement” about the default, then +the returned list would include all the possible “defaults”. This +potential ambiguity isn’t a real issue because consumers of the vStats +API rarely need to specify the “mid” of metadata. Therefore, this API +is used primarily for informational purposes.. 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
+

cid (str) – Counter ID. +The parameter must be an identifier for the resource type: +com.vmware.vstats.model.Counter.

+
+
Return type
+

list of CounterMetadata.Info

+
+
Returns
+

List of counter metadata records.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if cid is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if Counter could not be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have sufficient privileges.

+
+
+
+ +
+
+list(cid, filter=None)
+

Returns information about all counter metadata records for a specific +Counter. 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
+
    +
  • cid (str) – Counter ID. +The parameter must be an identifier for the resource type: +com.vmware.vstats.model.Counter.

  • +
  • filter (CounterMetadata.FilterSpec or None) – Filter specification. +When None no filtering will be performed.

  • +
+
+
Return type
+

list of CounterMetadata.Info

+
+
Returns
+

List of counter metadata for the specified counter.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if any of the specified parameters are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if Counter could not be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have sufficient privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vstats_client.CounterSets(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The CounterSets class provides methods for accessing groupings of +counters. Counter-sets allow consumers to use groups of counters. The +counters may relate to different resource types. When an AcqSpecs +record refers to a counter-set, only the relevant counters apply. +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.

+
+
+
+
+class Info(id=None, counters=None, user_info=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CounterSets.Info class contains information about a set of +counters. 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
+
    +
  • id (str) – Counter set 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.

  • +
  • counters (list of CidMid) – List of Counter CidMids. 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.

  • +
  • user_info (UserInfo or None) – Human legible localizable conter set description. 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. +In future versions it may be possible to have custom counter sets +that lack localizable descriptions.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.vstats.model.CounterSet'
+

Resource type for counter sets. 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.

+
+ +
+
+get(counter_set)
+

Returns information about a specific counter set. 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
+

counter_set (str) – identifier of the counter set to retrieve. +The parameter must be an identifier for the resource type: +com.vmware.vstats.model.CounterSet.

+
+
Return type
+

CounterSets.Info

+
+
Returns
+

Information about the desired CounterSet.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if counter_set is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the requested counter set could not be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have sufficient privileges.

+
+
+
+ +
+
+list()
+

Returns information about all the counter sets. 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
+

list of CounterSets.Info

+
+
Returns
+

List of counter sets.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have sufficient privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vstats_client.Counters(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Counters class provides methods to perform various Counter related +operations. Counter is derived from metric. It applies the metric to a +particular class of a resource. 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.

+
+
+
+
+class FilterSpec(cid=None, types=None, metric=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Counters.FilterSpec class contains fields that can be used to +filter list of counters. 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
+
    +
  • cid (str or None) – Counter identifier that will be listed. 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.vstats.model.Counter. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.vstats.model.Counter. +If None counter filter will not be applied.

  • +
  • types (list of str or None) – Resource type filter. 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.vstats.model.RsrcType. When methods return a value +of this class as a return value, the attribute will contain +identifiers for the resource type: +com.vmware.vstats.model.RsrcType. +If None resource type filter will not be applied.

  • +
  • metric (str or None) – Metric for which counters will be listed. 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.vstats.model.Metric. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.vstats.model.Metric. +If None metric filter will not be applied.

  • +
+
+
+
+ +
+
+class Info(cid=None, metric=None, resource_address_schema=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Counters.Info class contains the counter information. Counter is +derived from metric. It applies the metric to a particular class of a +resource. 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
+
    +
  • cid (str) – Counter Id. 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.vstats.model.Counter. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.vstats.model.Counter.

  • +
  • metric (str) – A metric is typically human-legible ASCII/English name of a +measurable aspect, for example “length” and “temperature”. It is +not internationalizable. 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.vstats.model.Metric. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.vstats.model.Metric.

  • +
  • resource_address_schema (str) – Describes formally how to address (or identify) the resources the +counter could be bound to (or instantiated for). 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.vstats.model.RsrcAddrSchema. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vstats.model.RsrcAddrSchema.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.vstats.model.Counter'
+

Resource type for counters. 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.

+
+ +
+
+get(cid)
+

Returns information about a specific Counter. 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
+

cid (str) – Counter ID. +The parameter must be an identifier for the resource type: +com.vmware.vstats.model.Counter.

+
+
Return type
+

Counters.Info

+
+
Returns
+

Information about the requested counter.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if cid is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if Counter could not be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have sufficient privileges.

+
+
+
+ +
+
+list(filter=None)
+

Returns information about all counters matching the filter parameters. +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
+

filter (Counters.FilterSpec or None) – Filters the returned records. +When None no filtering will be applied.

+
+
Return type
+

list of Counters.Info

+
+
Returns
+

List of Counters.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if any of the specified parameters are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have sufficient privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vstats_client.Data(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Data class provides methods to query measurement and statistic +data. 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.

+
+
+
+
+class DataPoint(cid=None, mid=None, rid=None, ts=None, val=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Data.DataPoint class is an instance of a measurement or stat. A +data point is comprised of a Counter, CounterMetadata, Resource, timestamp +and value. 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
+
    +
  • cid (str) – Counter Id. 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.vstats.model.Counter. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.vstats.model.Counter.

  • +
  • mid (str) – CounterMetadata Id. 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.vstats.model.CounterMetadata. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vstats.model.CounterMetadata.

  • +
  • rid (str) – Resource Id. 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.

  • +
  • ts (long) – Timestamp for the data point. format: 64-bit integer. 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.

  • +
  • val (float) – Stat 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.

  • +
+
+
+
+ +
+
+class DataPointsResult(data_points=None, next=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Data.DataPointsResult class contains attributes used to return +DataPoints. 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
+
    +
  • data_points (list of Data.DataPoint) – List of DataPoints received. 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.

  • +
  • next (str or None) – The next attribute is a token used to retrieve paged data for +larger result sets. This is opaque token generated by the server. +It is to be sent in the Data.FilterSpec.page attribute to +issue a subsequent call to the query method for retrieving results +that did not fit the current page. 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. +set when there are more results to retrieve.

  • +
+
+
+
+ +
+
+class FilterSpec(start=None, end=None, cid=None, metric=None, types=None, resources=None, order=None, page=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Data.FilterSpec class contains attributes used to filter the +results when listing DataPoint. 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
+
    +
  • start (long or None) – Start of a time window (included), timestamp in seconds UTC. +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 None the result will not be limited by start time.

  • +
  • end (long or None) – End of a time window (excluded), timestamp in seconds UTC. +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 None the result will not be limited by end time.

  • +
  • cid (str or None) – Counter ID. 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.vstats.model.Counter. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.vstats.model.Counter. +When None the result will not be filtered by counter.

  • +
  • metric (str or None) – Metric name. 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.vstats.model.Metric. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.vstats.model.Metric. +When None the result will not be filtered by metric name.

  • +
  • types (list of str or None) – List of Resource types. 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.vstats.model.RsrcType. When methods return a value +of this class as a return value, the attribute will contain +identifiers for the resource type: +com.vmware.vstats.model.RsrcType. +When None the result will not be filtered by resource types.

  • +
  • resources (list of str or None) –

    Resources to include in the query. Each resource is specified +through a composite string that follows the following format.

    +
    +

    type.<resource type>[.<scheme>]=<resource id>

    +
    +

    resource type specifies the type of resource for example +VM, VCPU etc.

    +

    scheme is an optional element to disambiguate the resource as +needed for example to differentiate managed object id from +uuid.

    +

    resource id is the unique resource identifier value for +example: vm-41

    +

    Example values include: type.VM=vm-41, type.VCPU=1, +type.VM.moid=vm-41. 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 left None the result will not be filtered for specific +resources.

    +

  • +
  • order (str or None) – Directs the server to order the returned data. Passing a value of +DEFAULT will apply default ordering of the results that makes +them easier for consumption. 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 this parameter is None the server will not order the result, +save computational time and therefore the API will operate faster.

  • +
  • page (str or None) – Used to retrieve paged data for larger result sets. The value of +this token is generated by server and returned as next +attribute in the result of queryDataPoints methods. +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 None the first page of results will be returned.

  • +
+
+
+
+ +
+
+query_data_points(filter=None)
+

Returns Data.DataPointsResult matching the filter parameters.

+
+

/vstats/data/dp?types=VM&types=VCPU

+
+

/vstats/data/dp?rsrcs=type.HOST=host-16&rsrcs=type.VM=vm-31. +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
+

filter (Data.FilterSpec or None) – Specification to match DataPoints. +When set filtering will be applied to the result.

+
+
Return type
+

Data.DataPointsResult

+
+
Returns
+

Data points matching the filter.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if any of the specified parameters are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have sufficient privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vstats_client.Metrics(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Metrics class provides method to list metrics. A metric is a +fundamental concept. It means a measurable aspect or property. For +instance, temperature, count, velocity, data size, bandwidth. 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.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.vstats.model.Metric'
+

Resource type for metrics. 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 Summary(metric=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Metrics.Summary class contains metric summary. 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
+

metric (str) – Metric name. 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.vstats.model.Metric. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.vstats.model.Metric.

+
+
+
+ +
+
+list()
+

Returns list of available Metrics as supplied by the discovered +providers. 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
+

list of Metrics.Summary

+
+
Returns
+

List of Metrics.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have sufficient privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vstats_client.Providers(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Providers class manages list of statistical data provider services +that are currently used. 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.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.vstats.model.Provider'
+

Resource type for data providers. 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 Summary(id=None, id_value=None, type=None, scheme=None, metadata=None, tracking_sn=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Providers.Summary class describes a statistical data provider. +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
+
    +
  • id (str) – Provider 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.vstats.model.Provider. When methods return a value +of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vstats.model.Provider.

  • +
  • id_value (str) – The ID given to the provider by its respective inventory. +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.

  • +
  • type (str) – Provider type. 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.

  • +
  • scheme (str or None) – An optional designation of the scheme. 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 None the provider is not designating a specific scheme.

  • +
  • metadata (str or None) – Schema-less metadata with extra information for the provider. +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. +As supplied by the provider.

  • +
  • tracking_sn (long or None) – Timestamp which is obtained when querying counters from a provider +and is used as since parameter when new counter listing is needed. +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. +{term unset} if no timestamp has been obtained yet.

  • +
+
+
+
+ +
+
+list()
+

Returns a list of stats providers. 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
+

list of Providers.Summary

+
+
Returns
+

List of stats providers.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have sufficient privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vstats_client.QueryPredicate(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The QueryPredicate enum describes how to query an id present in a +RsrcId. 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 the QueryPredicate instance.

+
+
+
+
+ALL = QueryPredicate(string='ALL')
+

Matching all available id-s. 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.

+
+ +
+
+EQUAL = QueryPredicate(string='EQUAL')
+

Matching id-s by equality. 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.vstats_client.ResourceAddressSchemas(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The ResourceAddressSchemas class manages inventory of resource +addressing schemas used by Counters. Each schema consists of a +named list of resource identifiers of specific resource type. 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.

+
+
+
+
+class Info(id=None, schema=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ResourceAddressSchemas.Info class defines addressing schema for a +counter. This is set of named placeholders for different resource types. +For example a network link between VMs will take two arguments “source” and +“destination” both of type VM. For each argument query capability is +defined. 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
+
    +
  • id (str) – 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.vstats.model.RsrcAddrSchema. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vstats.model.RsrcAddrSchema.

  • +
  • schema (list of ResourceAddressSchemas.ResourceIdDefinition) – List of :class:`ResourceAddressSchemas.ResourceIdDefinition`s. +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 QueryCapabilities(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Declares which predicates are supported by the +ResourceAddressSchemas.ResourceIdDefinition. 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 the QueryCapabilities instance.

+
+
+
+
+EQUAL = QueryCapabilities(string='EQUAL')
+

Equal. 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.

+
+ +
+
+EQUAL_ALL = QueryCapabilities(string='EQUAL_ALL')
+

Supports both Equality and Aggregation. 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.

+
+ +
+ +
+
+RESOURCE_TYPE = 'com.vmware.vstats.model.RsrcAddrSchema'
+

Resource type for resource addressing schemas. 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 ResourceIdDefinition(key=None, type=None, query_options=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ResourceAddressSchemas.ResourceIdDefinition class describes a +single identifier of the Resource Addressing Schema. 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
+
    +
  • key (str) – Designates a semantic key for the resource identifier. This could +be “vm” for virtual machine whose CPU usage is metered or “source” +to identify the virtual machine that is origin of measured network +traffic. 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.

  • +
  • type (str) – Type of the resource. This represents various entities for which +statistical data is gathered such as virtual machines, containers, +servers, disks etc. 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.vstats.model.RsrcType. When methods return a value +of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vstats.model.RsrcType.

  • +
  • query_options (ResourceAddressSchemas.QueryCapabilities) – Designates the supported query-options. 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.

  • +
+
+
+
+ +
+
+get(id)
+

Returns information about a specific resource address schema. +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
+

id (str) – Resource address schema identifier.

+
+
Return type
+

ResourceAddressSchemas.Info

+
+
Returns
+

Information about the desired resource address schema.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if id is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if RsrcAddrSchema could not be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have sufficient privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vstats_client.ResourceAddresses(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The ResourceAddresses class provides methods to perform resource +addressing queries. 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.

+
+
+
+
+class FilterSpec(types=None, resources=None, page=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

ResourceAddresses.FilterSpec class describes filter criteria for +resource addresses. 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
+
    +
  • types (list of str or None) – List of Resource types. 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.vstats.model.RsrcType. When methods return a value +of this class as a return value, the attribute will contain +identifiers for the resource type: +com.vmware.vstats.model.RsrcType. +When None the result will not be filtered by resource types.

  • +
  • resources (list of str or None) –

    Resources to include in the query. Each resource is specified +through a composite string that follows the following format.

    +
    +

    type.<resource type>[.<scheme>]=<resource id>

    +
    +

    resource type specifies the type of resource for example +VM, VCPU etc.

    +

    scheme is an optional element to disambiguate the resource as +needed for example to differentiate managed object id from +uuid.

    +

    resource id is the unique resource identifier value for +example: vm-41

    +

    Example values include: type.VM=vm-41, type.VCPU=1, +type.VM.moid=vm-41. 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 left None the result will not be filtered for specific +resources.

    +

  • +
  • page (str or None) – The page field is used to retrieve paged data for large result +sets. It is an opaque paging token obtained from a prior call to +the ResourceAddresses.list() API. 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 set a follow up page in a paged result set will be +delivered.

  • +
+
+
+
+ +
+
+class Info(id=None, resource_ids=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ResourceAddresses.Info class contains global address of a specific +Resource. 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
+
    +
  • id (str) – 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.vstats.model.RsrcAddr. When methods return a value +of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vstats.model.RsrcAddr.

  • +
  • resource_ids (list of RsrcId) – List of Resource Identifiers. 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 ListResult(rsrc_addrs=None, next=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ResourceAddresses.ListResult class contains attributes used to +return the resource addresses. 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
+
    +
  • rsrc_addrs (list of ResourceAddresses.Info) – List of Resource Addresses received. 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.

  • +
  • next (str or None) – Used to retrieve paged data for larger result sets. Token is +generated by server. The value of this field should be supplied in +a subsequent call to ResourceAddresses.list() 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. +None when there are no more pages of data to be retrieved.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.vstats.model.RsrcAddr'
+

Resource type for ResourceAddresses. 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.

+
+ +
+
+get(id)
+

Returns information about a specific Resource Address. 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
+

id (str) – Resource Address ID. +The parameter must be an identifier for the resource type: +com.vmware.vstats.model.RsrcAddr.

+
+
Return type
+

ResourceAddresses.Info

+
+
Returns
+

Information about the desired Resource Address.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if id is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if Resource Address could not be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have sufficient privileges.

+
+
+
+ +
+
+list(filter=None)
+

Returns the list of Resource Addresses matching the filter parameters. +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
+

filter (ResourceAddresses.FilterSpec or None) – Criteria for selecting records to return. +If None all records will be returned.

+
+
Return type
+

ResourceAddresses.ListResult

+
+
Returns
+

Matching resource addresses.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if any of the specified parameters are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have sufficient privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vstats_client.ResourceTypes(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The ResourceTypes class provides list of resource types. Resource +refers to any item or concept that could have measurable properties. It is +a prerequisite that a resource can be identified.

+

Example resource types are virtual machine, virtual disk etc.. 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.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.vstats.model.RsrcType'
+

Resource type for resource types. 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 Summary(type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ResourceTypes.Summary class contains information of addressable +resource. 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
+

type (str) – Resource type. 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.vstats.model.RsrcType. When methods return a value +of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vstats.model.RsrcType.

+
+
+
+ +
+
+list()
+

Returns a list of available resource types. 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
+

list of ResourceTypes.Summary

+
+
Returns
+

List of resource types.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have sufficient privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vstats_client.RsrcId(key=None, type=None, id_value=None, predicate=None, scheme=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The RsrcId class specifies identification of a resource to be monitored +by an acquisition specification record. 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
+
    +
  • key (str or None) – Key relates to the corresponding ResourceIdDefinition of the +related resource address schema. 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 this attribute is None, type attribute will be used.

  • +
  • type (str or None) – Type of the resource identified by the Resource Id. 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 this attribute is None, in current version the api will throw +InvalidArgument error. To be made optional in future.

  • +
  • id_value (str) – The id value binding the related resource id definition. +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.

  • +
  • predicate (QueryPredicate or None) – Predicate to use to match resource Ids. 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 this attribute is None, default predicate is EQUAL.

  • +
  • scheme (str or None) – An optional designation of the scheme. 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 this attribute is None, default scheme is moid (ManagedObject +Identifier).

  • +
+
+
+
+ +
+
+class com.vmware.vstats_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.vstats_client.UserInfo(label=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The UserInfo class contains human legible, localizable description, +used for VMware provided objects. 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
+
    +
  • label (com.vmware.vapi.std_client.LocalizableMessage) – Short label. 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 (com.vmware.vapi.std_client.LocalizableMessage) – Detailed description of the object. 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.

  • +
+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vapi.html b/vsphere/7.0.0.1/com.vmware.vapi.html new file mode 100644 index 00000000..7244bc6d --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vapi.html @@ -0,0 +1,830 @@ + + + + + + + + + + + com.vmware.vapi package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vapi package

+ +
+

Submodules

+
+
+

com.vmware.vapi.metadata_client module

+

The com.vmware.vapi.metadata_client module provides metadata classes. +These are classes that provide different facets of API information. Clients can +use these classes to:

+
    +
  • Discover APIs available in the infrastructure.

  • +
  • Fetch metadata that can be used to build presentation layers like CLI, REST, +etc.

  • +
  • Fetch authentication and authorization metadata.

  • +
+
+
+class com.vmware.vapi.metadata_client.SourceCreateSpec(description=None, type=None, filepath=None, address=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The SourceCreateSpec class contains the registration information for a +metadata source.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • description (str) – English language human readable description of the source.

  • +
  • type (SourceType) – Type of the metadata source.

  • +
  • filepath (str) – Absolute file path of the metamodel metadata file that has the +metamodel information about one component element. +This attribute is optional and it is only relevant when the value +of type is SourceType.FILE.

  • +
  • address (str) –

    Connection information of the remote server. This should be of the +format http(s)://IP:port/namespace.

    +

    The remote server should contain the classes in +com.vmware.vapi.metadata.metamodel_client module. It could +expose metamodel information of one or more components. +This attribute is optional and it is only relevant when the value +of type is SourceType.REMOTE.

    +

  • +
+
+
+
+ +
+
+class com.vmware.vapi.metadata_client.SourceInfo(type=None, file_name=None, remote_addr=None, msg_protocol=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Metadata source info

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (SourceType) – Type of the metadata source

  • +
  • file_name (str) – Name of the metadata source file +This attribute is optional and it is only relevant when the value +of type is SourceType.FILE.

  • +
  • remote_addr (str) – Address of the remote metadata source +This attribute is optional and it is only relevant when the value +of type is SourceType.REMOTE.

  • +
  • msg_protocol (str) – Message protocol to be used +This attribute is optional and it is only relevant when the value +of type is SourceType.REMOTE.

  • +
+
+
+
+ +
+
+class com.vmware.vapi.metadata_client.SourceType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The SourceType class defines the types of sources for API metadata. You +specify the type of source when adding a metadata source to a metadata +service.

+
+

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 the SourceType instance.

+
+
+
+
+FILE = SourceType(string='FILE')
+

Indicates the metadata source is a JSON file.

+
+ +
+
+REMOTE = SourceType(string='REMOTE')
+

Indicates the metadata source is a remote server.

+
+ +
+ +
+
+class com.vmware.vapi.metadata_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vapi.std_client module

+

The com.vmware.vapi.std_client module provides standard types that can be +used in the interface specification of any class.

+
+
+class com.vmware.vapi.std_client.AuthenticationScheme
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The AuthenticationScheme class defines constants for +authentication scheme identifiers for authentication mechanisms present in +the vAPI infrastructure shipped by VMware.

+

A third party extension can define and implements it’s own authentication +mechanism and define a constant in a different IDL file.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
+NO_AUTHENTICATION = 'com.vmware.vapi.std.security.no_authentication'
+

Indicates that the request doesn’t need any authentication.

+
+ +
+
+OAUTH_ACCESS_TOKEN = 'com.vmware.vapi.std.security.oauth'
+

Indicates that the security context in a request is using OAuth2 based +authentication scheme.

+

In this scheme, the following pieces of information has to be passed in the +SecurityContext structure in the execution context of the request:

+
    +
  • The scheme identifier - com.vmware.vapi.std.security.oauth

  • +
  • Valid OAuth2 access token - This is usually acquired by OAuth2 Authorization +Server after successful authentication of the end user.

  • +
+
+

Sample security context in JSON format that matches the specification: ``{

+
+

‘schemeId’: ‘com.vmware.vapi.std.security.oauth’, +‘accesstoken’: …. +}`` +vAPI runtime provides convenient factory methods that takes OAuth2 access token +as input parameter and creates a security context that conforms to the above +format.

+
+ +
+
+SAML_BEARER_TOKEN = 'com.vmware.vapi.std.security.saml_bearer_token'
+

Indicates that the security context in a request is using a SAML bearer token +based authentication scheme.

+

In this scheme, the following pieces of information has to be passed in the +SecurityContext structure in the execution context of the request:

+
    +
  • The scheme identifier: com.vmware.vapi.std.security.saml_bearer_token

  • +
  • The token itself

  • +
+
+

Sample security context in JSON format that matches the specification: ``{

+
+

‘schemeId’: ‘com.vmware.vapi.std.security.saml_bearer_token’, +‘token’: ‘the token itself’ +}`` vAPI runtime provide convenient factory methods that take SAML bearer token +and to create the security context that conforms to the above mentioned format.

+
+ +
+
+SAML_HOK_TOKEN = 'com.vmware.vapi.std.security.saml_hok_token'
+

Indicates that the security context in a request is using a SAML holder-of-key +token based authentication scheme.

+

In this scheme, the following pieces of information has to be passed in the +SecurityContext structure in the execution context of the request:

+
    +
  • The scheme identifier: com.vmware.vapi.std.security.saml_hok_token

  • +
  • Signature of the request: This includes - algorithm used for signing the +request, SAML holder of key token and signature digest

  • +
  • Request timestamp: This includes the created and expires timestamp of +the request. The timestamp should match the following format - +YYYY-MM-DDThh:mm:ss.sssZ (e.g. 1878-03-03T19:20:30.451Z).

  • +
+
+

Sample security context in JSON format that matches the specification: ``{

+
+

‘schemeId’: ‘com.vmware.vapi.std.security.saml_hok_token’, +‘signature’: { +‘alg’: ‘RS256’, +‘samlToken’: …, +‘value’: …,``, ‘timestamp’: { ‘created’: ‘2012-10-26T12:24:18.941Z’, +‘expires’: ‘2012-10-26T12:44:18.941Z’, } } } vAPI runtime provide convenient +factory methods that take SAML holder of key token and private key to create +the security context that conforms to the above mentioned format.

+
+ +
+
+SESSION_ID = 'com.vmware.vapi.std.security.session_id'
+

Indicates that the security context in a request is using a session identifier +based authentication scheme.

+

In this scheme, the following pieces of information has to be passed in the +SecurityContext structure in the execution context of the request:

+
    +
  • The scheme identifier - com.vmware.vapi.std.security.session_id

  • +
  • Valid session identifier - This is usually returned by a login method of a +session manager interface for a particular vAPI service of this authentication +scheme

  • +
+
+

Sample security context in JSON format that matches the specification: ``{

+
+

‘schemeId’: ‘com.vmware.vapi.std.security.session_id’, +‘sessionId’: …., +}`` vAPI runtime provides convenient factory methods that take session +identifier as input parameter and create a security context that conforms to +the above format.

+
+ +
+
+USER_PASSWORD = 'com.vmware.vapi.std.security.user_pass'
+

Indicates that the security context in a request is using username/password +based authentication scheme.

+

In this scheme, the following pieces of information has to be passed in the +SecurityContext structure in the execution context of the request:

+
    +
  • The scheme identifier - com.vmware.vapi.std.security.user_pass

  • +
  • Username

  • +
  • Password

  • +
+
+

Sample security context in JSON format that matches the specification: ``{

+
+

‘schemeId’: ‘com.vmware.vapi.std.security.user_pass’, +‘userName’: …., +‘password’: … +}`` +vAPI runtime provides convenient factory methods that take username and +password as input parameters and create a security context that conforms to the +above format.

+
+ +
+ +
+
+class com.vmware.vapi.std_client.DynamicID(type=None, id=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The DynamicID class represents an identifier for a resource of an +arbitrary type.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (str) –

    The type of resource being identified (for example +com.acme.Person).

    +

    Classes that contain methods for creating and deleting resources +typically contain a class attribute specifying the resource type +for the resources being created and deleted. The API metamodel +metadata classes include a class that allows retrieving all the +known resource types.

    +

  • +
  • id (str) – The identifier for a resource whose type is specified by +DynamicID.type. +When clients pass a value of this class as a parameter, the +attribute type must contain the actual resource type. When +methods return a value of this class as a return value, the +attribute type will contain the actual resource type.

  • +
+
+
+
+ +
+
+class com.vmware.vapi.std_client.LocalizableMessage(id=None, default_message=None, args=None, params=None, localized=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LocalizableMessage class represents localizable string and message +template. Classes include one or more localizable message templates in the +exceptions they report so that clients can display diagnostic messages in +the native language of the user. Classes can include localizable strings in +the data returned from methods to allow clients to display localized status +information in the native language of the user.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) –

    Unique identifier of the localizable string or message template.

    +

    This identifier is typically used to retrieve a locale-specific +string or message template from a message catalog.

    +

  • +
  • default_message (str) – The value of this localizable string or message template in the +en_US (English) locale. If LocalizableMessage.id refers +to a message template, the default message will contain the +substituted arguments. This value can be used by clients that do +not need to display strings and messages in the native language of +the user. It could also be used as a fallback if a client is unable +to access the appropriate message catalog.

  • +
  • args (list of str) – Positional arguments to be substituted into the message template. +This list will be empty if the message uses named arguments or has +no arguments.

  • +
  • params ((dict of str and LocalizationParam) or None) – Named arguments to be substituted into the message template. This +attribute was added in vSphere API 7.0.0. +None means that the message template requires no arguments or +positional arguments are used.

  • +
  • localized (str or None) – Localized string value as per request requirements. This attribute +was added in vSphere API 7.0.0. +when the client has not requested specific locale the +implementation may not populate this field to conserve resources.

  • +
+
+
+
+ +
+
+class com.vmware.vapi.std_client.LocalizationParam(s=None, dt=None, i=None, d=None, l=None, format=None, precision=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

This class holds a single message parameter and formatting settings for it. +The class has fields for str, int, +decimal.Decimal, date time and nested messages. Only one will be +used depending on the type of data sent. For date, decimal.Decimal +and int it is possible to set additional formatting details. This +class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • s (str or None) – str value associated with the parameter. This attribute +was added in vSphere API 7.0.0. +this attribute will be set when str value is used.

  • +
  • dt (datetime.datetime or None) – Date and time value associated with the parameter. Use the +format attribute to specify date and time display style. This +attribute was added in vSphere API 7.0.0. +this attribute will be set when date and time value is used.

  • +
  • i (long or None) – int value associated with the parameter. This attribute +was added in vSphere API 7.0.0. +this attribute will be set when int value is used.

  • +
  • d (float or None) – The decimal.Decimal value associated with the parameter. +The number of displayed fractional digits is changed via +precision attribute. This attribute was added in vSphere API +7.0.0. +this attribute will be set when decimal.Decimal value is +used.

  • +
  • l (NestedLocalizableMessage or None) – Nested localizable value associated with the parameter. This is +useful construct to convert to human readable localized form class +and bool values. It can also be used for proper handling +of pluralization and gender forms in localization. Recursive +NestedLocalizableMessage instances can be used for localizing +short lists of items. This attribute was added in vSphere API +7.0.0. +this attribute will be set when nested localization message value +is used.

  • +
  • format (LocalizationParam.DateTimeFormat or None) – Format associated with the date and time value in dt attribute. +The class attribute SHORT_DATETIME will be used as default. +This attribute was added in vSphere API 7.0.0. +this may not be set if class attribute SHORT_DATETIME default +format is appropriate

  • +
  • precision (long or None) – Number of fractional digits to include in formatted +decimal.Decimal value. This attribute was added in vSphere +API 7.0.0. +this will be set when exact precision is required for rendering +decimal.Decimal numbers.

  • +
+
+
+
+
+class DateTimeFormat(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The LocalizationParam.DateTimeFormat class lists possible date and time +formatting options. It combines the Unicode CLDR format types - full, long, +medium and short with 3 different presentations - date only, time only and +combined date and time presentation. This enumeration was added in vSphere +API 7.0.0.

+
+

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 the DateTimeFormat instance.

+
+
+
+
+FULL_DATE = DateTimeFormat(string='FULL_DATE')
+

The date and time value will be formatted as full date, for example 2019 +Jan 28, Mon. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+FULL_DATE_TIME = DateTimeFormat(string='FULL_DATE_TIME')
+

The date and time value will be formatted as full date and time, for +example 2019 Jan 28, Mon 12:59:01 Z. This class attribute was added in +vSphere API 7.0.0.

+
+ +
+
+FULL_TIME = DateTimeFormat(string='FULL_TIME')
+

The date and time value will be formatted as full time, for example +12:59:01 Z. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+LONG_DATE = DateTimeFormat(string='LONG_DATE')
+

The date and time value will be formatted as long date, for example 2019 +Jan 28. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+LONG_DATE_TIME = DateTimeFormat(string='LONG_DATE_TIME')
+

The date and time value will be formatted as long date and time, for +example 2019 Jan 28 12:59:01 Z. This class attribute was added in vSphere +API 7.0.0.

+
+ +
+
+LONG_TIME = DateTimeFormat(string='LONG_TIME')
+

The date and time value will be formatted as long time, for example +12:59:01 Z. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+MED_DATE = DateTimeFormat(string='MED_DATE')
+

The date and time value will be formatted as medium date, for example 2019 +Jan 28. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+MED_DATE_TIME = DateTimeFormat(string='MED_DATE_TIME')
+

The date and time value will be formatted as medium date and time, for +example 2019 Jan 28 12:59:01. This class attribute was added in vSphere +API 7.0.0.

+
+ +
+
+MED_TIME = DateTimeFormat(string='MED_TIME')
+

The date and time value will be formatted as medium time, for example +12:59:01. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+SHORT_DATE = DateTimeFormat(string='SHORT_DATE')
+

The date and time value will be formatted as short date, for example +2019-01-28. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+SHORT_DATE_TIME = DateTimeFormat(string='SHORT_DATE_TIME')
+

The date and time value will be formatted as short date and time, for +example 2019-01-28 12:59. This class attribute was added in vSphere API +7.0.0.

+
+ +
+
+SHORT_TIME = DateTimeFormat(string='SHORT_TIME')
+

The date and time value will be formatted as short time, for example +12:59. This class attribute was added in vSphere API 7.0.0.

+
+ +
+ +
+ +
+
+class com.vmware.vapi.std_client.NestedLocalizableMessage(id=None, params=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The NestedLocalizableMessage class represents a nested within a +parameter localizable string or message template. This class is useful for +modeling composite messages. Such messages are necessary to do correct +pluralization of phrases, represent lists of several items etc. This class +was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) –

    Unique identifier of the localizable string or message template.

    +

    This identifier is typically used to retrieve a locale-specific +string or message template from a message catalog.. This attribute +was added in vSphere API 7.0.0.

    +

  • +
  • params ((dict of str and LocalizationParam) or None) – Named Arguments to be substituted into the message template. This +attribute was added in vSphere API 7.0.0. +services will not populate this field when there are no parameters +to be substituted

  • +
+
+
+
+ +
+
+class com.vmware.vapi.std_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vapi.metadata.authentication.html b/vsphere/7.0.0.1/com.vmware.vapi.metadata.authentication.html new file mode 100644 index 00000000..ca76c01e --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vapi.metadata.authentication.html @@ -0,0 +1,345 @@ + + + + + + + + + + + com.vmware.vapi.metadata.authentication package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vapi.metadata.authentication package

+
+

Submodules

+
+
+

com.vmware.vapi.metadata.authentication.service_client module

+

The com.vmware.vapi.metadata.authentication.service_client module provides +classes to retrieve authentication information for operation elements.

+
+
+class com.vmware.vapi.metadata.authentication.service_client.Operation(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Operation class provides methods to retrieve authentication +information of an operation element.

+

An operation element is said to contain authentication information if +authentication schemes are specified in the authentication definition file.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.vapi.operation'
+

Resource type for operation.

+
+ +
+
+get(service_id, operation_id)
+

Retrieves the authentication information about an operation element +corresponding to operation_id contained in the service element +corresponding to service_id.

+
+
Parameters
+
    +
  • service_id (str) – Identifier of the service element. +The parameter must be an identifier for the resource type: +com.vmware.vapi.service.

  • +
  • operation_id (str) – Identifier of the operation element. +The parameter must be an identifier for the resource type: +com.vmware.vapi.operation.

  • +
+
+
Return type
+

com.vmware.vapi.metadata.authentication_client.OperationInfo

+
+
Returns
+

The +com.vmware.vapi.metadata.authentication_client.OperationInfo +instance that corresponds to operation_id.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the service element associated with service_id does not +exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the operation element associated with operation_id does not +exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the operation element associated with operation_id does not +have any authentication information.

+
+
+
+ +
+
+list(service_id)
+

Returns the identifiers for the operation elements contained in the +service element corresponding to service_id that have +authentication information.

+
+
Parameters
+

service_id (str) – Identifier of the service element. +The parameter must be an identifier for the resource type: +com.vmware.vapi.service.

+
+
Return type
+

list of str

+
+
Returns
+

List of identifiers for the operation elements contained in the +service element that have authentication information. +The return value will contain identifiers for the resource type: +com.vmware.vapi.operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the service element associated with service_id does not have +any operation elements that have authentication information.

+
+
+
+ +
+ +
+
+class com.vmware.vapi.metadata.authentication.service_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vapi.metadata.html b/vsphere/7.0.0.1/com.vmware.vapi.metadata.html new file mode 100644 index 00000000..ebbedff1 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vapi.metadata.html @@ -0,0 +1,3402 @@ + + + + + + + + + + + com.vmware.vapi.metadata package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vapi.metadata package

+ +
+

Submodules

+
+
+

com.vmware.vapi.metadata.authentication_client module

+

The com.vmware.vapi.metadata.authentication_client module provides classes +that expose authentication information for operation elements across all the +service elements.

+

To calculate the effective authentication information for an operation element, +you should first see if there is an authentication scheme specified for the +operation element. If it is not specified, then authentication scheme for the +service element that contains this operation element is used. If it is not +specified for the service element as well, then the authentication scheme for +the package element that contains this service element is used.

+
+
+class com.vmware.vapi.metadata.authentication_client.AuthenticationInfo(scheme_type=None, session_manager=None, scheme=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The AuthenticationInfo class describes the authentication information. +Authentication information could be specified for a package element, +service elenent or an operation element.

+

Using the authentication scheme information, a client invoking an API call +from any class can figure out what kind of credentials are needed for that +API call.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • scheme_type (AuthenticationInfo.SchemeType) – The type of the authentication scheme.

  • +
  • session_manager (str) – In a session aware authentication scheme, a session manager is +required that supports create, delete and keepAlive +methods. The fully qualified class name of the session manager is +provided in AuthenticationInfo.session_manager attribute. +This class is responsible for handling sessions. +This attribute is optional and it is only relevant when the value +of schemeType is +AuthenticationInfo.SchemeType.SESSION_AWARE.

  • +
  • scheme (str) –

    String identifier of the authentication scheme.

    +

    Following are the supported authentication schemes by the +infrastructure:

    +
      +
    • The identifier com.vmware.vapi.std.security.saml_hok_token +for SAML holder of key token based authentication mechanism.

    • +
    • The identifier com.vmware.vapi.std.security.bearer_token for +SAML bearer token based authentication mechanism.

    • +
    • The identifier com.vmware.vapi.std.security.session_id for +session based authentication mechanism.

    • +
    • The identifier com.vmware.vapi.std.security.user_pass for +username and password based authentication mechanism.

    • +
    +

  • +
+
+
+
+
+class SchemeType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The AuthenticationInfo.SchemeType class provides class attributes for +the set of valid authentication scheme types.

+
+

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 the SchemeType instance.

+
+
+
+
+SESSIONLESS = SchemeType(string='SESSIONLESS')
+

Indicates that the scheme is a session less authentication scheme, the user +is authenticated on every method. There is no explicit session +establishment.

+
+ +
+
+SESSION_AWARE = SchemeType(string='SESSION_AWARE')
+

Indicates that the scheme is a session aware authentication scheme. It +requires an explicit login before executing a method and logout when a +session terminates. A class might choose to have a session aware scheme if +it wants to associate some state corresponding to the user until the user +logs out or if it wants to mitigate the cost of authenticating the user on +every method.

+
+ +
+ +
+ +
+
+class com.vmware.vapi.metadata.authentication_client.Component(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Component class provides methods to retrieve authentication +information of a component element.

+

A component element is said to contain authentication information if any +one of package elements contained in it has authentication information.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.vapi.component'
+

Resource type for component.

+
+ +
+
+fingerprint(component_id)
+

Retrieves the fingerprint computed from the authentication metadata of +the component element corresponding to component_id.

+

The fingerprint provides clients an efficient way to check if the +metadata for a particular component has been modified on the server. +The client can do this by comparing the result of this operation with +the fingerprint returned in the result of Component.get().

+
+
Parameters
+

component_id (str) – Identifier of the component element. +The parameter must be an identifier for the resource type: +com.vmware.vapi.component.

+
+
Return type
+

str

+
+
Returns
+

The fingerprint computed from the authentication metadata of the +component.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the component element associated with component_id does not +have any authentication information.

+
+
+
+ +
+
+get(component_id)
+

Retrieves authentication information about the component element +corresponding to component_id.

+

The ComponentData contains the authentication information +about the component element and it’s fingerprint. It contains +information about all the package elements that belong to this +component element.

+
+
Parameters
+

component_id (str) – Identifier of the component element. +The parameter must be an identifier for the resource type: +com.vmware.vapi.component.

+
+
Return type
+

ComponentData

+
+
Returns
+

The ComponentData instance that corresponds to +component_id

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the component element associated with component_id does not +have any authentication information.

+
+
+
+ +
+
+list()
+

Returns the identifiers for the component elements that have +authentication information.

+
+
Return type
+

list of str

+
+
Returns
+

The list of identifiers for the component elements that have +authentication information. +The return value will contain identifiers for the resource type: +com.vmware.vapi.component.

+
+
+
+ +
+ +
+
+class com.vmware.vapi.metadata.authentication_client.ComponentData(info=None, fingerprint=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ComponentData class contains the authentication information of the +component along with its fingerprint.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • info (ComponentInfo) – Authentication information of the component. This includes +information about all the modules in the component.

  • +
  • fingerprint (str) –

    Fingerprint of the metadata of the component.

    +

    Authentication information could change when there is an +infrastructure update. Since the data present in +ComponentData.info could be quite large, fingerprint +provides a convenient way to check if the data for a particular +component is updated.

    +

    You should store the fingerprint associated with a component. After +an update, by invoking the Component.fingerprint() method, +you can retrieve the new fingerprint for the component. If the new +fingerprint and the previously stored fingerprint do not match, +clients can then use the Component.get() to retrieve the new +authentication information for the component.

    +

  • +
+
+
+
+ +
+
+class com.vmware.vapi.metadata.authentication_client.ComponentInfo(packages=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ComponentInfo class contains authentication information of a +component element.

+

For an explanation of authentication information contained within component +elements, see Component.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

packages (dict of str and PackageInfo) –

Authentication information of all the package elements. The key in +the dict is the identifier of the package element and the +value in the dict is the authentication information for +the package element.

+

For an explanation of authentication information containment within +package elements, see Package. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vapi.package. When methods return a value of +this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.vapi.package.

+

+
+
+
+ +
+
+class com.vmware.vapi.metadata.authentication_client.OperationInfo(schemes=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The OperationInfo class contains authentication information of an +operation element.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

schemes (list of AuthenticationInfo) – List of authentication schemes used by an operation element. The +authentication scheme specified on the service element +corresponding to this operation element is ignored.

+
+
+
+ +
+
+class com.vmware.vapi.metadata.authentication_client.Package(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Package class provides methods to retrieve authentication +information of a package element.

+

A package element is said to contain authentication information if there is +a default authentication assigned to all service elements contained in the +package element or if one of the service element contained in this package +element has authentication information.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.vapi.package'
+

Resource type for package.

+
+ +
+
+get(package_id)
+

Retrieves authentication information about the package element +corresponding to package_id.

+
+
Parameters
+

package_id (str) – Identifier of the package element. +The parameter must be an identifier for the resource type: +com.vmware.vapi.package.

+
+
Return type
+

PackageInfo

+
+
Returns
+

The PackageInfo instance that corresponds to +package_id

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the package element associated with package_id does not have +any authentication information.

+
+
+
+ +
+
+list()
+

Returns the identifiers for the package elements that have +authentication information.

+
+
Return type
+

list of str

+
+
Returns
+

The list of identifiers for the package elements that have +authentication information. +The return value will contain identifiers for the resource type: +com.vmware.vapi.package.

+
+
+
+ +
+ +
+
+class com.vmware.vapi.metadata.authentication_client.PackageInfo(schemes=None, services=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The PackageInfo class contains authentication information of a package +element.

+

For an explanation of authentication information contained within package +elements, see Package.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • schemes (list of AuthenticationInfo) – List of authentication schemes to be used for all the operation +elements contained in this package element. If a particular service +or operation element has no explicit authentications defined in the +authentication defintion file, these authentication schemes are +used for authenticating the user.

  • +
  • services (dict of str and ServiceInfo) –

    Information about all service elements contained in this package +element that contain authentication information. The key in the +dict is the identifier of the service element and the +value in the dict is the authentication information for +the service element.

    +

    For an explanation of authentication information containment within +service elements, see Service. +When clients pass a value of this class as a parameter, the key in +the attribute dict 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 key in the attribute +dict will be an identifier for the resource type: +com.vmware.vapi.service.

    +

  • +
+
+
+
+ +
+
+class com.vmware.vapi.metadata.authentication_client.Service(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Service class provides methods to retrieve authentication +information of a service element.

+

A service element is said to contain authentication information if there is +a default authentication assigned to all operation elements contained in a +service element or if one of the operation elements contained in this +service element has authentication information.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.vapi.service'
+

Resource type for service.

+
+ +
+
+get(service_id)
+

Retrieves authentication information about the service element +corresponding to service_id.

+
+
Parameters
+

service_id (str) – Identifier of the service element. +The parameter must be an identifier for the resource type: +com.vmware.vapi.service.

+
+
Return type
+

ServiceInfo

+
+
Returns
+

The ServiceInfo instance that corresponds to +service_id

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the service element associated with service_id does not have +any authentication information.

+
+
+
+ +
+
+list()
+

Returns the identifiers for the service elements that have +authentication information.

+
+
Return type
+

list of str

+
+
Returns
+

The list of identifiers for the service elements that have +authentication information. +The return value will contain identifiers for the resource type: +com.vmware.vapi.service.

+
+
+
+ +
+ +
+
+class com.vmware.vapi.metadata.authentication_client.ServiceInfo(schemes=None, operations=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ServiceInfo class contains authentication information of a service +element.

+

For an explanation of authentication information contained within service +elements, see Service.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • schemes (list of AuthenticationInfo) – List of authentication schemes to be used for all the operation +elements contained in this service element. The authentication +scheme specified on the package element corresponding to this +service element is ignored.

  • +
  • operations (dict of str and OperationInfo) –

    Information about all operation elements contained in this service +element that contain authentication information. The key in the +dict is the identifier of the operation element and the +value in the dict is the authentication information for +the operation element.

    +

    For an explanation of containment of authentication information +within operation elements, see +com.vmware.vapi.metadata.authentication.service_client.Operation. +When clients pass a value of this class as a parameter, the key in +the attribute dict 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 key in the attribute +dict will be an identifier for the resource type: +com.vmware.vapi.operation.

    +

  • +
+
+
+
+ +
+
+class com.vmware.vapi.metadata.authentication_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vapi.metadata.cli_client module

+

The com.vmware.vapi.metadata.cli_client module provides classes that expose +all the information required to display namespace or command help, execute a +command and display it’s result.

+
+
+class com.vmware.vapi.metadata.cli_client.Command(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Command class provides methods to get information about command +line interface (CLI) commands.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class FormatterType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Command.FormatterType class defines supported CLI output formatter +types. See Command.Info.formatter.

+
+

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 the FormatterType instance.

+
+
+
+
+CSV = FormatterType(string='CSV')
+

Displays command output in CSV format.

+
+ +
+
+HTML = FormatterType(string='HTML')
+

Displays command output in HTML format.

+
+ +
+
+JSON = FormatterType(string='JSON')
+

Displays command output in JSON format.

+
+ +
+
+SIMPLE = FormatterType(string='SIMPLE')
+

Displays command output as it is.

+
+ +
+
+TABLE = FormatterType(string='TABLE')
+

Displays command output in table format.

+
+ +
+
+XML = FormatterType(string='XML')
+

Displays command output in XML format.

+
+ +
+ +
+
+class GenericType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Command.GenericType class defines generic types supported by +Command class. See Command.OptionInfo.generic.

+
+

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 the GenericType instance.

+
+
+
+
+LIST = GenericType(string='LIST')
+

Input parameter is a list.

+
+ +
+
+LIST_OPTIONAL = GenericType(string='LIST_OPTIONAL')
+

Input parameter is a list of optionals. This class attribute was added in +vSphere API 6.5.

+
+ +
+
+NONE = GenericType(string='NONE')
+

Default case.

+
+ +
+
+OPTIONAL = GenericType(string='OPTIONAL')
+

Input parameter is an optional.

+
+ +
+
+OPTIONAL_LIST = GenericType(string='OPTIONAL_LIST')
+

Input parameter is an optional of type list. This class attribute was added +in vSphere API 6.5.

+
+ +
+ +
+
+class Identity(path=None, name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Command.Identity class uniquely identifies a command in the CLI +commands tree.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • path (str) – The dot-separated path of the namespace containing the command in +the CLI command tree.

  • +
  • name (str) – Name of the command.

  • +
+
+
+
+ +
+
+class Info(identity=None, description=None, service_id=None, operation_id=None, options=None, formatter=None, output_field_list=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Command.Info class contains information about a command. It +includes the identity of the command, a description, information about the +class and method that implement the command, and CLI-specific information +for the command.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • identity (Command.Identity) – Basic command identity.

  • +
  • description (str) – The text description displayed to the user in help output.

  • +
  • service_id (str) – The service identifier that contains the operations for this CLI +command. +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_id (str) – The operation identifier corresponding to this CLI command. +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.

  • +
  • options (list of Command.OptionInfo) – The input for this command.

  • +
  • formatter (Command.FormatterType or None) – The formatter to use when displaying the output of this command. +If not present, client can choose a default output formatter.

  • +
  • output_field_list (list of Command.OutputInfo) – List of output structure name and output field info.

  • +
+
+
+
+ +
+
+class OptionInfo(long_option=None, short_option=None, field_name=None, description=None, type=None, generic=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Command.OptionInfo class describes information about a specific +input option of a command.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • long_option (str) – The long option name of the parameter as used by the user.

  • +
  • short_option (str or None) – The single character value option name. +If not present, there’s no single character option for the +parameter.

  • +
  • field_name (str) – The fully qualified name of the option referred to by the operation +element in Command.Info.operation_id.

  • +
  • description (str) – The description of the option to be displayed to the user when they +request usage information for a CLI command.

  • +
  • type (str) – The type of option. This is used to display information about what +kind of data is expected (string, number, boolean, etc.) for the +option when they request usage information for a CLI command. For +class this stores the fully qualified class id.

  • +
  • generic (Command.GenericType) – This is used to tell the user whether the option is required or +optional, or whether they can specify the option multiple times.

  • +
+
+
+
+ +
+
+class OutputFieldInfo(field_name=None, display_name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Command.OutputFieldInfo class describes the name used by the CLI to +display a single attribute of a class element in the interface definition +language.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • field_name (str) – Name of the attribute.

  • +
  • display_name (str) – Name used by the CLI to display the attribute.

  • +
+
+
+
+ +
+
+class OutputInfo(structure_id=None, output_fields=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Command.OutputInfo class describes the names used by the CLI to +display the attributes of a class element in the interface definition +language as well as the order in which the attributes will be displayed.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • structure_id (str) – Name of the class. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vapi.structure. 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.structure.

  • +
  • output_fields (list of Command.OutputFieldInfo) – The order in which the attributes of the class will be displayed by +the CLI as well as the names used to display the attributes.

  • +
+
+
+
+ +
+
+fingerprint()
+

Returns the aggregate fingerprint of all the command metadata from all +the metadata sources.

+

The fingerprint provides clients an efficient way to check if the +metadata for commands has been modified on the server.

+
+
Return type
+

str

+
+
Returns
+

Fingerprint of all the command metadata present on the server.

+
+
+
+ +
+
+get(identity)
+

Retrieves information about a command including information about how +to execute that command.

+
+
Parameters
+

identity (Command.Identity) – Identifier of the command for which to retreive information.

+
+
Return type
+

Command.Info

+
+
Returns
+

Information about the command including information about how to +execute that command.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if a command corresponding to identity doesn’t exist.

+
+
+
+ +
+
+list(path=None)
+

Returns the identifiers of all commands, or commands in a specific +namespace.

+
+
Parameters
+

path (str or None) – The dot-separated path of the namespace for which command +identifiers should be returned. +If None identifiers of all commands registered with the +infrastructure will be returned.

+
+
Return type
+

list of Command.Identity

+
+
Returns
+

Identifiers of the requested commands.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if a namespace corresponding to path doesn’t exist.

+
+
+
+ +
+ +
+
+class com.vmware.vapi.metadata.cli_client.Namespace(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Namespace class provides methods to get information about command +line interface (CLI) namespaces.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Identity(path=None, name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Namespace.Identity class uniquely identifies a namespace in the CLI +namespace tree.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • path (str) – The dot-separated path of the namespace containing the namespace in +the CLI node tree. For top-level namespace this will be empty.

  • +
  • name (str) – The name displayed to the user for this namespace.

  • +
+
+
+
+ +
+
+class Info(identity=None, description=None, children=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Namespace.Info class contains information about a namespace. It +includes the identity of the namespace, a description, information children +namespaces.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • identity (Namespace.Identity) – Basic namespace identity.

  • +
  • description (str) – The text description displayed to the user in help output.

  • +
  • children (list of Namespace.Identity) – The children of this namespace in the tree of CLI namespaces.

  • +
+
+
+
+ +
+
+fingerprint()
+

Returns the aggregate fingerprint of all the namespace metadata from +all the metadata sources.

+

The fingerprint provides clients an efficient way to check if the +metadata for namespaces has been modified on the server.

+
+
Return type
+

str

+
+
Returns
+

Fingerprint of all the namespace metadata present on the server.

+
+
+
+ +
+
+get(identity)
+

Retreives information about a namespace including information about +children of that namespace.

+
+
Parameters
+

identity (Namespace.Identity) – Identifier of the namespace for which to retreive information.

+
+
Return type
+

Namespace.Info

+
+
Returns
+

Information about the namespace including information about child +of that namespace.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if a namespace corresponding to identity doesn’t exist.

+
+
+
+ +
+
+list()
+

Returns the identifiers of all namespaces registered with the +infrastructure.

+
+
Return type
+

list of Namespace.Identity

+
+
Returns
+

Identifiers of all the namespaces.

+
+
+
+ +
+ +
+
+class com.vmware.vapi.metadata.cli_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vapi.metadata.metamodel_client module

+

The com.vmware.vapi.metadata.metamodel_client module provides classes that +expose all the information present in the interface definition language (IDL) +specification.

+

Metamodel metadata is organized into an hierarchy of elements. The main +elements are:

+
    +
  • Enumeration: An enumeration element that has a list of enumeration value +elements.

  • +
  • Constant: A constant element has a name and a value.

  • +
  • Structure: A structure element can have field elements, constant elements and +enumeration elements.

  • +
  • Operation: An operation has a list of parameter elements, result element and +error elements.

  • +
  • Service: A service is a collection of operation elements, structure elements, +enumerated elements and constant elements.

  • +
  • Package: A package is a collection of service elements, structure elements +and enumeration elements.

  • +
  • Component: A component is a collection of package elements.

  • +
+

The com.vmware.vapi.metadata.metamodel_client module has classes that +enables two styles of client applications:

+
    +
  • A client can retrieve the exact pieces of information it requires using the +various granularities the API supports (that is Component, +Package, Service, Structure, Enumeration +and com.vmware.vapi.metadata.metamodel.service_client.Operation). In +this case, it doesn’t cache any information locally and always invokes methods +to get the metamodel information it requires.

  • +
  • A client can retrieve all the metamodel information in fewer method +invocations using the Component class and cache the output locally. It +can then poll on the fingerprint information exposed by the Component +class to monitor changes in API definition.

  • +
+
+
+class com.vmware.vapi.metadata.metamodel_client.Component(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Component class providers methods to retrieve metamodel information +of a component element.

+

A component defines a set of functionality that is deployed together and +versioned together. For example, all the classes that belong to VMware +Content Library are part of a single component. A component element +describes a component. A component element contains one or more package +elements.

+
+

The methods for package elements are provided by class Package.

+
+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.vapi.component'
+

Resource type for component.

+
+ +
+
+fingerprint(component_id)
+

Retrieves the fingerprint computed from the metamodel metadata of the +component element corresponding to component_id.

+

The fingerprint provides clients an efficient way to check if the +metadata for a particular component element has been modified on the +server. The client can do this by comparing the result of this +operation with the fingerprint returned in the result of +Component.get().

+
+
Parameters
+

component_id (str) – Identifier of the component element. +The parameter must be an identifier for the resource type: +com.vmware.vapi.component.

+
+
Return type
+

str

+
+
Returns
+

The fingerprint computed from the metamodel metadata of the +component element.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the component element associated with component_id is not +registered with the infrastructure.

+
+
+
+ +
+
+get(component_id)
+

Retrieves metamodel information about the component element +corresponding to component_id.

+

The ComponentData contains the metamodel information about the +component and it’s fingerprint. It contains information about all the +package elements that are contained in this component element.

+
+
Parameters
+

component_id (str) – Identifier of the component element. +The parameter must be an identifier for the resource type: +com.vmware.vapi.component.

+
+
Return type
+

ComponentData

+
+
Returns
+

The ComponentData instance that corresponds to +component_id.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the component element associated with component_id is not +registered with the infrastructure.

+
+
+
+ +
+
+list()
+

Returns the identifiers for the component elements that are registered +with the infrastructure.

+
+
Return type
+

list of str

+
+
Returns
+

The list of identifiers for the component elements that are +registered with the infrastructure. +The return value will contain identifiers for the resource type: +com.vmware.vapi.component.

+
+
+
+ +
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.ComponentData(info=None, fingerprint=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ComponentData class contains the metamodel metadata information of +a component element along with its fingerprint.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • info (ComponentInfo) –

    Metamodel information of the component element. This includes +information about all the package elements contained in this +component element.

    +

    The metamodel information about a component could be quite large if +there are a lot of package elements contained in this component.

    +

  • +
  • fingerprint (str) –

    Fingerprint of the metamodel metadata of the component component.

    +

    Metamodel information could change when there is an infrastructure +update and new functionality is added to an existing component.

    +

    Since the data present in ComponentData.info could be quite +large, fingerprint provides a convenient way to check if the +data for a particular component is updated.

    +

    You should store the fingerprint associated with a component. After +an update, by invoking the Component.fingerprint() method, +you can retrieve the new fingerprint for the component. If the new +fingerprint and the previously stored fingerprint do not match, +clients can use the Component.get() to retrieve the new +metamodel information for the component.

    +

  • +
+
+
+
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.ComponentInfo(name=None, packages=None, metadata=None, documentation=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ComponentInfo class contains metamodel metadata information about a +component element.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Dot separated name of the component element. The segments in the +name reflect the organization of the APIs. The format of each +segment is lower case with underscores. Each underscore represents +a word boundary. If there are acronyms in the word, the +capitalization is preserved. This format makes it easy to translate +the segment into a different naming convention.

  • +
  • packages (dict of str and PackageInfo) – Metamodel metadata information of all the package elements +contained in the component element. The key in the dict is +the identifier of the package element and the value in the +dict is the metamodel information of the package element. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vapi.package. When methods return a value of +this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.vapi.package.

  • +
  • metadata (dict of str and ElementMap) –

    Generic metadata for the component element. The key in the +dict is the name of the metadata element and the value is +the data associated with that metadata element.

    +

    The MetadataIdentifier contains possible string values for +keys in the dict.

    +

  • +
  • documentation (str) – English language documentation for a component. It can contain HTML +markup and documentation tags (similar to Javadoc tags). The first +sentence of the package documentation is a complete sentence that +identifies the component by name and summarizes the purpose of the +component.

  • +
+
+
+
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.ConstantInfo(type=None, value=None, documentation=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ConstantInfo class contains metamodel information of the constant +elements.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Type) – Type of the constant element.

  • +
  • value (ConstantValue) – Value of the constant element.

  • +
  • documentation (str) – English language documentation for the constant element. It can +contain HTML markup and documentation tags (similar to Javadoc +tags).

  • +
+
+
+
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.ConstantValue(category=None, primitive_value=None, list_value=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ConstantValue class contains the metamodel information of the +constant element.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+
+class Category(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The ConstantValue.Category class defines class attributes for the valid +kinds of values.

+
+

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 the Category instance.

+
+
+
+
+LIST = Category(string='LIST')
+

Indicates the type of constant value is a list.

+
+ +
+
+PRIMITIVE = Category(string='PRIMITIVE')
+

Indicates the type of constant value is primitive.

+
+ +
+ +
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.ElementMap(elements=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ElementMap class contains the metadata elements.

+

One of the sources for metadata is the annotations present in the interface +definition language. When an annotation is represented in the +ElementMap, ElementMap describes the data specified in the +arguments for the annotation.

+

For example, in \\@UnionCase(tag="tag", value="SELECT"), ElementMap +describes the keyword arguments tag and value.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

elements (dict of str and ElementValue) – Metamodel information of the metadata elements. The key parameter +of the dict is the identifier for the element and the +value corresponds to the element value.

+
+
+
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.ElementValue(type=None, long_value=None, string_value=None, list_value=None, structure_id=None, structure_ids=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ElementValue class describes the value of the metadata element.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (ElementValue.Type) – Type of the value.

  • +
  • long_value (long) – Long value of the metadata element. +This attribute is optional and it is only relevant when the value +of type is ElementValue.Type.LONG.

  • +
  • string_value (str) – String value of the metadata element. +This attribute is optional and it is only relevant when the value +of type is ElementValue.Type.STRING.

  • +
  • list_value (list of str) – List of strings value of the metadata element. +This attribute is optional and it is only relevant when the value +of type is ElementValue.Type.STRING_LIST.

  • +
  • structure_id (str) – Identifier of the structure element. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vapi.structure. 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.structure. +This attribute is optional and it is only relevant when the value +of type is ElementValue.Type.STRUCTURE_REFERENCE.

  • +
  • structure_ids (list of str) – List of identifiers of the structure elements. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.vapi.structure. When methods return a value of this +class as a return value, the attribute will contain identifiers for +the resource type: com.vmware.vapi.structure. +This attribute is optional and it is only relevant when the value +of type is ElementValue.Type.STRUCTURE_REFERENCE_LIST.

  • +
+
+
+
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The ElementValue.Type class defines the valid types for values in +metadata elements.

+
+

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 the Type instance.

+
+
+
+
+LONG = Type(string='LONG')
+

Indicates the type of the value is a long (64 bit signed integer).

+
+ +
+
+STRING = Type(string='STRING')
+

Indicates the type of the value is a string (a variable length sequence of +characters). The encoding is UTF-8.

+
+ +
+
+STRING_LIST = Type(string='STRING_LIST')
+

Indicates the type of the value is a list of strings.

+
+ +
+
+STRUCTURE_REFERENCE = Type(string='STRUCTURE_REFERENCE')
+

Indicates the type of the value is an identifier for a structure element.

+
+ +
+
+STRUCTURE_REFERENCE_LIST = Type(string='STRUCTURE_REFERENCE_LIST')
+

Indicates the type of the value is a list of identifiers for a structure +element.

+
+ +
+ +
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.Enumeration(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Enumeration class provides methods to retrieve metamodel +information about an enumeration element in the interface definition +language.

+
+

The Enumeration has a list of enumeration value elements.

+
+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.vapi.enumeration'
+

Resource type for enumeration.

+
+ +
+
+get(enumeration_id)
+

Retrieves information about the enumeration element corresponding to +enumeration_id.

+

The EnumerationInfo contains the metamodel information about +the enumeration value element contained in the enumeration element.

+
+
Parameters
+

enumeration_id (str) – Identifier of the enumeration element. +The parameter must be an identifier for the resource type: +com.vmware.vapi.enumeration.

+
+
Return type
+

EnumerationInfo

+
+
Returns
+

The EnumerationInfo instance that corresponds to +enumeration_id

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the enumeration element associated with enumeration_id is +not contained in any of the package elements, service elements and +structure elements.

+
+
+
+ +
+
+list()
+

Returns the identifiers for the enumeration elements that are contained +in all the package elements, service elements and structure elements.

+
+
Return type
+

list of str

+
+
Returns
+

The list of identifiers for the enumeration elements. +The return value will contain identifiers for the resource type: +com.vmware.vapi.enumeration.

+
+
+
+ +
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.EnumerationInfo(name=None, values=None, metadata=None, documentation=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The EnumerationInfo class contains the metamodel information of an +enumeration element.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Dot separated name of the enumeration element. The segments in the +name reflect the organization of the APIs. The format of each +segment is lower case with underscores. Each underscore represents +a word boundary. If there are acronyms in the word, the +capitalization is preserved. This format makes it easy to translate +the segment into a different naming convention.

  • +
  • values (list of EnumerationValueInfo) – Metamodel information of all the enumeration value elements +contained in this enumeration element. The order of the enumeration +value elements in the list is same as the order in which they are +defined in the interface definition file.

  • +
  • metadata (dict of str and ElementMap) –

    Generic metadata elements for an enumeration element. The key in +the dict is the name of the metadata element and the value +is the data associated with that metadata element.

    +

    The MetadataIdentifier contains possible string values for +keys in the dict.

    +

  • +
  • documentation (str) –

    English language documentation for an enumeration element. It can +contain HTML markup and Javadoc tags. The first sentence of the +enumeration documentation is a complete sentence that identifies +the enumeration by name and summarizes the purpose of the +enumeration. The documentation describes the context in which the +enumeration is used.

    +

    The documentation also contains references to the context in which +the enumeration is used. But if the enumeration is used in many +contexts, the references may not be present.

    +

  • +
+
+
+
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.EnumerationValueInfo(value=None, metadata=None, documentation=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The EnumerationValueInfo class describes the class attribute in the +class.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • value (str) – Value in the enumerated type. All the characters in the string are +capitalized.

  • +
  • metadata (dict of str and ElementMap) –

    Additional metadata for enumeration value in the enumerated type. +The key in the dict is the name of the metadata element +and the value is the data associated with that metadata element.

    +

    The MetadataIdentifier contains possible string values for +keys in the dict.

    +

  • +
  • documentation (str) – English language documentation for an enumeration value. It can +contain HTML markup and documentation tags (similar to Javadoc +tags). The first statement will be a noun or verb phrase that +describes the purpose of the enumeration value.

  • +
+
+
+
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.ErrorInfo(structure_id=None, documentation=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ErrorInfo class contains the metadata information about the error +elements contained in an operation element.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • structure_id (str) – Identifier for the structure element corresponding to the error +that is being reported by 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.structure. 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.structure.

  • +
  • documentation (str) – The English language documentation for the service element. It can +contain HTML markup and Javadoc tags.

  • +
+
+
+
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.FieldInfo(name=None, type=None, metadata=None, documentation=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The FieldInfo class contains metamodel information of a field element +contained in a structure element.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Name of the field element in a canonical format. The format is +lower case with underscores. Each underscore represents a word +boundary. If there are acronyms in the word, the capitalization is +preserved. This format makes it easy to translate the segment into +a different naming convention.

  • +
  • type (Type) – Type information.

  • +
  • metadata (dict of str and ElementMap) –

    Generic metadata elements for the field element. The key in the +dict is the name of the metadata element and the value is +the data associated with that metadata element.

    +

    The MetadataIdentifier contains possible string values for +keys in the dict.

    +

  • +
  • documentation (str) – English language documentation for the service element. It can +contain HTML markup and Javadoc tags.

  • +
+
+
+
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.GenericInstantiation(generic_type=None, element_type=None, map_key_type=None, map_value_type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The GenericInstantiation class describes the type information of a +typed element when the type is an instantiation of one of the generic types +provided by the infrastructure.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+
+class GenericType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The GenericInstantiation.GenericType class provides class attributes +for each of the generic types provided by the infrastructure.

+
+

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 the GenericType instance.

+
+
+
+
+LIST = GenericType(string='LIST')
+

Indicates the generic type is a list.

+
+ +
+
+MAP = GenericType(string='MAP')
+

Indicates the generic type is a map.

+
+ +
+
+OPTIONAL = GenericType(string='OPTIONAL')
+

Indicates the generic type is an optional.

+
+ +
+
+SET = GenericType(string='SET')
+

Indicates the generic type is a set.

+
+ +
+ +
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.MetadataIdentifier(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The MetadataIdentifier class provides string constants that can be used +as identifiers for the metadata elements.

+

Most of the types in com.vmware.vapi.metadata.metamodel_client +package has a metadata field whose type is Map<String, ElementMap>. +MetadataIdentifier contains the identifiers used in the keys of +the above Map type.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+CANONICAL_NAME = 'CanonicalName'
+

Identifier representing the CanonicalName metadata.

+
+ +
+
+COMPONENT = 'Component'
+

Identifier representing the Component metadata.

+
+ +
+
+CREATE = 'Create'
+

Identifier representing the Create metadata.

+
+ +
+
+CRUD = 'Crud'
+

Identifier representing the Crud metadata.

+
+ +
+
+HAS_FIELDS_OF = 'HasFieldsOf'
+

Identifier representing the HasFieldsOf metadata.

+
+ +
+
+INCLUDABLE = 'Includable'
+

Identifier representing the Includable metadata.

+
+ +
+
+INCLUDE = 'Include'
+

Identifier representing the Include metadata.

+
+ +
+
+IS_ONE_OF = 'IsOneOf'
+

Identifier representing the IsOneOf metadata.

+
+ +
+
+MODEL = 'Model'
+

Identifier representing the Model metadata.

+
+ +
+
+READ = 'Read'
+

Identifier representing the Read metadata.

+
+ +
+
+RESOURCE = 'Resource'
+

Identifier representing the Resource metadata.

+
+ +
+
+UNION_CASE = 'UnionCase'
+

Identifier representing the UnionCase metadata.

+
+ +
+
+UNION_TAG = 'UnionTag'
+

Identifier representing the UnionTag metadata.

+
+ +
+
+UPDATE = 'Update'
+

Identifier representing the Update metadata.

+
+ +
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.OperationInfo(name=None, params=None, output=None, errors=None, metadata=None, documentation=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The OperationInfo class contains metamodel information of an operation +element.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Name of the operation element in a canonical format. The format is +lower case with underscores. Each underscore represents a word +boundary. If there are acronyms in the word, the capitalization is +preserved. This format makes it easy to translate the segment into +a different naming convention.

  • +
  • params (list of FieldInfo) – Metamodel information for the parameter elements. The order of the +parameters elements in the list is same as the order of the +parameters declared in the interface definition file.

  • +
  • output (OperationResultInfo) – Metamodel type for the output element.

  • +
  • errors (list of ErrorInfo) – List of error elements that might be reported by the operation +element. If the operation reports the same error for more than one +reason, the list contains the error element associated with the +error more than once with different documentation elements.

  • +
  • metadata (dict of str and ElementMap) –

    Generic metadata elements for the operation element. The key in the +dict is the name of the metadata element and the value is +the data associated with that metadata element.

    +

    The MetadataIdentifier contains possible string values for +key in the dict.

    +

  • +
  • documentation (str) – English language documentation for the service element. It can +contain HTML markup and Javadoc tags.

  • +
+
+
+
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.OperationResultInfo(type=None, metadata=None, documentation=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The OperationResultInfo class contains the metamodel information of an +operation result element.

+

An operation accepts a list of parameters and returns a result or an error. +The OperationResultInfo describes the result element of an operation.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Type) – Type information of the operation result element.

  • +
  • metadata (dict of str and ElementMap) –

    Generic metadata elements for the service element. The key in the +dict is the name of the metadata element and the value is +the data associated with that metadata element.

    +

    The MetadataIdentifier contains possible string values for +keys in the dict.

    +

  • +
  • documentation (str) – English language documentation for the operation result element. It +can contain HTML markup and Javadoc tags.

  • +
+
+
+
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.Package(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Package class provides methods to retrieve metamodel information +about a package element in the interface definition language.

+

A package is a logical grouping of services, structures and enumerations. A +package element describes the package. It contains the service elements, +structure elements and enumeration elements that are grouped together.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.vapi.package'
+

Resource type for package.

+
+ +
+
+get(package_id)
+

Retrieves information about the package element corresponding to +package_id.

+
+
Parameters
+

package_id (str) – Identifier of the package element. +The parameter must be an identifier for the resource type: +com.vmware.vapi.package.

+
+
Return type
+

PackageInfo

+
+
Returns
+

The PackageInfo instance that corresponds to +package_id.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the package element associated with package_id does not +exist.

+
+
+
+ +
+
+list()
+

Returns the identifiers for the packages elements that are contained in +all the registered component elements.

+
+
Return type
+

list of str

+
+
Returns
+

The list of identifiers for the package elements that are contained +in all the registered component elements. +The return value will contain identifiers for the resource type: +com.vmware.vapi.package.

+
+
+
+ +
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.PackageInfo(name=None, structures=None, enumerations=None, services=None, metadata=None, documentation=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The PackageInfo class contains the metamodel information of all the +service elements, structure elements and enumeration elements contained in +the package element.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Dot separated name of the package element. The segments in the name +reflect the organization of the APIs. The format of each segment is +lower case with underscores. Each underscore represents a word +boundary. If there are acronyms in the word, the capitalization is +preserved. This format makes it easy to translate the segment into +a different naming convention.

  • +
  • structures (dict of str and StructureInfo) –

    Metamodel information of all the structure elements contained in +the package element. The key in the dict is the identifier +of the structure element and the value in the dict is the +metamodel information for the structure element.

    +

    This does not include the structure elements contained in the +service elements that are contained in this package element. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vapi.structure. When methods return a value of +this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.vapi.structure.

    +

  • +
  • enumerations (dict of str and EnumerationInfo) –

    Metamodel information of all the enumeration elements contained in +the package element. The key in the dict is the identifier +of the enumeration element and the value in the dict is +the metamodel information for the enumeration element.

    +

    This does not include the enumeration elements that are contained +in the service elements of this package element or structure +elements of this package element. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vapi.enumeration. When methods return a value +of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.vapi.enumeration.

    +

  • +
  • services (dict of str and ServiceInfo) – Metamodel information of all the service elements contained in the +package element. The key in the dict is the identifier of +the service element and the value in the dict is the +metamodel information for the service element. +When clients pass a value of this class as a parameter, the key in +the attribute dict 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 key in the attribute +dict will be an identifier for the resource type: +com.vmware.vapi.service.

  • +
  • metadata (dict of str and ElementMap) –

    Generic metadata elements for the package element. The key in the +dict is the name of the metadata element and the value is +the data associated with that metadata element.

    +

    The MetadataIdentifier contains possible string values for +keys in the dict.

    +

  • +
  • documentation (str) –

    English language documentation for a package. It can contain HTML +markup and Javadoc tags. The first sentence of the package +documentation is a complete sentence that identifies the package by +name and summarizes the purpose of the package.

    +

    The primary purpose of a package documentation is to provide +high-level context that will provide a framework in which the users +can put the detail about the package contents.

    +

  • +
+
+
+
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.PrimitiveValue(type=None, boolean_value=None, double_value=None, long_value=None, string_value=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The PrimitiveValue class contains value of the constant element.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (PrimitiveValue.Type) – Type of the constant value.

  • +
  • boolean_value (bool) – Boolean value of the constant. +This attribute is optional and it is only relevant when the value +of type is PrimitiveValue.Type.BOOLEAN.

  • +
  • double_value (float) – Double value of the constant. +This attribute is optional and it is only relevant when the value +of type is PrimitiveValue.Type.DOUBLE.

  • +
  • long_value (long) – Long value of the constant. +This attribute is optional and it is only relevant when the value +of type is PrimitiveValue.Type.LONG.

  • +
  • string_value (str) – String value of the constant. +This attribute is optional and it is only relevant when the value +of type is PrimitiveValue.Type.STRING.

  • +
+
+
+
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The PrimitiveValue.Type class defines the valid types for values in +constant elements.

+
+

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 the Type instance.

+
+
+
+
+BOOLEAN = Type(string='BOOLEAN')
+

Indicates the value is a boolean (true or false).

+
+ +
+
+DOUBLE = Type(string='DOUBLE')
+

Indicates the value is a double (64 bit floating number).

+
+ +
+
+LONG = Type(string='LONG')
+

Indicates the value is a long (64 bit signed integer).

+
+ +
+
+STRING = Type(string='STRING')
+

Indicates the value is a string (a variable length sequence of characters). +The encoding is UTF8.

+
+ +
+ +
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.Resource(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Resource class provides methods to retrieve information about +resource types.

+

A service is a logical grouping of operations that operate on an entity. +Each entity is identifier by a namespace (or resource type) and an unique +identifier.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.vapi.resource'
+

Resource type for resource.

+
+ +
+
+list()
+

Returns the set of resource types present across all the service +elements contained in all the package elements.

+
+
Return type
+

set of str

+
+
Returns
+

Set of resource types +The return value will contain identifiers for the resource type: +com.vmware.vapi.resource.

+
+
+
+ +
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.Service(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Service class provides methods to retrieve metamodel information +about a service element in the interface definition language.

+

A service is a logical grouping of operations that operate on some entity. +A service element describes a service. It contains operation elements that +describe the operations grouped in the service. It also contains structure +elements and enumeration elements corresponding to the structures and +enumerations defined in the service.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.vapi.service'
+

Resource type for service.

+
+ +
+
+get(service_id)
+

Retrieves information about the service element corresponding to +service_id.

+

The ServiceInfo contains the metamodel information for the +operation elements, structure elements and enumeration elements +contained in the service element.

+
+
Parameters
+

service_id (str) – Identifier of the service element. +The parameter must be an identifier for the resource type: +com.vmware.vapi.service.

+
+
Return type
+

ServiceInfo

+
+
Returns
+

The ServiceInfo instance that corresponds to +service_id

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the service element associated with service_id is not +registered with the infrastructure.

+
+
+
+ +
+
+list()
+

Returns the identifiers for the service elements that are currently +registered with the infrastructure.

+

The list of service elements is an aggregate list of all the service +elements contained in all the package elements.

+
+
Return type
+

list of str

+
+
Returns
+

The list of identifiers for the service elements that are currently +registered with the infrastructure. +The return value will contain identifiers for the resource type: +com.vmware.vapi.service.

+
+
+
+ +
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.ServiceInfo(name=None, operations=None, structures=None, enumerations=None, constants=None, metadata=None, documentation=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ServiceInfo class contains the metamodel information of all the +operation elements, structure elements and enumeration elements containted +in a service element.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Dot separated name of the service element. The segments in the name +reflect the organization of the APIs. The format of each segment is +lower case with underscores. Each underscore represents a word +boundary. If there are acronyms in the word, the capitalization is +preserved. This format makes it easy to translate the segment into +a different naming convention.

  • +
  • operations (dict of str and OperationInfo) – Metamodel information of all the operation elements contained in +the service element. The key in the dict is the identifier +of the operation element and the value in the dict is the +metamodel information for the operation element. +When clients pass a value of this class as a parameter, the key in +the attribute dict 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 key in the attribute +dict will be an identifier for the resource type: +com.vmware.vapi.operation.

  • +
  • structures (dict of str and StructureInfo) – Metamodel information of all the structure elements contained in +the service element. The key in the dict is the identifier +of the structure element and the value in the dict is the +metamodel information for the structure element. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vapi.structure. When methods return a value of +this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.vapi.structure.

  • +
  • enumerations (dict of str and EnumerationInfo) – Metamodel information of all the enumeration elements contained in +the service element. The key in the dict is the identifier +of the enumeration element and the value in the dict is +the metamodel information for the enumeration element. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vapi.enumeration. When methods return a value +of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.vapi.enumeration.

  • +
  • constants (dict of str and ConstantInfo) – Metamodel information of all the constant elements contained in the +service element. The key in the dict is the name of the +constant element and the value in the dict is the +metamodel information for the contant element.

  • +
  • metadata (dict of str and ElementMap) –

    Generic metadata elements for the service element. The key in the +dict is the name of the metadata element and the value is +the data associated with that metadata element.

    +

    The MetadataIdentifier contains possible string values for +keys in the dict.

    +

  • +
  • documentation (str) – English language documentation for the service element. It can +contain HTML markup and Javadoc tags. The first sentence of the +service documentation is a complete sentence that identifies the +service by name and summarizes the purpose of the service. The +remaining part of the documentation provides a summary of how to +use the operations defined in the service.

  • +
+
+
+
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.Structure(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Structure class providers methods to retrieve metamodel information +about a structure element in the interface definition language.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.vapi.structure'
+

Resource type for structure.

+
+ +
+
+get(structure_id)
+

Retrieves information about the structure element corresponding to +structure_id.

+

The StructureInfo contains the metamodel information about the +structure element. It contains information about all the field elements +and enumeration elements contained in this structure element.

+
+
Parameters
+

structure_id (str) – Identifier of the structure element. +The parameter must be an identifier for the resource type: +com.vmware.vapi.structure.

+
+
Return type
+

StructureInfo

+
+
Returns
+

The StructureInfo instance that corresponds to +structure_id.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the structure element associated with structure_id is not +contained in any of the package elements or service elements.

+
+
+
+ +
+
+list()
+

Returns the identifiers for the structure elements that are contained +in all the package elements and service elements.

+
+
Return type
+

list of str

+
+
Returns
+

The list of identifiers for the structure elements. +The return value will contain identifiers for the resource type: +com.vmware.vapi.structure.

+
+
+
+ +
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.StructureInfo(name=None, type=None, enumerations=None, constants=None, fields=None, metadata=None, documentation=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The StructureInfo class contains the metamodel information of all the +field elements, constant elements and enumeration elements contained in the +structure element.

+

In the interface definition language, API designers have the ability to +include all the fields from one structure to another structure. This is +done by using an annotation \\@Include on the structure in which we +want to add the fields. If this annotation is present, the list of fields +in the StructureInfo will also contain the fields that are being +included. The annotation information is also retained in the +StructureInfo.metadata element as well.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Dot separated name of the structure element. The segments in the +name reflect the organization of the APIs. The format of each +segment is lower case with underscores. Each underscore represents +a word boundary. If there are acronyms in the word, the +capitalization is preserved. This format makes it easy to translate +the segment into a different naming convention.

  • +
  • type (StructureInfo.Type) – Type of the structure.

  • +
  • enumerations (dict of str and EnumerationInfo) – Metamodel information of all the enumeration elements contained in +the structure element. The key in the dict is the +identifier of the enumeration element and the value is the +metamodel information of the enumeration element. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vapi.enumeration. When methods return a value +of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.vapi.enumeration.

  • +
  • constants (dict of str and ConstantInfo) – Metamodel information of all the constant elements contained in the +structure element. The key in the dict is the name of the +constant element and the value in the dict is the +metamodel information for the constant element.

  • +
  • fields (list of FieldInfo) – Metamodel information of all the field elements. The order of the +field elements in the list matches the order in which the fields +are defined in the service.

  • +
  • metadata (dict of str and ElementMap) –

    Generic metadata elements for the structure element. The key in the +dict is the name of the metadata element and the value is +the data associated with that metadata element.

    +

    The MetadataIdentifier contains possible string values for +keys in the dict.

    +

  • +
  • documentation (str) – English language documentation for a structure element. It can +contain HTML markup and Javadoc tags. The first sentence of the +structure documentation is a complete sentence that identifies the +structure by name and summarizes the purpose of the structure.

  • +
+
+
+
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The StructureInfo.Type class defines the kind of this structure +element. In the interface definition language, structure element and error +element have similar characteristics. The difference is that only error +elements can be used to describe the exceptions of an operation element.

+
+

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 the Type instance.

+
+
+
+
+ERROR = Type(string='ERROR')
+

If the type is an error element.

+
+ +
+
+STRUCTURE = Type(string='STRUCTURE')
+

If the type is a structure element.

+
+ +
+ +
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.Type(category=None, builtin_type=None, user_defined_type=None, generic_instantiation=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Type class describes the type information of a typed element in the +interface definiton language. The following elements in the metamodel are +typed:

+
    +
  • Field element in a structure element. See StructureInfo.fields

  • +
  • Parameter element in an operation element. See +OperationInfo.params

  • +
  • Result element in an operation element. See OperationInfo.output

  • +
+
+

The type could be one of the three following categories:

+
+
    +
  • Built-in types: These are types present in the interface definition +language type system. They are provided by the infrastructure.

  • +
  • User defined named type: API designers can create custom types and use +them for the typed elements. These types have a unique identifier.

  • +
  • Generic type instantiation: The language infrastructure also provides +generic types such as list, map, set and so on. An instantiation of one of +these generic types could also be used for the typed elements.

  • +
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • category (Type.Category) – Category of this type.

  • +
  • builtin_type (Type.BuiltinType) – Category of the built-in type. +This attribute is optional and it is only relevant when the value +of category is Type.Category.BUILTIN.

  • +
  • user_defined_type (UserDefinedType) – Identifier and type of the user defined type. +This attribute is optional and it is only relevant when the value +of category is Type.Category.USER_DEFINED.

  • +
  • generic_instantiation (GenericInstantiation) – Instantiation of one of the generic types available in the +interface definition language. +This attribute is optional and it is only relevant when the value +of category is Type.Category.GENERIC.

  • +
+
+
+
+
+class BuiltinType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Type.BuiltinType class provides class attribute for each of the +built-in types present in the interface definition language type system.

+
+

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 the BuiltinType instance.

+
+
+
+
+ANY_ERROR = BuiltinType(string='ANY_ERROR')
+

The built-in type is an arbitrary exception type. This is used if the value +of a typed element can be one of any user defined named type which is an +exception.

+
+ +
+
+BINARY = BuiltinType(string='BINARY')
+

The built-in type is a binary. The value is a variable-length sequence of +zero or more bytes.

+
+ +
+
+BOOLEAN = BuiltinType(string='BOOLEAN')
+

The built-in type is a boolean. The value is true or false.

+
+ +
+
+DATE_TIME = BuiltinType(string='DATE_TIME')
+

The built-in type is a datetime. The value should be in the UTC timezone +and the precision is milliseconds.

+
+ +
+
+DOUBLE = BuiltinType(string='DOUBLE')
+

The built-in type is a double. The value is a 64 bit floating point number.

+
+ +
+
+DYNAMIC_STRUCTURE = BuiltinType(string='DYNAMIC_STRUCTURE')
+

The built-in type is a dynamic structure. This is used if the value of a +typed element can be one of any user defined named type.

+
+ +
+
+ID = BuiltinType(string='ID')
+

The built-in type is an ID. The value represents an identifier for a +resource.

+
+ +
+
+LONG = BuiltinType(string='LONG')
+

The built-in type is a long. The value is a 64 bit signed integer.

+
+ +
+
+OPAQUE = BuiltinType(string='OPAQUE')
+

The built-in type is an opaque. This is used if the value of a typed +element could be of any type and the actual type will be known only during +the execution of the API. This is mostly used in infrastructure classes.

+
+ +
+
+SECRET = BuiltinType(string='SECRET')
+

The built-in type is a secret. The value is a variable-length sequence of +zero or more unicode characters. The value contains sensitive data that +should not be printed or displayed anywhere.

+
+ +
+
+STRING = BuiltinType(string='STRING')
+

The built-in type is a string. The value is a variable-length sequence of +zero or more unicode characters.

+
+ +
+
+URI = BuiltinType(string='URI')
+

The built-in type is an URI. The value follows the IRI specification in RFC +3987.

+
+ +
+
+VOID = BuiltinType(string='VOID')
+

The built-in type is a void. The value is None.

+
+ +
+ +
+
+class Category(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Type.Category class provides class attribute for each category of +the type.

+
+

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 the Category instance.

+
+
+
+
+BUILTIN = Category(string='BUILTIN')
+

The type is one of the built-in types specified in +Type.BuiltinType

+
+ +
+
+GENERIC = Category(string='GENERIC')
+

The type is an instantiation of one of the generic types.

+
+ +
+
+USER_DEFINED = Category(string='USER_DEFINED')
+

The type is one of the user defined named types.

+
+ +
+ +
+ +
+
+class com.vmware.vapi.metadata.metamodel_client.UserDefinedType(resource_type=None, resource_id=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The UserDefinedType class contains the metamodel type information of a +typed element whose type is a user defined named type.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • resource_type (str) – Category of the user defined named type. The named type could be a +structure element or an enumeration element. +When clients pass a value of this class as a parameter, the +attribute must be one of com.vmware.vapi.structure or +com.vmware.vapi.enumeration. When methods return a value of +this class as a return value, the attribute will be one of +com.vmware.vapi.structure or com.vmware.vapi.enumeration.

  • +
  • resource_id (str) – Identifier of the user defined named type. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for one of these resource types: +com.vmware.vapi.structure or com.vmware.vapi.enumeration. +When methods return a value of this class as a return value, the +attribute will be an identifier for one of these resource types: +com.vmware.vapi.structure or com.vmware.vapi.enumeration.

  • +
+
+
+
+ +
+
+

com.vmware.vapi.metadata.privilege_client module

+

The com.vmware.vapi.metadata.privilege_client module provides classes that +expose privilege information for operation elements across all the service +elements.

+

An entity has a unique identifier and a resource type. An entity can either be +present in one of the parameter elements or if a parameter is a structure +element, it could also be present in one of the field elements.

+

Privileges can be assigned to either operation elements or entities used in the +operation element. A list of privileges can also be applied on a package +element. This list of privileges would be used as a default for all the +operation elements and the entities that do not have any defined privileges.

+
+
+class com.vmware.vapi.metadata.privilege_client.Component(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Component class provides methods to retrieve privilege information +of a component element.

+

A component element is said to contain privilege information if any one of +package elements in it contains privilege information.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.vapi.component'
+

Resource type for vAPI component.

+
+ +
+
+fingerprint(component_id)
+

Retrieves the fingerprint computed from the privilege metadata of the +component element corresponding to component_id.

+

The fingerprint provides clients an efficient way to check if the +metadata for a particular component has been modified on the server. +The client can do this by comparing the result of this operation with +the fingerprint returned in the result of Component.get().

+
+
Parameters
+

component_id (str) – Identifier of the component element. +The parameter must be an identifier for the resource type: +com.vmware.vapi.component.

+
+
Return type
+

str

+
+
Returns
+

The fingerprint computed from the privilege metadata of the +component.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the component element associated with component_id does not +have any privilege information.

+
+
+
+ +
+
+get(component_id)
+

Retrieves privilege information about the component element +corresponding to component_id.

+

The ComponentData contains the privilege information about the +component element and its fingerprint. It contains information about +all the package elements that belong to this component element.

+
+
Parameters
+

component_id (str) – Identifier of the component element. +The parameter must be an identifier for the resource type: +com.vmware.vapi.component.

+
+
Return type
+

ComponentData

+
+
Returns
+

The ComponentData instance that corresponds to +component_id

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the component element associated with component_id does not +have any privilege information.

+
+
+
+ +
+
+list()
+

Returns the identifiers for the component elements that have privilege +information.

+
+
Return type
+

list of str

+
+
Returns
+

The list of identifiers for the component elements that have +privilege information. +The return value will contain identifiers for the resource type: +com.vmware.vapi.component.

+
+
+
+ +
+ +
+
+class com.vmware.vapi.metadata.privilege_client.ComponentData(info=None, fingerprint=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ComponentData class contains the privilege information of the +component along with its fingerprint.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • info (ComponentInfo) – Privilege information of the component. This includes information +about all the modules in the component.

  • +
  • fingerprint (str) –

    Fingerprint of the metadata of the component.

    +

    Privilege information could change when there is an infrastructure +update. Since the data present in ComponentData.info could +be quite large, fingerprint provides a convenient way to check +if the data for a particular component is updated.

    +

    You should store the fingerprint associated with a component. After +an update, by invoking the Component.fingerprint() method, +you can retrieve the new fingerprint for the component. If the new +fingerprint and the previously stored fingerprint do not match, +clients can then use the Component.get() to retrieve the new +privilege information for the component.

    +

  • +
+
+
+
+ +
+
+class com.vmware.vapi.metadata.privilege_client.ComponentInfo(packages=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ComponentInfo class contains the privilege information of a +component element.

+

For an explanation of privilege information contained within component +elements, see Component.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

packages (dict of str and PackageInfo) –

Privilege information of all the package elements. The key in the +dict is the identifier of the package element and the +value in the dict is the privilege information for the +package element.

+

For an explanation of privilege information containment within +package elements, see Package. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vapi.package. When methods return a value of +this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.vapi.package.

+

+
+
+
+ +
+
+class com.vmware.vapi.metadata.privilege_client.OperationInfo(privileges=None, privilege_info=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The OperationInfo class contains privilege information of an operation +element.

+

For an explanation of containment within operation elements, see +com.vmware.vapi.metadata.privilege.service_client.Operation.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • privileges (list of str) – List of all privileges assigned to the operation element.

  • +
  • privilege_info (list of PrivilegeInfo) – Privilege information of all the parameter elements of the +operation element. For an explanation of containment of privilege +information within parameter elements, see PrivilegeInfo.

  • +
+
+
+
+ +
+
+class com.vmware.vapi.metadata.privilege_client.Package(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Package class provides methods to retrieve privilege information of +a package element.

+

A package element is said to contain privilege information if there is a +default privilege assigned to all service elements contained in the package +element or if one of the operation elements contained in one of the service +elements in this package element has privilege information.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.vapi.package'
+

Resource type for package.

+
+ +
+
+get(package_id)
+

Retrieves privilege information about the package element corresponding +to package_id.

+
+
Parameters
+

package_id (str) – Identifier of the package element. +The parameter must be an identifier for the resource type: +com.vmware.vapi.package.

+
+
Return type
+

PackageInfo

+
+
Returns
+

The PackageInfo instance that corresponds to +package_id

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the package element associated with package_id does not have +any privilege information.

+
+
+
+ +
+
+list()
+

Returns the identifiers for the package elements that have privilege +information.

+
+
Return type
+

list of str

+
+
Returns
+

The list of identifiers for the package elements that have +privilege information. +The return value will contain identifiers for the resource type: +com.vmware.vapi.package.

+
+
+
+ +
+ +
+
+class com.vmware.vapi.metadata.privilege_client.PackageInfo(privileges=None, services=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The PackageInfo class contains the privilege information of a package +element.

+

For an explanation of privilege information contained within package +elements, see Package.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • privileges (list of str) – List of default privileges to be used for all the operations +present in this package. If a particular operation element has no +explicit privileges defined in the privilege definition file, these +privileges are used for enforcing authorization.

  • +
  • services (dict of str and ServiceInfo) – Information about all service elements contained in this package +element that contain privilege information. The key in the +dict is the identifier of the service element and the +value in the dict is the privilege information for the +service element. For an explanation of privilege information +containment within service elements, see Service. +When clients pass a value of this class as a parameter, the key in +the attribute dict 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 key in the attribute +dict will be an identifier for the resource type: +com.vmware.vapi.service.

  • +
+
+
+
+ +
+
+class com.vmware.vapi.metadata.privilege_client.PrivilegeInfo(property_path=None, privileges=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The PrivilegeInfo class contains the privilege information for a +parameter element in an operation element.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • property_path (str) –

    The propertyPath points to an entity that is used in the +operation element. An entity can either be present in one of the +parameter elements or if a parameter is a structure element, it +could also be present in one of the field elements.

    +

    If the privilege is assigned to an entity used in the parameter, +propertyPath will just contain the name of the parameter field. +If the privilege is assigned to an entity in one of the field +elements of a parameter element that is a structure element, then +propertyPath will contain a path to the field element starting +from the parameter name.

    +

  • +
  • privileges (list of str) – List of privileges assigned to the entity that is being referred by +PrivilegeInfo.property_path.

  • +
+
+
+
+ +
+
+class com.vmware.vapi.metadata.privilege_client.Service(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Service class provides methods to retrieve privilege information of +a service element.

+

A service element is said to contain privilege information if one of the +operation elements contained in this service element has privilege +information.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.vapi.service'
+

Resource type for service.

+
+ +
+
+get(service_id)
+

Retrieves privilege information about the service element corresponding +to service_id.

+
+
Parameters
+

service_id (str) – Identifier of the service element. +The parameter must be an identifier for the resource type: +com.vmware.vapi.service.

+
+
Return type
+

ServiceInfo

+
+
Returns
+

The ServiceInfo instance that corresponds to +service_id

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the service element associated with service_id does not have +any privilege information.

+
+
+
+ +
+
+list()
+

Returns the identifiers for the service elements that have privilege +information.

+
+
Return type
+

list of str

+
+
Returns
+

The list of identifiers for the service elements that have +privilege information. +The return value will contain identifiers for the resource type: +com.vmware.vapi.service.

+
+
+
+ +
+ +
+
+class com.vmware.vapi.metadata.privilege_client.ServiceInfo(operations=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ServiceInfo class contains privilege information of a service +element.

+

For an explanation of privilege information contained within service +elements, see Service.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

operations (dict of str and OperationInfo) –

Information about all operation elements contained in this service +element that contain privilege information. The key in the +dict is the identifier of the operation element and the +value in the dict is the privilege information for the +operation element.

+

For an explanation of containment of privilege information within +operation elements, see +com.vmware.vapi.metadata.privilege.service_client.Operation. +When clients pass a value of this class as a parameter, the key in +the attribute dict 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 key in the attribute +dict will be an identifier for the resource type: +com.vmware.vapi.operation.

+

+
+
+
+ +
+
+class com.vmware.vapi.metadata.privilege_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vapi.metadata.metamodel.html b/vsphere/7.0.0.1/com.vmware.vapi.metadata.metamodel.html new file mode 100644 index 00000000..a323b47f --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vapi.metadata.metamodel.html @@ -0,0 +1,406 @@ + + + + + + + + + + + com.vmware.vapi.metadata.metamodel package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vapi.metadata.metamodel package

+
+

Submodules

+
+
+

com.vmware.vapi.metadata.metamodel.resource_client module

+

The com.vmware.vapi.metadata.metamodel.resource_client module provides +classes to retrieve metamodel information for resource types.

+
+
+class com.vmware.vapi.metadata.metamodel.resource_client.Model(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Model class provides methods to retrieve information about models.

+

A structure is used as a model if it is used for persisting data about an +entity. Some of the fields in the model structure are also used for +creating indexes for querying.

+

One or more services can operate on the same resource type. One or more +services can provide the model structure for an entity of this resource +type. Using Model class you can retrieve the list of all the structure +elements that are model structures for a given resource type.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+list(resource_id)
+

Returns the set of identifiers for the structure elements that are +models for the resource type corresponding to resource_id.

+

The com.vmware.vapi.metadata.metamodel_client.Structure class +provides methods to retrieve more details about the structure elements +corresponding to the identifiers returned by this method.

+
+
Parameters
+

resource_id (str) – Identifier of the resource type. +The parameter must be an identifier for the resource type: +com.vmware.vapi.resource.

+
+
Return type
+

set of str

+
+
Returns
+

The set of identifiers for the models that are associated with the +resource type in resource_id. +The return value will contain identifiers for the resource type: +com.vmware.vapi.structure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the resource type associated with resource_id does not +exist.

+
+
+
+ +
+ +
+
+class com.vmware.vapi.metadata.metamodel.resource_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vapi.metadata.metamodel.service_client module

+

The com.vmware.vapi.metadata.metamodel.service_client module provides +classes to retrieve metamodel information about the elements contained in a +service element.

+
+
+class com.vmware.vapi.metadata.metamodel.service_client.Operation(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Operation class provides methods to retrieve metamodel information +of an operation element in the interface definition language.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.vapi.operation'
+

Resource type for operation element.

+
+ +
+
+get(service_id, operation_id)
+

Retrieves the metamodel information about an operation element +corresponding to operation_id contained in the service element +corresponding to service_id.

+
+
Parameters
+
    +
  • service_id (str) – Identifier of the service element. +The parameter must be an identifier for the resource type: +com.vmware.vapi.service.

  • +
  • operation_id (str) – Identifier of the operation element. +The parameter must be an identifier for the resource type: +com.vmware.vapi.operation.

  • +
+
+
Return type
+

com.vmware.vapi.metadata.metamodel_client.OperationInfo

+
+
Returns
+

The +com.vmware.vapi.metadata.metamodel_client.OperationInfo +instance that corresponds to operation_id defined in scope +service_id.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the service element associated with service_id does not +exist in any of the package elements.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the operation element associated with operation_id does not +exist in the service element.

+
+
+
+ +
+
+list(service_id)
+

Returns the identifiers for the operation elements that are defined in +the scope of service_id.

+
+
Parameters
+

service_id (str) – Identifier of the service element. +The parameter must be an identifier for the resource type: +com.vmware.vapi.service.

+
+
Return type
+

list of str

+
+
Returns
+

The list of identifiers for the operation elements that are defined +in the scope of service_id. +The return value will contain identifiers for the resource type: +com.vmware.vapi.operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the service element associated with service_id does not +exist in any of the package elements.

+
+
+
+ +
+ +
+
+class com.vmware.vapi.metadata.metamodel.service_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vapi.metadata.privilege.html b/vsphere/7.0.0.1/com.vmware.vapi.metadata.privilege.html new file mode 100644 index 00000000..99620464 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vapi.metadata.privilege.html @@ -0,0 +1,347 @@ + + + + + + + + + + + com.vmware.vapi.metadata.privilege package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vapi.metadata.privilege package

+
+

Submodules

+
+
+

com.vmware.vapi.metadata.privilege.service_client module

+

The com.vmware.vapi.metadata.privilege.service_client module provides +classes to retrieve privilege information for operation elements.

+
+
+class com.vmware.vapi.metadata.privilege.service_client.Operation(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Operation class provides methods to retrieve privilege information +of an operation element.

+

An operation element is said to contain privilege information if there are +any privileges assigned to the operation element or if one of the parameter +elements contained in it has privileges assigned in privilege definition +file.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.vapi.operation'
+

Resource type for operation.

+
+ +
+
+get(service_id, operation_id)
+

Retrieves the privilege information about an operation element +corresponding to operation_id contained in the service element +corresponding to service_id.

+
+
Parameters
+
    +
  • service_id (str) – Identifier of the service element. +The parameter must be an identifier for the resource type: +com.vmware.vapi.service.

  • +
  • operation_id (str) – Identifier of the operation element. +The parameter must be an identifier for the resource type: +com.vmware.vapi.operation.

  • +
+
+
Return type
+

com.vmware.vapi.metadata.privilege_client.OperationInfo

+
+
Returns
+

The +com.vmware.vapi.metadata.privilege_client.OperationInfo +instance that corresponds to operation_id.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the service element associated with service_id does not +exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the operation element associated with operation_id does not +exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the operation element associated with operation_id does not +have any privilege information.

+
+
+
+ +
+
+list(service_id)
+

Returns the identifiers for the operation elements contained in the +service element corresponding to service_id that have privilege +information.

+
+
Parameters
+

service_id (str) – Identifier of the service element. +The parameter must be an identifier for the resource type: +com.vmware.vapi.service.

+
+
Return type
+

list of str

+
+
Returns
+

List of identifiers for the operation elements contained in the +service element that have privilege information. +The return value will contain identifiers for the resource type: +com.vmware.vapi.operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the service element associated with service_id does not have +any operation elements that have privilege information.

+
+
+
+ +
+ +
+
+class com.vmware.vapi.metadata.privilege.service_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vapi.std.html b/vsphere/7.0.0.1/com.vmware.vapi.std.html new file mode 100644 index 00000000..fc3e0c74 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vapi.std.html @@ -0,0 +1,2325 @@ + + + + + + + + + + + com.vmware.vapi.std package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vapi.std package

+
+

Submodules

+
+
+

com.vmware.vapi.std.errors_client module

+

The com.vmware.vapi.std.errors_client module provides the standard +exceptions that can be included in the list of exceptions in the specification +of methods to indicate that the method might report those exceptions. It also +provides some classes intended to be used as payload to provide additional +information about those exceptions.

+
+
+exception com.vmware.vapi.std.errors_client.AlreadyExists(messages=None, data=None, error_type='ALREADY_EXISTS')
+

Bases: com.vmware.vapi.std.errors_client.Error

+

The AlreadyExists exception indicates that an attempt was made to +create an entity but the entity already exists. Typically the entity has a +name or identifier that is required to be unique in some context, but there +is already an entity with that name or identifier in that context.

+
+

Examples:

+
+
    +
  • Trying to create a new tag category when a tag category with the +specified name already exists.

  • +
  • Trying to create a new tag in tag category when a tag with the specified +name already exists the tag category.

  • +
  • Trying to create a LUN with a specific UUID on a node (for replication +purposes) when a LUN with that UUID already exists on the node.

  • +
  • Trying to create a file in a directory or move or copy a file to a +directory when a file with that name already exists in the directory.

  • +
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
+
+
+
+ +
+
+exception com.vmware.vapi.std.errors_client.AlreadyInDesiredState(messages=None, data=None, error_type='ALREADY_IN_DESIRED_STATE')
+

Bases: com.vmware.vapi.std.errors_client.Error

+

The AlreadyInDesiredState exception indicates that an attempt to change +the state of a resource or service had no effect because the resource or +service is already in the desired state.

+
+

Examples:

+
+
    +
  • Trying to power on a virtual machine that is already powered on.

  • +
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
+
+
+
+ +
+
+class com.vmware.vapi.std.errors_client.ArgumentLocations(primary=None, secondary=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ArgumentLocations class describes which part(s) of the input to the +method caused the exception.

+

Some types of exceptions are caused by the value of one of the inputs to +the method, possibly due to an interaction with other inputs to the method. +This class is intended to be used as the payload to identify those inputs +when the method reports exceptions like InvalidArgument or +NotFound. See Error.data.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • primary (str) – String describing the location of the input that triggered the +exception.

  • +
  • secondary (list of str) – list (possibly empty) of strings describing the locations +of other inputs that caused the the primary input to trigger the +exception.

  • +
+
+
+
+ +
+
+exception com.vmware.vapi.std.errors_client.Canceled(messages=None, data=None, error_type='CANCELED')
+

Bases: com.vmware.vapi.std.errors_client.Error

+

The Canceled exception indicates that the method canceled itself in +response to an explicit request to do so. Methods being “canceled” for +other reasons (for example the client connection was closed, a time out +occured, or due to excessive resource consumption) should not report this +exception.

+
+

Examples:

+
+
    +
  • A user is monitoring the progress of the method in a GUI and sees that it +is likely to take longer than he is willing to wait and clicks the cancel +button.

  • +
  • A user invokes the method using a command-line tool and decides that she +didn’t really want to invoke that method, and presses CTRL-c.

  • +
+
+

Counterexamples:

+
+
    +
  • The client’s connection to the server was closed. Reporting an exception +is pointless since the client will not receive the error response because +the connection has been closed.

  • +
  • The request is taking longer than some amount of time. The +TimedOut exception would be reported if the time was specified as +part of the input or is documented in the API contract.

  • +
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
+
+
+
+ +
+
+exception com.vmware.vapi.std.errors_client.ConcurrentChange(messages=None, data=None, error_type='CONCURRENT_CHANGE')
+

Bases: com.vmware.vapi.std.errors_client.Error

+

The ConcurrentChange exception indicates that a data structure, entity, +or resource has been modified since some earlier point in time. Typically +this happens when the client is doing the write portion of a +read-modify-write sequence and indicates that it wants the server to notify +it if the data in the server has changed after it did the read, so that +it can avoid overwriting that change inadvertantly.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
+
+
+
+ +
+
+exception com.vmware.vapi.std.errors_client.Error(messages=None, data=None, error_type=None)
+

Bases: vmware.vapi.bindings.error.VapiError

+

The Error exception describes theattributes common to all standard +exceptions.

+
+

This exception serves two purposes:

+
+
    +
  1. It is the exception that clients in many programming languages can catch +to handle all standard exceptions. Typically those clients will display one +or more of the localizable messages from Error.messages to a human.

  2. +
  3. It is the exception that methods can report when they need to report +some exception, but the exception doesn’t fit into any other standard +exception, and in fact the only reasonable way for a client to react to the +exception is to display the message(s) to a human.

  4. +
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
+
+
+
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Enumeration of all standard errors. Used as discriminator in protocols that +have no standard means for transporting the error type, e.g. REST. This +enumeration was added in vSphere API 6.7.2.

+
+

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 the Type instance.

+
+
+
+
+ALREADY_EXISTS = Type(string='ALREADY_EXISTS')
+

Discriminator for the AlreadyExists type. This class attribute was +added in vSphere API 6.7.2.

+
+ +
+
+ALREADY_IN_DESIRED_STATE = Type(string='ALREADY_IN_DESIRED_STATE')
+

Discriminator for the AlreadyInDesiredState type. This class +attribute was added in vSphere API 6.7.2.

+
+ +
+
+CANCELED = Type(string='CANCELED')
+

Discriminator for the Canceled type. This class attribute was +added in vSphere API 6.7.2.

+
+ +
+
+CONCURRENT_CHANGE = Type(string='CONCURRENT_CHANGE')
+

Discriminator for the ConcurrentChange type. This class attribute +was added in vSphere API 6.7.2.

+
+ +
+
+ERROR = Type(string='ERROR')
+

Discriminator for the Error type. This class attribute was added +in vSphere API 6.7.2.

+
+ +
+
+FEATURE_IN_USE = Type(string='FEATURE_IN_USE')
+

Discriminator for the FeatureInUse type. This class attribute was +added in vSphere API 6.7.2.

+
+ +
+
+INTERNAL_SERVER_ERROR = Type(string='INTERNAL_SERVER_ERROR')
+

Discriminator for the InternalServerError type. This class +attribute was added in vSphere API 6.7.2.

+
+ +
+
+INVALID_ARGUMENT = Type(string='INVALID_ARGUMENT')
+

Discriminator for the InvalidArgument type. This class attribute +was added in vSphere API 6.7.2.

+
+ +
+
+INVALID_ELEMENT_CONFIGURATION = Type(string='INVALID_ELEMENT_CONFIGURATION')
+

Discriminator for the InvalidElementConfiguration type. This class +attribute was added in vSphere API 6.7.2.

+
+ +
+
+INVALID_ELEMENT_TYPE = Type(string='INVALID_ELEMENT_TYPE')
+

Discriminator for the InvalidElementType type. This class +attribute was added in vSphere API 6.7.2.

+
+ +
+
+INVALID_REQUEST = Type(string='INVALID_REQUEST')
+

Discriminator for the InvalidRequest type. This class attribute +was added in vSphere API 6.7.2.

+
+ +
+
+NOT_ALLOWED_IN_CURRENT_STATE = Type(string='NOT_ALLOWED_IN_CURRENT_STATE')
+

Discriminator for the NotAllowedInCurrentState type. This class +attribute was added in vSphere API 6.7.2.

+
+ +
+
+NOT_FOUND = Type(string='NOT_FOUND')
+

Discriminator for the NotFound type. This class attribute was +added in vSphere API 6.7.2.

+
+ +
+
+OPERATION_NOT_FOUND = Type(string='OPERATION_NOT_FOUND')
+

Discriminator for the OperationNotFound type. This class attribute +was added in vSphere API 6.7.2.

+
+ +
+
+RESOURCE_BUSY = Type(string='RESOURCE_BUSY')
+

Discriminator for the ResourceBusy type. This class attribute was +added in vSphere API 6.7.2.

+
+ +
+
+RESOURCE_INACCESSIBLE = Type(string='RESOURCE_INACCESSIBLE')
+

Discriminator for the ResourceInaccessible type. This class +attribute was added in vSphere API 6.7.2.

+
+ +
+
+RESOURCE_IN_USE = Type(string='RESOURCE_IN_USE')
+

Discriminator for the ResourceInUse type. This class attribute was +added in vSphere API 6.7.2.

+
+ +
+
+SERVICE_UNAVAILABLE = Type(string='SERVICE_UNAVAILABLE')
+

Discriminator for the ServiceUnavailable type. This class +attribute was added in vSphere API 6.7.2.

+
+ +
+
+TIMED_OUT = Type(string='TIMED_OUT')
+

Discriminator for the TimedOut type. This class attribute was +added in vSphere API 6.7.2.

+
+ +
+
+UNABLE_TO_ALLOCATE_RESOURCE = Type(string='UNABLE_TO_ALLOCATE_RESOURCE')
+

Discriminator for the UnableToAllocateResource type. This class +attribute was added in vSphere API 6.7.2.

+
+ +
+
+UNAUTHENTICATED = Type(string='UNAUTHENTICATED')
+

Discriminator for the Unauthenticated type. This class attribute +was added in vSphere API 6.7.2.

+
+ +
+
+UNAUTHORIZED = Type(string='UNAUTHORIZED')
+

Discriminator for the Unauthorized type. This class attribute was +added in vSphere API 6.7.2.

+
+ +
+
+UNEXPECTED_INPUT = Type(string='UNEXPECTED_INPUT')
+

Discriminator for the UnexpectedInput type. This class attribute +was added in vSphere API 6.7.2.

+
+ +
+
+UNSUPPORTED = Type(string='UNSUPPORTED')
+

Discriminator for the Unsupported type. This class attribute was +added in vSphere API 6.7.2.

+
+ +
+
+UNVERIFIED_PEER = Type(string='UNVERIFIED_PEER')
+

Discriminator for the UnverifiedPeer type. This class attribute +was added in vSphere API 6.7.2.

+
+ +
+ +
+ +
+
+exception com.vmware.vapi.std.errors_client.FeatureInUse(messages=None, data=None, error_type='FEATURE_IN_USE')
+

Bases: com.vmware.vapi.std.errors_client.Error

+

The FeatureInUse exception indicates that an action cannot be completed +because a feature is in use.

+
+

Examples:

+
+
    +
  • Trying to disable snapshots on a virtual machine which has a snapshot.

  • +
  • Trying to downgrade a license that has licensed features that are in use.

  • +
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
+
+
+
+ +
+
+class com.vmware.vapi.std.errors_client.FileLocations(primary=None, secondary=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The FileLocations class identifies the file(s) that caused the method +to report the exception.

+

Some types of exceptions are caused by a problem with one or more files. +This class is intended to be used as the payload to identify those files +when the method reports exceptions like NotFound. See +Error.data.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • primary (str) – String identifying the file that triggered the exception.

  • +
  • secondary (list of str) – list (possibly empty) of strings identifying other files +that caused the primary file to trigger the exception.

  • +
+
+
+
+ +
+
+exception com.vmware.vapi.std.errors_client.InternalServerError(messages=None, data=None, error_type='INTERNAL_SERVER_ERROR')
+

Bases: com.vmware.vapi.std.errors_client.Error

+

The InternalServerError exception indicates that the server encounters +an unexpected condition that prevented it from fulfilling the request.

+

This exception is reported by the API infrastructure, so it could occur in +response to the invocation of any method.

+
+

Examples:

+
+
    +
  • The method returns a value whose type doesn’t match the type type the +method says it should return.

  • +
  • The method reports an exception that is not included in the list of +exceptions the method says that it can report.

  • +
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
+
+
+
+ +
+
+exception com.vmware.vapi.std.errors_client.InvalidArgument(messages=None, data=None, error_type='INVALID_ARGUMENT')
+

Bases: com.vmware.vapi.std.errors_client.Error

+

The InvalidArgument exception indicates that the values received for +one or more parameters are not acceptable.

+

This exception is reported by the API infrastructure, so it could occur in +response to the invocation of any method. It may also be reported as the +result of method-specific validation.

+
+

Examples:

+
+
    +
  • A parameter has a value that is not of the expected type.

  • +
  • A parameter has a value that is not in the required range.

  • +
  • A parameter has a value that is not one of the specifically allowed +strings.

  • +
  • One attribute of a class is the tag for a tagged union, and has a +specific value but another attribute of the class that is required to be +specified when the tag has that value is not specified, or another +attribute of the class that is required to be unspecified when the tag has +that value is specified.

  • +
+
+

Counterexamples:

+
+
    +
  • Trying to create a new tag in tag category when a tag with the specified +name already exists the tag category. The AlreadyExists exception +would be used instead.

  • +
  • Invoke the method to retrieve information about a virtual machine, +passing an id that does not identify an existing virtual machine. The +NotFound exception would be used instead.

  • +
  • Attempt to put a virtual machine into a folder that can only contain +hosts. The InvalidElementType exception would be used instead.

  • +
  • Attempt to attach a SCSI virtual disk to an IDE port. The +InvalidElementType exception would be used instead.

  • +
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
+
+
+
+ +
+
+exception com.vmware.vapi.std.errors_client.InvalidElementConfiguration(messages=None, data=None, error_type='INVALID_ELEMENT_CONFIGURATION')
+

Bases: com.vmware.vapi.std.errors_client.Error

+

The InvalidElementConfiguration exception indicates that an attempt to +modify the configuration of an element or a group containing the element +failed due to the configuraton of the element. A typical case is when the +method is am attempt to change the group membership of the element fails, +in which case a configuration change on the element may allow the group +membership change to succeed.

+
+

Examples:

+
+
    +
  • Attempt to move a host with a fault tolerant virtual machine out of a +cluster (i.e. make the host a standalone host).

  • +
  • Attempt to remove a host from a DRS cluster without putting the host into +maintenance mode.

  • +
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
+
+
+
+ +
+
+exception com.vmware.vapi.std.errors_client.InvalidElementType(messages=None, data=None, error_type='INVALID_ELEMENT_TYPE')
+

Bases: com.vmware.vapi.std.errors_client.Error

+

The InvalidElementType exception indicates that the server was unable +to fulfil the request because an element of a specific type cannot be a +member of particular group.

+

This exception could be reported, for example, if an attempt is made to put +an element into the wrong type of container.

+
+

Examples:

+
+
    +
  • Attempt to put a virtual machine into a folder that can only contain +hosts.

  • +
  • Attempt to attach a SCSI virtual disk to an IDE port.

  • +
+
+

Counterexamples:

+
+
    +
  • A parameter has a value that is not of the expected type. The +InvalidArgument exception would be used instead.

  • +
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
+
+
+
+ +
+
+exception com.vmware.vapi.std.errors_client.InvalidRequest(messages=None, data=None, error_type='INVALID_REQUEST')
+

Bases: com.vmware.vapi.std.errors_client.Error

+

The InvalidRequest exception indicates that the request is malformed in +such a way that the server is unable to process it.

+
+

Examples:

+
+
    +
  • The XML in a SOAP request is not well-formed so the server cannot parse +the request.

  • +
  • The XML in a SOAP request is well-formed but does not match the structure +required by the SOAP specification.

  • +
  • A JSON-RPC request is not valid JSON.

  • +
  • The JSON sent in a JSON-RPC request is not a valid JSON-RPC Request +object.

  • +
  • The Request object from a JSON-RPC request does not match the structure +required by the API infrastructure.

  • +
+
+

Counterexamples:

+
+
    +
  • The parameter has a value that is not with the required range. The +InvalidArgument exception would be used instead.

  • +
  • The name of the method specified in the request doesn’t not match any +known method. The NotFound exception would be used instead.

  • +
+

Some transport protocols (for example JSON-RPC) include their own mechanism +for reporting these kinds of errors, and the API infrastructure for a +programming language may expose the errors using a language specific +mechanism, so this exception might not be used.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
+
+
+
+ +
+
+exception com.vmware.vapi.std.errors_client.NotAllowedInCurrentState(messages=None, data=None, error_type='NOT_ALLOWED_IN_CURRENT_STATE')
+

Bases: com.vmware.vapi.std.errors_client.Error

+

The NotAllowedInCurrentState exception indicates that the requested +method is not allowed with a resource or service in its current state. This +could be because the method is performing a configuration change that is +not allowed in the current state or because method itself is not allowed in +the current state.

+
+

Examples:

+
+
    +
  • Trying to add a virtual device that cannot be hot plugged to a running +virtual machine.

  • +
  • Trying to upgrade the virtual hardware version for a suspended virtual +machine.

  • +
  • Trying to power off, reset, or suspend a virtual machine that is not +powered on.

  • +
+
+

Counterexamples:

+
+
    +
  • Trying to power off a virtual machine that is in the process of being +powered on. The ResourceBusy exception would be used instead.

  • +
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
+
+
+
+ +
+
+exception com.vmware.vapi.std.errors_client.NotFound(messages=None, data=None, error_type='NOT_FOUND')
+

Bases: com.vmware.vapi.std.errors_client.Error

+

The NotFound exception indicates that a specified element could not be +found.

+
+

Examples:

+
+
    +
  • Invoke the method to retrieve information about a virtual machine, +passing an id that does not identify an existing virtual machine.

  • +
  • Invoke the method to modify the configuration of a virtual nic, passing +an id that does not identify an existing virtual nic in the specified +virtual machine.

  • +
  • Invoke the method to remove a vswitch, passing an id that does not +identify an existing vswitch.

  • +
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
+
+
+
+ +
+
+exception com.vmware.vapi.std.errors_client.OperationNotFound(messages=None, data=None, error_type='OPERATION_NOT_FOUND')
+

Bases: com.vmware.vapi.std.errors_client.Error

+

The OperationNotFound exception indicates that the method specified in +the request could not be found.

+

Every API request specifies a service identifier and an operation +identifier along with the parameters. If the API infrastructure is unable +to find the requested class or method it reports this exception.

+

This exception can be reported by the API infrastructure for any method, +but it is specific to the API infrastructure, and should never be reported +by the implementation of any method.

+
+

Examples:

+
+
    +
  • A client provides an invalid service or operation identifier when +invoking the method using a dynamic interface (for example REST).

  • +
  • A client invokes the method from a class, but that class has not been +installed.

  • +
+
+

Counterexamples:

+
+
    +
  • A client invokes a task scheduling method, but provides an invalid +service identifier or operation identifier. The NotFound exception +would be used instead.

  • +
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
+
+
+
+ +
+
+exception com.vmware.vapi.std.errors_client.ResourceBusy(messages=None, data=None, error_type='RESOURCE_BUSY')
+

Bases: com.vmware.vapi.std.errors_client.Error

+

The ResourceBusy exception indicates that the method could not be +completed because a resource it needs is busy.

+
+

Examples:

+
+
    +
  • Trying to power off a virtual machine that is in the process of being +powered on.

  • +
+
+

Counterexamples:

+
+
    +
  • Trying to remove a VMFS datastore when there is a virtual machine +registered on any host attached to the datastore. The +ResourceInUse exception would be used instead.

  • +
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
+
+
+
+ +
+
+exception com.vmware.vapi.std.errors_client.ResourceInUse(messages=None, data=None, error_type='RESOURCE_IN_USE')
+

Bases: com.vmware.vapi.std.errors_client.Error

+

The ResourceInUse exception indicates that the method could not be +completed because a resource is in use.

+
+

Examples:

+
+
    +
  • Trying to remove a VMFS datastore when the is a virtual machine +registered on any host attached to the datastore.

  • +
  • Trying to add a virtual switch if the physical network adapter being +bridged is already in use.

  • +
+
+

Counterexamples:

+
+
    +
  • Trying to power off a virtual machine that is in the process of being +powered on. The ResourceBusy exception would be used instead.

  • +
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
+
+
+
+ +
+
+exception com.vmware.vapi.std.errors_client.ResourceInaccessible(messages=None, data=None, error_type='RESOURCE_INACCESSIBLE')
+

Bases: com.vmware.vapi.std.errors_client.Error

+

The ResourceInaccessible exception indicates that the method could not +be completed because an entity is not accessible.

+
+

Examples:

+
+
    +
  • Attempt to invoke some method on a virtual machine when the virtual +machine’s configuration file is not accessible (for example due to a +storage APD condition).

  • +
+
+

Counterexamples:

+
+
    +
  • Attempt to invoke some method when the server is too busy. The +ServiceUnavailable exception would be used instead.

  • +
  • Attempt to invoke some method when the server is undergoing maintenance. +The ServiceUnavailable exception would be used instead.

  • +
  • Some method fails to contact VMware Tools running inside the virtual +machine. The ServiceUnavailable exception would be used instead.

  • +
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
+
+
+
+ +
+
+exception com.vmware.vapi.std.errors_client.ServiceUnavailable(messages=None, data=None, error_type='SERVICE_UNAVAILABLE')
+

Bases: com.vmware.vapi.std.errors_client.Error

+

The ServiceUnavailable exception indicates that the class is +unavailable.

+
+

Examples:

+
+
    +
  • Attempt to invoke a method when the server is too busy.

  • +
  • Attempt to invoke a method when the server is undergoing maintenance.

  • +
  • An method fails to contact VMware Tools running inside the virtual +machine.

  • +
+
+

Counterexamples:

+
+
    +
  • A client provides an invalid service or operation identifier when +invoking the method using a dynamic interface (for example REST). The +OperationNotFound exception would be used instead.

  • +
  • A client invokes the method from the class, but that class has not been +installed. The OperationNotFound exception would be used instead.

  • +
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
+
+
+
+ +
+
+class com.vmware.vapi.std.errors_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+exception com.vmware.vapi.std.errors_client.TimedOut(messages=None, data=None, error_type='TIMED_OUT')
+

Bases: com.vmware.vapi.std.errors_client.Error

+

The TimedOut exception indicates that the method did not complete +within the allowed amount of time. The allowed amount of time might be:

+
    +
  • provided by the client as an input parameter.

  • +
  • a fixed limit of the class implementation that is a documented part of +the contract of the class.

  • +
  • a configurable limit used by the implementation of the class.

  • +
  • a dynamic limit computed by the implementation of the class.

  • +
+

The method may or may not complete after the TimedOut exception was +reported.

+
+

Examples:

+
+
    +
  • The method was unable to complete within the timeout duration specified +by a parameter of the method.

  • +
+
+

Counterexamples:

+
+
    +
  • A server implementation that puts requests into a queue before +dispatching them might delete a request from the queue if it doesn’t get +dispatched within n minutes. The ServiceUnavailable exception +would be used instead.

  • +
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
+
+
+
+ +
+
+class com.vmware.vapi.std.errors_client.TransientIndication(is_transient=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The TransientIndication class indicates whether or not the exception is +transient.

+

Some types of exceptions are transient in certain situtations and not +transient in other situtations. This exception payload can be used to +indicate to clients whether a particular exception is transient. See +Error.data.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

is_transient (bool) – Indicates that the exception this class is attached to is +transient.

+
+
+
+ +
+
+exception com.vmware.vapi.std.errors_client.UnableToAllocateResource(messages=None, data=None, error_type='UNABLE_TO_ALLOCATE_RESOURCE')
+

Bases: com.vmware.vapi.std.errors_client.Error

+

The UnableToAllocateResource exception indicates that the method failed +because it was unable to allocate or acquire a required resource.

+
+

Examples:

+
+
    +
  • Trying to power on a virtual machine when there are not enough licenses +to do so.

  • +
  • Trying to power on a virtual machine that would violate a resource usage +policy.

  • +
+
+

Counterexamples:

+
+
    +
  • Trying to power off a virtual machine that is in the process of being +powered on. A ResourceBusy exception would be used instead.

  • +
  • Trying to remove a VMFS datastore when the is a virtual machine +registered on any host attached to the datastore. The +ResourceInUse exception would be used instead.

  • +
  • Trying to add a virtual switch if the physical network adapter being +bridged is already in use. The ResourceInUse exception would be +used instead.

  • +
  • Attempt to invoke some method on a virtual machine when the virtual +machine’s configuration file is not accessible (for example due to a +storage APD condition). The ResourceInaccessible exception would +be used instead.

  • +
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
+
+
+
+ +
+
+exception com.vmware.vapi.std.errors_client.Unauthenticated(messages=None, data=None, error_type='UNAUTHENTICATED', challenge=None)
+

Bases: com.vmware.vapi.std.errors_client.Error

+

The Unauthenticated exception indicates that the method requires +authentication and the user is not authenticated.

+

API requests may include a security context containing user credentials. +For example, the user credentials could be a SAML token, a user name and +password, or the session identifier for a previously established session.

+
+

Examples:

+
+
    +
  • The SAML token in the request’s security context has expired.

  • +
  • The user name and password in the request’s security context are invalid.

  • +
  • The session identifier in the request’s security context identifies a +session that has expired.

  • +
+
+

Counterexamples:

+
+
    +
  • The user is authenticated but isn’t authorized to perform the requested +method. The Unauthorized exception would be used instead.

  • +
+

For security reasons, the Error.data attribute in this exception is +None, and the Error.messages attribute in this exception does not +disclose which part of the security context is correct or incorrect. For +example the messages would not disclose whether a username or a password is +valid or invalid, but only that a combination of username and password is +invalid.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
  • challenge (str) –

    Indicates the authentication challenges applicable to the target +API provider. It can be used by a client to discover the correct +authentication scheme to use. The exact syntax of the value is +defined by the specific provider, the protocol and authentication +schemes used.

    +

    For example, a provider using REST may adhere to the +WWW-Authenticate HTTP header specification, RFC7235, section 4.1. +In this case an example challenge value may be: SIGN +realm=”27da1358-2ba4-11e9-b210-d663bd873d93”,sts=”http://vcenter/sso?vsphere.local”, +Basic realm=”vCenter”. This attribute was added in vSphere API +7.0.0. +This attribute is optional because it was added in a newer version +than its parent node.

    +

  • +
+
+
+
+ +
+
+exception com.vmware.vapi.std.errors_client.Unauthorized(messages=None, data=None, error_type='UNAUTHORIZED')
+

Bases: com.vmware.vapi.std.errors_client.Error

+

The Unauthorized exception indicates that the user is not authorized to +perform the method.

+

API requests may include a security context containing user credentials. +For example, the user credentials could be a SAML token, a user name and +password, or the session identifier for a previously established session. +Invoking the method may require that the user identified by those +credentials has particular privileges on the method or on one or more +resource identifiers passed to the method.

+
+

Examples:

+
+
    +
  • The method requires that the user have one or more privileges on the +method, but the user identified by the credentials in the security context +does not have the required privileges.

  • +
  • The method requires that the user have one or more privileges on a +resource identifier passed to the method, but the user identified by the +credentials in the security context does not have the required privileges.

  • +
+
+

Counterexamples:

+
+
    +
  • The SAML token in the request’s security context has expired. A +Unauthenticated exception would be used instead.

  • +
  • The user name and password in the request’s security context are invalid. +The Unauthenticated exception would be used instead.

  • +
  • The session identifier in the request’s security context identifies a +session that has expired. The Unauthenticated exception would be +used instead.

  • +
+

For security reasons, the Error.data attribute in this exception is +None, and the Error.messages attribute in this exception does not +disclose why the user is not authorized to perform the method. For example +the messages would not disclose which privilege the user did not have or +which resource identifier the user did not have the required privilege to +access. The API documentation should indicate what privileges are required.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
+
+
+
+ +
+
+exception com.vmware.vapi.std.errors_client.UnexpectedInput(messages=None, data=None, error_type='UNEXPECTED_INPUT')
+

Bases: com.vmware.vapi.std.errors_client.Error

+

The UnexpectedInput exception indicates that the request contained a +parameter or attribute whose name is not known by the server.

+

Every method expects parameters with known names. Some of those parameters +may be (or contain) classes, and the method expects those classes to +contain attributes with known names. If the method receives parameters or +attributes with names that is does not expect, this exception may be +reported.

+

This exception can be reported by the API infrastructure for any method, +but it is specific to the API infrastructure, and should never be reported +by the implementation of any method.

+
+

Examples:

+
+
    +
  • A client using stubs generated from the interface specification for +version2 of a class invokes the method passing one or more parameters that +were added in version2, but they are communicating with a server that only +supports version1 of the class.

  • +
  • A client provides an unexpected parameter or attribute name when invoking +the method using a dynamic interface (for example REST).

  • +
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
+
+
+
+ +
+
+exception com.vmware.vapi.std.errors_client.Unsupported(messages=None, data=None, error_type='UNSUPPORTED')
+

Bases: com.vmware.vapi.std.errors_client.Error

+

The Unsupported exception indicates that the method is not supported by +the class.

+
+

Examples:

+
+
    +
  • Trying to hot-plug a CPU when the current configuration of the VM does +not support hot-plugging of CPUs.

  • +
  • Trying to change the memory size to a value that is not within the +acceptable guest memory bounds supported by the virtual machine’s host.

  • +
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
+
+
+
+ +
+
+exception com.vmware.vapi.std.errors_client.UnverifiedPeer(messages=None, data=None, error_type='UNVERIFIED_PEER')
+

Bases: com.vmware.vapi.std.errors_client.Error

+

The UnverifiedPeer exception indicates that an attempt to connect to an +unknown or not-yet-trusted endpoint failed because the system was unable to +verify the identity of the endpoint.

+

Typically the {Error.data attribute of this error will contain +information that can be presented to a human to allow them to decide +whether to trust the endpoint. If they decide to trust the endpoint, the +request can be resubmitted with an indication that the endpoint should be +trusted.

+
+

Examples:

+
+
    +
  • The client provides an IP address or URL of an endpoint the system should +communicate with using an SSL connection, but the endpoint’s SSL +certificate is self-signed, expired, or otherwise not trustworthy.

  • +
  • The client provides an IP address of a host the system should communicate +with using ssh, but ssh doesn’t recognize the public key of the host

  • +
+

. This class was added in vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +ArgumentLocations, FileLocations, and +TransientIndication classes are intended as possible +values for this attribute. +com.vmware.vapi.std_client.DynamicID may also be useful as +a value for this attribute (although that is not its primary +purpose). Some classes may provide their own specific classes for +use as the value of this attribute when reporting exceptions from +their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
  • error_type (Error.Type) – Discriminator field to help API consumers identify the structure +type. This attribute was added in vSphere API 6.7.2. +Can be None for compatibility with preceding implementations.

  • +
+
+
+
+ +
+
+

com.vmware.vapi.std.interposition_client module

+

The com.vmware.vapi.std.interposition_client module provides classes that +TODO.

+
+
+class com.vmware.vapi.std.interposition_client.InvocationRequest(service_id=None, operation_id=None, operation_input=None, user=None, groups=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Information about an interposed request for operation invocation. All +interposers would receive an instance of this structure as an input +parameter.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • service_id (str) – Fully qualified name of the service which contains the interposed +operation. In canonical format. For example org.example.hello.

  • +
  • operation_id (str) – Name of the interposed operation. In canonical format. For example +say_hello.

  • +
  • operation_input (DataValue) – Input of the interposed operation.

  • +
  • user (SecurityPrincipal or None) – User which started the interposed operation. +There could be no authentication information. For example when +methods are invoked anonymously.

  • +
  • groups (list of SecurityPrincipal) – Groups of the user who started the interposed operation. Would be +empty if there is no authentication information.

  • +
+
+
+
+ +
+
+class com.vmware.vapi.std.interposition_client.InvocationResult(result_type=None, output=None, error=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Information about the result from an interposed operation invocation. All +POST interposers will receive an instance of this structure.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+
+class ResultType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Type of the invocation result.

+
+

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 the ResultType instance.

+
+
+
+
+ERROR_RESULT = ResultType(string='ERROR_RESULT')
+

Error invocation result.

+
+ +
+
+NORMAL_RESULT = ResultType(string='NORMAL_RESULT')
+

Normal invocation result.

+
+ +
+ +
+ +
+
+class com.vmware.vapi.std.interposition_client.SecurityPrincipal(name=None, domain=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

VMODL equivalent of com.vmware.vapi.security.PrincipalId.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Principal name.

  • +
  • domain (str or None) – Principal domain. +Domain is optional in com.vmware.vapi.security.PrincipalId

  • +
+
+
+
+ +
+
+class com.vmware.vapi.std.interposition_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.certificate_management.html b/vsphere/7.0.0.1/com.vmware.vcenter.certificate_management.html new file mode 100644 index 00000000..ad8d61e8 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.certificate_management.html @@ -0,0 +1,926 @@ + + + + + + + + + + + com.vmware.vcenter.certificate_management package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.certificate_management package

+
+

Submodules

+
+
+

com.vmware.vcenter.certificate_management.vcenter_client module

+

The com.vmware.vcenter.certificate_management.vcenter_client module +provides classes to manage certificates.

+
+
+class com.vmware.vcenter.certificate_management.vcenter_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.vcenter.certificate_management.vcenter_client.Tls(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Tls interface provides methods to replace Tls certificate. This +class was added in vSphere API 6.7.2.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(version=None, serial_number=None, signature_algorithm=None, issuer_dn=None, valid_from=None, valid_to=None, subject_dn=None, thumbprint=None, is_ca=None, path_length_constraint=None, key_usage=None, extended_key_usage=None, subject_alternative_name=None, authority_information_access_uri=None, cert=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Tls.Info class contains information from a TLS certificate. This +class was added in vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • version (long) – Version (version number) value from the certificate. This attribute +was added in vSphere API 6.7.2.

  • +
  • serial_number (str) – SerialNumber value from the certificate. This attribute was added +in vSphere API 6.7.2.

  • +
  • signature_algorithm (str) – Signature algorithm name from the certificate. This attribute was +added in vSphere API 6.7.2.

  • +
  • issuer_dn (str) – Issuer (issuer distinguished name) value from the certificate. This +attribute was added in vSphere API 6.7.2.

  • +
  • valid_from (datetime.datetime) – validFrom specify the start date of the certificate. This attribute +was added in vSphere API 6.7.2.

  • +
  • valid_to (datetime.datetime) – validTo specify the end date of the certificate. This attribute was +added in vSphere API 6.7.2.

  • +
  • subject_dn (str) – Subject (subject distinguished name) value from the certificate. +This attribute was added in vSphere API 6.7.2.

  • +
  • thumbprint (str) – Thumbprint value from the certificate. This attribute was added in +vSphere API 6.7.2.

  • +
  • is_ca (bool) – Certificate constraints isCA from the critical BasicConstraints +extension, (OID = 2.5.29.19). This attribute was added in vSphere +API 6.7.2.

  • +
  • path_length_constraint (long) – Certificate constraints path length from the critical +BasicConstraints extension, (OID = 2.5.29.19). This attribute was +added in vSphere API 6.7.2.

  • +
  • key_usage (list of str) – Collection of keyusage contained in the certificate. This attribute +was added in vSphere API 6.7.2.

  • +
  • extended_key_usage (list of str) – Collection of extended keyusage that contains details for which the +certificate can be used for. This attribute was added in vSphere +API 6.7.2.

  • +
  • subject_alternative_name (list of str) – Collection of subject alternative names. This attribute was added +in vSphere API 6.7.2.

  • +
  • authority_information_access_uri (list of str) – Collection of authority information access URI. This attribute was +added in vSphere API 6.7.2.

  • +
  • cert (str) – TLS certificate in PEM format. This attribute was added in vSphere +API 6.7.2.

  • +
+
+
+
+ +
+
+class ReplaceSpec(key_size=None, common_name=None, organization=None, organization_unit=None, locality=None, state_or_province=None, country=None, email_address=None, subject_alt_name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Tls.ReplaceSpec class contains information to generate a Private +Key , CSR and hence VMCA signed machine SSL. This class was added in +vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • key_size (long or None) – The size of the key to be used for public and private key +generation. This attribute was added in vSphere API 6.7.2. +If None the key size will be ‘2048’.

  • +
  • common_name (str or None) – The common name of the host for which certificate is generated. +This attribute was added in vSphere API 6.7.2. +If None will default to PNID of host.

  • +
  • organization (str) – Organization field in certificate subject. This attribute was added +in vSphere API 6.7.2.

  • +
  • organization_unit (str) – Organization unit field in certificate subject. This attribute was +added in vSphere API 6.7.2.

  • +
  • locality (str) – Locality field in certificate subject. This attribute was added in +vSphere API 6.7.2.

  • +
  • state_or_province (str) – State field in certificate subject. This attribute was added in +vSphere API 6.7.2.

  • +
  • country (str) – Country field in certificate subject. This attribute was added in +vSphere API 6.7.2.

  • +
  • email_address (str) – Email field in Certificate extensions. This attribute was added in +vSphere API 6.7.2.

  • +
  • subject_alt_name (list of str or None) – SubjectAltName is list of Dns Names and Ip addresses. This +attribute was added in vSphere API 6.7.2. +If None PNID of host will be used as IPAddress or Hostname for +certificate generation .

  • +
+
+
+
+ +
+
+class Spec(cert=None, key=None, root_cert=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Tls.Spec class contains information for a Certificate and Private +Key. This class was added in vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • cert (str) – Certificate string in PEM format. This attribute was added in +vSphere API 6.7.2.

  • +
  • key (str or None) – Private key string in PEM format. This attribute was added in +vSphere API 6.7.2. +If None the private key from the certificate store will be used. It +is required when replacing the certificate with a third party +signed certificate.

  • +
  • root_cert (str or None) – Third party Root CA certificate in PEM format. This attribute was +added in vSphere API 6.9.1. +If None the new third party root CA certificate will not be added +to the trust store. It is required when replacing the certificate +with a third party signed certificate if the root certificate of +the third party is not already a trusted root.

  • +
+
+
+
+ +
+
+get()
+

Returns the rhttpproxy TLS certificate. This method was added in +vSphere API 6.7.2.

+
+
Return type
+

Tls.Info

+
+
Returns
+

TLS certificate.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the rhttpproxy certificate is not present in VECS store.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if failed due to generic exception.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
+
+
+
+ +
+
+renew(duration=None)
+

Renews the TLS certificate for the given duration period.

+

After this method completes, the services using the certificate will be +restarted for the new certificate to take effect.. This method was +added in vSphere API 6.7.2.

+
+
Parameters
+

duration (long or None) – The duration (in days) of the new TLS certificate. The duration +should be less than or equal to 730 days. +If None, the duration will be 730 days (two years).

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +If the TLS certificate is not VMCA generated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the duration period specified is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If the system failed to renew the TLS certificate.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires CertificateManagement.Administer.

  • +
+
+
+
+ +
+
+replace_vmca_signed(spec)
+

Replace MACHINE SSL with VMCA signed one with the given Spec.The system +will go for restart.

+

After this method completes, the services using the certificate will be +restarted for the new certificate to take effect.. This method was +added in vSphere API 6.9.1.

+
+
Parameters
+

spec (Tls.ReplaceSpec) – The information needed to generate VMCA signed Machine SSL

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the Spec given is not complete or invalid

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If the system failed to replace the machine ssl certificate

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires CertificateManagement.Administer.

  • +
+
+
+
+ +
+
+set(spec)
+

Replaces the rhttpproxy TLS certificate with the specified certificate. +This method can be used in three scenarios :

+
    +
  1. When the CSR is created and the private key is already stored, this +method can replace the certificate. The certificate but not the private +key and root certificate must be provided as input.

  2. +
  3. When the certificate is signed by a third party certificate +authority/VMCA and the root certificate of the third party certificate +authority/VMCA is already one of the trusted roots in the trust store, +this method can replace the certificate and private key. The +certificate and the private key but not the root certificate must be +provided as input.

  4. +
  5. When the certificate is signed by a third party certificate +authority and the root certificate of the third party certificate +authority is not one of the trusted roots in the trust store, this +method can replace the certificate, private key and root CA +certificate. The certificate, private key and root certificate must be +provided as input.

  6. +
+

After this method completes, the services using the certificate will be +restarted for the new certificate to take effect.

+

The above three scenarios are only supported from vsphere 7.0 onwards.. +This method was added in vSphere API 6.7.2.

+
+
Parameters
+

spec (Tls.Spec) – The information needed to replace the TLS certificate.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the private key is not present in the VECS store.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +If the specified certificate thumbprint is the same as the existing +TLS certificate thumbprint.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If the system failed to replace the TLS certificate.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires CertificateManagement.Administer.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter.certificate_management.vcenter_client.TlsCsr(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The TlsCsr interface provides methods to generate certificate signing +request. This class was added in vSphere API 6.7.2.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(csr=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The TlsCsr.Info class contains information for a Certificate signing +request. This class was added in vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

csr (str) – Certificate Signing Request in PEM format. This attribute was added +in vSphere API 6.7.2.

+
+
+
+ +
+
+class Spec(key_size=None, common_name=None, organization=None, organization_unit=None, locality=None, state_or_province=None, country=None, email_address=None, subject_alt_name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The TlsCsr.Spec class contains information to generate a Private Key +and CSR. This class was added in vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • key_size (long or None) – This attribute was added in vSphere API 6.7.2. +keySize will take 2048 bits if not modified.

  • +
  • common_name (str or None) – This attribute was added in vSphere API 6.7.2. +commonName will take PNID if not modified.

  • +
  • organization (str) – Organization field in certificate subject. This attribute was added +in vSphere API 6.7.2.

  • +
  • organization_unit (str) – Organization unit field in certificate subject. This attribute was +added in vSphere API 6.7.2.

  • +
  • locality (str) – Locality field in certificate subject. This attribute was added in +vSphere API 6.7.2.

  • +
  • state_or_province (str) – State field in certificate subject. This attribute was added in +vSphere API 6.7.2.

  • +
  • country (str) – Country field in certificate subject. This attribute was added in +vSphere API 6.7.2.

  • +
  • email_address (str) – Email field in Certificate extensions. This attribute was added in +vSphere API 6.7.2.

  • +
  • subject_alt_name (list of str or None) – This attribute was added in vSphere API 6.7.2. +subjectAltName is list of Dns Names and Ip addresses

  • +
+
+
+
+ +
+
+create(spec)
+

Generates a CSR with the given Spec. This method was added in vSphere +API 6.7.2.

+
+
Parameters
+

spec (TlsCsr.Spec) – The information needed to create a CSR.

+
+
Return type
+

TlsCsr.Info

+
+
Returns
+

A Certificate Signing Request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If CSR could not be created for given spec for a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires CertificateManagement.Manage and +CertificateManagement.Administer.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter.certificate_management.vcenter_client.TrustedRootChains(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The TrustedRootChains interface provides methods to create, modify, +delete and read trusted root certificate chains. This class was added in +vSphere API 6.7.2.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(cert_chain=None, chain=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The TrustedRootChains.CreateSpec class contains information to create a +trusted root certificate chain. This class was added in vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • cert_chain (com.vmware.vcenter.certificate_management_client.X509CertChain) – Certificate chain in base64 encoding. This attribute was added in +vSphere API 6.7.2.

  • +
  • chain (str or None) – Unique identifier for this trusted root. Client can specify at +creation as long as it is unique, otherwise one will be generated. +An example of a client providing the identifier would be if this +trusted root is associated with a VC trust. In this case the +identifier would be the domain id. This attribute was added in +vSphere API 6.7.2. +A unique id will be generated if not given.

  • +
+
+
+
+ +
+
+class Info(cert_chain=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The TrustedRootChains.Info class contains information for a trusted +root certificate chain. This class was added in vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

cert_chain (com.vmware.vcenter.certificate_management_client.X509CertChain) – A certificate chain in base64 encoding. This attribute was added in +vSphere API 6.7.2.

+
+
+
+ +
+
+class Summary(chain=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The TrustedRootChains.Summary class contains a trusted root certificate +chain summary suitable for UI presentation. This class was added in vSphere +API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

chain (str) – Unique identifier for chain. This attribute was added in vSphere +API 6.7.2.

+
+
+
+ +
+
+create(spec)
+

Creates a new trusted root certificate chain from the CreateSpec. This +method was added in vSphere API 6.7.2.

+
+
Parameters
+

spec (TrustedRootChains.CreateSpec) – The information needed to create a trusted root certificate chain.

+
+
Return type
+

str

+
+
Returns
+

The unique identifier for the new trusted root chain.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if authorization is not given to caller.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if a trusted root certificate chain exists with id in given spec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires CertificateManagement.Manage and +CertificateManagement.Administer.

  • +
+
+
+
+ +
+
+delete(chain)
+

Deletes trusted root certificate chain for a given identifier. This +method was added in vSphere API 6.7.2.

+
+
Parameters
+

chain (str) – Unique identifier for a trusted root cert chain.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if authorization is not given to caller.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if a trusted root certificate chain does not exist for given id.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires CertificateManagement.Manage and +CertificateManagement.Administer.

  • +
+
+
+
+ +
+
+get(chain)
+

Retrieve a trusted root certificate chain for a given identifier. This +method was added in vSphere API 6.7.2.

+
+
Parameters
+

chain (str) – Unique identifier for a trusted root cert chain.

+
+
Return type
+

TrustedRootChains.Info

+
+
Returns
+

TrustedRootChain.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if authorization is not given to caller.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if a trusted root certificate chain does not exist for given id.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
+
+
+
+ +
+
+list()
+

Returns summary information for each trusted root certificate chain. +This method was added in vSphere API 6.7.2.

+
+
Return type
+

list of TrustedRootChains.Summary

+
+
Returns
+

List of trusted root certificate chains summaries.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if authorization is not given to caller.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter.certificate_management.vcenter_client.VmcaRoot(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The VmcaRoot interface provides methods to replace VMware Certificate +Authority (VMCA) root certificate. This class was added in vSphere API +6.9.1.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(key_size=None, common_name=None, organization=None, organization_unit=None, locality=None, state_or_province=None, country=None, email_address=None, subject_alt_name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The VmcaRoot.CreateSpec contains information. to generate a Private Key +and CSR. This class was added in vSphere API 6.9.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • key_size (long or None) – The size of the key to be used for public and private key +generation. This attribute was added in vSphere API 6.9.1. +If None the key size will be 2048.

  • +
  • common_name (str or None) – The common name of the host for which certificate is generated. +This attribute was added in vSphere API 6.9.1. +If None the common name will be the primary network identifier +(PNID) of the vCenter Virtual Server Appliance (VCSA).

  • +
  • organization (str or None) – Organization field in certificate subject. This attribute was added +in vSphere API 6.9.1. +If None the organization will be ‘VMware’.

  • +
  • organization_unit (str or None) – Organization unit field in certificate subject. This attribute was +added in vSphere API 6.9.1. +If None the organization unit will be ‘VMware Engineering’.

  • +
  • locality (str or None) – Locality field in certificate subject. This attribute was added in +vSphere API 6.9.1. +If None the locality will be ‘Palo Alto’.

  • +
  • state_or_province (str or None) – State field in certificate subject. This attribute was added in +vSphere API 6.9.1. +If None the state will be ‘California’.

  • +
  • country (str or None) – Country field in certificate subject. This attribute was added in +vSphere API 6.9.1. +If None the country will be ‘US’.

  • +
  • email_address (str or None) – Email field in Certificate extensions. This attribute was added in +vSphere API 6.9.1. +If None the emailAddress will be ‘email\@acme.com’.

  • +
  • subject_alt_name (list of str or None) – SubjectAltName is list of Dns Names and Ip addresses. This +attribute was added in vSphere API 6.9.1. +If None PNID of host will be used as IPAddress or Hostname for +certificate generation.

  • +
+
+
+
+ +
+
+create(spec=None)
+

Replace Root Certificate with VMCA signed one using the given Spec.

+

After this method completes, the services using the certificate will be +restarted for the new certificate to take effect.. This method was +added in vSphere API 6.9.1.

+
+
Parameters
+

spec (VmcaRoot.CreateSpec or None) – The information needed to generate VMCA signed Root Certificate. +Default values will be set for all null parameters.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If the system failed to renew the TLS certificate.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires CertificateManagement.Administer.

  • +
+
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.compute.html b/vsphere/7.0.0.1/com.vmware.vcenter.compute.html new file mode 100644 index 00000000..37256bdf --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.compute.html @@ -0,0 +1,937 @@ + + + + + + + + + + + com.vmware.vcenter.compute package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.compute package

+ +
+

Submodules

+
+
+

com.vmware.vcenter.compute.policies_client module

+

The com.vmware.vcenter.compute.policies_client module provides classes for +managing compute policies in VMware Cloud on AWS. Usage beyond VMware Cloud on +AWS is not supported.

+
+
+class com.vmware.vcenter.compute.policies_client.Capabilities(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Capabilities class provides methods to manage compute policy +capabilities in VMware Cloud on AWS. Usage beyond VMware Cloud on AWS is +not supported. The description of the capability provides information about +the intent of a policy based on this capability. A capability provides a +type to create a policy (see +com.vmware.vcenter.compute_client.Policies.create()). A capability +also provides a type that describes the information returned when +retrieving information about a policy (see +com.vmware.vcenter.compute_client.Policies.get()). 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.

+
+
+
+
+class Info(name=None, description=None, create_spec_type=None, info_type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Capabilities.Info class contains information about a compute policy +capability. 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 capability. 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 capability. 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.

  • +
  • create_spec_type (str) – Identifier of the class used to create a policy based on this +capability. See +com.vmware.vcenter.compute_client.Policies.create(). +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.vapi.structure. 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.structure.

  • +
  • info_type (str) – Identifier of the class returned when retrieving information about +a policy based on this capability. See +com.vmware.vcenter.compute_client.Policies.get(). +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.vapi.structure. 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.structure.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.vcenter.compute.policies.Capability'
+

The resource type for the compute policy capability. 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 Summary(capability=None, name=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Capabilities.Summary class contains commonly used information about +a compute policy capability. 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
+
    +
  • capability (str) – Identifier of the capability. 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.vcenter.compute.policies.Capability. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.vcenter.compute.policies.Capability.

  • +
  • name (str) – Name of the capability. 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 capability. 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.

  • +
+
+
+
+ +
+
+get(capability)
+

Returns information about a specific compute policy capability in +VMware Cloud on AWS. Usage beyond VMware Cloud on AWS is not supported. +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
+

capability (str) – Identifier of the capability for which information should be +retrieved. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.compute.policies.Capability.

+
+
Return type
+

Capabilities.Info

+
+
Returns
+

Detailed information about the capability.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if a capability with this identifier does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
+
+
+
+ +
+
+list()
+

Returns information about the compute policy capabilities available in +this vCenter server in VMware Cloud on AWS. Usage beyond VMware Cloud +on AWS is not supported. 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
+

list of Capabilities.Summary

+
+
Returns
+

The list of compute policy capabilities available on this vCenter +server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter.compute.policies_client.CreateSpec(capability=None, name=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CreateSpec class contains common information used to create a new +policy in VMware Cloud on AWS. Usage beyond VMware Cloud on AWS is not +supported. 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
+
    +
  • capability (str) – Identifier of the capability this policy is based on. 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.vcenter.compute.policies.Capability. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.vcenter.compute.policies.Capability.

  • +
  • name (str) – Name of the policy. The name needs to be unique within this vCenter +server. 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 policy. 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.

  • +
+
+
+
+
+property capability
+

Return the discriminator value

+
+ +
+ +
+
+class com.vmware.vcenter.compute.policies_client.Info(name=None, description=None, capability=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Info class contains common information about a compute policy in +VMware Cloud on AWS. Usage beyond VMware Cloud on AWS is not supported. +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 policy. 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 policy. 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.

  • +
  • capability (str) – Identifier of the capability this policy is based on. 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.vcenter.compute.policies.Capability. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.vcenter.compute.policies.Capability.

  • +
+
+
+
+
+property capability
+

Return the discriminator value

+
+ +
+ +
+
+class com.vmware.vcenter.compute.policies_client.ObjectCompliance(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The ObjectCompliance class defines the compliance states a policy can +be in on a particular object in VMware Cloud on AWS. Usage beyond VMware +Cloud on AWS is not supported. 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 the ObjectCompliance instance.

+
+
+
+
+COMPLIANT = ObjectCompliance(string='COMPLIANT')
+

The policy is in compliance on the object. 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.

+
+ +
+
+NOT_APPLICABLE = ObjectCompliance(string='NOT_APPLICABLE')
+

The object is in a state for which the policy does not apply. 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.

+
+ +
+
+NOT_COMPLIANT = ObjectCompliance(string='NOT_COMPLIANT')
+

The policy is not in compliance on the object. 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.vcenter.compute.policies_client.Status(status=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Status class describes the current status of a compute policy in +VMware Cloud on AWS. Usage beyond VMware Cloud on AWS is not supported. +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 (ObjectCompliance) – The compliance status of the policy on a specified object. +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.vcenter.compute.policies_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.vcenter.compute.policies_client.TagUsage(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The TagUsage class provides methods to query which tags are used by +policies in VMware Cloud on AWS. Usage beyond VMware Cloud on AWS is not +supported. 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.

+
+
+
+
+class FilterSpec(policies=None, tags=None, tag_types=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The TagUsage.FilterSpec class contains attributes used to filter the +results when listing the tags used by policies as available in this vCenter +server (see TagUsage.list()). If multiple attributes are specified, +only the tags used by policies that match an element of each attribute +match the filter. 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
+
    +
  • policies (set of str or None) – Identifiers that compute policies must have to match the filter. +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.vcenter.compute.Policy. When methods return a value +of this class as a return value, the attribute will contain +identifiers for the resource type: +com.vmware.vcenter.compute.Policy. +If None or empty, then tags used by any policy match this filter.

  • +
  • tags (set of str or None) – Identifiers that tags must have to match the filter. 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.cis.tagging.Tag. When methods return a value of this +class as a return value, the attribute will contain identifiers for +the resource type: com.vmware.cis.tagging.Tag. +If None or empty, then tags with any tag identifier match this +filter.

  • +
  • tag_types (set of str or None) – Identifiers that tag types must have to match the filter. +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.vapi.resource. When methods return a value of this +class as a return value, the attribute will contain identifiers for +the resource type: com.vmware.vapi.resource. +If None or empty, then tags of any type match this filter.

  • +
+
+
+
+ +
+
+class Summary(policy=None, tag_type=None, tag=None, tag_name=None, category_name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The TagUsage.Summary class contains common information about a tag used +by a policy. 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
+
    +
  • policy (str) – Identifier of the policy that uses the tag indicated by +TagUsage.Summary.tag. 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.vcenter.compute.Policy. When methods return a value +of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.compute.Policy.

  • +
  • tag_type (str) – Identifier of the tag type used by the policy indicated by +TagUsage.Summary.policy. 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.vapi.resource. 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.resource.

  • +
  • tag (str) – Identifier of the tag used by the policy indicated by +TagUsage.Summary.policy. 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 tagType must contain the actual resource type. When +methods return a value of this class as a return value, the +attribute tagType will contain the actual resource type.

  • +
  • tag_name (str) – Name of the tag used by the policy indicated by +TagUsage.Summary.policy. 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_name (str) – Name of the category that has TagUsage.Summary.tag. +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.

  • +
+
+
+
+ +
+
+list(filter=None)
+

Returns information about the tags used by policies available in this +vCenter server matching the TagUsage.FilterSpec in VMware +Cloud on AWS. Usage beyond VMware Cloud on AWS is not supported. +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
+

filter (TagUsage.FilterSpec or None) – Specification for matching tags used by policies. +If None, the behavior is equivalent to a +TagUsage.FilterSpec with all attributes None, which means +all tags used by policies match the filter.

+
+
Return type
+

list of TagUsage.Summary

+
+
Returns
+

The list of tags used by policies available on this vCenter server +matching the TagUsage.FilterSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
+
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.compute.policies.capabilities.html b/vsphere/7.0.0.1/com.vmware.vcenter.compute.policies.capabilities.html new file mode 100644 index 00000000..a01b0e24 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.compute.policies.capabilities.html @@ -0,0 +1,1384 @@ + + + + + + + + + + + com.vmware.vcenter.compute.policies.capabilities package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.compute.policies.capabilities package

+ +
+

Submodules

+
+
+

com.vmware.vcenter.compute.policies.capabilities.cluster_scale_in_ignore_vm_capabilities_client module

+

The +com.vmware.vcenter.compute.policies.capabilities.cluster_scale_in_ignore_vm_capabilities_client +module provides classes for the Scale-In Ignore Virtual Machine Capabilities +capability offered by vCenter in VMware Cloud on AWS. Usage beyond VMware Cloud +on AWS is not supported.

+
+
+class com.vmware.vcenter.compute.policies.capabilities.cluster_scale_in_ignore_vm_capabilities_client.CreateSpec(vm_tag=None, vm_capabilities=None, capability='com.vmware.vcenter.compute.policies.capabilities.cluster_scale_in_ignore_vm_capabilities', name=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CreateSpec class contains information used to create a new policy +to ignore virtual machine capabilities when scaling-in a cluster, see +com.vmware.vcenter.compute_client.Policies.create(). When considering +scaling-in a cluster, policies that have been created with one of the +listed CreateSpec.vm_capabilities are ignored for virtual machines +that have the tag indicated by CreateSpec.vm_tag in VMware Cloud on +AWS. Usage beyond VMware Cloud on AWS is not supported. 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
+
    +
  • vm_tag (str) – When considering scaling-in a cluster, policies that have been +created with one of the listed CreateSpec.vm_capabilities +are ignored for virtual machines that have this tag. 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.cis.tagging.Tag:VirtualMachine. 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.tagging.Tag:VirtualMachine.

  • +
  • vm_capabilities (set of str) – When considering scaling-in a cluster, policies that have been +created with one of these capabilities are ignored for virtual +machines that have the tag indicated by CreateSpec.vm_tag. +This set must contain at least one item. Currently, the +only allowed capability identifier is +com.vmware.vcenter.compute.policies.capabilities.disable_drs_vmotion_client. +In the future, other capabilities may be specified. 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.vcenter.compute.policies.Capability:VirtualMachine. +When methods return a value of this class as a return value, the +attribute will contain identifiers for the resource type: +com.vmware.vcenter.compute.policies.Capability:VirtualMachine.

  • +
  • capability (str) – Identifier of the capability this policy is based on. 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.vcenter.compute.policies.Capability. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.vcenter.compute.policies.Capability.

  • +
  • name (str) – Name of the policy. The name needs to be unique within this vCenter +server. 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 policy. 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.

  • +
+
+
+
+
+property capability
+

Return the discriminator value

+
+ +
+ +
+
+class com.vmware.vcenter.compute.policies.capabilities.cluster_scale_in_ignore_vm_capabilities_client.Info(vm_tag=None, vm_capabilities=None, name=None, description=None, capability=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Info class contains information about a policy to ignore virtual +machine capabilities when scaling-in a cluster, see +com.vmware.vcenter.compute_client.Policies.get(). When considering +scaling-in a cluster, policies that have been created with one of the +listed Info.vm_capabilities are ignored for virtual machines that +have the tag indicated by Info.vm_tag in VMware Cloud on AWS. Usage +beyond VMware Cloud on AWS is not supported. 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
+
    +
  • vm_tag (str) – When considering scaling-in a cluster, policies that have been +created with one of the listed Info.vm_capabilities are +ignored for virtual machines that have this tag. 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.cis.tagging.Tag:VirtualMachine. 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.tagging.Tag:VirtualMachine.

  • +
  • vm_capabilities (set of str) – When considering scaling-in a cluster, policies that have been +created with one of these capabilities are ignored for virtual +machines that have the tag indicated by Info.vm_tag. +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.vcenter.compute.policies.Capability:VirtualMachine. +When methods return a value of this class as a return value, the +attribute will contain identifiers for the resource type: +com.vmware.vcenter.compute.policies.Capability:VirtualMachine.

  • +
  • name (str) – Name of the policy. 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 policy. 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.

  • +
  • capability (str) – Identifier of the capability this policy is based on. 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.vcenter.compute.policies.Capability. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.vcenter.compute.policies.Capability.

  • +
+
+
+
+
+property capability
+

Return the discriminator value

+
+ +
+ +
+
+class com.vmware.vcenter.compute.policies.capabilities.cluster_scale_in_ignore_vm_capabilities_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.compute.policies.capabilities.disable_drs_vmotion_client module

+

The +com.vmware.vcenter.compute.policies.capabilities.disable_drs_vmotion_client +module provides classes for the Disable DRS vMotion capability offered by +vCenter in VMware Cloud on AWS. Usage beyond VMware Cloud on AWS is not +supported.

+
+
+class com.vmware.vcenter.compute.policies.capabilities.disable_drs_vmotion_client.CreateSpec(vm_tag=None, capability='com.vmware.vcenter.compute.policies.capabilities.disable_drs_vmotion', name=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CreateSpec class contains information used to create a new +DisableDrsVmotion policy, see +com.vmware.vcenter.compute_client.Policies.create(), in VMware Cloud +on AWS. Usage beyond VMware Cloud on AWS is not supported. 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
+
    +
  • vm_tag (str) – Identifier of a tag that can be associated with a virtual machine. +Virtual machines with this tag will not be migrated away from the +host on which they are powered on, except when the host is put into +maintenance mode or failed over. 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.cis.tagging.Tag:VirtualMachine. 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.tagging.Tag:VirtualMachine.

  • +
  • capability (str) – Identifier of the capability this policy is based on. 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.vcenter.compute.policies.Capability. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.vcenter.compute.policies.Capability.

  • +
  • name (str) – Name of the policy. The name needs to be unique within this vCenter +server. 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 policy. 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.

  • +
+
+
+
+
+property capability
+

Return the discriminator value

+
+ +
+ +
+
+class com.vmware.vcenter.compute.policies.capabilities.disable_drs_vmotion_client.Info(vm_tag=None, name=None, description=None, capability=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Info class contains information about a DisableDrsVmotion policy, +see com.vmware.vcenter.compute_client.Policies.get() in VMware Cloud +on AWS. Usage beyond VMware Cloud on AWS is not supported. 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
+
    +
  • vm_tag (str) – Identifier of a tag that can be associated with a virtual machine. +Virtual machines with this tag will not be migrated away from the +host on which they are powered on, except when the host is put into +maintenance mode or failed over. 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.cis.tagging.Tag:VirtualMachine. 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.tagging.Tag:VirtualMachine.

  • +
  • name (str) – Name of the policy. 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 policy. 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.

  • +
  • capability (str) – Identifier of the capability this policy is based on. 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.vcenter.compute.policies.Capability. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.vcenter.compute.policies.Capability.

  • +
+
+
+
+
+property capability
+

Return the discriminator value

+
+ +
+ +
+
+class com.vmware.vcenter.compute.policies.capabilities.disable_drs_vmotion_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.compute.policies.capabilities.vm_host_affinity_client module

+

The +com.vmware.vcenter.compute.policies.capabilities.vm_host_affinity_client +module provides classes for the VM Host affinity capability offered by vCenter +in VMware Cloud on AWS. Usage beyond VMware Cloud on AWS is not supported.

+
+
+class com.vmware.vcenter.compute.policies.capabilities.vm_host_affinity_client.CreateSpec(vm_tag=None, host_tag=None, capability='com.vmware.vcenter.compute.policies.capabilities.vm_host_affinity', name=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CreateSpec class contains information used to create a new virtual +machine to host affinity policy, see +com.vmware.vcenter.compute_client.Policies.create(). Virtual machines +that have the tag indicated by CreateSpec.vm_tag will be affine to +hosts that have the tag indicated by CreateSpec.host_tag in VMware +Cloud on AWS. Usage beyond VMware Cloud on AWS is not supported. +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
+
    +
  • vm_tag (str) – Identifier of a tag that can be associated with a virtual machine. +Virtual machines with this tag will be affine to the hosts +indicated by CreateSpec.host_tag. 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.cis.tagging.Tag:VirtualMachine. 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.tagging.Tag:VirtualMachine.

  • +
  • host_tag (str) – Identifier of a tag that can be associated with a host. Virtual +machines indicated by CreateSpec.vm_tag will be affine to +hosts with this tag. 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.cis.tagging.Tag:HostSystem. 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.tagging.Tag:HostSystem.

  • +
  • capability (str) – Identifier of the capability this policy is based on. 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.vcenter.compute.policies.Capability. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.vcenter.compute.policies.Capability.

  • +
  • name (str) – Name of the policy. The name needs to be unique within this vCenter +server. 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 policy. 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.

  • +
+
+
+
+
+property capability
+

Return the discriminator value

+
+ +
+ +
+
+class com.vmware.vcenter.compute.policies.capabilities.vm_host_affinity_client.Info(vm_tag=None, host_tag=None, name=None, description=None, capability=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Info class contains information about a virtual machine to host +affinity policy, see +com.vmware.vcenter.compute_client.Policies.get(). Virtual machines +that have the tag indicated by Info.vm_tag will be affine to hosts +that have the tag indicated by Info.host_tag in VMware Cloud on +AWS. Usage beyond VMware Cloud on AWS is not supported. 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
+
    +
  • vm_tag (str) – Identifier of a tag that can be associated with a virtual machine. +Virtual machines with this tag will be affine to the hosts +indicated by Info.host_tag. 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.cis.tagging.Tag:VirtualMachine. 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.tagging.Tag:VirtualMachine.

  • +
  • host_tag (str) – Identifier of a tag that can be associated with a host. Virtual +machines indicated by Info.vm_tag will be affine to hosts +with this tag. 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.cis.tagging.Tag:HostSystem. 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.tagging.Tag:HostSystem.

  • +
  • name (str) – Name of the policy. 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 policy. 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.

  • +
  • capability (str) – Identifier of the capability this policy is based on. 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.vcenter.compute.policies.Capability. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.vcenter.compute.policies.Capability.

  • +
+
+
+
+
+property capability
+

Return the discriminator value

+
+ +
+ +
+
+class com.vmware.vcenter.compute.policies.capabilities.vm_host_affinity_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.compute.policies.capabilities.vm_host_anti_affinity_client module

+

The +com.vmware.vcenter.compute.policies.capabilities.vm_host_anti_affinity_client +module provides classes for the VM Host anti-affinity capability offered by +vCenter in VMware Cloud on AWS. Usage beyond VMware Cloud on AWS is not +supported.

+
+
+class com.vmware.vcenter.compute.policies.capabilities.vm_host_anti_affinity_client.CreateSpec(vm_tag=None, host_tag=None, capability='com.vmware.vcenter.compute.policies.capabilities.vm_host_anti_affinity', name=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CreateSpec class contains information used to create a new virtual +machine to host anti-affinity policy, see +com.vmware.vcenter.compute_client.Policies.create(). Virtual machines +that have the tag indicated by CreateSpec.vm_tag will be +anti-affine to hosts that have the tag indicated by +CreateSpec.host_tag in VMware Cloud on AWS. Usage beyond VMware +Cloud on AWS is not supported. 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
+
    +
  • vm_tag (str) – Identifier of a tag that can be associated with a virtual machine. +Virtual machines with this tag will be anti-affine to the hosts +indicated by CreateSpec.host_tag. 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.cis.tagging.Tag:VirtualMachine. 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.tagging.Tag:VirtualMachine.

  • +
  • host_tag (str) – Identifier of a tag that can be associated with a host. Virtual +machines indicated by CreateSpec.vm_tag will be anti-affine +to hosts with this tag. 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.cis.tagging.Tag:HostSystem. 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.tagging.Tag:HostSystem.

  • +
  • capability (str) – Identifier of the capability this policy is based on. 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.vcenter.compute.policies.Capability. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.vcenter.compute.policies.Capability.

  • +
  • name (str) – Name of the policy. The name needs to be unique within this vCenter +server. 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 policy. 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.

  • +
+
+
+
+
+property capability
+

Return the discriminator value

+
+ +
+ +
+
+class com.vmware.vcenter.compute.policies.capabilities.vm_host_anti_affinity_client.Info(vm_tag=None, host_tag=None, name=None, description=None, capability=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Info class contains information about a virtual machine to host +anti-affinity policy, see +com.vmware.vcenter.compute_client.Policies.get(). Virtual machines +that have the tag indicated by Info.vm_tag will be anti-affine to +hosts that have the tag indicated by Info.host_tag in VMware Cloud +on AWS. Usage beyond VMware Cloud on AWS is not supported. 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
+
    +
  • vm_tag (str) – Identifier of a tag that can be associated with a virtual machine. +Virtual machines with this tag will be anti-affine to the hosts +indicated by Info.host_tag. 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.cis.tagging.Tag:VirtualMachine. 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.tagging.Tag:VirtualMachine.

  • +
  • host_tag (str) – Identifier of a tag that can be associated with a host. Virtual +machines indicated by Info.vm_tag will be anti-affine to +hosts with this tag. 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.cis.tagging.Tag:HostSystem. 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.tagging.Tag:HostSystem.

  • +
  • name (str) – Name of the policy. 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 policy. 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.

  • +
  • capability (str) – Identifier of the capability this policy is based on. 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.vcenter.compute.policies.Capability. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.vcenter.compute.policies.Capability.

  • +
+
+
+
+
+property capability
+

Return the discriminator value

+
+ +
+ +
+
+class com.vmware.vcenter.compute.policies.capabilities.vm_host_anti_affinity_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.compute.policies.capabilities.vm_vm_affinity_client module

+

The com.vmware.vcenter.compute.policies.capabilities.vm_vm_affinity_client +module provides classes for the VM-VM affinity capability offered by vCenter in +VMware Cloud on AWS. Usage beyond VMware Cloud on AWS is not supported.

+
+
+class com.vmware.vcenter.compute.policies.capabilities.vm_vm_affinity_client.CreateSpec(vm_tag=None, capability='com.vmware.vcenter.compute.policies.capabilities.vm_vm_affinity', name=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CreateSpec class contains information used to create a new VM-VM +affinity policy, see +com.vmware.vcenter.compute_client.Policies.create(). All virtual +machines that share the tag indicated by CreateSpec.vm_tag will be +affined to each other in VMware Cloud on AWS. Usage beyond VMware Cloud on +AWS is not supported. 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
+
    +
  • vm_tag (str) – Identifier of a tag that can be associated with a virtual machine. +Virtual machines with this tag will be affined to each other. +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.cis.tagging.Tag:VirtualMachine. 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.tagging.Tag:VirtualMachine.

  • +
  • capability (str) – Identifier of the capability this policy is based on. 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.vcenter.compute.policies.Capability. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.vcenter.compute.policies.Capability.

  • +
  • name (str) – Name of the policy. The name needs to be unique within this vCenter +server. 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 policy. 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.

  • +
+
+
+
+
+property capability
+

Return the discriminator value

+
+ +
+ +
+
+class com.vmware.vcenter.compute.policies.capabilities.vm_vm_affinity_client.Info(vm_tag=None, name=None, description=None, capability=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Info class contains information about a VM-VM affinity policy, see +com.vmware.vcenter.compute_client.Policies.get(). All virtual +machines that share the tag indicated by Info.vm_tag are affined to +each other in VMware Cloud on AWS. Usage beyond VMware Cloud on AWS is not +supported. 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
+
    +
  • vm_tag (str) – Identifier of a tag that can be associated with a virtual machine. +Virtual machines with this tag will be affined to each other. +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.cis.tagging.Tag:VirtualMachine. 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.tagging.Tag:VirtualMachine.

  • +
  • name (str) – Name of the policy. 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 policy. 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.

  • +
  • capability (str) – Identifier of the capability this policy is based on. 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.vcenter.compute.policies.Capability. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.vcenter.compute.policies.Capability.

  • +
+
+
+
+
+property capability
+

Return the discriminator value

+
+ +
+ +
+
+class com.vmware.vcenter.compute.policies.capabilities.vm_vm_affinity_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.compute.policies.capabilities.vm_vm_anti_affinity_client module

+

The +com.vmware.vcenter.compute.policies.capabilities.vm_vm_anti_affinity_client +module provides classes for the VM VM anti-affinity capability offered by +vCenter in VMware Cloud on AWS. Usage beyond VMware Cloud on AWS is not +supported.

+
+
+class com.vmware.vcenter.compute.policies.capabilities.vm_vm_anti_affinity_client.CreateSpec(vm_tag=None, capability='com.vmware.vcenter.compute.policies.capabilities.vm_vm_anti_affinity', name=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CreateSpec class contains information used to create a new VM-VM +anti-affinity policy, see +com.vmware.vcenter.compute_client.Policies.create(). All virtual +machines that share the tag indicated by CreateSpec.vm_tag will be +anti-affine to each other in VMware Cloud on AWS. Usage beyond VMware Cloud +on AWS is not supported. 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
+
    +
  • vm_tag (str) – Identifier of a tag that can be associated with a virtual machine. +Virtual machines with this tag will be anti-affine to each other. +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.cis.tagging.Tag:VirtualMachine. 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.tagging.Tag:VirtualMachine.

  • +
  • capability (str) – Identifier of the capability this policy is based on. 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.vcenter.compute.policies.Capability. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.vcenter.compute.policies.Capability.

  • +
  • name (str) – Name of the policy. The name needs to be unique within this vCenter +server. 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 policy. 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.

  • +
+
+
+
+
+property capability
+

Return the discriminator value

+
+ +
+ +
+
+class com.vmware.vcenter.compute.policies.capabilities.vm_vm_anti_affinity_client.Info(vm_tag=None, name=None, description=None, capability=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Info class contains information about a VM-VM anti-affinity policy, +see com.vmware.vcenter.compute_client.Policies.get(). All virtual +machines that share the tag indicated by Info.vm_tag are +anti-affine to each other in VMware Cloud on AWS. Usage beyond VMware Cloud +on AWS is not supported. 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
+
    +
  • vm_tag (str) – Identifier of a tag that can be associated with a virtual machine. +Virtual machines with this tag are anti-affine to each other. +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.cis.tagging.Tag:VirtualMachine. 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.tagging.Tag:VirtualMachine.

  • +
  • name (str) – Name of the policy. 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 policy. 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.

  • +
  • capability (str) – Identifier of the capability this policy is based on. 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.vcenter.compute.policies.Capability. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.vcenter.compute.policies.Capability.

  • +
+
+
+
+
+property capability
+

Return the discriminator value

+
+ +
+ +
+
+class com.vmware.vcenter.compute.policies.capabilities.vm_vm_anti_affinity_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.compute.policies.capabilities.vm.evacuation.html b/vsphere/7.0.0.1/com.vmware.vcenter.compute.policies.capabilities.vm.evacuation.html new file mode 100644 index 00000000..2ba35396 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.compute.policies.capabilities.vm.evacuation.html @@ -0,0 +1,420 @@ + + + + + + + + + + + com.vmware.vcenter.compute.policies.capabilities.vm.evacuation package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + + +
+
+ +
+

com.vmware.vcenter.compute.policies.capabilities.vm.evacuation package

+
+

Submodules

+
+
+

com.vmware.vcenter.compute.policies.capabilities.vm.evacuation.vmotion_client module

+

The +com.vmware.vcenter.compute.policies.capabilities.vm.evacuation.vmotion_client +module provides classes for the virtual machine evacuation vMotion capability +offered by vCenter in VMware Cloud on AWS. Usage beyond VMware Cloud on AWS is +not supported.

+
+
+class com.vmware.vcenter.compute.policies.capabilities.vm.evacuation.vmotion_client.CreateSpec(vm_tag=None, capability='com.vmware.vcenter.compute.policies.capabilities.vm.evacuation.vmotion', name=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CreateSpec class contains information used to create a new vMotion +policy that applies when a host is evacuated, see +com.vmware.vcenter.compute_client.Policies.create(), in VMware Cloud +on AWS. Usage beyond VMware Cloud on AWS is not supported. All virtual +machines that share the tag indicated by CreateSpec.vm_tag will be +vMotioned from a host whenever the host is evacuated by vCenter. If vCenter +cannot migrate a virtual machine, then it will remain running on its +current host. 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
+
    +
  • vm_tag (str) – Identifier of a tag that can be associated with a virtual machine. +Virtual machines with this tag will be vMotioned from a host if +vCenter requires to evacuate the host. If vMotion is not feasible, +then the virtual machine will remain running on its current host. +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.cis.tagging.Tag:VirtualMachine. 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.tagging.Tag:VirtualMachine.

  • +
  • capability (str) – Identifier of the capability this policy is based on. 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.vcenter.compute.policies.Capability. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.vcenter.compute.policies.Capability.

  • +
  • name (str) – Name of the policy. The name needs to be unique within this vCenter +server. 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 policy. 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.

  • +
+
+
+
+
+property capability
+

Return the discriminator value

+
+ +
+ +
+
+class com.vmware.vcenter.compute.policies.capabilities.vm.evacuation.vmotion_client.Info(vm_tag=None, name=None, description=None, capability=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Info class contains information about a vMotion policy that applies +when a host is evacuated, see +com.vmware.vcenter.compute_client.Policies.get(), in VMware Cloud on +AWS. Usage beyond VMware Cloud on AWS is not supported. All virtual +machines that share the tag indicated by Info.vm_tag will be +vMotioned from a host whenever the host is evacuated by vCenter. If vCenter +cannot migrate a virtual machine, then it will remain running on its +current host. 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
+
    +
  • vm_tag (str) – Identifier of a tag that can be associated with a virtual machine. +Virtual machines with this tag will be vMotioned from a host if +vCenter requires to evacuate the host. If vMotion is not feasible, +then the virtual machine will remain running on its current host. +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.cis.tagging.Tag:VirtualMachine. 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.tagging.Tag:VirtualMachine.

  • +
  • name (str) – Name of the policy. 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 policy. 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.

  • +
  • capability (str) – Identifier of the capability this policy is based on. 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.vcenter.compute.policies.Capability. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.vcenter.compute.policies.Capability.

  • +
+
+
+
+
+property capability
+

Return the discriminator value

+
+ +
+ +
+
+class com.vmware.vcenter.compute.policies.capabilities.vm.evacuation.vmotion_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.compute.policies.capabilities.vm.html b/vsphere/7.0.0.1/com.vmware.vcenter.compute.policies.capabilities.vm.html new file mode 100644 index 00000000..4d23fe08 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.compute.policies.capabilities.vm.html @@ -0,0 +1,248 @@ + + + + + + + + + + + com.vmware.vcenter.compute.policies.capabilities.vm package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+ + +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.compute.policies.html b/vsphere/7.0.0.1/com.vmware.vcenter.compute.policies.html new file mode 100644 index 00000000..4681b51d --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.compute.policies.html @@ -0,0 +1,284 @@ + + + + + + + + + + + com.vmware.vcenter.compute.policies package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.compute.policies package

+ +
+

Submodules

+
+
+

com.vmware.vcenter.compute.policies.capabilities_client module

+

The com.vmware.vcenter.compute.policies.capabilities_client module provides +classes for compute policy capabilities offered by vCenter in VMware Cloud on +AWS. Usage beyond VMware Cloud on AWS is not supported.

+
+
+class com.vmware.vcenter.compute.policies.capabilities_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.content.html b/vsphere/7.0.0.1/com.vmware.vcenter.content.html new file mode 100644 index 00000000..6e1b4649 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.content.html @@ -0,0 +1,859 @@ + + + + + + + + + + + com.vmware.vcenter.content package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.content package

+ +
+

Submodules

+
+
+

com.vmware.vcenter.content.registries_client module

+

The com.vmware.vcenter.content.registries_client module provides classes +and classes for managing image registries in vCenter.

+
+
+class com.vmware.vcenter.content.registries_client.DayOfWeek(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The DayOfWeek class describes the supported days of the week to run a +specific operation for a container registry.

+
+

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 the DayOfWeek instance.

+
+
+
+
+FRIDAY = DayOfWeek(string='FRIDAY')
+

Friday.

+
+ +
+
+MONDAY = DayOfWeek(string='MONDAY')
+

Monday.

+
+ +
+
+SATURDAY = DayOfWeek(string='SATURDAY')
+

Saturday.

+
+ +
+
+SUNDAY = DayOfWeek(string='SUNDAY')
+

Sunday.

+
+ +
+
+THURSDAY = DayOfWeek(string='THURSDAY')
+

Thursday.

+
+ +
+
+TUESDAY = DayOfWeek(string='TUESDAY')
+

Tuesday.

+
+ +
+
+WEDNESDAY = DayOfWeek(string='WEDNESDAY')
+

Wednesday.

+
+ +
+ +
+
+class com.vmware.vcenter.content.registries_client.Harbor(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Harbor class provides methods to manage the lifecycle of an +integrated Harbor container registry in vCenter.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(cluster=None, garbage_collection=None, storage=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Harbor.CreateSpec class contains the specification required to +create a Harbor registry.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • cluster (str or None) – Identifier of the cluster hosting the registry. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: ClusterComputeResource. +If None, registry will not be created on a specified cluster. This +is required in current version, since Harbor can only be created on +a cluster with Kubernetes enabled.

  • +
  • garbage_collection (Harbor.GarbageCollection or None) – Garbage collection configuration for the Harbor registry. +If None, a default configuration is set, Recurrence#WEEKLY, +DayOfWeek#SATURDAY, GarbageCollection#hour is 2, +GarbageCollection#minute is 0.

  • +
  • storage (list of Harbor.StorageSpec) – Storage associated with the Harbor registry. The list contains only +one storage backing in this version.

  • +
+
+
+
+ +
+
+class GarbageCollection(type=None, day_of_week=None, hour=None, minute=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Harbor.GarbageCollection class contains garbage collection +configuration for the Harbor registry.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Recurrence) – Frequency of garbage collection.

  • +
  • day_of_week (DayOfWeek) – Day of the week when garbage collection should run. +This attribute is optional and it is only relevant when the value +of type is Recurrence.WEEKLY.

  • +
  • hour (long) – Hour at which garbage collection should run. +This attribute is optional and it is only relevant when the value +of type is one of Recurrence.DAILY or +Recurrence.WEEKLY.

  • +
  • minute (long) – Minute at which garbage collection should run. +This attribute is optional and it is only relevant when the value +of type is one of Recurrence.DAILY or +Recurrence.WEEKLY.

  • +
+
+
+
+ +
+
+class Info(cluster=None, namespace=None, version=None, creation_time=None, ui_access_url=None, cert_chain=None, garbage_collection=None, storage=None, health=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Harbor.Info class contains detailed information about a running +Harbor registry.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • cluster (str or None) – Identifier of the cluster. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: ClusterComputeResource. +If None, container registry is not created on the cluster specified +by Harbor.CreateSpec.cluster.

  • +
  • namespace (str or None) – Identifier of the Harbor namespace in case it is created in a +Kubernetes environment. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +NamespaceInstance. When methods return a value of this class as +a return value, the attribute will be an identifier for the +resource type: NamespaceInstance. +If None, no Kubernetes namespace is created for the Harbor.

  • +
  • version (str) – Version of the registry.

  • +
  • creation_time (datetime.datetime) – The date and time when the harbor registry was created.

  • +
  • ui_access_url (str) – URL to access the UI of the registry.

  • +
  • cert_chain (list of str) – Harbor certificate chain in base64 format.

  • +
  • garbage_collection (Harbor.GarbageCollection) – Garbage collection information for the registry.

  • +
  • storage (list of Harbor.StorageInfo) – Storage information associated with the registry.

  • +
  • health (Health.Info) – Health status of the container registry.

  • +
+
+
+
+ +
+
+class StorageInfo(policy=None, capacity=None, used=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Harbor.StorageInfo class contains the detailed information about +storage used by the Harbor registry.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • policy (str) – Identifier of the storage policy. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +SpsStorageProfile. When methods return a value of this class as +a return value, the attribute will be an identifier for the +resource type: SpsStorageProfile.

  • +
  • capacity (long) – Total capacity for the registry storage (in mebibytes). This is the +storage limit set on the Harbor registry. If a storage limit was +not set on the registry, the default registry capacity - 204800 +mebibytes is used.

  • +
  • used (long) – Overall storage used by the registry (in mebibytes). This is the +sum of used storage associated with storage policies configured for +the registry.

  • +
+
+
+
+ +
+
+class StorageSpec(policy=None, limit=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Harbor.StorageSpec class contains the specification required to +configure storage associated with a Harbor registry. In this version, +Harbor registry is created in Kubernetes environment, information in this +class will result in storage quotas on a Kubernetes namespace.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • policy (str) – Identifier of the storage policy. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +SpsStorageProfile. When methods return a value of this class as +a return value, the attribute will be an identifier for the +resource type: SpsStorageProfile.

  • +
  • limit (long or None) – The maximum amount of storage (in mebibytes) which can be utilized +by the registry for this specification. +If None, a default limit of 204800 mebibytes will be set as the +registry’s storage capacity.

  • +
+
+
+
+ +
+
+class Summary(cluster=None, registry=None, version=None, ui_access_url=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Harbor.Summary class contains basic information about a running +Harbor registry.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • cluster (str or None) – Identifier of the cluster. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: ClusterComputeResource. +If None, container registry is not created on the cluster specified +by Harbor.CreateSpec.cluster.

  • +
  • registry (str) – Identifier of the registry. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.content.Registry. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.content.Registry.

  • +
  • version (str) – Version of the registry.

  • +
  • ui_access_url (str) – URL to access the UI of the registry.

  • +
+
+
+
+ +
+
+create(spec, client_token=None)
+

Creates a Harbor registry in the cluster.

+
+
Parameters
+
    +
  • client_token (str or None) – A unique token generated on the client for each creation request. +The token should be a universally unique identifier (UUID), for +example: b8a2a2e3-2314-43cd-a871-6ede0f429751. This token can +be used to guarantee idempotent creation. +If not specified, creation is not idempotent.

  • +
  • spec (Harbor.CreateSpec) – Specification for creating the Harbor registry.

  • +
+
+
Return type
+

str

+
+
Returns
+

Identifier of the deployed registry. +The return value will be an identifier for the resource type: +com.vmware.vcenter.content.Registry.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if a Harbor already exists in the associated cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if resources/objects could not be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if Harbor.CreateSpec.cluster does not have vSphere +namespace enabled.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if spec contains any errors.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have ContentLibrary.ManageRegistry and/or +CertificateAuthority.Manage privilege, or user does not have +ContentLibrary.ManageClusterRegistryResource privilege on +Harbor.CreateSpec.cluster.

+
+
+
+ +
+
+delete(registry)
+

Delete the Harbor registry in the cluster. All Harbor projects, +repositories and images will be deleted upon Harbor registry deletion.

+
+
Parameters
+

registry (str) – Identifier of the registry. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.content.Registry.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if a registry specified by registry could not be found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have ContentLibrary.ManageRegistry privilege.

+
+
+
+ +
+
+get(registry)
+

Get detailed information of the Harbor registry.

+
+
Parameters
+

registry (str) – Identifier of the registry. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.content.Registry.

+
+
Return type
+

Harbor.Info

+
+
Returns
+

Information about the registry.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if a Harbor registry specified by registry could not be found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have System.Read privilege.

+
+
+
+ +
+
+list()
+

Returns basic information of all Harbor registries.

+
+
Return type
+

list of Harbor.Summary

+
+
Returns
+

The list of basic information of all Harbor registries.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have System.Read privilege.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.content.registries_client.Health(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Health class provides methods to retrieve health status for a +container registry.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(status=None, details=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Health.Info class contains health information about a container +registry.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class Status(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Health.Status class describes the status of the container registry.

+
+

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 the Status instance.

+
+
+
+
+DELETING = Status(string='DELETING')
+

Container registry is being deleted.

+
+ +
+
+ERROR = Status(string='ERROR')
+

Container registry failed to start or stopped with fatal error.

+
+ +
+
+RUNNING = Status(string='RUNNING')
+

Container registry is running.

+
+ +
+
+STARTING = Status(string='STARTING')
+

Container registry is starting.

+
+ +
+
+WARNING = Status(string='WARNING')
+

Container registry is running with some warning, for example, storage +reaches the threshold configuration.

+
+ +
+ +
+
+get(registry)
+

Returns the health information of a container registry in the vCenter.

+
+
Parameters
+

registry (str) – Identifier of the registry. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.content.Registry.

+
+
Return type
+

Health.Info

+
+
Returns
+

Health information of the registry.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the registry does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user is not a member of the Administrators

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.content.registries_client.Recurrence(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Recurrence class defines the supported values for how often to run +a specific operation for a container registry.

+
+

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 the Recurrence instance.

+
+
+
+
+DAILY = Recurrence(string='DAILY')
+

An operation occurs on a daily basis.

+
+ +
+
+NONE = Recurrence(string='NONE')
+

No operation is scheduled.

+
+ +
+
+WEEKLY = Recurrence(string='WEEKLY')
+

An operation occurs on a weekly basis.

+
+ +
+ +
+
+class com.vmware.vcenter.content.registries_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.content.registries.html b/vsphere/7.0.0.1/com.vmware.vcenter.content.registries.html new file mode 100644 index 00000000..2ff5d73a --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.content.registries.html @@ -0,0 +1,670 @@ + + + + + + + + + + + com.vmware.vcenter.content.registries package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.content.registries package

+
+

Submodules

+
+
+

com.vmware.vcenter.content.registries.harbor_client module

+

The com.vmware.vcenter.content.registries.harbor_client module provides +classes and classes for managing Harbor registry in vCenter.

+
+
+class com.vmware.vcenter.content.registries.harbor_client.Projects(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Projects class provides methods for managing the lifecycle of +Harbor project that stores and distributes container repositories and +images.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class ConfigStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Projects.ConfigStatus class describes the status of reaching the +desired configuration state for the Harbor project.

+
+

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 the ConfigStatus instance.

+
+
+
+
+ERROR = ConfigStatus(string='ERROR')
+

Failed to create Harbor project or apply the configuration to the project, +user intervention needed.

+
+ +
+
+PENDING = ConfigStatus(string='PENDING')
+

Harbor project is being created or the configuration is being applied to +the project.

+
+ +
+
+READY = ConfigStatus(string='READY')
+

Harbor project is created or configured correctly.

+
+ +
+
+REMOVING = ConfigStatus(string='REMOVING')
+

The configuration is being removed and Harbor project is being deleted.

+
+ +
+ +
+
+class CreateSpec(name=None, scope=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Projects.CreateSpec class defines the information required to +create a Harbor project.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Name of the Harbor project. Should be between 2-63 characters long +alphanumeric string and may contain the following characters: +a-z,0-9, and ‘-‘. Must be starting with characters or numbers, with +the ‘-‘ character allowed anywhere except the first or last +character.

  • +
  • scope (Projects.Scope) – Access type of a Harbor project.

  • +
+
+
+
+ +
+
+class Info(name=None, config_status=None, scope=None, creation_time=None, update_time=None, access_url=None, message=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Projects.Info class contains detailed information about a Harbor +project.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Name of the Harbor project. Should be between 2-63 characters long +alphanumeric string and may contain the following characters: +a-z,0-9, and ‘-‘. Must be starting with characters or numbers, with +the ‘-‘ character allowed anywhere except the first or last +character.

  • +
  • config_status (Projects.ConfigStatus) – The status of the Harbor project.

  • +
  • scope (Projects.Scope) – The access type of a Harbor project.

  • +
  • creation_time (datetime.datetime) – The date and time when the harbor project creation API was +triggered and project identifier generated.

  • +
  • update_time (datetime.datetime) – The date and time when the harbor project purge API was triggered. +In case no purge was triggered, updateTime is same as +creationTime. +This attribute is optional and it is only relevant when the value +of configStatus is Projects.ConfigStatus.READY.

  • +
  • access_url (str) – URL to access the harbor project through docker client. +This attribute is optional and it is only relevant when the value +of configStatus is Projects.ConfigStatus.READY.

  • +
  • message (com.vmware.vapi.std_client.LocalizableMessage) – Details about the ERROR project status. +This attribute is optional and it is only relevant when the value +of configStatus is Projects.ConfigStatus.ERROR.

  • +
+
+
+
+ +
+
+class Scope(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Projects.Scope class in a project defines access levels of the +project.

+
+

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 the Scope instance.

+
+
+
+
+PRIVATE = Scope(string='PRIVATE')
+

A Harbor project can only be accessed by assigned users.

+
+ +
+
+PUBLIC = Scope(string='PUBLIC')
+

A Harbor project can be accessed by everyone.

+
+ +
+ +
+
+class Summary(project=None, name=None, scope=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Projects.Summary class contains basic information about a Harbor +project.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • project (str) – Identifier of the harbor project. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.content.Registry.Harbor.Project. When +methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: +com.vmware.vcenter.content.Registry.Harbor.Project.

  • +
  • name (str) – Name of the Harbor project. Should be between 2-63 characters long +alphanumeric string and may contain the following characters: +a-z,0-9, and ‘-‘. Must be starting with characters or numbers, with +the ‘-‘ character allowed anywhere except the first or last +character.

  • +
  • scope (Projects.Scope) – Access type of a Harbor project.

  • +
+
+
+
+ +
+
+create(registry, spec)
+

Creates a project in a Harbor registry using the supplied +specification. In vSphere 7.0, a Harbor registry is deployed in a +vSphere cluster with vSphere namespaces enabled. When a namespace is +created, a project with same name as the namespace is created in the +Harbor registry, so this method should not be called.

+
+
Parameters
+
    +
  • registry (str) – Identifier of the Registry. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.content.Registry.

  • +
  • spec (Projects.CreateSpec) – Information used to create the Harbor project.

  • +
+
+
Return type
+

str

+
+
Returns
+

Identifier of the newly created Harbor project. +The return value will be an identifier for the resource type: +com.vmware.vcenter.content.Registry.Harbor.Project.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if spec contains any error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if Harbor registry is being deleted.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if a registry specified by registry could not be found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if a project with the same name already exists in the registry. In +vSphere 7.0, the existing project could have been created +automatically when a namespace with the same name is created.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have ContentLibrary.ManageRegistryProject +privilege.

+
+
+
+ +
+
+delete(registry, project)
+

Deletes the specified project from Harbor registry. Repositories and +images in the project will be removed upon project deletion. Storage +space of deleted images in the project will be reclaimed through next +scheduled Harbor registry garbage collection. In vSphere 7.0, a Harbor +registry is deployed in a vSphere cluster with vSphere namespaces +enabled. When a namespace is deleted, a project with same name as the +namespace is deleted from the Harbor registry, so this method should +not be called.

+
+
Parameters
+
    +
  • registry (str) – Identifier of the registry. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.content.Registry.

  • +
  • project (str) – Identifier of the Harbor project. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.content.Registry.Harbor.Project.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if Harbor registry is being deleted.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if registry or project cannot be found. In vSphere 7.0, the +existing project could have been deleted automatically when a +namespace with the same name is deleted.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have ContentLibrary.ManageRegistryProject +privilege.

+
+
+
+ +
+
+get(registry, project)
+

Returns detailed information about the specified Harbor project.

+
+
Parameters
+
    +
  • registry (str) – Identifier of the registry. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.content.Registry.

  • +
  • project (str) – Identifier of the Harbor project. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.content.Registry.Harbor.Project.

  • +
+
+
Return type
+

Projects.Info

+
+
Returns
+

Detailed information about the specified Harbor project.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if registry or project cannot be found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have System.Read privilege.

+
+
+
+ +
+
+list(registry)
+

Returns basic information of all projects in a Harbor registry.

+
+
Parameters
+

registry (str) – Identifier of the registry. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.content.Registry.

+
+
Return type
+

list of Projects.Summary

+
+
Returns
+

The list of summary information of all Harbor projects.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if registry cannot be found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have System.Read privilege.

+
+
+
+ +
+
+purge(registry, project)
+

Remove all repositories, images and members in the project. Storage +space of deleted images in the project will be reclaimed through next +scheduled Harbor registry garbage collection.

+
+
Parameters
+
    +
  • registry (str) – Registry identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.content.Registry.

  • +
  • project (str) – Identifier of the Harbor project. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.content.Registry.Harbor.Project.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if registry or project cannot be found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if Harbor registry is being deleted or the project is not in +Projects.ConfigStatus.READY status.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have ContentLibrary.ManageRegistryProject +privilege.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.content.registries.harbor_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.deployment.html b/vsphere/7.0.0.1/com.vmware.vcenter.deployment.html new file mode 100644 index 00000000..f87d7d24 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.deployment.html @@ -0,0 +1,440 @@ + + + + + + + + + + + com.vmware.vcenter.deployment package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.deployment package

+ +
+

Submodules

+
+
+

com.vmware.vcenter.deployment.install_client module

+
+
+class com.vmware.vcenter.deployment.install_client.RemotePsc(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The RemotePsc class provides methods to check if the deployed vCenter +Server can register with the remote PSC. This class was added in vSphere +API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+check(spec)
+

Checks whether the remote PSC is reachable and the deployed vCenter +Server can be registered with the remote PSC. This method was added in +vSphere API 6.7.

+
+
Parameters
+

spec (com.vmware.vcenter.deployment_client.RemotePscSpec) – Information to connect to the remote PSC.

+
+
Return type
+

com.vmware.vcenter.deployment_client.CheckInfo

+
+
Returns
+

Information about the success or failure of the checks that were +performed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if external PSC credentials are not valid when configuring a +VCSA_EXTERNAL appliance.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if passed arguments are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the appliance is not in INITIALIZED state.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.deployment.install_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.deployment.migrate_client module

+
+
+class com.vmware.vcenter.deployment.migrate_client.ActiveDirectory(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The ActiveDirectory class provides methods to check if the migrated +vCenter Server appliance can join to the given domain using the provided +credentials. This class was added in vSphere API 7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CheckSpec(dns_servers=None, domain=None, username=None, password=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ActiveDirectory.CheckSpec class contains information used to join +the migrated vCenter Server appliance to the Active Directory. This class +was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • dns_servers (list of str) – IP addresses of the DNS servers of the Active Directory server. +This attribute was added in vSphere API 7.0.0.

  • +
  • domain (str) – The domain name of the Active Directory server to which the +migrated vCenter Server appliance should be joined. This attribute +was added in vSphere API 7.0.0.

  • +
  • username (str) – Active Directory user that has permission to join the Active +Directory after the vCenter Server is migrated to appliance. This +attribute was added in vSphere API 7.0.0.

  • +
  • password (str) – Active Directory user password that has permission to join the +Active Directory after the vCenter Server is migrated to appliance. +This attribute was added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+check(spec)
+

Checks whether the provided Active Directory user has permission to +join the migrated vCenter Server appliance to the domain. This method +was added in vSphere API 7.0.0.

+
+
Parameters
+

spec (ActiveDirectory.CheckSpec) – Information to connect to Active Directory.

+
+
Return type
+

com.vmware.vcenter.deployment_client.CheckInfo

+
+
Returns
+

Information about the success or failure of the checks that were +performed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if passed arguments are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the appliance is not in INITIALIZED state.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.deployment.migrate_client.ActiveDirectorySpec(domain=None, username=None, password=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ActiveDirectorySpec class contains information used to join the +migrated vCenter Server appliance to the Active Directory. This class was +added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • domain (str) – The domain name of the Active Directory server to which the +migrated vCenter Server appliance should be joined. This attribute +was added in vSphere API 7.0.0.

  • +
  • username (str) – Active Directory user that has permission to join the Active +Directory after the vCenter Server is migrated to appliance. This +attribute was added in vSphere API 7.0.0.

  • +
  • password (str) – Active Directory user password that has permission to join the +Active Directory after the vCenter Server is migrated to appliance. +This attribute was added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.deployment.migrate_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.deployment.install.html b/vsphere/7.0.0.1/com.vmware.vcenter.deployment.install.html new file mode 100644 index 00000000..3baebdbe --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.deployment.install.html @@ -0,0 +1,357 @@ + + + + + + + + + + + com.vmware.vcenter.deployment.install package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.deployment.install package

+ +
+

Submodules

+
+
+

com.vmware.vcenter.deployment.install.psc_client module

+
+
+class com.vmware.vcenter.deployment.install.psc_client.Replicated(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Replicated class provides methods to check if the configuring +vCenter Server can be replicated to the remote PSC. This class was added in +vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+check(spec)
+

Checks whether the provided remote PSC is reachable and can be +replicated. This method was added in vSphere API 6.7.

+
+
Parameters
+

spec (com.vmware.vcenter.deployment_client.ReplicatedPscSpec) – Information to configure a replicated PSC.

+
+
Return type
+

com.vmware.vcenter.deployment_client.CheckInfo

+
+
Returns
+

Information about the success or failure of the checks that were +performed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if external PSC credentials are not valid when configuring PSC to +replicate with an external existing PSC.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if passed arguments are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the appliance is not in INITIALIZED state.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.deployment.install.psc_client.Standalone(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Standalone class provides methods to check if the values provided +for the standalone PSC satisfies the requirements. This class was added in +vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+check(spec)
+

Checks that the information to configure a non-replicated PSC satisfies +the requirements. This method was added in vSphere API 6.7.

+
+
Parameters
+

spec (com.vmware.vcenter.deployment_client.StandalonePscSpec) – Information to configure a non-replicated PSC.

+
+
Return type
+

com.vmware.vcenter.deployment_client.CheckInfo

+
+
Returns
+

Information about the success or failure of the checks that were +performed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if passed arguments are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the appliance is not in INITIALIZED state.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.deployment.install.psc_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.deployment.install.initial_config.html b/vsphere/7.0.0.1/com.vmware.vcenter.deployment.install.initial_config.html new file mode 100644 index 00000000..5edcf61f --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.deployment.install.initial_config.html @@ -0,0 +1,315 @@ + + + + + + + + + + + com.vmware.vcenter.deployment.install.initial_config package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.deployment.install.initial_config package

+
+

Submodules

+
+
+

com.vmware.vcenter.deployment.install.initial_config.remote_psc_client module

+
+
+class com.vmware.vcenter.deployment.install.initial_config.remote_psc_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.vcenter.deployment.install.initial_config.remote_psc_client.Thumbprint(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Thumbprint class provides methods to get the thumbprint of the +remote PSC. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class RemoteSpec(address=None, https_port=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Thumbprint.RemoteSpec class contains the information used to +connect to the remote PSC. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • address (str) – The IP address or DNS resolvable name of the remote PSC. This +attribute was added in vSphere API 6.7.

  • +
  • https_port (long or None) – The HTTPS port of the remote PSC. This attribute was added in +vSphere API 6.7. +If None, port 443 will be used.

  • +
+
+
+
+ +
+
+get(spec)
+

Gets the SHA1 thumbprint of the remote PSC. This method was added in +vSphere API 6.7.

+
+
Parameters
+

spec (Thumbprint.RemoteSpec) – Information used to connect to the remote PSC.

+
+
Return type
+

str

+
+
Returns
+

The thumbprint of the specified remote PSC

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +on exception.

+
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.html b/vsphere/7.0.0.1/com.vmware.vcenter.html new file mode 100644 index 00000000..64bb8eb3 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.html @@ -0,0 +1,20106 @@ + + + + + + + + + + + com.vmware.vcenter package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter package

+
+

Subpackages

+
+ +
+
+
+

Submodules

+
+
+

com.vmware.vcenter.certificate_management_client module

+

The com.vmware.vcenter.certificate_management_client module provides +classes to manage certificates.

+
+
+class com.vmware.vcenter.certificate_management_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.vcenter.certificate_management_client.X509CertChain(cert_chain=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The X509CertChain class contains x509 certificate chain. This class was +added in vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

cert_chain (list of str) – Certificate chain in base64 format. This attribute was added in +vSphere API 6.7.2.

+
+
+
+ +
+
+

com.vmware.vcenter.compute_client module

+

The com.vmware.vcenter.compute_client module provides classes for managing +compute policies in VMware Cloud on AWS. Usage beyond VMware Cloud on AWS is +not supported.

+
+
+class com.vmware.vcenter.compute_client.Policies(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Policies class provides methods to manage compute policies in +VMware Cloud on AWS. Usage beyond VMware Cloud on AWS is not supported. A +compute policy defines the intended behavior for a collection of vSphere +objects identified by a tag. A compute policy is an instance of a +capability. It is created by providing a value for the creation type +specified by the capability. See +com.vmware.vcenter.compute.policies_client.Capabilities.Info.create_spec_type. +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.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.vcenter.compute.Policy'
+

The resource type for the compute policy. 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 Summary(policy=None, name=None, description=None, capability=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Policies.Summary class contains commonly used information about a +compute policy. 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
+
    +
  • policy (str) – Identifier of the policy. 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.vcenter.compute.Policy. When methods return a value +of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.compute.Policy.

  • +
  • name (str) – Name of the policy. 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 policy. 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.

  • +
  • capability (str) – Identifier of the capability this policy is based on. 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.vcenter.compute.policies.Capability. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.vcenter.compute.policies.Capability.

  • +
+
+
+
+ +
+
+create(spec)
+

Creates a new compute policy in VMware Cloud on AWS. Usage beyond +VMware Cloud on AWS is not supported. 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 (vmware.vapi.struct.VapiStruct) – Specification for the new policy to be created. The new policy will +be an instance of the capability that has the creation type (see +com.vmware.vcenter.compute.policies_client.Capabilities.Info.create_spec_type) +equal to the type of the specified value (see spec). +The parameter must contain all the attributes defined in +com.vmware.vcenter.compute.policies_client.CreateSpec.

+
+
Return type
+

str

+
+
Returns
+

The identifier of the newly created policy. Use this identifier to +get or destroy the policy. +The return value will be an identifier for the resource type: +com.vmware.vcenter.compute.Policy.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if a policy with the same name is already present on this vCenter +server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if a parameter passed in the spec is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if more than 100 policies are created.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires ComputePolicy.Manage.

  • +
+
+
+
+ +
+
+delete(policy)
+

Deletes a specific compute policy in VMware Cloud on AWS. Usage beyond +VMware Cloud on AWS is not supported. 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
+

policy (str) – Identifier of the policy to be deleted. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.compute.Policy.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if a policy with this identifier does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires ComputePolicy.Manage.

  • +
+
+
+
+ +
+
+get(policy)
+

Returns information about a specific compute policy in VMware Cloud on +AWS. Usage beyond VMware Cloud on AWS is not supported. 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
+

policy (str) – Identifier of the policy for which information should be retrieved. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.compute.Policy.

+
+
Return type
+

vmware.vapi.struct.VapiStruct

+
+
Returns
+

Detailed information about the specified compute policy. The +returned value can be converted to the information type of the +capability that this policy is based on. See +com.vmware.vcenter.compute.policies_client.Capabilities.Info.info_type. +The return value will contain all the attributes defined in +com.vmware.vcenter.compute.policies_client.Info.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if a policy with this identifier does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
+
+
+
+ +
+
+list()
+

Returns information about the compute policies available in this +vCenter server in VMware Cloud on AWS. Usage beyond VMware Cloud on AWS +is not supported. 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
+

list of Policies.Summary

+
+
Returns
+

The list of compute policies available on this vCenter server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter.compute_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.datastore_client module

+
+
+class com.vmware.vcenter.datastore_client.DefaultPolicy(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The DefaultPolicy class provides methods related to storage policies +associated with datastore object. The DefaultPolicy.get() method +provides information about the default storage policy associated with the +specific datastore. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+get(datastore)
+

Returns the identifier of the current default storage policy associated +with the specified datastore. This method was added in vSphere API 6.7.

+
+
Parameters
+

datastore (str) – Identifier of the datastore for which the default policy is +requested. +The parameter must be an identifier for the resource type: +Datastore.

+
+
Return type
+

str or None

+
+
Returns
+

Identifier of the default storage policy associated with the +specified datastore. +The return value will be an identifier for the resource type: +com.vmware.vcenter.StoragePolicy. +this field is None if there is no default storage policy associated +with the datastore.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the specified datastore does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have the required priveleges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.datastore_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.deployment_client module

+
+
+class com.vmware.vcenter.deployment_client.ApplianceSize(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The ApplianceSize class defines the vCenter Server Appliance sizes. +This enumeration was added in vSphere API 7.0.0.

+
+

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 the ApplianceSize instance.

+
+
+
+
+LARGE = ApplianceSize(string='LARGE')
+

Appliance size of ‘large’. This class attribute was added in vSphere API +7.0.0.

+
+ +
+
+MEDIUM = ApplianceSize(string='MEDIUM')
+

Appliance size of ‘medium’. This class attribute was added in vSphere API +7.0.0.

+
+ +
+
+SMALL = ApplianceSize(string='SMALL')
+

Appliance size of ‘small’. This class attribute was added in vSphere API +7.0.0.

+
+ +
+
+TINY = ApplianceSize(string='TINY')
+

Appliance size of ‘tiny’. This class attribute was added in vSphere API +7.0.0.

+
+ +
+
+XLARGE = ApplianceSize(string='XLARGE')
+

Appliance size of ‘extra large’. This class attribute was added in vSphere +API 7.0.0.

+
+ +
+ +
+
+class com.vmware.vcenter.deployment_client.ApplianceState(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The ApplianceState class defines the various states the vCenter +Appliance can be in. This enumeration was added in vSphere API 6.7.

+
+

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 the ApplianceState instance.

+
+
+
+
+CONFIGURED = ApplianceState(string='CONFIGURED')
+

The appliance has been configured. This class attribute was added in +vSphere API 6.7.

+
+ +
+
+CONFIG_IN_PROGRESS = ApplianceState(string='CONFIG_IN_PROGRESS')
+

The appliance is in the process of being configured. This class attribute +was added in vSphere API 6.7.

+
+ +
+
+FAILED = ApplianceState(string='FAILED')
+

The appliance configuration has failed. This class attribute was added in +vSphere API 6.7.

+
+ +
+
+INITIALIZED = ApplianceState(string='INITIALIZED')
+

The appliance is initialized and ready to be configured. This class +attribute was added in vSphere API 6.7.

+
+ +
+
+NOT_INITIALIZED = ApplianceState(string='NOT_INITIALIZED')
+

The appliance is in the process of being initialized and not ready for +configuration. This class attribute was added in vSphere API 6.7.

+
+ +
+
+QUESTION_RAISED = ApplianceState(string='QUESTION_RAISED')
+

The deployment script has raised a question and is waiting for an answer to +continue with the appliance configuration. This class attribute was added +in vSphere API 6.7.

+
+ +
+ +
+
+class com.vmware.vcenter.deployment_client.ApplianceType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The ApplianceType class defines the vCenter appliance types. This +enumeration was added in vSphere API 6.7.

+
+

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 the ApplianceType instance.

+
+
+
+
+PSC_EXTERNAL = ApplianceType(string='PSC_EXTERNAL')
+

An external Platform Services Controller. This class attribute was added in +vSphere API 6.7.

+
+ +
+
+VCSA_EMBEDDED = ApplianceType(string='VCSA_EMBEDDED')
+

vCenter Server Appliance with an embedded Platform Services Controller. +This class attribute was added in vSphere API 6.7.

+
+ +
+
+VCSA_EXTERNAL = ApplianceType(string='VCSA_EXTERNAL')
+

vCenter Server Appliance with an external Platform Services Controller. +This class attribute was added in vSphere API 6.7.

+
+ +
+ +
+
+class com.vmware.vcenter.deployment_client.CheckInfo(status=None, result=None, source_info=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CheckInfo class describes the result of the appliance deployment +check. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • status (CheckStatus) – Status of the check. This attribute was added in vSphere API 6.7.

  • +
  • result (Notifications or None) – Result of the check. This attribute was added in vSphere API 6.7. +This attribute will be None if result is not available at the +current step of the task.

  • +
  • source_info (SourceInfo or None) – Information collected from the source machine. This attribute was +added in vSphere API 7.0.0. +This attribute is used only for upgrade and migrate.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.deployment_client.CheckStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The CheckStatus class defines the status of the checks. This +enumeration was added in vSphere API 6.7.

+
+

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 the CheckStatus instance.

+
+
+
+
+FAILED = CheckStatus(string='FAILED')
+

A fatal error was encountered when running the sanity checks. This class +attribute was added in vSphere API 6.7.

+
+ +
+
+SUCCESS = CheckStatus(string='SUCCESS')
+

All checks have completed successfully. This class attribute was added in +vSphere API 6.7.

+
+ +
+ +
+
+class com.vmware.vcenter.deployment_client.DataMigrationEstimate(estimated_export_time=None, estimated_import_time=None, required_free_disk_space_on_source=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The DataMigrationEstimate {class contains estimated time and disk space +required for the vCenter Server database migration. This class was added in +vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • estimated_export_time (long) – The time estimated to export data from the source vCenter Server. +This attribute was added in vSphere API 7.0.0.

  • +
  • estimated_import_time (long) – The time estimated to import data to the upgraded vCenter Server. +This attribute was added in vSphere API 7.0.0.

  • +
  • required_free_disk_space_on_source (float) – The extra free space required on source vCenter Server. This +attribute was added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.deployment_client.DataMigrationInfo(core=None, core_events_tasks=None, all=None, core_events_tasks_with_deferred=None, all_with_deferred=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The DataMigrationInfo {class contains the disk space requirements and +time estimates for the different choices available to migrate the vCenter +Server data. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • core (DataMigrationEstimate) – Migrate only core data and configuration from vCenter Server. +Events, tasks, and stats will not be migrated. This attribute was +added in vSphere API 7.0.0.

  • +
  • core_events_tasks (DataMigrationEstimate) – Migrate core, events, and tasks from vCenter Server. Stats will not +be migrated. This attribute was added in vSphere API 7.0.0.

  • +
  • all (DataMigrationEstimate) – Migrate all data from vCenter Server. This attribute was added in +vSphere API 7.0.0.

  • +
  • core_events_tasks_with_deferred (DataMigrationEstimate or None) – Migrate core, events, and tasks from vCenter Server. Events and +tasks will be migrated after the upgrade. Stats will not be +migrated. This attribute was added in vSphere API 7.0.0. +This attribute will be available only if the source database is +using an external database.

  • +
  • all_with_deferred (DataMigrationEstimate or None) – Migrate all data from vCenter Server. Events, tasks, and stats will +be migrated after the upgrade. This attribute was added in vSphere +API 7.0.0. +This attribute will be available only if the source database is +using an external database.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.deployment_client.HistoryMigrationOption(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The HistoryMigrationOption class defines the vCenter history migration +option choices. This enumeration was added in vSphere API 6.7.

+
+

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 the HistoryMigrationOption instance.

+
+
+
+
+ALL = HistoryMigrationOption(string='ALL')
+

All history data will be migrated along with the core data. This class +attribute was added in vSphere API 6.7.

+
+ +
+
+EVENTS_TASKS = HistoryMigrationOption(string='EVENTS_TASKS')
+

Only event data and task data will be migrated along with the core data. +This class attribute was added in vSphere API 6.7.

+
+ +
+ +
+
+class com.vmware.vcenter.deployment_client.HistoryMigrationSpec(data_set=None, defer_import=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The HistoryMigrationSpec class defines how vCenter history data will be +migrated. vCenter History data includes

+
    +
  • Statistics

  • +
  • Events

  • +
  • Tasks

  • +
+

. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • data_set (HistoryMigrationOption) – Defines what part of vCenter historical data will be migrated along +with core data. This attribute was added in vSphere API 6.7.

  • +
  • defer_import (bool or None) – Defines how vCenter history will be migrated. If set to true, +vCenter history will be migrated separately after successful +upgrade or migration, otherwise it will be migrated along with core +data during the upgrade or migration process. This attribute was +added in vSphere API 6.7. +If None, vCenter historical data won’t be deferred and will be +migrated along with core data.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.deployment_client.ImportHistory(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The ImportHistory class provides methods for managing the import of +vCenter historical data, e.g. Tasks, Events and Statistics, when is is +imported separately from the upgrade or migration process. This class was +added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(name=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ImportHistory.CreateSpec class contains information to create and +start vCenter historical data lazy-import. This class was added in vSphere +API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Name of the vCenter history import task. This attribute was added +in vSphere API 6.7.

  • +
  • description (str) – Description of the vCenter history import task. This attribute was +added in vSphere API 6.7.

  • +
+
+
+
+ +
+
+class Info(progress=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.VapiStruct

+

The ImportHistory.Info class contains attributes to describe the state +of vCenter history import task. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • progress (com.vmware.cis.task_client.Progress) – The progress info of this task. This attribute was added in vSphere +API 6.7. +This attribute is optional and it is only relevant when the value +of #status is one of +com.vmware.cis.task_client.Status.RUNNING, +com.vmware.cis.task_client.Status.FAILED, +com.vmware.cis.task_client.Status.BLOCKED, or +com.vmware.cis.task_client.Status.SUCCEEDED.

  • +
  • result (Notifications or None) – Result of the operation. If an operation reports partial results +before it completes, this attribute could be set before +the null has the value +com.vmware.cis.task_client.Status.SUCCEEDED. The value +could change as the operation progresses. This attribute was added +in vSphere API 6.7. +This attribute will be None if result is not available at the +current step of the operation.

  • +
  • 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 (str or None) – 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.DynamicID or None) – 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 (Exception or None) – 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 (see +com.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 +of status is one of +com.vmware.cis.task_client.Status.RUNNING, +com.vmware.cis.task_client.Status.BLOCKED, +com.vmware.cis.task_client.Status.SUCCEEDED, or +com.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 +of status is one of +com.vmware.cis.task_client.Status.SUCCEEDED or +com.vmware.cis.task_client.Status.FAILED.

  • +
  • user (str or None) – Name of the user who performed the operation. +This attribute will be None if the operation is performed by the +system.

  • +
+
+
+
+ +
+
+cancel()
+

Cancels the task for importing vCenter historical data. This method was +added in vSphere API 6.7.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the caller is not authorized to perform the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if vCenter historical data import task cannot be canceled at this +state. This can happen in the following cases:

+
    +
  • If historical data import has not been started yet because a not +running task cannot be canceled

  • +
  • If historical data import has already been completed because a +completed task cannot be canceled

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if vCenter historical data import task is already canceled.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error.

+
+
+
+ +
+
+get()
+

Get the current status of the vCenter historical data import. This +method was added in vSphere API 6.7.

+
+
Return type
+

ImportHistory.Info

+
+
Returns
+

Info structure containing the status information about the +historical data import status.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the caller is not authorized to perform the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+pause()
+

Pauses the task for importing vCenter historical data. This method was +added in vSphere API 6.7.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the caller is not authorized to perform the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if vCenter historical data import task cannot be paused at this +time. Pause can be accepted only in +com.vmware.cis.task_client.Status.RUNNING state.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if vCenter historical data import task is already paused

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+
+resume()
+

Resumes the task for importing vCenter historical data. This method was +added in vSphere API 6.7.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the caller is not authorized to perform the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if vCenter historical data import task cannot be resumed at this +state. Resume can be accepted only in +com.vmware.cis.task_client.Status.BLOCKED state

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if vCenter historical data import task is already resumed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error.

+
+
+
+ +
+
+start(spec=None)
+

Creates and starts task for importing vCenter historical data. This +method was added in vSphere API 6.7.

+
+
Parameters
+

spec (ImportHistory.CreateSpec or None) –

An optional ImportHistory.CreateSpec info that can be passed +for creating a new historical data import task and starts it. +If None, default value will be:

+
    +
  • name : vcenter.deployment.history.import

  • +
  • description : vCenter Server history import

  • +
+

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the caller is not authorized to perform the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if vCenter historical data import task cannot be started at this +time. This can happen in the following cases:

+
    +
  • If historical data import has already been canceled because a +canceled task cannot be re-started

  • +
  • If historical data import has already been completed because a +completed task cannot be re-started

  • +
  • If historical data import has already been paused because a +paused task can only be resumed or canceled

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if vCenter historical data import task has already being started.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +Generic error

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.deployment_client.Install(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Install class provides methods to configure the installation of the +appliance. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class InstallSpec(vcsa_embedded=None, auto_answer=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Install.InstallSpec class contains information used to configure +the appliance installation. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • vcsa_embedded (Install.VcsaEmbeddedSpec) – Spec used to configure an embedded vCenter Server. This field +describes how the embedded vCenter Server appliance should be +configured. This attribute was added in vSphere API 6.7.

  • +
  • auto_answer (bool or None) – Use the default option for any questions that may come up during +appliance configuration. This attribute was added in vSphere API +6.7. +If None, will default to false.

  • +
+
+
+
+ +
+
+class VcsaEmbeddedSpec(standalone=None, replicated=None, ceip_enabled=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Install.VcsaEmbeddedSpec class contains information used to +configure an embedded standalone or replicated vCenter Server. This class +was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • standalone (StandaloneSpec or None) – Spec used to configure a standalone embedded vCenter Server. This +field describes how the standalone vCenter Server appliance should +be configured. This attribute was added in vSphere API 6.7. +If None, will default to None.

  • +
  • replicated (ReplicatedSpec or None) – Spec used to configure a replicated embedded vCenter Server. This +field describes how the replicated vCenter Server appliance should +be configured. This attribute was added in vSphere API 6.7. +If None, will default to None.

  • +
  • ceip_enabled (bool) – Whether CEIP should be enabled or disabled. This attribute was +added in vSphere API 6.7.

  • +
+
+
+
+ +
+
+cancel()
+

Cancel the appliance installation that is in progress. This method was +added in vSphere API 6.7.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the appliance is not in CONFIG_IN_PROGRESS state and if the +operation is not INSTALL.

+
+
+
+ +
+
+check(spec)
+

Run sanity checks using the InstallSpec parameters passed. This method +was added in vSphere API 6.7.

+
+
Parameters
+

spec (Install.InstallSpec) – InstallSpec parameters to run sanity check with.

+
+
Return type
+

CheckInfo

+
+
Returns
+

CheckInfo containing the check results.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if external PSC credentials are not valid when configuring PSC to +replicate with an external existing PSC.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if external PSC credentials are not valid when configuring a +VCSA_EXTERNAL appliance.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if passed arguments are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the appliance is not in INITIALIZED state.

+
+
+
+ +
+
+get()
+

Get the parameters used to configure the ongoing appliance +installation. This method was added in vSphere API 6.7.

+
+
Return type
+

Install.InstallSpec

+
+
Returns
+

InstallSpec parameters being used to configure appliance install.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if appliance is not in INSTALL_PROGRESS state.

+
+
+
+ +
+
+start(spec)
+

Start the appliance installation. This method was added in vSphere API +6.7.

+
+
Parameters
+

spec (Install.InstallSpec) – InstallSpec parameters to configure the appliance install.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the partner PSC credentials are not valid when configuring PSC +to replicate with partner PSC.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if external PSC credentials are not valid when configuring a +VCSA_EXTERNAL appliance.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if passed arguments are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the appliance is not in INITIALIZED state.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.deployment_client.LocationSpec(hostname=None, https_port=None, ssl_thumbprint=None, ssl_verify=None, username=None, password=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LocationSpec class is used to pass the container ESXi or vCenter +server of the VM to patch the size of this appliance. This class was added +in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • hostname (str) – The IP address or DNS resolvable name of the container. This +attribute was added in vSphere API 6.7.

  • +
  • https_port (long or None) – The HTTPS port of the container. This attribute was added in +vSphere API 6.7. +If None, port 443 will be used.

  • +
  • ssl_thumbprint (str or None) – SHA1 thumbprint of the server SSL certificate will be used for +verification. This attribute was added in vSphere API 6.7. +This attribute is only relevant if sslVerify is None or has the +value true.

  • +
  • ssl_verify (bool or None) – SSL verification should be enabled or disabled. If sslVerify is +true and and sslThumbprint is None, the CA certificate will be +used for verification. If sslVerify is true and +sslThumbprint is set then the thumbprint will be used for +verification. No verification will be performed if sslVerify +value is set to false. This attribute was added in vSphere API 6.7. +If None, ssl_verify true will be used.

  • +
  • username (str) – The administrator account on the host. This attribute was added in +vSphere API 6.7.

  • +
  • password (str) – The administrator account password. This attribute was added in +vSphere API 6.7.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.deployment_client.Migrate(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Migrate class provides methods to configure the migration of this +appliance from an existing vCenter for Windows. This class was added in +vSphere API 7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class MigrateSpec(source_vc_windows=None, existing_migration_assistant=None, history=None, vcsa_embedded=None, psc=None, active_directory=None, auto_answer=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Migrate.MigrateSpec class contains the fields to migrate an +existing vCenter Server for Windows to an appliance. This class was added +in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • source_vc_windows (Migrate.SourceVcWindows) – Information specific to the Windows vCenter Server. This attribute +was added in vSphere API 7.0.0.

  • +
  • existing_migration_assistant (Migrate.MigrationAssistantSpec) – Information specific to the Migration Assistant that is running on +the Windows vCenter Server. This attribute was added in vSphere API +7.0.0.

  • +
  • history (HistoryMigrationSpec or None) –

    Determines how vCenter history will be migrated during the +migration process. vCenter history consists of:

    +
      +
    • Statistics

    • +
    • Events

    • +
    • Tasks

    • +
    +

    By default only core data will be migrated. Use this spec to define +which part of vCenter history data will be migrated and when. This +attribute was added in vSphere API 7.0.0. +If None, only core database content will be migrated.

    +

  • +
  • vcsa_embedded (Migrate.VcsaEmbeddedSpec or None) – Information specific to an embedded vCenter Server. This attribute +was added in vSphere API 7.0.0. +Only required if the vCenter Server that is going to be migrated is +an embedded vCenter Server.

  • +
  • psc (Migrate.PscSpec or None) – Information specific to a Platform Services Controller. This +attribute was added in vSphere API 7.0.0. +Only required if the vCenter Server that is going to be migrated is +a Platform Services Controller.

  • +
  • active_directory (com.vmware.vcenter.deployment.migrate_client.ActiveDirectorySpec or None) – Information specific to the Active Directory server to which the +source windows vCenter Server is joined. This attribute was added +in vSphere API 7.0.0. +If None, existing appliance will not be joined to an Active +Directory.

  • +
  • auto_answer (bool or None) – Use the default option for any questions that may come up during +appliance configuration. This attribute was added in vSphere API +7.0.0. +If None, will default to false.

  • +
+
+
+
+ +
+
+class MigrationAssistantSpec(https_port=None, ssl_thumbprint=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Migrate.MigrationAssistantSpec class contains the information +needed to connect to the Migration Assistant that is running on the source +windows vCenter Server machine. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • https_port (long or None) – The HTTPS port being used by Migration Assistant. This attribute +was added in vSphere API 7.0.0. +If None, port 9123 will be used.

  • +
  • ssl_thumbprint (str) – SHA1 thumbprint of the Migration Assistant SSL certificate that +will be used for verification. This attribute was added in vSphere +API 7.0.0.

  • +
+
+
+
+ +
+
+class PscSpec(ceip_enabled=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Migrate.PscSpec class contains information used to migrate a +windows Platform Service Controller to Platform Service Controller +appliance. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

ceip_enabled (bool) – Customer experience improvement program should be enabled or +disabled for this Platform Services Controller migration. This +attribute was added in vSphere API 7.0.0.

+
+
+
+ +
+
+class SourceVcWindows(hostname=None, username=None, password=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Migrate.SourceVcWindows class contains information about the +windows vCenter Server that is going to be migrated. This class was added +in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • hostname (str) – The IP address or DNS resolvable name of the source Windows +machine. This attribute was added in vSphere API 7.0.0.

  • +
  • username (str) – The SSO account with administrative privilege to perform the +migration operation. This attribute was added in vSphere API 7.0.0.

  • +
  • password (str) – The SSO administrator account password. This attribute was added in +vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class VcsaEmbeddedSpec(ceip_enabled=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Migrate.VcsaEmbeddedSpec class contains information used to migrate +an embedded vCenter Server for Windows to embedded vCenter Server +appliance. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

ceip_enabled (bool) – Customer experience improvement program should be enabled or +disabled for this embedded vCenter Server migration. This attribute +was added in vSphere API 7.0.0.

+
+
+
+ +
+
+cancel()
+

Cancel the appliance migration that is in progress. This method was +added in vSphere API 7.0.0.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the appliance is not in CONFIG_IN_PROGRESS state and if the +operation is not INSTALL.

+
+
+
+ +
+
+check(spec)
+

Run sanity checks using the MigrateSpec parameters passed. This method +was added in vSphere API 7.0.0.

+
+
Parameters
+

spec (Migrate.MigrateSpec) – MigrateSpec parameters to run sanity check on.

+
+
Return type
+

CheckInfo

+
+
Returns
+

CheckInfo containing the check results.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if migration assistant credentials are not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if passed arguments are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the appliance is not in INITIALIZED state.

+
+
+
+ +
+
+get()
+

Get the MigrateSpec parameters used to configure the ongoing appliance +migration. This method was added in vSphere API 7.0.0.

+
+
Return type
+

Migrate.MigrateSpec

+
+
Returns
+

MigrateSpec parameters being used to configure appliance migration.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if appliance is not in MIGRATE_PROGRESS state.

+
+
+
+ +
+
+start(spec)
+

Start the appliance migration. This method was added in vSphere API +7.0.0.

+
+
Parameters
+

spec (Migrate.MigrateSpec) – MigrateSpec parameters to configure the appliance migration.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if migration assistant credentials are not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if passed arguments are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the appliance is not in INITIALIZED state.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.deployment_client.Notification(id=None, time=None, message=None, resolution=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Notification class contains attributes to describe any +info/warning/error messages that Tasks can raise. This class was added in +vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) – The notification id. This attribute was added in vSphere API 6.7.

  • +
  • time (datetime.datetime or None) – The time the notification was raised/found. This attribute was +added in vSphere API 6.7. +Only set if the time information is available.

  • +
  • message (com.vmware.vapi.std_client.LocalizableMessage) – The notification message. This attribute was added in vSphere API +6.7.

  • +
  • resolution (com.vmware.vapi.std_client.LocalizableMessage or None) – The resolution message, if any. This attribute was added in vSphere +API 6.7. +Only set for warnings and errors.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.deployment_client.Notifications(info=None, warnings=None, errors=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Notifications class contains info/warning/error messages that can +be reported be the task. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • info (list of Notification or None) – Info notification messages reported. This attribute was added in +vSphere API 6.7. +Only set if an info was reported by the task.

  • +
  • warnings (list of Notification or None) – Warning notification messages reported. This attribute was added in +vSphere API 6.7. +Only set if an warning was reported by the task.

  • +
  • errors (list of Notification or None) – Error notification messages reported. This attribute was added in +vSphere API 6.7. +Only set if an error was reported by the task.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.deployment_client.Operation(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Operation class defines the supported vCenter appliance deployment +operations. This enumeration was added in vSphere API 6.7.

+
+

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 the Operation instance.

+
+
+
+
+INSTALL = Operation(string='INSTALL')
+

The appliance installation is in progress. This class attribute was added +in vSphere API 6.7.

+
+ +
+
+MIGRATE = Operation(string='MIGRATE')
+

The appliance migration is in progress. This class attribute was added in +vSphere API 6.7.

+
+ +
+
+RESTORE = Operation(string='RESTORE')
+

The appliance restoration is in progress. This class attribute was added in +vSphere API 6.7.

+
+ +
+
+ROLLBACK = Operation(string='ROLLBACK')
+

The appliance is being rolled back to an unconfigured state. This class +attribute was added in vSphere API 6.7.

+
+ +
+
+UPGRADE = Operation(string='UPGRADE')
+

The appliance upgrade is in progress. This class attribute was added in +vSphere API 6.7.

+
+ +
+ +
+
+class com.vmware.vcenter.deployment_client.Question(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Question class provides methods to get the question raised during +deployment and to answer them. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class AnswerSpec(question_id=None, answer_val=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Question.AnswerSpec class contains attributes to describe the +answer to a raised question. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • question_id (str) – Id of the question being answered. This attribute was added in +vSphere API 6.7.

  • +
  • answer_val (str) – The answer value. This attribute was added in vSphere API 6.7.

  • +
+
+
+
+ +
+
+class Info(questions=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Question.Info class contains attributes to describe questions +raised during the deployment process. This class was added in vSphere API +6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

questions (list of Question.Question) – One or more questions raised during the deployment. This attribute +was added in vSphere API 6.7.

+
+
+
+ +
+
+class Question(id=None, question=None, type=None, default_answer=None, possible_answers=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Question.Question class contains attributes to describe a +deployment question. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) – Id of the question raised. This attribute was added in vSphere API +6.7.

  • +
  • question (com.vmware.vapi.std_client.LocalizableMessage) – Message describing the question. This attribute was added in +vSphere API 6.7.

  • +
  • type (Question.QuestionType) – Type of the question raised. This attribute was added in vSphere +API 6.7.

  • +
  • default_answer (str) – Default answer value. This attribute was added in vSphere API 6.7.

  • +
  • possible_answers (list of str) – Possible answers values. This attribute was added in vSphere API +6.7.

  • +
+
+
+
+ +
+
+class QuestionType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Question.QuestionType class defines the type of the question +raised. This enumeration was added in vSphere API 6.7.

+
+

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 the QuestionType instance.

+
+
+
+
+ABORT_RETRY_IGNORE = QuestionType(string='ABORT_RETRY_IGNORE')
+

Question with answer values Abort/Retry/Ignore. This class attribute was +added in vSphere API 6.7.

+
+ +
+
+OK_CANCEL = QuestionType(string='OK_CANCEL')
+

Question with answer values Ok/Cancel. This class attribute was added in +vSphere API 6.7.

+
+ +
+
+YES_NO = QuestionType(string='YES_NO')
+

Question with answer values Yes/No. This class attribute was added in +vSphere API 6.7.

+
+ +
+ +
+
+answer(spec)
+

Supply answer to the raised question. This method was added in vSphere +API 6.7.

+
+
Parameters
+

spec (Question.AnswerSpec) – AnswerSpec with the answer to the raised question.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if passed arguments are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the appliance is NOT in QUESTION_RAISED state.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InternalServerError +if answer file could not be created.

+
+
+
+ +
+
+get()
+

Get the question that was raised during the configuration. This method +was added in vSphere API 6.7.

+
+
Return type
+

Question.Info

+
+
Returns
+

Info structure containing the question.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the appliance is not in QUESTION_RAISED state.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InternalServerError +if questions could not be retrieved although the appliance is in +QUESTION_RAISED state.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.deployment_client.RemotePscSpec(psc_hostname=None, https_port=None, sso_admin_password=None, ssl_thumbprint=None, ssl_verify=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The RemotePscSpec class contains information used to configure an +external vCenter Server that registers with a remote PSC. This class was +added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • psc_hostname (str) – The IP address or DNS resolvable name of the remote PSC to which +this configuring vCenter Server will be registered to. This +attribute was added in vSphere API 6.7.

  • +
  • https_port (long or None) – The HTTPS port of the external PSC appliance. This attribute was +added in vSphere API 6.7. +If None, port 443 will be used.

  • +
  • sso_admin_password (str) – The SSO administrator account password. This attribute was added in +vSphere API 6.7.

  • +
  • ssl_thumbprint (str or None) – SHA1 thumbprint of the server SSL certificate will be used for +verification when ssl_verify field is set to true. This attribute +was added in vSphere API 6.7. +This attribute is only relevant if sslVerify is None or has the +value true.

  • +
  • ssl_verify (bool or None) – SSL verification should be enabled or disabled. If sslVerify is +true and and sslThumbprint is None, the CA certificate will be +used for verification. If sslVerify is true and +sslThumbprint is set then the thumbprint will be used for +verification. No verification will be performed if sslVerify +value is set to false. This attribute was added in vSphere API 6.7. +If None, sslVerify true will be used.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.deployment_client.ReplicatedPscSpec(sso_site_name=None, partner_hostname=None, https_port=None, sso_admin_password=None, ssl_thumbprint=None, ssl_verify=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ReplicatedPscSpec class contains information used to check if the +configuring PSC can be replicated to the remote PSC. This class was added +in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • sso_site_name (str or None) – The SSO sitename that will be used in PSC replication. This +attribute was added in vSphere API 6.7. +If None, default-first-site will be used.

  • +
  • partner_hostname (str) – The IP address or DNS resolvable name of the partner PSC appliance. +This attribute was added in vSphere API 6.7.

  • +
  • https_port (long or None) – The HTTPS port of the external PSC appliance. This attribute was +added in vSphere API 6.7. +If None, port 443 will be used.

  • +
  • sso_admin_password (str) – The SSO administrator account password. This attribute was added in +vSphere API 6.7.

  • +
  • ssl_thumbprint (str or None) – SHA1 thumbprint of the server SSL certificate will be used for +verification. This attribute was added in vSphere API 6.7. +This attribute is only relevant if sslVerify is None or has the +value true.

  • +
  • ssl_verify (bool or None) – SSL verification should be enabled or disabled. This attribute was +added in vSphere API 6.7. +If None, ssl_verify true will be used.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.deployment_client.ReplicatedSpec(partner_hostname=None, https_port=None, sso_admin_password=None, ssl_thumbprint=None, ssl_verify=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ReplicatedSpec class contains information used to check if the +configuring vCenter Server can be replicated to the remote PSC. This class +was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • partner_hostname (str) – The IP address or DNS resolvable name of the partner PSC appliance. +This attribute was added in vSphere API 6.7.

  • +
  • https_port (long or None) – The HTTPS port of the external PSC appliance. This attribute was +added in vSphere API 6.7. +If None, port 443 will be used.

  • +
  • sso_admin_password (str) – The SSO administrator account password. This attribute was added in +vSphere API 6.7.

  • +
  • ssl_thumbprint (str or None) – SHA1 thumbprint of the server SSL certificate will be used for +verification. This attribute was added in vSphere API 6.7. +This attribute is only relevant if sslVerify is None or has the +value true.

  • +
  • ssl_verify (bool or None) – SSL verification should be enabled or disabled. This attribute was +added in vSphere API 6.7. +If None, ssl_verify true will be used.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.deployment_client.SourceInfo(hostname=None, version=None, deployment_type=None, deployment_size=None, sso_domain_name=None, active_directory_domain=None, dns_servers=None, data_migration_info=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The SourceInfo {class contains the information about the source vCenter +Server and the database migration options. This class was added in vSphere +API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • hostname (str) – The IP address or DNS resolvable name of the source vCenter Server. +This attribute was added in vSphere API 7.0.0.

  • +
  • version (str) – Source vCenter Server version. This attribute was added in vSphere +API 7.0.0.

  • +
  • deployment_type (ApplianceType) – Deployment type of the source vCenter Server. This attribute was +added in vSphere API 7.0.0.

  • +
  • deployment_size (ApplianceSize) – Deployment size of the source vCenter Server. This attribute was +added in vSphere API 7.0.0.

  • +
  • sso_domain_name (str) – The SSO domain name of the source vCenter Server. This attribute +was added in vSphere API 7.0.0.

  • +
  • active_directory_domain (str) – The domain name of the Active Directory server to which the source +vCenter Server is joined. This attribute was added in vSphere API +7.0.0.

  • +
  • dns_servers (list of str) – IP addresses of the DNS servers of the Active Directory server. +This attribute was added in vSphere API 7.0.0.

  • +
  • data_migration_info (DataMigrationInfo or None) – Contains all the available migrate options, estimated export and +import time and the space required to migrate the data. This +attribute was added in vSphere API 7.0.0. +This attribute will be available if estimate data is available for +the appliance.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.deployment_client.StandalonePscSpec(sso_site_name=None, sso_admin_password=None, sso_domain_name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The StandalonePscSpec class contains information used to configure a +standalone PSC appliance. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • sso_site_name (str or None) – The SSO site name used for this PSC. This attribute was added in +vSphere API 6.7. +If None, default-first-site will be used.

  • +
  • sso_admin_password (str) – The SSO administrator account password. This attribute was added in +vSphere API 6.7.

  • +
  • sso_domain_name (str or None) – The SSO domain name to be used to configure this appliance. This +attribute was added in vSphere API 6.7. +If None, vsphere.local will be used.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.deployment_client.StandaloneSpec(sso_admin_password=None, sso_domain_name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The StandaloneSpec class contains information used to configure a +standalone embedded vCenter Server appliance. This class was added in +vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • sso_admin_password (str) – The SSO administrator account password. This attribute was added in +vSphere API 6.7.

  • +
  • sso_domain_name (str or None) – The SSO domain name to be used to configure this appliance. This +attribute was added in vSphere API 6.7. +If None, vsphere.local will be used.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.deployment_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.vcenter.deployment_client.Upgrade(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Upgrade class provides methods to configure the upgrade of this +appliance from an existing vCenter appliance. This class was added in +vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class PscSpec(ceip_enabled=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Upgrade.PscSpec class contains information used to upgrade a +Platform Service Controller appliance. This class was added in vSphere API +6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

ceip_enabled (bool) – Customer experience improvement program should be enabled or +disabled for this Platform Services Controller upgrade. This +attribute was added in vSphere API 6.7.

+
+
+
+ +
+
+class SourceApplianceSpec(hostname=None, https_port=None, ssl_thumbprint=None, ssl_verify=None, sso_admin_username=None, sso_admin_password=None, root_password=None, ssh_verify=None, ssh_thumbprint=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Upgrade.SourceApplianceSpec class contains information used to +connect to the appliance used as the source for an upgrade. This class was +added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • hostname (str) – The IP address or DNS resolvable name of the source appliance. This +attribute was added in vSphere API 6.7.

  • +
  • https_port (long or None) – The HTTPS port of the source appliance. This attribute was added in +vSphere API 6.7. +If None, port 443 will be used.

  • +
  • ssl_thumbprint (str or None) – SHA1 thumbprint of the server SSL certificate will be used for +verification. This attribute was added in vSphere API 6.7. +This attribute is only relevant if sslVerify is None or has the +value true.

  • +
  • ssl_verify (bool or None) – SSL verification should be enabled or disabled for the source +appliance validations. By default it is enabled and will use SSL +certificate for verification. If thumbprint is provided, will use +thumbprint for the verification. This attribute was added in +vSphere API 6.7. +If None, ssl_verify true will be used.

  • +
  • sso_admin_username (str) – The SSO administrator account on the source appliance. This +attribute was added in vSphere API 6.7.

  • +
  • sso_admin_password (str) – The SSO administrator account password. This attribute was added in +vSphere API 6.7.

  • +
  • root_password (str) – The password of the root user on the source appliance. This +attribute was added in vSphere API 6.7.

  • +
  • ssh_verify (bool or None) – Appliance SSH verification should be enabled or disabled. By +default it is disabled and will not use any verification. If +thumbprint is provided, thumbprint verification will be performed. +This attribute was added in vSphere API 6.7. +If None, ssh_verify true will be used.

  • +
  • ssh_thumbprint (str or None) – MD5 thumbprint of the server SSH key will be used for verification. +This attribute was added in vSphere API 6.7. +This attribute is only relevant if sshVerify is None or has the +value true.

  • +
+
+
+
+ +
+
+class UpgradeSpec(source_appliance=None, source_location=None, history=None, vcsa_embedded=None, psc=None, auto_answer=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Upgrade.UpgradeSpec class contains information used to configure +the appliance upgrade. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • source_appliance (Upgrade.SourceApplianceSpec) – Source appliance spec. This attribute was added in vSphere API 6.7.

  • +
  • source_location (LocationSpec) – Source location spec. This attribute was added in vSphere API 6.7.

  • +
  • history (HistoryMigrationSpec or None) –

    Determines how vCenter history will be migrated during the upgrade +process. vCenter history consists of:

    +
      +
    • Statistics

    • +
    • Events

    • +
    • Tasks

    • +
    +

    By default only core data will be migrated. Use this spec to define +which part of vCenter history data will be migrated and when. This +attribute was added in vSphere API 6.7. +If None, only core database content will be migrated.

    +

  • +
  • vcsa_embedded (Upgrade.VcsaEmbeddedSpec or None) – Information that are specific to this embedded vCenter Server. This +attribute was added in vSphere API 6.7. +If None, ceip_enabled for embedded vcenter server upgrade will +default to enabled.

  • +
  • psc (Upgrade.PscSpec or None) – Information that are specific to this Platform Services Controller. +This attribute was added in vSphere API 6.7. +If None, ceip_enabled for psc upgrade will default to enabled.

  • +
  • auto_answer (bool or None) – Use the default option for any questions that may come up during +appliance configuration. This attribute was added in vSphere API +6.7. +If None, will default to false.

  • +
+
+
+
+ +
+
+class VcsaEmbeddedSpec(ceip_enabled=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Upgrade.VcsaEmbeddedSpec class contains information used to upgrade +a Embedded vCenter Server appliance. This class was added in vSphere API +6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

ceip_enabled (bool) – Customer experience improvement program should be enabled or +disabled for this embedded vCenter Server upgrade. This attribute +was added in vSphere API 6.7.

+
+
+
+ +
+
+cancel()
+

Cancel the appliance upgrade that is in progress. This method was added +in vSphere API 6.7.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the appliance is not in CONFIG_IN_PROGRESS state and if the +operation is not INSTALL.

+
+
+
+ +
+
+check(spec)
+

Run sanity checks using the UpgradeSpec parameters passed. This method +was added in vSphere API 6.7.

+
+
Parameters
+

spec (Upgrade.UpgradeSpec) – UpgradeSpec parameters to run sanity check on.

+
+
Return type
+

CheckInfo

+
+
Returns
+

CheckInfo containing the check results.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if source credentials are not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if source container credentials are not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if passed arguments are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the appliance is not in INITIALIZED state.

+
+
+
+ +
+
+get()
+

Get the UpgradeSpec parameters used to configure the ongoing appliance +upgrade. This method was added in vSphere API 6.7.

+
+
Return type
+

Upgrade.UpgradeSpec

+
+
Returns
+

UpgradeSpec parameters being used to configure appliance upgrade.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if appliance is not in UPGRADE_PROGRESS state.

+
+
+
+ +
+
+start(spec)
+

Start the appliance installation. This method was added in vSphere API +6.7.

+
+
Parameters
+

spec (Upgrade.UpgradeSpec) – UpgradeSpec parameters to configure the appliance upgrade.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if source credentials are not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if source container credentials are not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if passed arguments are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the appliance is not in INITIALIZED state.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.deployment_client.VerificationMode(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The VerificationMode class defines the verification modes for SSL +certificates or SSH connections. This enumeration was added in vSphere API +6.7.

+
+

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 the VerificationMode instance.

+
+
+
+
+NONE = VerificationMode(string='NONE')
+

No verification will be performed. This class attribute was added in +vSphere API 6.7.

+
+ +
+
+THUMBPRINT = VerificationMode(string='THUMBPRINT')
+

Passed thumbprint will be used for verification. This class attribute was +added in vSphere API 6.7.

+
+ +
+ +
+
+

com.vmware.vcenter.guest_client module

+

The com.vmware.vcenter.guest_client module provides classes for managing +guest customization specifications in the vCenter Server.

+
+
+class com.vmware.vcenter.guest_client.AdapterMapping(mac_address=None, adapter=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The AdapterMapping class specifies the association between a virtual +network adapter and its IP settings. This class was added in vSphere API +7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • mac_address (str or None) – The MAC address of a network adapter being customized. This +attribute was added in vSphere API 7.0.0. +If None, the customization process maps the the settings from the +list of AdapterMappings.IPSettings in the +CustomizationSpec.interfaces to the virtual machine’s +network adapters, in PCI slot order. The first virtual network +adapter on the PCI bus is assigned interfaces[0].IPSettings, the +second adapter is assigned interfaces[1].IPSettings, and so on.

  • +
  • adapter (IPSettings) – The IP settings for the associated virtual network adapter. This +attribute was added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.guest_client.ConfigurationSpec(windows_config=None, linux_config=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ConfigurationSpec class specifies the settings for customizing a +guest operating system. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • windows_config (WindowsConfiguration or None) – Guest customization specification for a Windows guest operating +system. This attribute was added in vSphere API 7.0.0. +If None, ConfigurationSpec.linux_config must be set. +Otherwise, an appropriate fault will be thrown.

  • +
  • linux_config (LinuxConfiguration or None) – Guest customization specification for a linux guest operating +system. This attribute was added in vSphere API 7.0.0. +If None, ConfigurationSpec.windows_config must be set. +Otherwise, an appropriate fault will be thrown.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.guest_client.CustomizationSpec(configuration_spec=None, global_dns_settings=None, interfaces=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CustomizationSpec class contains information required to customize +a virtual machine when deploying it or migrating it to a new host. This +class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • configuration_spec (ConfigurationSpec) – Settings to be applied to the guest during the customization. This +attribute was added in vSphere API 7.0.0.

  • +
  • global_dns_settings (GlobalDNSSettings) – Global DNS settings constitute the DNS settings that are not +specific to a particular virtual network adapter. This attribute +was added in vSphere API 7.0.0.

  • +
  • interfaces (list of AdapterMapping) – IP settings that are specific to a particular virtual network +adapter. The AdapterMapping class maps a network adapter’s +MAC address to its IPSettings. May be empty if there are +no network adapters, else should match number of network adapters +configured for the VM. This attribute was added in vSphere API +7.0.0.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.guest_client.CustomizationSpecs(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The CustomizationSpecs class provides methods to manage guest +customization specifications in the vCenter Server. This class was added in +vSphere API 6.7.1.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(spec=None, description=None, name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CustomizationSpecs.CreateSpec class contains specification +information and specification object that can be passed to the +CustomizationSpecs.create() method. This class was added in vSphere +API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • spec (CustomizationSpec) – The specification object. This attribute was added in vSphere API +7.0.0.

  • +
  • description (str) – Description of the specification. This attribute was added in +vSphere API 7.0.0.

  • +
  • name (str) – Name of the specification. This attribute was added in vSphere API +7.0.0.

  • +
+
+
+
+ +
+
+class FilterSpec(names=None, os_type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CustomizationSpecs.FilterSpec class contains attributes used to +filter the results when listing guest customization specifications (see +CustomizationSpecs.list()). If multiple attributes are specified, +only guest customization specifications matching all of the attributes +match the filter. This class was added in vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • names (set of str or None) – Names that guest customization specifications must have to match +the filter (see CustomizationSpecs.Summary.name). This +attribute was added in vSphere API 6.7.1. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.vcenter.guest.CustomizationSpec. When methods return +a value of this class as a return value, the attribute will contain +identifiers for the resource type: +com.vmware.vcenter.guest.CustomizationSpec. +If None or empty, guest customization specifications with any name +match the filter.

  • +
  • os_type (CustomizationSpecs.OsType or None) – Guest operating system type that guest customization specifications +must have to match the filter (see +CustomizationSpecs.Summary.os_type). This attribute was +added in vSphere API 6.7.1. +If None, guest customization specifications with any guest +operating system type match the filter.

  • +
+
+
+
+ +
+
+class Format(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The CustomizationSpecs.Format class specifies the formats the +customization specification can be exported to. This enumeration was added +in vSphere API 7.0.0.

+
+

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 the Format instance.

+
+
+
+
+JSON = Format(string='JSON')
+

JSON format. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+XML = Format(string='XML')
+

XML format. This class attribute was added in vSphere API 7.0.0.

+
+ +
+ +
+
+class Info(last_modified=None, spec=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CustomizationSpecs.Info class describes a guest customization +specification and the timestamp when it was last modified. This is returned +by the CustomizationSpecs.get() method. This class was added in +vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • last_modified (datetime.datetime) – Time when the specification was last modified. This attribute was +added in vSphere API 7.0.0.

  • +
  • spec (CustomizationSpecs.Spec) – The Spec object including specification and metadata information. +This attribute was added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class Metadata(description=None, name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CustomizationSpecs.Metadata class contains metadata i.e. name and +description related to a customization specification. This class was added +in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • description (str) – Description of the specification. This attribute was added in +vSphere API 7.0.0.

  • +
  • name (str) – Name of the specification. This attribute was added in vSphere API +7.0.0.

  • +
+
+
+
+ +
+
+class OsType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The CustomizationSpecs.OsType class defines the types of guest +operating systems for which guest customization is supported. This +enumeration was added in vSphere API 6.7.1.

+
+

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 the OsType instance.

+
+
+
+
+LINUX = OsType(string='LINUX')
+

A customization specification for a Linux guest operating system. This +class attribute was added in vSphere API 6.7.1.

+
+ +
+
+WINDOWS = OsType(string='WINDOWS')
+

A customization specification for a Windows guest operating system. This +class attribute was added in vSphere API 6.7.1.

+
+ +
+ +
+
+RESOURCE_TYPE = 'com.vmware.vcenter.guest.CustomizationSpec'
+

The resource type for a vCenter guest customization specification. This class +attribute was added in vSphere API 6.7.1.

+
+ +
+
+class Spec(fingerprint=None, spec=None, description=None, name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CustomizationSpecs.Spec class contains the specification +information and specification object. This is passed to the +CustomizationSpecs.set() method. This class was added in vSphere API +7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • fingerprint (str) – The fingerprint is a unique identifier for a given version of the +configuration. Each change to the configuration will update this +value. A client cannot change this value. If specified when +updating a specification, the changes will only be applied if the +current fingerprint matches the specified fingerprint. This field +can be used to guard against updates that has happened between the +specification content was read and until it is applied. This +attribute was added in vSphere API 7.0.0.

  • +
  • spec (CustomizationSpec) – The specification object. This attribute was added in vSphere API +7.0.0.

  • +
  • description (str) – Description of the specification. This attribute was added in +vSphere API 7.0.0.

  • +
  • name (str) – Name of the specification. This attribute was added in vSphere API +7.0.0.

  • +
+
+
+
+ +
+
+class Summary(name=None, description=None, os_type=None, last_modified=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CustomizationSpecs.Summary class contains commonly used information +about a guest customization specification. This class was added in vSphere +API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Name of the guest customization specification. This attribute was +added in vSphere API 6.7.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.guest.CustomizationSpec. When methods return +a value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.guest.CustomizationSpec.

  • +
  • description (str) – Description of the guest customization specification. This +attribute was added in vSphere API 6.7.1.

  • +
  • os_type (CustomizationSpecs.OsType) – Guest operating system type for which that this guest customization +specification applies. This attribute was added in vSphere API +6.7.1.

  • +
  • last_modified (datetime.datetime) – Date and tme when this guest customization specification was last +modified. This attribute was added in vSphere API 6.7.1.

  • +
+
+
+
+ +
+
+create(spec)
+

Creates a customization specification. This method was added in vSphere +API 7.0.0.

+
+
Parameters
+

spec (CustomizationSpecs.CreateSpec) – The information i.e. name, description and the settings i.e +hostname, ip address etc for the new customization specification +that needs to be created.

+
+
Return type
+

str

+
+
Returns
+

The name of the customization specification that is created. +The return value will be an identifier for the resource type: +com.vmware.vcenter.guest.CustomizationSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if a customization specification is already present with the same +name.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the specified specification is not a valid one.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+delete(name)
+

Deletes a customization specification with the specified identifier. +This method was added in vSphere API 7.0.0.

+
+
Parameters
+

name (str) – The name of the customization specification that needs to be +deleted. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.guest.CustomizationSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if a customization specification is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+export(name, format)
+

Returns the content of the customization specification in the specified +format. Note that any passwords in the customization specification will +be set to blank values during the export method. This method was added +in vSphere API 7.0.0.

+
+
Parameters
+
    +
  • name (str) – The name of the customization specification that has to be +returned. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.guest.CustomizationSpec.

  • +
  • format (CustomizationSpecs.Format) – The format in which the customization specification has to be +returned.

  • +
+
+
Return type
+

str

+
+
Returns
+

The string representation of the customization specification in the +specified format.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If value of format is not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the customization specification is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+get(name)
+

Returns the guest customization specification from vCenter with the +specified identifier. This method was added in vSphere API 7.0.0.

+
+
Parameters
+

name (str) – The name of the customization specification. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.guest.CustomizationSpec.

+
+
Return type
+

CustomizationSpecs.Info

+
+
Returns
+

A customization spec with the specified identifier.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if a customization specification is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+import_specification(customization_spec)
+

Converts a well formatted string to a +CustomizationSpecs.CreateSpec. The resulting object can be +passed to CustomizationSpecs.create() method. This method was +added in vSphere API 7.0.0.

+
+
Parameters
+

customization_spec (str) – content to be converted to the spec.

+
+
Return type
+

CustomizationSpecs.CreateSpec

+
+
Returns
+

A proper specification of type +CustomizationSpecs.CreateSpec

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the specified content cannot be properly converted into a proper +valid CustomizationSpecs.CreateSpec object.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+list(filter=None)
+

Returns information about at most 1000 visible (subject to permission +checks) guest customization specifications in vCenter matching the +CustomizationSpecs.FilterSpec. This method was added in +vSphere API 6.7.1.

+
+
Parameters
+

filter (CustomizationSpecs.FilterSpec or None) – Specification of matching guest customization specifications for +which information should be returned. +If None, the behavior is equivalent to a +CustomizationSpecs.FilterSpec with all attributes None +which means all guest customization specifications match the +filter.

+
+
Return type
+

list of CustomizationSpecs.Summary

+
+
Returns
+

Commonly used information about the guest customization +specifications matching the CustomizationSpecs.FilterSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the CustomizationSpecs.FilterSpec.os_type attribute +contains a value that is not supported by the server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if more than 1000 guest customization specifications match the +CustomizationSpecs.FilterSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+set(name, spec)
+

Sets an existing specification, possibly after retrieving (by using +CustomizationSpecs.get()) and editing it. This method was added +in vSphere API 7.0.0.

+
+
Parameters
+
    +
  • name (str) – The name of the customization specification that needs to be set. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.guest.CustomizationSpec.

  • +
  • spec (CustomizationSpecs.Spec) – The new specification that will overwrite the existing +specification.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If, based on the item’s fingerprint value, the set process detects +that the specification has changed since its retrieval, then the +method throws InvalidArgument exception to warn the client that he +might overwrite another client’s change.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the settings in spec are not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if a customization specification is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.guest_client.Domain(type=None, workgroup=None, domain=None, domain_username=None, domain_password=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Domain class specifies the information needed to join a workgroup +or domain. This structure maps to the Identification key in the sysprep.xml +answer file. These values are transferred into the sysprep.xml file that +VirtualCenter stores on the target virtual disk. For more information about +performing unattended installation, check +https://technet.microsoft.com/en-us/library/cc771830(v=ws.10).aspx. This +class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Domain.Type) – The type of network to join after the customization. This attribute +was added in vSphere API 7.0.0.

  • +
  • workgroup (str) – The workgroup that the virtual machine should join. This attribute +was added in vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of type is Domain.Type.WORKGROUP.

  • +
  • domain (str) – The domain to which the virtual machine should be joined. This +attribute was added in vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of type is Domain.Type.DOMAIN.

  • +
  • domain_username (str) – The domain user that has permission to join the domain after +virtual machine is joined. This attribute was added in vSphere API +7.0.0. +This attribute is optional and it is only relevant when the value +of type is Domain.Type.DOMAIN.

  • +
  • domain_password (str) – The domain user password that has permission to join the +Domain.domain_username after customization. This attribute +was added in vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of type is Domain.Type.DOMAIN.

  • +
+
+
+
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Domain.Type class defines the types of network the virtual machine +should join to after the customization is completed. This enumeration was +added in vSphere API 7.0.0.

+
+

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 the Type instance.

+
+
+
+
+DOMAIN = Type(string='DOMAIN')
+

The virtual machine should be be joined to a domain. This class attribute +was added in vSphere API 7.0.0.

+
+ +
+
+WORKGROUP = Type(string='WORKGROUP')
+

The virtual machine should be be joined to a workgroup. This class +attribute was added in vSphere API 7.0.0.

+
+ +
+ +
+ +
+
+class com.vmware.vcenter.guest_client.GlobalDNSSettings(dns_suffix_list=None, dns_servers=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The GlobalDNSSettings class specifies a collection of global IP +settings in the guest operating system. In Linux, DNS server settings are +global. The settings can either be statically set or supplied by a DHCP +server. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • dns_suffix_list (list of str or None) – List of name resolution suffixes for the virtual network adapter. +This list applies to both Windows and Linux guest customization. +For Linux, this setting is global, whereas in Windows, this setting +is listed on a per-adapter basis. This attribute was added in +vSphere API 7.0.0. +If None, no DNS suffixes are set.

  • +
  • dns_servers (list of str or None) – List of DNS servers, for a virtual network adapter with a static IP +address. If this list is empty, then the guest operating system is +expected to use a DHCP server to get its DNS server settings. These +settings configure the virtual machine to use the specified DNS +servers. These DNS server settings are listed in the order of +preference. This attribute was added in vSphere API 7.0.0. +If None, no DNS servers are set.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.guest_client.GuiUnattended(auto_logon=None, auto_logon_count=None, password=None, time_zone=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The GuiUnattended class maps to the GuiUnattended key in the +sysprep.xml answer file. These values are plugged directly into the +sysprep.xml file that VirtualCenter stores on the target virtual disk. For +more detailed information about performing unattended installations, check +https://technet.microsoft.com/en-us/library/cc771830(v=ws.10).aspx. This +class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • auto_logon (bool) – Flag to determine whether or not the machine automatically logs on +as Administrator. See the GuiUnattended.password property. +If GuiUnattended.auto_logon flag is set, then +GuiUnattended.password must not be None or the guest +customization will fail. This attribute was added in vSphere API +7.0.0.

  • +
  • auto_logon_count (long) – If the GuiUnattended.auto_logon flag is set, then +this property specifies the number of times the machine should +automatically log on as Administrator. Generally it should be 1, +but if the setup requires a number of reboots, you may want to +increase it. This number may be determined by the list of commands. +This attribute was added in vSphere API 7.0.0.

  • +
  • password (str or None) – The new administrator password for the machine. To specify that the +password should be set to blank (that is, no password), leave it +unset. This attribute was added in vSphere API 7.0.0. +If None, blank password will be used.

  • +
  • time_zone (long) – The time zone index for the virtual machine. Numbers correspond to +time zones at +https://support.microsoft.com/en-us/help/973627/microsoft-time-zone-index-values. +This attribute was added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.guest_client.HostnameGenerator(type=None, fixed_name=None, prefix=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The HostnameGenerator class specifies various mechanisms of generating +the hostname for the guest inside the virtual machine while customization. +This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (HostnameGenerator.Type) – The type of the Name Generator. This attribute was added in vSphere +API 7.0.0.

  • +
  • fixed_name (str) – The virtual machine name specified by the client. This attribute +was added in vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of type is HostnameGenerator.Type.FIXED.

  • +
  • prefix (str) – Base prefix, to which a unique number is appended. This attribute +was added in vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of type is HostnameGenerator.Type.PREFIX.

  • +
+
+
+
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The HostnameGenerator.Type class specifies different types of Name +Generators. This enumeration was added in vSphere API 7.0.0.

+
+

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 the Type instance.

+
+
+
+
+FIXED = Type(string='FIXED')
+

Specifies that a fixed name should be used for the hostname for the virtual +machine during the customization. This class attribute was added in vSphere +API 7.0.0.

+
+ +
+
+PREFIX = Type(string='PREFIX')
+

Specifies that a unique name should be generated by concatenating the base +string with a number including the network name of the guest.

+

Virtual machine names are unique across the set of hosts and virtual +machines known to the VirtualCenter instance. VirtualCenter tracks the +network names of virtual machines as well as hosts. VMware Tools runs in a +guest operating system and reports information to VirtualCenter.. This +class attribute was added in vSphere API 7.0.0.

+
+ +
+
+USER_INPUT_REQUIRED = Type(string='USER_INPUT_REQUIRED')
+

Indicates that the host name is not specified in advance. The user must +provide a valid value when the actual customization spec is applied to a +virtual machine. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+VIRTUAL_MACHINE = Type(string='VIRTUAL_MACHINE')
+

Specifies that the VirtualCenter should generate a virtual machine name.

+

The name is generated from a base prefix comprising the virtual machine +entity name. A number is appended, if necessary, to make it unique.

+

Virtual machine names are unique across the set of hosts and virtual +machines known to the VirtualCenter instance. VirtualCenter tracks the +network names of the virtual machines as well as hosts. VMware Tools runs +in a guest operating system and reports information to VirtualCenter, +including the network name of the guest.. This class attribute was added in +vSphere API 7.0.0.

+
+ +
+ +
+ +
+
+class com.vmware.vcenter.guest_client.IPSettings(ipv4=None, ipv6=None, windows=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The IPSettings class specifies the IP settings for a virtual network +adapter. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • ipv4 (Ipv4 or None) – Specification to configure IPv4 address, subnet mask and gateway +info for this virtual network adapter. This attribute was added in +vSphere API 7.0.0. +If None, no IPv4 addresses are set.

  • +
  • ipv6 (Ipv6 or None) – Specification to configure IPv6 address, subnet mask and gateway +info for this virtual network adapter. This attribute was added in +vSphere API 7.0.0. +If None, no IPv6 addresses are set.

  • +
  • windows (WindowsNetworkAdapterSettings or None) – Windows settings to be configured for this specific virtual Network +adapter. This is valid only for Windows guest operating systems. +This attribute was added in vSphere API 7.0.0. +If None, no specific Windows settings are set.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.guest_client.Ipv4(type=None, ip_address=None, prefix=None, gateways=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Ipv4 class specifies the IPv4 settings that need to be applied to a +virtual network adapter. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Ipv4.Type) – The type of the IPv4 configuration. This attribute was added in +vSphere API 7.0.0.

  • +
  • ip_address (str) – The static IPv4 address. This attribute was added in vSphere API +7.0.0. +This attribute is optional and it is only relevant when the value +of type is Ipv4.Type.STATIC.

  • +
  • prefix (long) – The IPv4 CIDR prefix, for example, 24. See +http://www.oav.net/mirrors/cidr.html for netmask-to-prefix +conversion. This attribute was added in vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of type is Ipv4.Type.STATIC.

  • +
  • gateways (list of str or None) – Gateways for the IPv4 address. This attribute was added in vSphere +API 7.0.0. +If None, no gateways are set.

  • +
+
+
+
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Ipv4.Type class specifies different types of the IPv4 +configuration. This enumeration was added in vSphere API 7.0.0.

+
+

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 the Type instance.

+
+
+
+
+DHCP = Type(string='DHCP')
+

DHCP configuration. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+STATIC = Type(string='STATIC')
+

Static configuration. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+USER_INPUT_REQUIRED = Type(string='USER_INPUT_REQUIRED')
+

Indicates that the IPv4 settings are not specified in advance. The user +must provide a valid value when the actual customization spec is applied to +a virtual machine. This class attribute was added in vSphere API 7.0.0.

+
+ +
+ +
+ +
+
+class com.vmware.vcenter.guest_client.Ipv6(type=None, ipv6=None, gateways=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Ipv6 class specifies the IPv6 settings that need to be applied to a +virtual network adapter. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Ipv6.Type) – The IPv6 configuration type. This attribute was added in vSphere +API 7.0.0.

  • +
  • ipv6 (list of Ipv6Address) – IPv6 address. This attribute was added in vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of type is Ipv6.Type.STATIC.

  • +
  • gateways (list of str or None) – gateways for the IPv6 address. This attribute was added in vSphere +API 7.0.0. +If None, no gateways are set.

  • +
+
+
+
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Ipv6.Type class specifies different types of the IPv6 +configuration. This enumeration was added in vSphere API 7.0.0.

+
+

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 the Type instance.

+
+
+
+
+DHCP = Type(string='DHCP')
+

DHCP IPv6 configuration. This class attribute was added in vSphere API +7.0.0.

+
+ +
+
+STATIC = Type(string='STATIC')
+

Static IPv6 configuration. This class attribute was added in vSphere API +7.0.0.

+
+ +
+
+USER_INPUT_REQUIRED = Type(string='USER_INPUT_REQUIRED')
+

Indicates that the IPv6 settings are not specified in advance. The user +must provide a valid value when the actual customization spec is applied to +a virtual machine. This class attribute was added in vSphere API 7.0.0.

+
+ +
+ +
+ +
+
+class com.vmware.vcenter.guest_client.Ipv6Address(ip_address=None, prefix=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Ipv6Address class specifies the the settings for a Static IPv6 +configuration. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • ip_address (str) – Static IPv6 Address. This attribute was added in vSphere API 7.0.0.

  • +
  • prefix (long) – The CIDR prefix for the interface. This attribute was added in +vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.guest_client.LinuxConfiguration(hostname=None, domain=None, time_zone=None, script_text=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Guest customization Settings to customize a Linux guest operating system.

+

The LinuxConfiguration class contains settings that identify a Linux +machine in the same way that the WindowsConfiguration class +identifies a Windows machine.. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • hostname (HostnameGenerator) – The network host name of the Linux virtual machine. This attribute +was added in vSphere API 7.0.0.

  • +
  • domain (str) – The fully qualified domain name. This attribute was added in +vSphere API 7.0.0.

  • +
  • time_zone (str or None) –

    The case-sensitive time zone, such as Europe/Sofia. Valid time zone +values are based on the tz (time zone) database used by Linux. The +values are strings (str) in the form “Area/Location,” in +which Area is a continent or ocean name, and Location is the city, +island, or other regional designation.

    +

    See the https://kb.vmware.com/kb/2145518 for a list of supported +time zones for different versions in Linux.. This attribute was +added in vSphere API 7.0.0. +If None, time zone is not modified inside guest operating system.

    +

  • +
  • script_text (str or None) –

    The script to run before and after Linux guest customization. +The max size of the script is 1500 bytes. As long as the script +(shell, perl, python…) has the right “#!” in the header, it is +supported. The caller should not assume any environment variables +when the script is run.

    +

    The script is invoked by the customization engine using the command +line: 1) with argument “precustomization” before customization, 2) +with argument “postcustomization” after customization. The script +should parse this argument and implement pre-customization or +post-customization task code details in the corresponding block.

    +
    +

    A Linux shell script example:

    +

    #!/bin/sh +if [ x$1 == x"precustomization" ]; then +echo "Do Precustomization tasks" +#code for pre-customization actions... +elif [ x$1 == x"postcustomization" ]; then +echo "Do Postcustomization tasks" +#code for post-customization actions... +fi. This attribute was added in vSphere API 7.0.0.

    +
    +

    If None, no script will be executed.

    +

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.guest_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.vcenter.guest_client.UserData(computer_name=None, full_name=None, organization=None, product_key=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The UserData class specifies the personal data pertaining to the user +of the Windows guest operating system. This class maps to the UserData key +in the sysprep.xml answer file. These values are transferred directly into +the sysprep.xml file that VirtualCenter stores on the target virtual disk. +For more detailed information about performing unattended installation, +check https://technet.microsoft.com/en-us/library/cc771830(v=ws.10).aspx. +This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • computer_name (HostnameGenerator) – The computer name of the (Windows) virtual machine. A computer name +may contain letters (A-Z), numbers(0-9) and hyphens (-) but no +spaces or periods (.). The name may not consist entirely of digits. +A computer name is restricted to 15 characters in length. If the +computer name is longer than 15 characters, it will be truncated to +15 characters. Check HostnameGenerator for various +options. This attribute was added in vSphere API 7.0.0.

  • +
  • full_name (str) – Full name of the end user. Note that this is not the username but +full name specified in “Firstname Lastname” format. This attribute +was added in vSphere API 7.0.0.

  • +
  • organization (str) – Name of the organization that owns the computer. This attribute was +added in vSphere API 7.0.0.

  • +
  • product_key (str) – The product Key to use for activating Windows guest operating +system. This attribute was added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.guest_client.WindowsConfiguration(reboot=None, sysprep=None, sysprep_xml=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The WindowsConfiguration class specifies the settings for customizing a +windows guest operating system. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • reboot (WindowsConfiguration.RebootOption or None) – A value specifying the action that should be taken after +customization. This attribute was added in vSphere API 7.0.0. +If None, the WindowsConfiguration.RebootOption.REBOOT +option will be chosen.

  • +
  • sysprep (WindowsSysprep or None) – Customization settings like user details, administrator details, +etc for the windows guest operating system. Exactly one of +sysprep or sysprepXml must be specified. This attribute was +added in vSphere API 7.0.0. +If None, sysprep settings will not be applied to the windows guest +operating system.

  • +
  • sysprep_xml (str or None) – All settings specified in a XML format. This is the content of a +typical answer.xml file that is used by System administrators +during the Windows image customization. Check +https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/update-windows-settings-and-scripts-create-your-own-answer-file-sxs +Exactly one of sysprep or sysprepXml must be specified. +This attribute was added in vSphere API 7.0.0. +If None, sysprep settings will not be applied to the windows guest +operating system.

  • +
+
+
+
+
+class RebootOption(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The WindowsConfiguration.RebootOption class specifies what should be +done to the guest after the customization. This enumeration was added in +vSphere API 7.0.0.

+
+

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 the RebootOption instance.

+
+
+
+
+NO_REBOOT = RebootOption(string='NO_REBOOT')
+

Take no action. Leave the guest OS running after customization. This option +can be used to look at values for debugging purposes. This class attribute +was added in vSphere API 7.0.0.

+
+ +
+
+REBOOT = RebootOption(string='REBOOT')
+

Reboot the guest after customization. This class attribute was added in +vSphere API 7.0.0.

+
+ +
+
+SHUTDOWN = RebootOption(string='SHUTDOWN')
+

Shutdown the guest after customization. This class attribute was added in +vSphere API 7.0.0.

+
+ +
+ +
+ +
+
+class com.vmware.vcenter.guest_client.WindowsNetworkAdapterSettings(dns_servers=None, dns_domain=None, wins_servers=None, net_bios_mode=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The WindowsNetworkAdapterSettings class specifies Windows specific +Network settings for a virtual network adapter. This class was added in +vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • dns_servers (list of str or None) –

    A list of server IP addresses to use for DNS lookup in a Windows +guest operating system.

    +

    These servers should be specified in the order of preference. If +this list is not empty, and if a DHCP IP address is used, then +these settings override the DHCP settings.. This attribute was +added in vSphere API 7.0.0. +If None, no DNS servers are set.

    +

  • +
  • dns_domain (str or None) – A DNS domain suffix such as vmware.com. This attribute was added in +vSphere API 7.0.0. +If None, no DNS domain is set.

  • +
  • wins_servers (list of str or None) – List of WINS Servers to set for the Windows guest operating system. +A Maximum of two IP addresses can be specified in this list. The +first IP address will be set as the primary WINS server. The second +IP address will be set as the secondary WINS server. This attribute +was added in vSphere API 7.0.0. +If None, no WINS Servers are set.

  • +
  • net_bios_mode (WindowsNetworkAdapterSettings.NetBIOSMode or None) – NetBIOS setting for Windows. This attribute was added in vSphere +API 7.0.0. +If None, existing NetBIOS mode will be retained.

  • +
+
+
+
+
+class NetBIOSMode(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The WindowsNetworkAdapterSettings.NetBIOSMode class specifies different +NetBIOS settings for Windows guest operating systems. This enumeration was +added in vSphere API 7.0.0.

+
+

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 the NetBIOSMode instance.

+
+
+
+
+DISABLE = NetBIOSMode(string='DISABLE')
+

Never use NetBIOS. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+ENABLE = NetBIOSMode(string='ENABLE')
+

Always use NetBIOS. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+USE_DHCP = NetBIOSMode(string='USE_DHCP')
+

DHCP server decides whether or not to use NetBIOS. This class attribute was +added in vSphere API 7.0.0.

+
+ +
+ +
+ +
+
+class com.vmware.vcenter.guest_client.WindowsSysprep(gui_run_once_commands=None, user_data=None, domain=None, gui_unattended=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The WindowsSysprep class provides all the settings like user details, +administrator details, etc that need to applied for a windows guest +operating system during customization. This class was added in vSphere API +7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • gui_run_once_commands (list of str or None) – A list of commands to run at first user logon, after customizing +the guest. These commands are directly mapped to the GuiRunOnce key +in the sysprep.xml answer file. These commands are transferred into +the sysprep.xml file that VirtualCenter stores on the target +virtual disk. For more information about performing unattended +installation, check +https://technet.microsoft.com/en-us/library/cc771830(v=ws.10).aspx +The commands listed here ar executed when a user logs on the first +time after customization completes. The logon may be driven by +GuiUnattended.auto_logon setting. These commands are +directly mapped to the GuiRunOnce key in the. This attribute was +added in vSphere API 7.0.0. +If None, no commands are run.

  • +
  • user_data (UserData) – Personal data pertaining to the owner of the virtual machine. This +attribute was added in vSphere API 7.0.0.

  • +
  • domain (Domain or None) – Information needed to join a workgroup or domain. This attribute +was added in vSphere API 7.0.0. +If None, the guest will not be joined to any workgroup or a domain.

  • +
  • gui_unattended (GuiUnattended) – Information related to unattended installation. This attribute was +added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+

com.vmware.vcenter.hvc_client module

+

The com.vmware.vcenter.hvc_client module provides classes to manage hybrid +links between a local and remote Platform Service Controller. Usage beyond +VMware Cloud on AWS is not supported.

+
+ +

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Links class provides methods to create, delete, get information, +and list hybrid links between the local and foreign Platform Service +Controller (PSC). Usage beyond VMware Cloud on AWS is not supported. +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.

+
+
+
+
+class CertificateInfo(ssl_thumbprint=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Links.CertificateInfo class contains information about the SSL +certificate for a destination PSC endpoint. 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
+

ssl_thumbprint (str) – The SHA-256 thumbprint of the SSL certificate for the destination +PSC endpoint. 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(psc_hostname=None, port=None, domain_name=None, username=None, password=None, ssl_thumbprint=None, admin_groups=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Links.CreateSpec class is the specification used for the hybrid +link creation. 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
+
    +
  • psc_hostname (str) – The PSC hostname for the domain to be linked. 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.

  • +
  • port (str or None) – The HTTPS port of the PSC to be linked. 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 443 will be used as default.

  • +
  • domain_name (str) – The domain to which the PSC belongs. 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.

  • +
  • username (str) – The administrator username of the PSC. 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.

  • +
  • password (str) – The administrator password of the PSC. 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.

  • +
  • ssl_thumbprint (str or None) – The ssl thumbprint of the server. 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 no thumbprint is passed.

  • +
  • admin_groups (set of str or None) – List of groups to be added to enable administrator access to. +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 administrator access will not be set.

  • +
+
+
+
+ +
+
+class Credentials(user_name=None, password=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Links.Credentials class specifies user credentials to make a +successful connection to remote endpoint. 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
+
    +
  • user_name (str) – Name of the user to authenticate. 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.

  • +
  • password (str) – Password for 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.

  • +
+
+
+
+ +
+
+class Summary(link=None, display_name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Links.Summary class contains information about the hybrid link. +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
+
    +
  • link (str) – Unique identifier for the link. 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.vcenter.hvc.Links. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.vcenter.hvc.Links.

  • +
  • display_name (str) – The display name is set to the domain name which was set during +create. 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.

  • +
+
+
+
+ +
+
+create(spec)
+

Creates a new hybrid link between the local and foreign PSC. Usage +beyond VMware Cloud on AWS is not supported. 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 (Links.CreateSpec) – Specification for the new link to be created.

+
+
Return type
+

str

+
+
Returns
+

The identifier of the newly linked domain. +The return value will be an identifier for the resource type: +com.vmware.vcenter.hvc.Links.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +If the link already exists.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the values of any of the attributes of the spec parameter +are not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +If the PSC or the VC version is not supported.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user is not authorized.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnverifiedPeer +If the SSL certificate of the foreign PSC cannot be validated by +comparing with the thumbprint provided in +Links.CreateSpec.ssl_thumbprint or if +Links.CreateSpec.ssl_thumbprint is None. The value of the +{\@link UnverifiedPeer#data) attribute will be a class that +contains all the attributes defined in +Links.CertificateInfo.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
+
+ +
+
+delete(link)
+

Deletes an existing hybrid link. Usage beyond VMware Cloud on AWS is +not supported. 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
+

link (str) – Identifier of the hybrid link. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.hvc.Links.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the hybrid link associated with link does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user is not authorized.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
+
+ +
+
+list()
+

Enumerates the list of registered hybrid links. Usage beyond VMware +Cloud on AWS is not supported. 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
+

list of Links.Summary

+
+
Returns
+

The list of hybrid link information.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.hvc_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.identity_client module

+

The com.vmware.vcenter.identity_client module provides classes to manage +VcIdentity.

+
+
+class com.vmware.vcenter.identity_client.Providers(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Providers interface provides methods to list, read and modify +vCenter Server identity providers. This class was added in vSphere API +7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class ActiveDirectoryOverLdap(user_name=None, password=None, users_base_dn=None, groups_base_dn=None, server_endpoints=None, cert_chain=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.ActiveDirectoryOverLdap class contains the information +about to how to use an Active Directory over LDAP connection to allow +searching for users and groups if the identity provider is an On-Prem +service. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • user_name (str) – User name to connect to the active directory server. This attribute +was added in vSphere API 7.0.0.

  • +
  • password (str) – Password to connect to the active directory server. This attribute +was added in vSphere API 7.0.0.

  • +
  • users_base_dn (str) – Base distinguished name for users. This attribute was added in +vSphere API 7.0.0.

  • +
  • groups_base_dn (str) – Base distinguished name for groups. This attribute was added in +vSphere API 7.0.0.

  • +
  • server_endpoints (list of str) – Active directory server endpoints. At least one active directory +server endpoint must be set. This attribute was added in vSphere +API 7.0.0.

  • +
  • cert_chain (com.vmware.vcenter.certificate_management_client.X509CertChain or None) – SSL certificate chain in base64 encoding. This attribute was added +in vSphere API 7.0.0. +This attribute can be None only, if all the active directory server +endpoints use the LDAP (not LDAPS) protocol.

  • +
+
+
+
+ +
+
+class ConfigType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Providers.ConfigType class contains the possible types of vCenter +Server identity providers. This enumeration was added in vSphere API 7.0.0.

+
+

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 the ConfigType instance.

+
+
+
+
+Oauth2 = ConfigType(string='Oauth2')
+

Config for OAuth2. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+Oidc = ConfigType(string='Oidc')
+

Config for OIDC. This class attribute was added in vSphere API 7.0.0.

+
+ +
+ +
+
+class CreateSpec(config_tag=None, oauth2=None, oidc=None, org_ids=None, is_default=None, name=None, domain_names=None, auth_query_params=None, idm_protocol=None, idm_endpoints=None, active_directory_over_ldap=None, upn_claim=None, groups_claim=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.CreateSpec class contains the information used to create +an identity provider. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • config_tag (Providers.ConfigType) – The config type of the identity provider. This attribute was added +in vSphere API 7.0.0.

  • +
  • oauth2 (Providers.Oauth2CreateSpec) – OAuth2 CreateSpec. This attribute was added in vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of configTag is Providers.ConfigType.Oauth2.

  • +
  • oidc (Providers.OidcCreateSpec) – OIDC CreateSpec. This attribute was added in vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of configTag is Providers.ConfigType.Oidc.

  • +
  • org_ids (set of str or None) – The set of orgIds as part of SDDC creation which provides the basis +for tenancy. This attribute was added in vSphere API 7.0.0. +If None, the set will be empty.

  • +
  • is_default (bool or None) – Specifies whether the provider is the default provider. Setting +isDefault of current provider to True makes all other providers +non-default. If no other providers created in this vCenter Server +before, this parameter will be disregarded, and the provider will +always be set to the default. This attribute was added in vSphere +API 7.0.0. +If None the provider will be the default provider if it is the +first provider that is created, and will not be the default +provider otherwise.

  • +
  • name (str or None) – The user friendly name for the provider. This name can be used for +human-readable identification purposes, but it does not have to be +unique, as the system will use internal UUIDs to differentiate +providers. This attribute was added in vSphere API 7.0.0. +If None, the name will be the empty string

  • +
  • domain_names (set of str or None) – Set of fully qualified domain names to trust when federating with +this identity provider. Tokens from this identity provider will +only be validated if the user belongs to one of these domains, and +any domain-qualified groups in the tokens will be filtered to +include only those groups that belong to one of these domains. This +attribute was added in vSphere API 7.0.0. +If None, domainNames will be the empty set and the domain +validation behavior at login with this identity provider will be as +follows: the user’s domain will be parsed from the User Principal +Name (UPN) value that is found in the tokens returned by the +identity provider. This domain will then be implicitly trusted and +used to filter any groups that are also provided in the tokens.

  • +
  • auth_query_params ((dict of str and list of str) or None) –

    key/value pairs that are to be appended to the authEndpoint +request.

    +

    How to append to authEndpoint request: If the map is not empty, a +“?” is added to the endpoint URL, and combination of each k and +each string in the v is added with an “&” delimiter. Details:

    +
      +
    • If the value contains only one string, then the key is added with +“k=v”.

    • +
    • If the value is an empty list, then the key is added without a +“=v”.

    • +
    • If the value contains multiple strings, then the key is repeated +in the query-string for each string in the value.

    • +
    +

    . This attribute was added in vSphere API 7.0.0. +If None, the map will be empty.

    +

  • +
  • idm_protocol (Providers.IdmProtocol or None) – Communication protocol to the identity management endpoints. This +attribute was added in vSphere API 7.0.0. +If None, no communication protocol will be configured for the +identity provider.

  • +
  • idm_endpoints (list of str) – Identity management endpoints. When specified, at least one +endpoint must be provided. This attribute was added in vSphere API +7.0.0. +This attribute is optional and it is only relevant when the value +of idmProtocol is one of Providers.IdmProtocol.REST or +Providers.IdmProtocol.SCIM.

  • +
  • active_directory_over_ldap (Providers.ActiveDirectoryOverLdap) – Identity management configuration. If the protocol is LDAP, the +configuration must be set, else InvalidArgument is thrown. This +attribute was added in vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of idmProtocol is Providers.IdmProtocol.LDAP.

  • +
  • upn_claim (str or None) – Specifies which claim provides the user principal name (UPN) for +the user. This attribute was added in vSphere API 7.0.0. +If None, the claim named ‘acct’ will be used to provide backwards +compatibility with CSP.

  • +
  • groups_claim (str or None) – Specifies which claim provides the group membership for the token +subject. These groups will be used for mapping to local groups per +the claim map. This attribute was added in vSphere API 7.0.0. +If None, the default behavior will be CSP backwards compatiblility. +The groups for the subject will be comprised of the groups in +‘group_names’ and ‘group_ids’ claims.

  • +
+
+
+
+ +
+
+class IdmProtocol(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Providers.IdmProtocol class contains the possible types of +communication protocols to the identity management endpoints. This +enumeration was added in vSphere API 7.0.0.

+
+

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 the IdmProtocol instance.

+
+
+
+
+LDAP = IdmProtocol(string='LDAP')
+

LDAP protocol based identity management endpoints. This class attribute was +added in vSphere API 7.0.0.

+
+ +
+
+REST = IdmProtocol(string='REST')
+

REST protocol based identity management endpoints. This class attribute was +added in vSphere API 7.0.0.

+
+ +
+
+SCIM = IdmProtocol(string='SCIM')
+

SCIM protocol based identity management endpoints. This class attribute was +added in vSphere API 7.0.0.

+
+ +
+ +
+
+class Info(name=None, org_ids=None, config_tag=None, oauth2=None, oidc=None, is_default=None, domain_names=None, auth_query_params=None, idm_protocol=None, idm_endpoints=None, active_directory_over_ldap=None, upn_claim=None, groups_claim=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.Info class contains the information about an identity +provider. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – The user friendly name for the provider. This attribute was added +in vSphere API 7.0.0. +This attribute is optional because it was added in a newer version +than its parent node.

  • +
  • org_ids (set of str) – The set of orgIds as part of SDDC creation which provides the basis +for tenancy. This attribute was added in vSphere API 7.0.0.

  • +
  • config_tag (Providers.ConfigType) – The config type of the identity provider. This attribute was added +in vSphere API 7.0.0.

  • +
  • oauth2 (Providers.Oauth2Info) – OAuth2 Info. This attribute was added in vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of configTag is Providers.ConfigType.Oauth2.

  • +
  • oidc (Providers.OidcInfo) – OIDC Info. This attribute was added in vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of configTag is Providers.ConfigType.Oidc.

  • +
  • is_default (bool) – Specifies whether the provider is the default provider. This +attribute was added in vSphere API 7.0.0.

  • +
  • domain_names (set of str) – Set of fully qualified domain names to trust when federating with +this identity provider. Tokens from this identity provider will +only be validated if the user belongs to one of these domains, and +any domain-qualified groups in the tokens will be filtered to +include only those groups that belong to one of these domains. If +domainNames is an empty set, domain validation behavior at login +with this identity provider will be as follows: the user’s domain +will be parsed from the User Principal Name (UPN) value that is +found in the tokens returned by the identity provider. This domain +will then be implicitly trusted and used to filter any groups that +are also provided in the tokens. This attribute was added in +vSphere API 7.0.0. +This attribute is optional because it was added in a newer version +than its parent node.

  • +
  • auth_query_params (dict of str and list of str) –

    key/value pairs that are to be appended to the authEndpoint +request.

    +

    How to append to authEndpoint request: If the map is not empty, a +“?” is added to the endpoint URL, and combination of each k and +each string in the v is added with an “&” delimiter. Details:

    +
      +
    • If the value contains only one string, then the key is added with +“k=v”.

    • +
    • If the value is an empty list, then the key is added without a +“=v”.

    • +
    • If the value contains multiple strings, then the key is repeated +in the query-string for each string in the value.

    • +
    +

    . This attribute was added in vSphere API 7.0.0. +This attribute is optional because it was added in a newer version +than its parent node.

    +

  • +
  • idm_protocol (Providers.IdmProtocol or None) – Communication protocol to the identity management endpoints. This +attribute was added in vSphere API 7.0.0. +This attribute is optional because it was added in a newer version +than its parent node.

  • +
  • idm_endpoints (list of str) – Identity management endpoints. This attribute was added in vSphere +API 7.0.0. +This attribute is optional and it is only relevant when the value +of idmProtocol is one of Providers.IdmProtocol.REST or +Providers.IdmProtocol.SCIM.

  • +
  • active_directory_over_ldap (Providers.ActiveDirectoryOverLdap) – Identity management configuration. This attribute was added in +vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of idmProtocol is Providers.IdmProtocol.LDAP.

  • +
  • upn_claim (str) – Specifies which claim provides the user principal name (UPN) for +the user. This attribute was added in vSphere API 7.0.0. +This attribute is optional because it was added in a newer version +than its parent node.

  • +
  • groups_claim (str) – Specifies which claim provides the group membership for the token +subject. If empty, the default behavior for CSP is used. In this +case, the groups for the subject will be comprised of the groups in +‘group_names’ and ‘group_ids’ claims. This attribute was added in +vSphere API 7.0.0. +This attribute is optional because it was added in a newer version +than its parent node.

  • +
+
+
+
+ +
+
+class Oauth2AuthenticationMethod(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Providers.Oauth2AuthenticationMethod class contains the possible +types of OAuth2 authentication methods. This enumeration was added in +vSphere API 7.0.0.

+
+

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 the Oauth2AuthenticationMethod instance.

+
+
+
+
+CLIENT_SECRET_BASIC = Oauth2AuthenticationMethod(string='CLIENT_SECRET_BASIC')
+

Clients that have received a client_secret value from the Authorization +Server, authenticate with the Authorization Server in accordance with +Section 3.2.1 of OAuth 2.0 [RFC6749] using the HTTP Basic authentication +scheme. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+CLIENT_SECRET_JWT = Oauth2AuthenticationMethod(string='CLIENT_SECRET_JWT')
+

Clients that have received a client_secret value from the Authorization +Server, create a JWT using an HMAC SHA algorithm, such as HMAC SHA-256. The +HMAC (Hash-based Message Authentication Code) is calculated using the +octets of the UTF-8 representation of the client_secret as the shared key. +This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+CLIENT_SECRET_POST = Oauth2AuthenticationMethod(string='CLIENT_SECRET_POST')
+

Clients that have received a client_secret value from the Authorization +Server, authenticate with the Authorization Server in accordance with +Section 3.2.1 of OAuth 2.0 [RFC6749] by including the Client Credentials in +the request body. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+PRIVATE_KEY_JWT = Oauth2AuthenticationMethod(string='PRIVATE_KEY_JWT')
+

Clients that have registered a public key sign a JWT using that key. The +client authenticates in accordance with JSON Web Token (JWT) Profile for +OAuth 2.0 Client Authentication and Authorization Grants [OAuth.JWT] and +Assertion Framework for OAuth 2.0 Client Authentication and Authorization +Grants [OAuth.Assertions]. This class attribute was added in vSphere API +7.0.0.

+
+ +
+ +
+
+class Oauth2CreateSpec(auth_endpoint=None, token_endpoint=None, public_key_uri=None, client_id=None, client_secret=None, claim_map=None, issuer=None, authentication_method=None, auth_query_params=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.Oauth2CreateSpec class contains the information used to +create an OAuth2 identity provider. This class was added in vSphere API +7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • auth_endpoint (str) – Authentication/authorization endpoint of the provider. This +attribute was added in vSphere API 7.0.0.

  • +
  • token_endpoint (str) – Token endpoint of the provider. This attribute was added in vSphere +API 7.0.0.

  • +
  • public_key_uri (str) – Endpoint to retrieve the provider public key for validation. This +attribute was added in vSphere API 7.0.0.

  • +
  • client_id (str) – Client identifier to connect to the provider. This attribute was +added in vSphere API 7.0.0.

  • +
  • client_secret (str) – The secret shared between the client and the provider. This +attribute was added in vSphere API 7.0.0.

  • +
  • claim_map (dict of str and (dict of str and list of str)) – The map used to transform an OAuth2 claim to a corresponding claim +that vCenter Server understands. Currently only the key “perms” is +supported. The key “perms” is used for mapping the “perms” claim of +incoming JWT. The value is another map with an external group as +the key and a vCenter Server group as value. This attribute was +added in vSphere API 7.0.0.

  • +
  • issuer (str) – The identity provider namespace. It is used to validate the issuer +in the acquired OAuth2 token. This attribute was added in vSphere +API 7.0.0.

  • +
  • authentication_method (Providers.Oauth2AuthenticationMethod) – Authentication method used by the provider. This attribute was +added in vSphere API 7.0.0.

  • +
  • auth_query_params ((dict of str and list of str) or None) –

    key/value pairs that are to be appended to the authEndpoint +request.

    +

    How to append to authEndpoint request: If the map is not empty, a +“?” is added to the endpoint URL, and combination of each k and +each string in the v is added with an “&” delimiter. Details:

    +
      +
    • If the value contains only one string, then the key is added with +“k=v”.

    • +
    • If the value is an empty list, then the key is added without a +“=v”.

    • +
    • If the value contains multiple strings, then the key is repeated +in the query-string for each string in the value.

    • +
    +

    . This attribute was added in vSphere API 7.0.0. +If None, the map will be empty.

    +

  • +
+
+
+
+ +
+
+class Oauth2Info(auth_endpoint=None, token_endpoint=None, public_key_uri=None, client_id=None, client_secret=None, claim_map=None, issuer=None, authentication_method=None, auth_query_params=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.Oauth2Info class contains the information about an OAuth2 +identity provider. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • auth_endpoint (str) – Authentication/authorization endpoint of the provider. This +attribute was added in vSphere API 7.0.0.

  • +
  • token_endpoint (str) – Token endpoint of the provider. This attribute was added in vSphere +API 7.0.0.

  • +
  • public_key_uri (str) – Endpoint to retrieve the provider public key for validation. This +attribute was added in vSphere API 7.0.0.

  • +
  • client_id (str) – Client identifier to connect to the provider. This attribute was +added in vSphere API 7.0.0.

  • +
  • client_secret (str) – The secret shared between the client and the provider. This +attribute was added in vSphere API 7.0.0.

  • +
  • claim_map (dict of str and (dict of str and list of str)) – The map used to transform an OAuth2 claim to a corresponding claim +that vCenter Server understands. Currently only the key “perms” is +supported. The key “perms” is used for mapping the “perms” claim of +incoming JWT. The value is another map with an external group as +the key and a vCenter Server group as value. This attribute was +added in vSphere API 7.0.0.

  • +
  • issuer (str) – The identity provider namespace. It is used to validate the issuer +in the acquired OAuth2 token. This attribute was added in vSphere +API 7.0.0.

  • +
  • authentication_method (Providers.Oauth2AuthenticationMethod) – Authentication method used by the provider. This attribute was +added in vSphere API 7.0.0.

  • +
  • auth_query_params (dict of str and list of str) –

    key/value pairs that are to be appended to the authEndpoint +request.

    +

    How to append to authEndpoint request: If the map is not empty, a +“?” is added to the endpoint URL, and combination of each k and +each string in the v is added with an “&” delimiter. Details:

    +
      +
    • If the value contains only one string, then the key is added with +“k=v”.

    • +
    • If the value is an empty list, then the key is added without a +“=v”.

    • +
    • If the value contains multiple strings, then the key is repeated +in the query-string for each string in the value.

    • +
    +

    . This attribute was added in vSphere API 7.0.0.

    +

  • +
+
+
+
+ +
+
+class Oauth2Summary(auth_endpoint=None, token_endpoint=None, client_id=None, authentication_header=None, auth_query_params=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.Oauth2Summary class contains commonly used information +about an OAuth2 identity provider. This class was added in vSphere API +7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • auth_endpoint (str) – Authentication/authorization endpoint of the provider. This +attribute was added in vSphere API 7.0.0.

  • +
  • token_endpoint (str) – Token endpoint of the provider. This attribute was added in vSphere +API 7.0.0.

  • +
  • client_id (str) – Client identifier to connect to the provider. This attribute was +added in vSphere API 7.0.0.

  • +
  • authentication_header (str) – The authentication data used as part of request header to acquire +or refresh an OAuth2 token. The data format depends on the +authentication method used. Example of basic authentication format: +Authorization: Basic [base64Encode(clientId + “:” + secret)]. This +attribute was added in vSphere API 7.0.0.

  • +
  • auth_query_params (dict of str and list of str) –

    key/value pairs that are to be appended to the authEndpoint +request.

    +

    How to append to authEndpoint request: If the map is not empty, a +“?” is added to the endpoint URL, and combination of each k and +each string in the v is added with an “&” delimiter. Details:

    +
      +
    • If the value contains only one string, then the key is added with +“k=v”.

    • +
    • If the value is an empty list, then the key is added without a +“=v”.

    • +
    • If the value contains multiple strings, then the key is repeated +in the query-string for each string in the value.

    • +
    +

    . This attribute was added in vSphere API 7.0.0.

    +

  • +
+
+
+
+ +
+
+class Oauth2UpdateSpec(auth_endpoint=None, token_endpoint=None, public_key_uri=None, client_id=None, client_secret=None, claim_map=None, issuer=None, authentication_method=None, auth_query_params=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.Oauth2UpdateSpec class contains the information used to +update the OAuth2 identity provider. This class was added in vSphere API +7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • auth_endpoint (str or None) – Authentication/authorization endpoint of the provider. This +attribute was added in vSphere API 7.0.0. +If None, leaves value unchanged.

  • +
  • token_endpoint (str or None) – Token endpoint of the provider. This attribute was added in vSphere +API 7.0.0. +If None, leaves value unchanged.

  • +
  • public_key_uri (str or None) – Endpoint to retrieve the provider public key for validation. This +attribute was added in vSphere API 7.0.0. +If None, leaves value unchanged.

  • +
  • client_id (str or None) – Client identifier to connect to the provider. This attribute was +added in vSphere API 7.0.0. +If None, leaves value unchanged.

  • +
  • client_secret (str or None) – Shared secret between identity provider and client. This attribute +was added in vSphere API 7.0.0. +If None, leaves value unchanged.

  • +
  • claim_map ((dict of str and (dict of str and list of str)) or None) – The map used to transform an OAuth2 claim to a corresponding claim +that vCenter Server understands. Currently only the key “perms” is +supported. The key “perms” is used for mapping the “perms” claim of +incoming JWT. The value is another map with an external group as +the key and a vCenter Server group as value. This attribute was +added in vSphere API 7.0.0. +If None, leaves value unchanged.

  • +
  • issuer (str or None) – The identity provider namespace. It is used to validate the issuer +in the acquired OAuth2 token. This attribute was added in vSphere +API 7.0.0. +If None, leaves value unchanged.

  • +
  • authentication_method (Providers.Oauth2AuthenticationMethod or None) – Authentication method used by the provider. This attribute was +added in vSphere API 7.0.0. +If None, leaves value unchanged.

  • +
  • auth_query_params ((dict of str and list of str) or None) – key/value pairs that are to be appended to the authEndpoint +request. How to append to authEndpoint request: If the map is not +empty, a “?” is added to the endpoint URL, and combination of each +k and each string in the v is added with an “&” delimiter. Details: +If the value contains only one string, then the key is added with +“k=v”. If the value is an empty list, then the key is added without +a “=v”. If the value contains multiple strings, then the key is +repeated in the query-string for each string in the value. If the +map is empty, deletes all params. This attribute was added in +vSphere API 7.0.0. +If None, leaves value unchanged.

  • +
+
+
+
+ +
+
+class OidcCreateSpec(discovery_endpoint=None, client_id=None, client_secret=None, claim_map=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.OidcCreateSpec class contains the information used to +create an OIDC identity provider. This class was added in vSphere API +7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • discovery_endpoint (str) – Endpoint to retrieve the provider metadata. This attribute was +added in vSphere API 7.0.0.

  • +
  • client_id (str) – Client identifier to connect to the provider. This attribute was +added in vSphere API 7.0.0.

  • +
  • client_secret (str) – The secret shared between the client and the provider. This +attribute was added in vSphere API 7.0.0.

  • +
  • claim_map (dict of str and (dict of str and list of str)) – The map used to transform an OAuth2 claim to a corresponding claim +that vCenter Server understands. Currently only the key “perms” is +supported. The key “perms” is used for mapping the “perms” claim of +incoming JWT. The value is another map with an external group as +the key and a vCenter Server group as value. This attribute was +added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class OidcInfo(discovery_endpoint=None, logout_endpoint=None, auth_endpoint=None, token_endpoint=None, public_key_uri=None, client_id=None, client_secret=None, claim_map=None, issuer=None, authentication_method=None, auth_query_params=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.OidcInfo class contains information about an OIDC +identity provider. OIDC is a discovery protocol for OAuth2 configuration +metadata, so Providers.OidcInfo contains additional discovered OAuth2 +metadata. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • discovery_endpoint (str) – Endpoint to retrieve the provider metadata. This attribute was +added in vSphere API 7.0.0.

  • +
  • logout_endpoint (str) – The endpoint to use for terminating the user’s session at the +identity provider. This value is automatically derived from the +metadata information provided by the OIDC discovery endpoint. This +attribute was added in vSphere API 7.0.0. +This attribute is optional because it was added in a newer version +than its parent node.

  • +
  • auth_endpoint (str) – Authentication/authorization endpoint of the provider. This +attribute was added in vSphere API 7.0.0.

  • +
  • token_endpoint (str) – Token endpoint of the provider. This attribute was added in vSphere +API 7.0.0.

  • +
  • public_key_uri (str) – Endpoint to retrieve the provider public key for validation. This +attribute was added in vSphere API 7.0.0.

  • +
  • client_id (str) – Client identifier to connect to the provider. This attribute was +added in vSphere API 7.0.0.

  • +
  • client_secret (str) – The secret shared between the client and the provider. This +attribute was added in vSphere API 7.0.0.

  • +
  • claim_map (dict of str and (dict of str and list of str)) – The map used to transform an OAuth2 claim to a corresponding claim +that vCenter Server understands. Currently only the key “perms” is +supported. The key “perms” is used for mapping the “perms” claim of +incoming JWT. The value is another map with an external group as +the key and a vCenter Server group as value. This attribute was +added in vSphere API 7.0.0.

  • +
  • issuer (str) – The identity provider namespace. It is used to validate the issuer +in the acquired OAuth2 token. This attribute was added in vSphere +API 7.0.0.

  • +
  • authentication_method (Providers.Oauth2AuthenticationMethod) – Authentication method used by the provider. This attribute was +added in vSphere API 7.0.0.

  • +
  • auth_query_params (dict of str and list of str) –

    key/value pairs that are to be appended to the authEndpoint +request.

    +

    How to append to authEndpoint request: If the map is not empty, a +“?” is added to the endpoint URL, and combination of each k and +each string in the v is added with an “&” delimiter. Details:

    +
      +
    • If the value contains only one string, then the key is added with +“k=v”.

    • +
    • If the value is an empty list, then the key is added without a +“=v”.

    • +
    • If the value contains multiple strings, then the key is repeated +in the query-string for each string in the value.

    • +
    +

    . This attribute was added in vSphere API 7.0.0.

    +

  • +
+
+
+
+ +
+
+class OidcSummary(discovery_endpoint=None, logout_endpoint=None, auth_endpoint=None, token_endpoint=None, client_id=None, authentication_header=None, auth_query_params=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.OidcSummary class contains commonly used information +about an OIDC identity provider. OIDC is a discovery protocol for OAuth2 +configuration metadata, so Providers.OidcSummary contains discovered +OAuth2 metadata. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • discovery_endpoint (str) – Endpoint to retrieve the provider metadata. This attribute was +added in vSphere API 7.0.0. +This attribute is optional because it was added in a newer version +than its parent node.

  • +
  • logout_endpoint (str) – The endpoint to use for terminating the user’s session at the +identity provider. This value is automatically derived from the +metadata information provided by the OIDC discovery endpoint. This +attribute was added in vSphere API 7.0.0. +This attribute is optional because it was added in a newer version +than its parent node.

  • +
  • auth_endpoint (str) – Authentication/authorization endpoint of the provider. This +attribute was added in vSphere API 7.0.0.

  • +
  • token_endpoint (str) – Token endpoint of the provider. This attribute was added in vSphere +API 7.0.0.

  • +
  • client_id (str) – Client identifier to connect to the provider. This attribute was +added in vSphere API 7.0.0.

  • +
  • authentication_header (str) – The authentication data used as part of request header to acquire +or refresh an OAuth2 token. The data format depends on the +authentication method used. Example of basic authentication format: +Authorization: Basic [base64Encode(clientId + “:” + secret)]. This +attribute was added in vSphere API 7.0.0.

  • +
  • auth_query_params (dict of str and list of str) –

    key/value pairs that are to be appended to the authEndpoint +request.

    +

    How to append to authEndpoint request: If the map is not empty, a +“?” is added to the endpoint URL, and combination of each k and +each string in the v is added with an “&” delimiter. Details:

    +
      +
    • If the value contains only one string, then the key is added with +“k=v”.

    • +
    • If the value is an empty list, then the key is added without a +“=v”.

    • +
    • If the value contains multiple strings, then the key is repeated +in the query-string for each string in the value.

    • +
    +

    . This attribute was added in vSphere API 7.0.0.

    +

  • +
+
+
+
+ +
+
+class OidcUpdateSpec(discovery_endpoint=None, client_id=None, client_secret=None, claim_map=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.OidcUpdateSpec class contains the information used to +update the OIDC identity provider. This class was added in vSphere API +7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • discovery_endpoint (str or None) – Endpoint to retrieve the provider metadata. This attribute was +added in vSphere API 7.0.0. +If None, leaves value unchanged.

  • +
  • client_id (str or None) – Client identifier to connect to the provider. This attribute was +added in vSphere API 7.0.0. +If None, leaves value unchanged.

  • +
  • client_secret (str or None) – The secret shared between the client and the provider. This +attribute was added in vSphere API 7.0.0. +If None, leaves value unchanged.

  • +
  • claim_map ((dict of str and (dict of str and list of str)) or None) – The map used to transform an OAuth2 claim to a corresponding claim +that vCenter Server understands. Currently only the key “perms” is +supported. The key “perms” is used for mapping the “perms” claim of +incoming JWT. The value is another map with an external group as +the key and a vCenter Server group as value. This attribute was +added in vSphere API 7.0.0. +If None, leaves value unchanged.

  • +
+
+
+
+ +
+
+class Summary(provider=None, name=None, config_tag=None, oauth2=None, oidc=None, is_default=None, domain_names=None, auth_query_params=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.Summary class contains commonly used information about an +identity provider. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • provider (str) – The identifier of the provider. This attribute was added in vSphere +API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.identity.Providers. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.identity.Providers.

  • +
  • name (str) – The user friendly name for the provider. This attribute was added +in vSphere API 7.0.0. +This attribute is optional because it was added in a newer version +than its parent node.

  • +
  • config_tag (Providers.ConfigType) – The config type of the identity provider. This attribute was added +in vSphere API 7.0.0.

  • +
  • oauth2 (Providers.Oauth2Summary) – OAuth2 Summary. This attribute was added in vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of configTag is Providers.ConfigType.Oauth2.

  • +
  • oidc (Providers.OidcSummary) – OIDC Summary. This attribute was added in vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of configTag is Providers.ConfigType.Oidc.

  • +
  • is_default (bool) – Specifies whether the provider is the default provider. This +attribute was added in vSphere API 7.0.0.

  • +
  • domain_names (set of str) – Set of fully qualified domain names to trust when federating with +this identity provider. Tokens from this identity provider will +only be validated if the user belongs to one of these domains, and +any domain-qualified groups in the tokens will be filtered to +include only those groups that belong to one of these domains. If +domainNames is an empty set, domain validation behavior at login +with this identity provider will be as follows: the user’s domain +will be parsed from the User Principal Name (UPN) value that is +found in the tokens returned by the identity provider. This domain +will then be implicitly trusted and used to filter any groups that +are also provided in the tokens. This attribute was added in +vSphere API 7.0.0. +This attribute is optional because it was added in a newer version +than its parent node.

  • +
  • auth_query_params (dict of str and list of str) –

    key/value pairs that are to be appended to the authEndpoint +request.

    +

    How to append to authEndpoint request: If the map is not empty, a +“?” is added to the endpoint URL, and combination of each k and +each string in the v is added with an “&” delimiter. Details:

    +
      +
    • If the value contains only one string, then the key is added with +“k=v”.

    • +
    • If the value is an empty list, then the key is added without a +“=v”.

    • +
    • If the value contains multiple strings, then the key is repeated +in the query-string for each string in the value.

    • +
    +

    . This attribute was added in vSphere API 7.0.0. +This attribute is optional because it was added in a newer version +than its parent node.

    +

  • +
+
+
+
+ +
+
+class UpdateSpec(config_tag=None, oauth2=None, oidc=None, org_ids=None, make_default=None, name=None, domain_names=None, auth_query_params=None, idm_protocol=None, idm_endpoints=None, active_directory_over_ldap=None, upn_claim=None, reset_upn_claim=None, groups_claim=None, reset_groups_claim=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.UpdateSpec class contains the information used to update +the identity provider. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • config_tag (Providers.ConfigType) – The config type of the identity provider. This attribute was added +in vSphere API 7.0.0.

  • +
  • oauth2 (Providers.Oauth2UpdateSpec) – OAuth2 UpdateSpec. This attribute was added in vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of configTag is Providers.ConfigType.Oauth2.

  • +
  • oidc (Providers.OidcUpdateSpec) – OIDC UpdateSpec. This attribute was added in vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of configTag is Providers.ConfigType.Oidc.

  • +
  • org_ids (set of str or None) – The set orgIds as part of SDDC creation which provides the basis +for tenancy. This attribute was added in vSphere API 7.0.0. +If None, leaves value unchanged.

  • +
  • make_default (bool or None) – Specifies whether to make this the default provider. If +makeDefault is set to true, this provider will be flagged as +the default provider and any other providers that had previously +been flagged as the default will be made non-default. If +makeDefault is set to false, this provider’s default flag will +not be modified. This attribute was added in vSphere API 7.0.0. +If None, leaves value unchanged.

  • +
  • name (str or None) – The user friendly name for the provider. This name can be used for +human-readable identification purposes, but it does not have to be +unique, as the system will use internal UUIDs to differentiate +providers. This attribute was added in vSphere API 7.0.0. +If None, leaves value unchanged.

  • +
  • domain_names (set of str or None) – Set of fully qualified domain names to trust when federating with +this identity provider. Tokens from this identity provider will +only be validated if the user belongs to one of these domains, and +any domain-qualified groups in the tokens will be filtered to +include only those groups that belong to one of these domains. This +attribute was added in vSphere API 7.0.0. +If None, leaves value unchanged. If domainNames is an empty set, +domain validation behavior at login with this identity provider +will be as follows: the user’s domain will be parsed from the User +Principal Name (UPN) value that is found in the tokens returned by +the identity provider. This domain will then be implicitly trusted +and used to filter any groups that are also provided in the tokens.

  • +
  • auth_query_params ((dict of str and list of str) or None) – key/value pairs that are to be appended to the authEndpoint +request. How to append to authEndpoint request: If the map is not +empty, a “?” is added to the endpoint URL, and combination of each +k and each string in the v is added with an “&” delimiter. Details: +If the value contains only one string, then the key is added with +“k=v”. If the value is an empty list, then the key is added without +a “=v”. If the value contains multiple strings, then the key is +repeated in the query-string for each string in the value. If the +map is empty, deletes all params. This attribute was added in +vSphere API 7.0.0. +If None, leaves value unchanged.

  • +
  • idm_protocol (Providers.IdmProtocol or None) – The protocol to communicate to the identity management endpoints. +This attribute was added in vSphere API 7.0.0. +If None, leave value unchanged.

  • +
  • idm_endpoints (list of str) – Identity management endpoints. When specified, at least one +endpoint must be provided. This attribute was added in vSphere API +7.0.0. +This attribute is optional and it is only relevant when the value +of idmProtocol is one of Providers.IdmProtocol.REST or +Providers.IdmProtocol.SCIM.

  • +
  • active_directory_over_ldap (Providers.ActiveDirectoryOverLdap) – Identity management configuration. If the protocol is LDAP, the +configuration must be set, else InvalidArgument is thrown. This +attribute was added in vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of idmProtocol is Providers.IdmProtocol.LDAP.

  • +
  • upn_claim (str or None) – Specifies which claim provides the user principal name (UPN) for +the subject of the token. This attribute was added in vSphere API +7.0.0. +If None, leaves value unchanged.

  • +
  • reset_upn_claim (bool or None) – Flag indicating whether the user principal name (UPN) claim should +be set back to its default value. If this field is set to true, +the user principal name (UPN) claim will be set to ‘acct’, which is +used for backwards compatibility with CSP. If this field is set to +false, the existing user principal name (UPN) claim will be +changed to the value specified in +Providers.UpdateSpec.upn_claim, if any. This attribute was +added in vSphere API 7.0.0. +If None, the existing user principal name (UPN) claim will be +changed to the value specified in +Providers.UpdateSpec.upn_claim, if any.

  • +
  • groups_claim (str or None) – Specifies which claim provides the group membership for the token +subject. This attribute was added in vSphere API 7.0.0. +If None, leaves value unchanged.

  • +
  • reset_groups_claim (bool or None) – Flag indicating whether any existing groups claim value should be +removed. If this field is set to true, the existing groups +claim value is removed which defaults to backwards compatibility +with CSP. In this case, the groups for the subject will be +comprised of the groups in ‘group_names’ and ‘group_ids’ claims. If +this field is set to false, the existing groups claim will be +changed to the value specified in +Providers.UpdateSpec.groups_claim, if any. This attribute +was added in vSphere API 7.0.0. +If None, the existing groups claim will be changed to the value +specified in Providers.UpdateSpec.groups_claim, if any.

  • +
+
+
+
+ +
+
+create(spec)
+

Create a vCenter Server identity provider. This method was added in +vSphere API 7.0.0.

+
+
Parameters
+

spec (Providers.CreateSpec) – the CreateSpec contains the information used to create the provider

+
+
Return type
+

str

+
+
Returns
+

The identifier of the created identity provider. +The return value will be an identifier for the resource type: +com.vmware.vcenter.identity.Providers.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if authorization is not given to caller.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if invalid arguments are provided in createSpec.

+
+
+
+ +
+
+delete(provider)
+

Delete a vCenter Server identity provider. This method was added in +vSphere API 7.0.0.

+
+
Parameters
+

provider (str) – the identifier of the provider to delete +The parameter must be an identifier for the resource type: +com.vmware.vcenter.identity.Providers.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if authorization is not given to caller.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if no provider found with the given provider identifier.

+
+
+
+ +
+
+get(provider)
+

Retrieve detailed information of the specified identity provider. This +method was added in vSphere API 7.0.0.

+
+
Parameters
+

provider (str) – the identifier of the provider +The parameter must be an identifier for the resource type: +com.vmware.vcenter.identity.Providers.

+
+
Return type
+

Providers.Info

+
+
Returns
+

Detailed information of the specified identity provider.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if authorization is not given to caller.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if no provider found with the given provider identifier.

+
+
+
+ +
+
+list()
+

Retrieve all identity providers. This method was added in vSphere API +7.0.0.

+
+
Return type
+

list of Providers.Summary

+
+
Returns
+

Commonly used information about the identity providers.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if authorization is not given to caller.

+
+
+
+ +
+
+update(provider, spec)
+

Update a vCenter Server identity provider. This method was added in +vSphere API 7.0.0.

+
+
Parameters
+
    +
  • provider (str) – the identifier of the provider to update +The parameter must be an identifier for the resource type: +com.vmware.vcenter.identity.Providers.

  • +
  • spec (Providers.UpdateSpec) – the UpdateSpec contains the information used to update the provider

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if authorization is not given to caller.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if invalid arguments are provided in updateSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if no provider found with the given provider identifier.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.identity_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.inventory_client module

+

The com.vmware.vcenter.inventory_client component provides methods and +classes for retrieving vCenter datastore and network information for a given +list of identifiers.

+
+
+class com.vmware.vcenter.inventory_client.Datastore(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Datastore class provides methods to retrieve information about +datastores.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Datastore.Info class contains information about a datastore.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

type (str) – Type of the datastore. +When clients pass a value of this class as a parameter, the +attribute must be one of Datastore or StoragePod. When +methods return a value of this class as a return value, the +attribute will be one of Datastore or StoragePod.

+
+
+
+ +
+
+find(datastores)
+

Returns datastore information for the specified datastores. The key in +the return value dict is the datastore identifier and the +value in the dict is the datastore information.

+
+
Parameters
+

datastores (list of str) – Identifiers of the datastores for which information will be +returned. +The parameter must contain identifiers for the resource type: +Datastore.

+
+
Return type
+

dict of str and (Datastore.Info or None)

+
+
Returns
+

Datastore information for the specified datastores. The key in the +return value dict is the datastore identifier and the +value in the dict is the datastore information. +The key in the return value dict will be an identifier for +the resource type: Datastore.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if no datastore can be found for one or more of the datastore +identifiers in datastores

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
  • The resource Datastore referenced by the parameter +datastores requires System.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter.inventory_client.Network(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Network class provides methods to retrieve information about +vCenter Server networks.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Network.Info class contains information about a vCenter Server +network.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

type (str) – Type of the vCenter Server network. +When clients pass a value of this class as a parameter, the +attribute must be one of Network, +DistributedVirtualPortgroup, or OpaqueNetwork. When methods +return a value of this class as a return value, the attribute will +be one of Network, DistributedVirtualPortgroup, or +OpaqueNetwork.

+
+
+
+ +
+
+find(networks)
+

Returns network information for the specified vCenter Server networks. +The key in the return value dict is the network identifier and +the value in the dict is the network information.

+
+
Parameters
+

networks (list of str) – Identifiers of the vCenter Server networks for which information +will be returned. +The parameter must contain identifiers for the resource type: +Network.

+
+
Return type
+

dict of str and (Network.Info or None)

+
+
Returns
+

Network information for the specified vCenter Server networks. The +key in the return value dict is the network identifier and +the value in the dict is the network information. +The key in the return value dict will be an identifier for +the resource type: Network.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if no datastore can be found for one or more of the vCenter Server +network identifiers in networks

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
  • The resource Network referenced by the parameter networks +requires System.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter.inventory_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.iso_client module

+

The com.vmware.vcenter.iso_client module provides classes and classes that +will let its client mount or unmount an ISO image on a virtual machine as a +CD-ROM.

+
+
+class com.vmware.vcenter.iso_client.Image(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Provides an interface to mount and unmount an ISO image on a virtual +machine.

+

This is an API that will let its client mount or unmount an ISO image on a +virtual machine as a CD-ROM.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+mount(library_item, vm)
+

Mounts an ISO image from a content library on a virtual machine.

+
+
Parameters
+
    +
  • library_item (str) – The identifier of the library item having the ISO image to mount on +the virtual machine. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

  • +
  • vm (str) – The identifier of the virtual machine where the specified ISO image +will be mounted. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
+
+
Return type
+

str

+
+
Returns
+

The identifier of the newly created virtual CD-ROM backed by the +specified ISO image. +The return value will be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Cdrom.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If either vm or the library_item is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If no .iso file is present on the library item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +When the operation is not allowed on the virtual machine in its +current state.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
  • The resource VirtualMachine referenced by the parameter +vm requires VirtualMachine.Config.AddRemoveDevice.

  • +
  • The resource com.vmware.content.library.Item referenced by +the parameter library_item requires +ContentLibrary.DownloadSession.

  • +
+
+
+
+ +
+
+unmount(vm, cdrom)
+

Unmounts a previously mounted CD-ROM using an ISO image as a backing.

+
+
Parameters
+
    +
  • vm (str) – The identifier of the virtual machine from which to unmount the +virtual CD-ROM. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • cdrom (str) – The device identifier of the CD-ROM. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Cdrom.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the virtual machine identified by vm is not found or the +cdrom does not identify a virtual CD-ROM in the virtual +machine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +When the operation is not allowed on the virtual machine in its +current state.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
  • The resource VirtualMachine referenced by the parameter +vm requires VirtualMachine.Config.AddRemoveDevice.

  • +
  • The resource com.vmware.vcenter.vm.hardware.Cdrom referenced +by the parameter cdrom requires System.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter.iso_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.lcm_client module

+

The com.vmware.vcenter.lcm_client module provides classes for managing the +vCenter Server lifecycle.

+
+
+class com.vmware.vcenter.lcm_client.Notification(id=None, time=None, message=None, resolution=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Notification class describes a notification that can be reported by +the appliance task, which can be of type info, warning or errors.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class com.vmware.vcenter.lcm_client.Notifications(info=None, warnings=None, errors=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Notifications class contains info/warning/error messages that can +be reported be the appliance task.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • info (list of Notification or None) – Info notification messages reported. +Only set if an info was reported by the appliance task.

  • +
  • warnings (list of Notification or None) – Warning notification messages reported. +Only set if an warning was reported by the appliance task.

  • +
  • errors (list of Notification or None) – Error notification messages reported. +Only set if an error was reported by the appliance task.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.lcm_client.Reports(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Report class provides an method to download the report generated by +the interop and precheck operations. To download a report, you must use the +get method. A Report.Location class represents the location of the +file which has Report.Token class which represents the token ID +(\@name String) and the expiration time of the token +Report.Token.expiry DateTime. Report.Location class also has the +URI for the file which needs to be downloaded.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Location(uri=None, download_file_token=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Reports.Location class contains the URI location to download the +report from, as well as a token required (as a header on the HTTP request) +to get the bundle. The validity of the token is 5 minutes as best attempt. +After the token expires, any attempt to call the URI with said token will +fail.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • uri (str) – Report Download URI.

  • +
  • download_file_token (Reports.Token) – Information about the token required in the HTTP GET request to +retrieve the report

  • +
+
+
+
+ +
+
+class Token(token=None, expiry=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Reports.Token class contains information about the token required +in the HTTP GET request to generate the report.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • token (str) – A one-time, short-lived token required in the HTTP header of the +request to the url. This token needs to be passed in as a header +with the name “session-id”.

  • +
  • expiry (datetime.datetime) – Expiry time of the token

  • +
+
+
+
+ +
+
+get(report)
+

Returns the location Reports.Location information for +downloading the report for the specified file name.

+
+

Retrieving a report involves two steps:

+
+
    +
  • Step 1: Invoke the Reports.get() method to provision a token +and a URI.

  • +
  • Step 2: Make an HTTP GET request by using the URI and the token +returned in step 1 to retrieve the report.

  • +
+
+

The HTTP GET request will:

+
+
    +
  • Return 401 (Not Authorized) if the download URI is recognized, but +the token is invalid, 404 if the URL is not recognized otherwise return +200 (OK)

  • +
  • Provide the CSV contents as the output of the request. The API +accepts the file name as input, reads the contents of that CSV file, +and returns this text as the result of the API.

  • +
+
+
Parameters
+

report (str) – The parameter must be an identifier for the resource type: +com.vmware.vcenter.lcm.report.

+
+
Return type
+

Reports.Location

+
+
Returns
+

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no file associated with report in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.lcm_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.namespace_management_client module

+

The com.vmware.vcenter.namespace_management_client module provides classes +for managing Namespaces.

+
+
+class com.vmware.vcenter.namespace_management_client.ClusterAvailableVersions(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The {\@name cluster-available-versions} class provides methods to +retrieve available upgrade versions of WCP and detailed information about +each upgrade.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Summary(version=None, name=None, description=None, release_date=None, release_notes=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ClusterAvailableVersions.Summary class contains the information +about each available upgrade version.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • version (str) – Version of the upgrade.

  • +
  • name (str) – Name of the upgrade.

  • +
  • description (str) – Description of the upgrade.

  • +
  • release_date (datetime.datetime) – Release date of the upgrade.

  • +
  • release_notes (str) – Release details of the upgrade.

  • +
+
+
+
+ +
+
+list()
+

Get information about each available upgrade.

+
+
Return type
+

list of ClusterAvailableVersions.Summary

+
+
Returns
+

Information for each upgrade.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have System.Read privilege.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.namespace_management_client.ClusterCompatibility(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The ClusterCompatibility class provides methods to get +Namespace-related compatibility information for clusters in this vCenter.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class FilterSpec(compatible=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ClusterCompatibility.FilterSpec class contains attributes used to +filter the results when listing clusters (see +ClusterCompatibility.list()) and their compatibility information.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

compatible (bool or None) – Compatibility criteria for matching the filter. If true, only +clusters which are compatible for Namespaces match the filter. If +false, all clusters match the filter. +If None, both compatible and incompatible clusters match the +filter.

+
+
+
+ +
+
+class Summary(cluster=None, compatible=None, incompatibility_reasons=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ClusterCompatibility.Summary class contains the information about +the compatibility of a cluster.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: ClusterComputeResource.

  • +
  • compatible (bool) – Compatibility of this cluster.

  • +
  • incompatibility_reasons (list of com.vmware.vapi.std_client.LocalizableMessage) – Reasons for incompatibility.

  • +
+
+
+
+ +
+
+list(filter=None)
+

Returns Namespaces compatibility information for all clusters in +vCenter matching the ClusterCompatibility.FilterSpec. The +result contains only visible (subject to permission checks) clusters.

+
+
Parameters
+

filter (ClusterCompatibility.FilterSpec or None) – Specification of matching clusters for which information should be +returned. +If None, the behavior is equivalent to a +ClusterCompatibility.FilterSpec with all attributes None +which means all clusters match the filter.

+
+
Return type
+

list of ClusterCompatibility.Summary

+
+
Returns
+

Namespaces compatibility information for the clusters matching the +the ClusterCompatibility.FilterSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InternalServerError +if the server reports an unknown internal error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have System.Read privilege.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.namespace_management_client.ClusterSizeInfo(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The {\@name cluster-size-info} class provides methods to retrieve +various sizes available for enabling Namespaces and information about each +size.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(num_supported_pods=None, num_supported_services=None, default_service_cidr=None, default_pod_cidr=None, master_vm_info=None, worker_vm_info=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ClusterSizeInfo.Info class contains the information about limits +associated with a SizingHint.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • num_supported_pods (long) – The maximum number of supported pods.

  • +
  • num_supported_services (long) – The maximum number of supported services.

  • +
  • default_service_cidr (Ipv4Cidr) – Default CIDR range from which Kubernetes allocates service cluster +IP addresses.

  • +
  • default_pod_cidr (Ipv4Cidr) – Default CIDR range from which Kubernetes allocates pod IP +addresses.

  • +
  • master_vm_info (ClusterSizeInfo.VmInfo) – Information about Kubernetes API server virtual machine +configuration.

  • +
  • worker_vm_info (ClusterSizeInfo.VmInfo or None) – Information about worker virtual machine configuration. +If None, the configuration of the worker VM is not fixed.

  • +
+
+
+
+ +
+
+class VmInfo(count=None, cores_per_socket=None, memory=None, capacity=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ClusterSizeInfo.VmInfo class contains the information about the +configuration of the virtual machines which would be created for +Namespaces.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • count (long) – Number of CPU cores.

  • +
  • cores_per_socket (long) – Number of CPU cores per socket.

  • +
  • memory (long) – Memory size, in mebibytes.

  • +
  • capacity (long) – Overall capacity of the disks in the virtual machine, in mebibytes.

  • +
+
+
+
+ +
+
+get()
+

Get information about the default values associated with various sizes.

+
+
Return type
+

dict of SizingHint and ClusterSizeInfo.Info

+
+
Returns
+

Information for each size.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.namespace_management_client.Clusters(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Clusters class provides methods to enable and disable vSphere +Namespaces on a vSphere cluster.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class ConfigStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Clusters.ConfigStatus class describes the status of reaching the +desired state configuration for the cluster.

+
+

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 the ConfigStatus instance.

+
+
+
+
+CONFIGURING = ConfigStatus(string='CONFIGURING')
+

The Namespace configuration is being applied to the cluster.

+
+ +
+
+ERROR = ConfigStatus(string='ERROR')
+

Failed to apply the Namespace configuration to the cluster, user +intervention needed.

+
+ +
+
+REMOVING = ConfigStatus(string='REMOVING')
+

The Namespace configuration is being removed from the cluster.

+
+ +
+
+RUNNING = ConfigStatus(string='RUNNING')
+

The cluster is configured correctly with the Namespace configuration.

+
+ +
+ +
+
+class EnableSpec(size_hint=None, service_cidr=None, network_provider=None, ncp_cluster_network_spec=None, master_management_network=None, master_dns=None, worker_dns=None, master_dns_search_domains=None, master_ntp_servers=None, master_storage_policy=None, ephemeral_storage_policy=None, login_banner=None, master_dns_names=None, image_storage=None, default_image_registry=None, default_image_repository=None, default_kubernetes_service_content_library=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Clusters.EnableSpec class contains the specification required to +enable vSphere Namespaces on a cluster.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • size_hint (SizingHint) – This affects the size and resources allocated to the Kubernetes API +server and the worker nodes. It also affects the suggested default +serviceCidr and podCidrs.

  • +
  • service_cidr (Ipv4Cidr) – CIDR block from which Kubernetes allocates service cluster IP +addresses. This range should not overlap with those in null, null, +null, or other services running in the datacenter.

  • +
  • network_provider (Clusters.NetworkProvider) – The provider of cluster networking for this vSphere Namespaces +cluster.

  • +
  • ncp_cluster_network_spec (Clusters.NCPClusterNetworkEnableSpec) – Specification for the NSX Container Plugin cluster network. +This attribute is optional and it is only relevant when the value +of networkProvider is +Clusters.NetworkProvider.NSXT_CONTAINER_PLUGIN.

  • +
  • master_management_network (Clusters.NetworkSpec) – Specification for the management network on Kubernetes API server. +Clusters.NetworkSpec.mode must be STATICRANGE as we require +Kubernetes API server to have a stable address.

  • +
  • master_dns (list of str or None) – List of DNS server IP addresses to use on Kubernetes API server, +specified in order of preference. +If None, no default DNS servers are set.

  • +
  • worker_dns (list of str or None) – List of DNS server IP addresses to use on the worker nodes, +specified in order of preference. +If None, no default DNS servers are set.

  • +
  • master_dns_search_domains (list of str or None) – List of domains (for example “vmware.com”) to be searched when +trying to lookup a host name on Kubernetes API server, specified in +order of preference. +If None, no default DNS search domains are set.

  • +
  • master_ntp_servers (list of str or None) – List of NTP server DNS names or IP addresses to use on Kubernetes +API server, specified in order of preference. +If None, VMware Tools based time synchronization is enabled.

  • +
  • master_storage_policy (str) – Identifier of storage policy associated with Kubernetes API server. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +SpsStorageProfile. When methods return a value of this class as +a return value, the attribute will be an identifier for the +resource type: SpsStorageProfile.

  • +
  • ephemeral_storage_policy (str) – Identifier of storage policy associated with ephemeral disks of all +the Kubernetes Pods in the cluster. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +SpsStorageProfile. When methods return a value of this class as +a return value, the attribute will be an identifier for the +resource type: SpsStorageProfile.

  • +
  • login_banner (str or None) – Disclaimer to be displayed prior to login via the Kubectl plugin. +If None, just skip it.

  • +
  • master_dns_names (list of str or None) – List of additional DNS names to associate with the Kubernetes API +server. These DNS names are embedded in the TLS certificate +presented by the API server. +If None, no additional DNS names are embedded in the TLS +certificate.

  • +
  • image_storage (Clusters.ImageStorageSpec) – Specification for storage to be used for container images.

  • +
  • default_image_registry (Clusters.ImageRegistry or None) – Default image registry to use when Kubernetes Pod container +specification does not specify it as part of the container image +name. +If None, defaults to Docker Hub.

  • +
  • default_image_repository (str or None) – Default image repository to use when Kubernetes Pod container +specification does not specify it as part of the container image +name. +If None, defaults to Docker Hub official repository in case of +Docker Hub image registry, otherwise defaults to empty string.

  • +
  • default_kubernetes_service_content_library (str or None) – Identifier of the Content Library which holds the VM Images for +vSphere Kubernetes Service. This Content Library should be +subscribed to VMware’s hosted vSphere Kubernetes Service +Repository. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.Library. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: com.vmware.content.Library. +If None, the Content Library identifier will not be set.

  • +
+
+
+
+ +
+
+class ImageRegistry(hostname=None, port=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Clusters.ImageRegistry class contains the specification required to +configure container image registry endpoint.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • hostname (str) – IP address or the hostname of container image registry.

  • +
  • port (long or None) – Port number of the container image registry. +If None, defaults to 443.

  • +
+
+
+
+ +
+
+class ImageStorageSpec(storage_policy=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Clusters.ImageStorageSpec class contains the specification required +to configure storage used for container images.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

storage_policy (str) – Identifier of the storage policy. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +SpsStorageProfile. When methods return a value of this class as +a return value, the attribute will be an identifier for the +resource type: SpsStorageProfile.

+
+
+
+ +
+
+class Info(stat_summary=None, config_status=None, messages=None, kubernetes_status=None, kubernetes_status_messages=None, api_server_management_endpoint=None, api_server_cluster_endpoint=None, api_servers=None, tls_management_endpoint_certificate=None, tls_endpoint_certificate=None, network_provider=None, ncp_cluster_network_info=None, service_cidr=None, master_dns=None, worker_dns=None, master_dns_search_domains=None, default_kubernetes_service_content_library=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Clusters.Info class contains detailed information about the cluster +statistics and status related to vSphere Namespaces.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • stat_summary (Clusters.Stats) – Basic runtime statistics for the cluster.

  • +
  • config_status (Clusters.ConfigStatus) – Current setting for Clusters.ConfigStatus.

  • +
  • messages (list of Clusters.Message) – Current set of messages associated with the object.

  • +
  • kubernetes_status (Clusters.KubernetesStatus) – Current setting for Clusters.KubernetesStatus.

  • +
  • kubernetes_status_messages (list of Clusters.Message) – Current set of messages associated with the object.

  • +
  • api_server_management_endpoint (str) – Kubernetes API Server IP address on the management network. This is +a floating IP and assigned to one of the control plane VMs on the +management network. This endpoint is used by vSphere components.

  • +
  • api_server_cluster_endpoint (str) – Kubernetes API Server IP address via cluster network. This is the +IP address of the Kubernetes LoadBalancer type service fronting the +apiservers. This endpoint is the one configured in kubeconfig after +login, and used for most human and application interaction with +Kubernetes.

  • +
  • api_servers (set of str) – Identifier of the Kubernetes API servers. These are the IP +addresses of the VM instances for the Kubernetes control plane on +the management network.

  • +
  • tls_management_endpoint_certificate (str or None) – PEM-encoded x509 certificate used by TLS endpoint on Kubernetes API +servers when accessed from the management network, e.g. from ESX +servers or VCSA. This certificate is only valid for use with the +apiServerManagementEndpoint.

  • +
  • tls_endpoint_certificate (str or None) – PEM-encoded x509 certificate used by TLS endpoint on Kubernetes API +servers when accessed via the load balancer, e.g. devops user on +corporate network. This certificate is only valid for use with the +apiServerClusterEndpoint.

  • +
  • network_provider (Clusters.NetworkProvider) – The provider of cluster networking for this vSphere Namespaces +cluster.

  • +
  • ncp_cluster_network_info (Clusters.NCPClusterNetworkInfo) – Specification for the NSX Container Plugin cluster network. +This attribute is optional and it is only relevant when the value +of networkProvider is +Clusters.NetworkProvider.NSXT_CONTAINER_PLUGIN.

  • +
  • service_cidr (Ipv4Cidr) – CIDR block from which Kubernetes allocates service cluster IP +addresses.

  • +
  • master_dns (list of str or None) – List of DNS server IP addresses to use on Kubernetes API server, +specified in order of preference.

  • +
  • worker_dns (list of str or None) – List of DNS server IP addresses to use for pods that execute on the +worker nodes (which are native pods on ESXi hosts in the vSphere +Namespaces Supervisor).

  • +
  • master_dns_search_domains (list of str or None) – List of domains (for example “vmware.com”) to be searched when +trying to lookup a host name on Kubernetes API server, specified in +order of preference.

  • +
  • default_kubernetes_service_content_library (str or None) – Identifier of the Content Library which holds the VM Images for +vSphere Kubernetes Service. This Content Library should be +subscribed to VMware’s hosted vSphere Kubernetes Service +Repository. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.Library. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: com.vmware.content.Library.

  • +
+
+
+
+ +
+
+class Ipv4Range(starting_address=None, address_count=None, subnet_mask=None, gateway=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Clusters.Ipv4Range contains specification to configure multiple +interfaces in IPv4. The range of IPv4 addresses is derived by incrementing +the startingAddress to the specified addressCount. To use the object for a +single IPv4 address specification, set addressCount to 1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • starting_address (str) – The IPv4 address denoting the start of the range.

  • +
  • address_count (long) – The number of IP addresses in the range. Addresses are derived by +incrementing Clusters.Ipv4Range.starting_address.

  • +
  • subnet_mask (str) – Subnet mask to be set.

  • +
  • gateway (str) – The IPv4 address of the gateway associated with the range indicated +by Clusters.Ipv4Range.starting_address and +Clusters.Ipv4Range.address_count.

  • +
+
+
+
+ +
+
+class KubernetesStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Clusters.KubernetesStatus class describes the cluster’s ability to +deploy pods.

+
+

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 the KubernetesStatus instance.

+
+
+
+
+ERROR = KubernetesStatus(string='ERROR')
+

The cluster may not be able to accept pods and has error messages.

+
+ +
+
+READY = KubernetesStatus(string='READY')
+

The cluster is able to accept pods.

+
+ +
+
+WARNING = KubernetesStatus(string='WARNING')
+

The cluster may be able to accept pods, but has warning messages.

+
+ +
+ +
+
+class Message(severity=None, details=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Clusters.Message class contains the information about the object +configuration.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+
+class Severity(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Clusters.Message.Severity class represents the severity of the +message.

+
+

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 the Severity instance.

+
+
+
+
+ERROR = Severity(string='ERROR')
+

Error message. This is accompanied by vCenter event and/or alarm.

+
+ +
+
+INFO = Severity(string='INFO')
+

Informational message. This may be accompanied by vCenter event.

+
+ +
+
+WARNING = Severity(string='WARNING')
+

Warning message. This may be accompanied by vCenter event.

+
+ +
+ +
+ +
+
+class NCPClusterNetworkEnableSpec(pod_cidrs=None, ingress_cidrs=None, egress_cidrs=None, cluster_distributed_switch=None, nsx_edge_cluster=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Clusters.NCPClusterNetworkEnableSpec class encapsulates the NSX +Container Plugin-specific cluster networking configuration parameters for +the vSphere Namespaces Cluster Enable operation.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • pod_cidrs (list of Ipv4Cidr) – CIDR blocks from which Kubernetes allocates pod IP addresses. This +range should not overlap with those in null, +Clusters.NCPClusterNetworkEnableSpec.ingress_cidrs, +Clusters.NCPClusterNetworkEnableSpec.egress_cidrs, or other +services running in the datacenter. All Pod CIDR blocks must be of +at least subnet size /23.

  • +
  • ingress_cidrs (list of Ipv4Cidr) – CIDR blocks from which NSX assigns IP addresses for Kubernetes +Ingresses and Kubernetes Services of type LoadBalancer. These +ranges should not overlap with those in +Clusters.NCPClusterNetworkEnableSpec.pod_cidrs, null, +Clusters.NCPClusterNetworkEnableSpec.egress_cidrs, or other +services running in the datacenter.

  • +
  • egress_cidrs (list of Ipv4Cidr) – CIDR blocks from which NSX assigns IP addresses used for performing +SNAT from container IPs to external IPs. These ranges should not +overlap with those in +Clusters.NCPClusterNetworkEnableSpec.pod_cidrs, null, +Clusters.NCPClusterNetworkEnableSpec.ingress_cidrs, or +other services running in the datacenter.

  • +
  • cluster_distributed_switch (str or None) – vSphere Distributed Switch used to connect this cluster. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +vSphereDistributedSwitch. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: vSphereDistributedSwitch. +This field is required when configuring a cluster that uses NSX-T. +If None and using NSXe, the system will choose a suitable vSphere +Distributed Switch.

  • +
  • nsx_edge_cluster (str or None) – NSX Edge Cluster to be used for Kubernetes Services of type +LoadBalancer, Kubernetes Ingresses, and NSX SNAT. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +NSXEdgeCluster. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: NSXEdgeCluster. +This field is required when configuring a cluster that uses NSX-T. +If None and using NSXe, the system will choose a suitable NSX Edge +Cluster.

  • +
+
+
+
+ +
+
+class NCPClusterNetworkInfo(pod_cidrs=None, ingress_cidrs=None, egress_cidrs=None, cluster_distributed_switch=None, nsx_edge_cluster=None, default_ingress_tls_certificate=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Clusters.NCPClusterNetworkInfo class contains the NSX Container +Plugin-specific cluster networking configuration.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • pod_cidrs (list of Ipv4Cidr) – CIDR blocks from which Kubernetes allocates pod IP addresses.

  • +
  • ingress_cidrs (list of Ipv4Cidr) – CIDR blocks from which NSX assigns IP addresses for Kubernetes +Ingresses and Kubernetes Services of type LoadBalancer.

  • +
  • egress_cidrs (list of Ipv4Cidr) – CIDR blocks from which NSX assigns IP addresses used for performing +SNAT from container IPs to external IPs.

  • +
  • cluster_distributed_switch (str) – vSphere Distributed Switch used to connect this cluster. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +vSphereDistributedSwitch. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: vSphereDistributedSwitch.

  • +
  • nsx_edge_cluster (str) – NSX Edge Cluster to be used for Kubernetes Services of type +LoadBalancer, Kubernetes Ingresses, and NSX SNAT. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +NSXEdgeCluster. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: NSXEdgeCluster.

  • +
  • default_ingress_tls_certificate (str) – PEM-encoded x509 certificate used by NSX as a default fallback +certificate for Kubernetes Ingress services.

  • +
+
+
+
+ +
+
+class NCPClusterNetworkSetSpec(pod_cidrs=None, ingress_cidrs=None, egress_cidrs=None, default_ingress_tls_certificate=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Clusters.NCPClusterNetworkSetSpec class encapsulates the NSX +Container Plugin-specific cluster networking configuration parameters for +the vSphere Namespaces Cluster Set operation.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • pod_cidrs (list of Ipv4Cidr) – CIDR blocks from which Kubernetes allocates pod IP addresses. This +range should not overlap with those in null, +Clusters.NCPClusterNetworkSetSpec.ingress_cidrs, +Clusters.NCPClusterNetworkSetSpec.egress_cidrs, or other +services running in the datacenter. A set operation only allows for +addition of new CIDR blocks to the existing list. All Pod CIDR +blocks must be of at least subnet size /23.

  • +
  • ingress_cidrs (list of Ipv4Cidr) – CIDR blocks from which NSX assigns IP addresses for Kubernetes +Ingresses and Kubernetes Services of type LoadBalancer. These +ranges should not overlap with those in +Clusters.NCPClusterNetworkSetSpec.pod_cidrs, null, +Clusters.NCPClusterNetworkSetSpec.egress_cidrs, or other +services running in the datacenter. A set operation only allows for +addition of new CIDR blocks to the existing list.

  • +
  • egress_cidrs (list of Ipv4Cidr) – CIDR blocks from which NSX assigns IP addresses used for performing +SNAT from container IPs to external IPs. These ranges should not +overlap with those in +Clusters.NCPClusterNetworkSetSpec.pod_cidrs, null, +Clusters.NCPClusterNetworkSetSpec.ingress_cidrs, or other +services running in the datacenter. A set operation only allows for +addition of new CIDR blocks to the existing list.

  • +
  • default_ingress_tls_certificate (str) – PEM-encoded x509 certificate used by NSX as a default fallback +certificate for Kubernetes Ingress services.

  • +
+
+
+
+ +
+
+class NCPClusterNetworkUpdateSpec(pod_cidrs=None, ingress_cidrs=None, egress_cidrs=None, default_ingress_tls_certificate=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Clusters.NCPClusterNetworkUpdateSpec class encapsulates the NSX +Container Plugin-specific cluster networking configuration parameters for +the vSphere Namespaces Cluster Update operation.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • pod_cidrs (list of Ipv4Cidr or None) – CIDR blocks from which Kubernetes allocates pod IP addresses. This +range should not overlap with those in null, +Clusters.NCPClusterNetworkUpdateSpec.ingress_cidrs, +Clusters.NCPClusterNetworkUpdateSpec.egress_cidrs, or other +services running in the datacenter. An update operation only allows +for addition of new CIDR blocks to the existing list. All Pod CIDR +blocks must be of at least subnet size /23. +If None, CIDRs from which Kubernetes allocates pod IP addresses +will not be modified.

  • +
  • ingress_cidrs (list of Ipv4Cidr or None) – CIDR blocks from which NSX assigns IP addresses for Kubernetes +Ingresses and Kubernetes Services of type LoadBalancer. These +ranges should not overlap with those in +Clusters.NCPClusterNetworkUpdateSpec.pod_cidrs, null, +Clusters.NCPClusterNetworkUpdateSpec.egress_cidrs, or other +services running in the datacenter. An update operation only allows +for addition of new CIDR blocks to the existing list. +If None, CIDRs from which Kubernetes allocates ingress IP addresses +will not be modified.

  • +
  • egress_cidrs (list of Ipv4Cidr or None) – CIDR blocks from which NSX assigns IP addresses used for performing +SNAT from container IPs to external IPs. These ranges should not +overlap with those in +Clusters.NCPClusterNetworkUpdateSpec.pod_cidrs, null, +Clusters.NCPClusterNetworkUpdateSpec.ingress_cidrs, or +other services running in the datacenter. An update operation only +allows for addition of new CIDR blocks to the existing list. +If None, CIDR from which Kubernetes allocates egress IP addresses +will not be modified.

  • +
  • default_ingress_tls_certificate (str or None) – PEM-encoded x509 certificate used by NSX as a default fallback +certificate for Kubernetes Ingress services.

  • +
+
+
+
+ +
+
+class NetworkProvider(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Identifies the network plugin that cluster networking functionalities for +this vSphere Namespaces Cluster.

+
+

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 the NetworkProvider instance.

+
+
+
+
+NSXT_CONTAINER_PLUGIN = NetworkProvider(string='NSXT_CONTAINER_PLUGIN')
+

NSX-T Container Plugin.

+
+ +
+ +
+
+class NetworkSpec(floating_ip=None, network=None, mode=None, address_range=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Clusters.NetworkSpec contains information related to network +configuration for one or more interfaces.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • floating_ip (str or None) – Optionally specify the Floating IP used by the HA master cluster in +the DHCP case. +This attribute is optional and it is only relevant when the value +of mode is Clusters.NetworkSpec.Ipv4Mode.DHCP.

  • +
  • network (str) – Identifier for the network. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: Network. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: Network.

  • +
  • mode (Clusters.NetworkSpec.Ipv4Mode) – The address assignment mode.

  • +
  • address_range (Clusters.Ipv4Range) – Settings for the interfaces on the network. +This attribute is optional and it is only relevant when the value +of mode is Clusters.NetworkSpec.Ipv4Mode.STATICRANGE.

  • +
+
+
+
+
+class Ipv4Mode(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Clusters.NetworkSpec.Ipv4Mode class defines various IPv4 address +assignment modes.

+
+

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 the Ipv4Mode instance.

+
+
+
+
+DHCP = Ipv4Mode(string='DHCP')
+

The address is automatically assigned by a DHCP server.

+
+ +
+
+STATICRANGE = Ipv4Mode(string='STATICRANGE')
+

The address is static.

+
+ +
+ +
+ +
+
+class SetSpec(size_hint=None, network_provider=None, ncp_cluster_network_spec=None, master_dns=None, worker_dns=None, master_dns_search_domains=None, master_ntp_servers=None, master_storage_policy=None, ephemeral_storage_policy=None, login_banner=None, image_storage=None, default_image_registry=None, default_image_repository=None, default_kubernetes_service_content_library=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Clusters.SetSpec class contains the specification required to set a +new configuration on the Cluster. This class is applied in entirety, +replacing the current specification fully.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • size_hint (SizingHint) – This affects the size and resources allocated to the Kubernetes API +server.

  • +
  • network_provider (Clusters.NetworkProvider) – The provider of cluster networking for this vSphere Namespaces +cluster.

  • +
  • ncp_cluster_network_spec (Clusters.NCPClusterNetworkSetSpec) – Specification for the NSX Container Plugin cluster network. +This attribute is optional and it is only relevant when the value +of networkProvider is +Clusters.NetworkProvider.NSXT_CONTAINER_PLUGIN.

  • +
  • master_dns (list of str or None) – List of DNS server IP addresses to use on Kubernetes API server, +specified in order of preference. +If None, DNS servers set on Kubernetes API server will be cleared.

  • +
  • worker_dns (list of str or None) – List of DNS server IP addresses to use on the worker nodes, +specified in order of preference. +If None, DNS servers set on worker nodes will be cleared.

  • +
  • master_dns_search_domains (list of str or None) – List of domains (for example “vmware.com”) to be searched when +trying to lookup a host name on Kubernetes API server, specified in +order of preference. +If None, DNS search domains set on Kubernetes API server will be +cleared.

  • +
  • master_ntp_servers (list of str or None) – List of NTP server DNS names or IP addresses to use on Kubernetes +API server, specified in order of preference. +If None, VMware Tools based time synchronization is enabled and any +set NTP servers are cleared.

  • +
  • master_storage_policy (str) – Identifier of storage policy associated with Kubernetes API server. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +SpsStorageProfile. When methods return a value of this class as +a return value, the attribute will be an identifier for the +resource type: SpsStorageProfile.

  • +
  • ephemeral_storage_policy (str) – Identifier of storage policy associated with ephemeral disks of all +the Kubernetes Pods in the cluster. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +SpsStorageProfile. When methods return a value of this class as +a return value, the attribute will be an identifier for the +resource type: SpsStorageProfile.

  • +
  • login_banner (str or None) – Disclaimer to be displayed prior to login via the Kubectl plugin. +If None, disclaimer to be displayed prior to login via the Kubectl +plugin will be cleared.

  • +
  • image_storage (Clusters.ImageStorageSpec) – Specification for storage to be used for container images.

  • +
  • default_image_registry (Clusters.ImageRegistry or None) – Default image registry to use when Kubernetes Pod container +specification does not specify it as part of the container image +name. +If None, default image registry will be set to Docker Hub.

  • +
  • default_image_repository (str or None) – Default image repository to use when Kubernetes Pod container +specification does not specify it as part of the container image +name. +If None, default image repository will be set to Docker Hub +official repository in case of Docker Hub image registry, otherwise +will be set to empty string.

  • +
  • default_kubernetes_service_content_library (str or None) – Identifier of the Content Library which holds the VM Images for +vSphere Kubernetes Service. This Content Library should be +subscribed to VMware’s hosted vSphere Kubernetes Service +Repository. Modifying or clearing the Content Library identifier +will not affect existing vSphere Kubernetes Service clusters. +However, upgrades or scale-out of existing clusters may be affected +if the new Content Library doesn’t have the necessary VM Images. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.Library. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: com.vmware.content.Library. +If None, the Content Library identifier will be cleared.

  • +
+
+
+
+ +
+
+class Stats(cpu_used=None, cpu_capacity=None, memory_used=None, memory_capacity=None, storage_used=None, storage_capacity=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Clusters.Stats class contains the basic runtime statistics about a +vSphere Namespaces-enabled cluster.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • cpu_used (long) – Overall CPU usage of the cluster, in MHz. This is the sum of CPU +usage across all worker nodes in the cluster.

  • +
  • cpu_capacity (long) – Total CPU capacity in the cluster available for vSphere Namespaces, +in MHz. This is the sum of CPU capacities from all worker nodes in +the cluster.

  • +
  • memory_used (long) – Overall memory usage of the cluster, in mebibytes. This is the sum +of memory usage across all worker nodes in the cluster.

  • +
  • memory_capacity (long) – Total memory capacity of the cluster available for vSphere +Namespaces, in mebibytes. This is the sum of memory capacities from +all worker nodesin the cluster.

  • +
  • storage_used (long) – Overall storage used by the cluster, in mebibytes. This is the sum +of storage used across all worker nodes in the cluster.

  • +
  • storage_capacity (long) – Overall storage capacity of the cluster available for vSphere +Namespaces, in mebibytes. This is the sum of total storage +available from all worker nodes in the cluster.

  • +
+
+
+
+ +
+
+class Summary(cluster=None, cluster_name=None, stats=None, config_status=None, kubernetes_status=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Clusters.Summary class contains the basic information about the +cluster statistics and status related to vSphere Namespaces.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • cluster (str) – Identifier for the cluster. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: ClusterComputeResource.

  • +
  • cluster_name (str) – Name of the cluster. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource.name. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: ClusterComputeResource.name.

  • +
  • stats (Clusters.Stats) – Basic runtime statistics for the cluster.

  • +
  • config_status (Clusters.ConfigStatus) – Current setting for Clusters.ConfigStatus.

  • +
  • kubernetes_status (Clusters.KubernetesStatus) – Current setting for Clusters.KubernetesStatus.

  • +
+
+
+
+ +
+
+class UpdateSpec(size_hint=None, network_provider=None, ncp_cluster_network_spec=None, master_dns=None, worker_dns=None, master_dns_search_domains=None, master_ntp_servers=None, master_storage_policy=None, ephemeral_storage_policy=None, login_banner=None, image_storage=None, default_image_registry=None, default_image_repository=None, tls_endpoint_certificate=None, default_kubernetes_service_content_library=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Clusters.UpdateSpec class contains the specification required to +update the configuration on the Cluster. This class is applied partially, +and only the specified fields will replace or modify their existing +counterparts.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • size_hint (SizingHint or None) – This affects the size and resources allocated to the Kubernetes API +server. +If None, size and resources allocated to Kubernetes API server will +not be modified.

  • +
  • network_provider (Clusters.NetworkProvider or None) – The provider of cluster networking for this vSphere Namespaces +cluster. +If None, the existing effective cluster network specification will +not be modified.

  • +
  • ncp_cluster_network_spec (Clusters.NCPClusterNetworkUpdateSpec or None) – Updated specification for the cluster network configuration. +If unset, existing effective value will not be modified If None, +the existing effective cluster network specification will not be +modified.

  • +
  • master_dns (list of str or None) – List of DNS server IP addresses to use on Kubernetes API server, +specified in order of preference. +If set, DNS servers set on Kubernetes API server will be +replaced. Otherwise, they will not be modified.

  • +
  • worker_dns (list of str or None) – List of DNS server IP addresses to use on the worker nodes, +specified in order of preference. +If set, DNS servers set on worker nodes will be replaced. +Otherwise, they will not be modified.

  • +
  • master_dns_search_domains (list of str or None) – List of domains (for example “vmware.com”) to be searched when +trying to lookup a host name on Kubernetes API server, specified in +order of preference. +If set, DNS search domains on Kubernetes API server will +be replaced. Otherwise, they will not be modified.

  • +
  • master_ntp_servers (list of str or None) – List of NTP server DNS names or IP addresses to use on Kubernetes +API server, specified in order of preference. +If set, NTP servers on Kubernetes API server will be +replaced. Otherwise, they will not be modified.

  • +
  • master_storage_policy (str or None) – Identifier of storage policy associated with Kubernetes API server. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +SpsStorageProfile. When methods return a value of this class as +a return value, the attribute will be an identifier for the +resource type: SpsStorageProfile. +If None, storage policy associated with Kubernetes API server will +not be modified.

  • +
  • ephemeral_storage_policy (str or None) – Identifier of storage policy associated with ephemeral disks of all +the Kubernetes Pods in the cluster. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +SpsStorageProfile. When methods return a value of this class as +a return value, the attribute will be an identifier for the +resource type: SpsStorageProfile. +If None, storage policy associated with ephemeral disks of all the +Kubernetes Pods will not be modified.

  • +
  • login_banner (str or None) – Disclaimer to be displayed prior to login via the Kubectl plugin. +If None, disclaimer to be displayed prior to login via the Kubectl +plugin will not be modified.

  • +
  • image_storage (Clusters.ImageStorageSpec or None) – Specification for storage to be used for container images. +If None, configuration of storage used for container images is not +modified.

  • +
  • default_image_registry (Clusters.ImageRegistry or None) – Default image registry to use when Kubernetes Pod container +specification does not specify it as part of the container image +name. +If None, default image registry will not be modified.

  • +
  • default_image_repository (str or None) – Default image repository to use when Kubernetes Pod container +specification does not specify it as part of the container image +name. +If None, default image repository will not be modified.

  • +
  • tls_endpoint_certificate (str or None) – Certificate issued for Kubernetes API Server. Certificate used must +be created by signing the Certificate Signing Request obtained from +null Because a CertificateSigningRequest is created on an +existing Namespaces-enabled Cluster, you must use the +Clusters.UpdateSpec to specify this tlsEndpointCertificate +on an existing Cluster rather than during initially enabling +Namespaces on a Cluster. +If None, Kubernetes API Server certificate will not be modified.

  • +
  • default_kubernetes_service_content_library (str or None) – Identifier of the Content Library which holds the VM Images for +vSphere Kubernetes Service. This Content Library should be +subscribed to VMware’s hosted vSphere Kubernetes Service +Repository. Modifying or clearing the Content Library identifier +will not affect existing vSphere Kubernetes Service clusters. +However, upgrades or scale-out of existing clusters may be affected +if the new Content Library doesn’t have the necessary VM Images. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.Library. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: com.vmware.content.Library. +If None, the Content Library identifier will not be modified.

  • +
+
+
+
+ +
+
+disable(cluster)
+

Disable vSphere Namespaces on the cluster. This operation tears down +the Kubernetes instance and the worker nodes associated with vSphere +Namespaces enabled cluster.

+
+
Parameters
+

cluster (str) – Identifier for the cluster for which vSphere Namespaces will be +disabled. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if cluster could not be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have Namespaces.Manage privilege.

+
+
+
+ +
+
+enable(cluster, spec)
+

Enable vSphere Namespaces on the cluster. This operation sets up +Kubernetes instance for the cluster along with worker nodes.

+
+
Parameters
+
    +
  • cluster (str) – Identifier for the cluster on which vSphere Namespaces will be +enabled. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • spec (Clusters.EnableSpec) – Specification for setting up the Kubernetes API server and the +worker nodes.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if the cluster already has vSphere Namespaces enabled.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if resources/objects could not be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if spec contain any errors.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if the specified cluster is not licensed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have Namespaces.Manage privilege.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the specified cluster is not supported for vSphere Namespaces, +the cluster’s hosts do not have the required ESX version, or for +any other incompatibilities.

+
+
+
+ +
+
+get(cluster)
+

Returns information about a specific cluster.

+
+
Parameters
+

cluster (str) – Identifier for the cluster on which vSphere Namespaces are enabled. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

Clusters.Info

+
+
Returns
+

Information about the desired state of the specified cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if cluster could not be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the specified cluster does not have vSphere Namespaces enabled.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have System.Read privilege.

+
+
+
+ +
+
+list()
+

Returns information about all clusters on which vSphere Namespaces are +enabled on this vCenter.

+
+
Return type
+

list of Clusters.Summary

+
+
Returns
+

List of summary of all clusters with vSphere Namespaces enabled.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have System.Read privilege.

+
+
+
+ +
+
+rotate_password(cluster)
+

Request a new root password for all control plane nodes in the cluster. +This operation generates a new root password and configures every +control plane node in the cluster to accept it for authentication.

+
+
Parameters
+

cluster (str) – Identifier for the cluster for which the password is being +generated. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if cluster could not be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have Namespaces.Manage privilege.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the cluster is in the process of password rotation.

+
+
+
+ +
+
+set(cluster, spec)
+

Set a new configuration on the cluster object. The specified +configuration is applied in entirety and will replace the current +configuration fully.

+
+
Parameters
+
    +
  • cluster (str) – Identifier for the cluster on which vSphere Namespaces is enabled. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • spec (Clusters.SetSpec) – New specification for the cluster.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if spec contain any errors.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if vSphere Namespaces is being disabled on this cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if cluster could not be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have Namespaces.Manage privilege.

+
+
+
+ +
+
+update(cluster, spec)
+

Update configuration on the cluster object. The specified configuration +is applied partially and None fields in spec will leave those parts +of configuration as-is.

+
+
Parameters
+
    +
  • cluster (str) – Identifier for the cluster on which vSphere Namespaces is enabled. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • spec (Clusters.UpdateSpec) – New specification for the cluster.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if spec contain any errors.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if vSphere Namespaces is being disabled on this cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if cluster could not be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have Namespaces.Manage privilege.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.namespace_management_client.DistributedSwitchCompatibility(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The DistributedSwitchCompatibility class provides methods to get +Namespaces compatibility information of Distributed Switches in this +vCenter.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class FilterSpec(compatible=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The DistributedSwitchCompatibility.FilterSpec class contains attributes +used to filter the results when listing Distributed Switches (see +DistributedSwitchCompatibility.list()) and their compatibility +information.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

compatible (bool or None) – Compatibility criteria for matching the filter. If true, only +Distributed Switches which are compatible with vSphere Namespaces +match the filter. If false, only Distributed Switches which are +incompatible with vSphere Namespaces match the filter. +If None, both compatible and incompatible Distributed Switches +match the filter.

+
+
+
+ +
+
+class Summary(distributed_switch=None, compatible=None, incompatibility_reasons=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The DistributedSwitchCompatibility.Summary class contains information +about the compatibility of a vSphere Distributed Switch with the Namespaces +feature.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • distributed_switch (str) – Identifier of the switch. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +vSphereDistributedSwitch. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: vSphereDistributedSwitch.

  • +
  • compatible (bool) – Compatibility of this switch with vSphere Namespaces.

  • +
  • incompatibility_reasons (list of com.vmware.vapi.std_client.LocalizableMessage or None) – List of reasons for incompatibility. +If None, this Distributed Switch is compatible.

  • +
+
+
+
+ +
+
+list(cluster, filter=None)
+

Returns Namespaces compatibility information of Distributed Switches in +vCenter associated with the vCenter cluster, matching the +DistributedSwitchCompatibility.FilterSpec.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of a vCenter Cluster. Only Distributed Switches +associated with the vCenter Cluster will be considered by the +filter. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • filter (DistributedSwitchCompatibility.FilterSpec or None) – Specification of matching Distributed Switches for which +information should be returned. +If None, the behavior is equivalent to a +DistributedSwitchCompatibility.FilterSpec with all +attributes None which means all Distributed Switches match the +filter.

  • +
+
+
Return type
+

list of DistributedSwitchCompatibility.Summary

+
+
Returns
+

Namespaces compatibility information for Distributed Switches +matching the the +DistributedSwitchCompatibility.FilterSpec.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.namespace_management_client.EdgeClusterCompatibility(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The EdgeClusterCompatibility class provides methods to get Namespaces +compatibility information of NSX Edge Clusters.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class FilterSpec(compatible=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The EdgeClusterCompatibility.FilterSpec class contains attributes used +to filter the results when listing Edge Clusters (see +EdgeClusterCompatibility.list()) and their compatibility information.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

compatible (bool or None) – Compatibility criteria for matching the filter. If true, only Edge +Clusters which are compatible with vSphere Namespaces match the +filter. If false, only Edge Clusters which are incompatible with +vSphere Namespaces match the filter. +If None, both compatible and incompatible Edge Clusters match the +filter.

+
+
+
+ +
+
+class Summary(edge_cluster=None, display_name=None, compatible=None, incompatibility_reasons=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The EdgeClusterCompatibility.Summary class contains information about +an NSX-T Edge Cluster, including its compatibility with the vCenter +Namespaces feature.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • edge_cluster (str) – Identifier of the Edge Cluster. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +NSXEdgeCluster. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: NSXEdgeCluster.

  • +
  • display_name (str) – Display name of the Edge Cluster.

  • +
  • compatible (bool) – Compatibility of this Edge Cluster with Namespaces feature.

  • +
  • incompatibility_reasons (list of com.vmware.vapi.std_client.LocalizableMessage or None) – List of reasons for incompatibility. +If None, this Edge Cluster is compatible.

  • +
+
+
+
+ +
+
+list(cluster, distributed_switch, filter=None)
+

Returns Namespaces compatibility information of NSX-T Edge Clusters +matching the EdgeClusterCompatibility.FilterSpec.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of a vCenter Cluster. Only Edge Clusters that are +associated with the particular vCenter Cluster will be considered +by the filter. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • distributed_switch (str) – Identifier of a Distributed Switch. Only Edge Clusters that are +associated with the particular Distributed Switch will be +considered by the filter. +The parameter must be an identifier for the resource type: +vSphereDistributedSwitch.

  • +
  • filter (EdgeClusterCompatibility.FilterSpec or None) – Specification of matching Edge Clusters for which information +should be returned. +If None, the behavior is equivalent to a +EdgeClusterCompatibility.FilterSpec with all attributes +None which means all Edge Clusters match the filter.

  • +
+
+
Return type
+

list of EdgeClusterCompatibility.Summary

+
+
Returns
+

List of summaries of Edge Clusters associated with the given +vCenter Cluster and Distributed Switch matching the +EdgeClusterCompatibility.FilterSpec.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.namespace_management_client.HostsConfig(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Compatibility class provides methods to retrieve information about +vSphere Namespaces support and licensing.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(namespaces_supported=None, namespaces_licensed=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Compatibility class contains information about vSphere Namespaces +support and licensing.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • namespaces_supported (bool) – True if vSphere Namespace feature is supported in this VC.

  • +
  • namespaces_licensed (bool) – True if vSphere Namespace feature is licensed on any hosts in this +VC.

  • +
+
+
+
+ +
+
+get()
+

Returns support and licensing information about hosts under a VC.

+
+
Return type
+

HostsConfig.Info

+
+
Returns
+

Compatibility structure containing information about vSphere +Namespaces support and licensing.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have System.Read privilege.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.namespace_management_client.Ipv4Cidr(address=None, prefix=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Ipv4Cidr class contains the specification for representing CIDR +notation of IP range. For example, this can be used to represent 256 IP +addresses using 10.10.10.0/24.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • address (str) – The IPv4 address.

  • +
  • prefix (long) – The CIDR prefix.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.namespace_management_client.NamespaceResourceOptions(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The NamespaceResourceOptions class provides methods to get the objects +used to create and modify resource quotas on a namespace.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(create_resource_quota_type=None, update_resource_quota_type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The NamespaceResourceOptions.Info class contains the information about +the objects used to set and update resource quota keys on a namespace.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • create_resource_quota_type (str) – Identifier of the class used to set resource quotas on the +namespace. See null and null. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vapi.structure. 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.structure.

  • +
  • update_resource_quota_type (str) – Identifier of the class used to update resource quotas on the +namespace. See null. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vapi.structure. 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.structure.

  • +
+
+
+
+ +
+
+get(cluster)
+

Get the information about the objects used to set and update resource +quota keys for version of Kubernetes running on {#link cluster}.

+
+
Parameters
+

cluster (str) – Identifier for the cluster hosting the namespace on which the +resource quota needs to be set. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

NamespaceResourceOptions.Info

+
+
Returns
+

Information about the structures representing the resource spec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if cluster could not be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the specified cluster is not enabled for Namespaces.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have System.Read privilege.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.namespace_management_client.SizingHint(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The SizingHint class determines the configuration of Kubernetes API +server and the worker nodes. It also determines the default values +associated with the maximum number of pods and services. Use +ClusterSizeInfo.get() to get information associated with a +SizingHint.

+
+

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 the SizingHint instance.

+
+
+
+
+LARGE = SizingHint(string='LARGE')
+

Cluster size of ‘large’.

+
+ +
+
+MEDIUM = SizingHint(string='MEDIUM')
+

Cluster size of ‘medium’.

+
+ +
+
+SMALL = SizingHint(string='SMALL')
+

Cluster size of ‘small’.

+
+ +
+
+TINY = SizingHint(string='TINY')
+

Cluster size of ‘tiny’.

+
+ +
+ +
+
+class com.vmware.vcenter.namespace_management_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.vcenter.namespace_management_client.SupportBundle(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The SupportBundle class provides methods to retrieve the cluster’s +Namespaces-related support bundle download location.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Location(url=None, wcp_support_bundle_token=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The SupportBundle.Location class contains the URI location to download +the per-cluster support bundle from, as well as a token required (as a +header on the HTTP request) to get the bundle. The validity of the token is +5 minutes. After the token expires, any attempt to call the URI with said +token will fail.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • url (str) – Support Bundle Download URL.

  • +
  • wcp_support_bundle_token (SupportBundle.Token) – Information about the token required in the HTTP GET request to +generate the support bundle.

  • +
+
+
+
+ +
+
+class Token(token=None, expiry=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The SupportBundle.Token class contains information about the token +required in the HTTP GET request to generate the support bundle.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • token (str) – A one-time, short-lived token required in the HTTP header of the +request to the url. This token needs to be passed in as a header +with the name “wcp-support-bundle-token”.

  • +
  • expiry (str) – Expiry time of the token

  • +
+
+
+
+ +
+
+create(cluster)
+

Returns the location SupportBundle.Location information for +downloading the Namespaces-related support bundle for the specified +cluster.

+
+

Retrieving a support bundle involves two steps:

+
+
    +
  • Step 1: Invoke method to provision a token and a URI.

  • +
  • Step 2: Make an HTTP GET request using URI and one time used token +returned in step 1 to generate the support bundle and return it.

  • +
+

There can only be one valid token per cluster at any given time. If +this method is invoked again for the same cluster identifier while a +token still valid, the API will return the same +SupportBundle.Location response.

+
+

The HTTP GET request will:

+
+
    +
  • return 401 (Not Authorized) if the download URL is recognized, but +the token is invalid.

  • +
  • otherwise return 200 (OK), mark the token used (invalidating it for +any future use), open a application/tar download stream for the client, +and start the bundle process. As part of its work, the API will +orchestrate support bundling on the worker nodes of a cluster. If a +failure occurs during the collection of support bundle from worker +node, the API will not abort the request, but will log a warning and +move on to processing other worker nodes’ bundles. The API will only +abort its operation if the content of the stream has been corrupted. +When the API has to abort its operation (and the response stream), it +will not provide any indication of failures to the client. The client +will need to verify validity of the resultant file based on the format +specified in the response’s Content-Disposition header.

  • +
+
+
Parameters
+

cluster (str) – Identifier of cluster for which the Namespaces-related support +bundle should be generated. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

SupportBundle.Location

+
+
Returns
+

the download location of the support bundle for the cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the specified cluster is not registered on this vCenter server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have System.Read privilege.

+
+
+
+ +
+ +
+
+

com.vmware.vcenter.namespaces_client module

+

The com.vmware.vcenter.namespaces_client module provides classes for +managing namespaces related methods.

+
+
+class com.vmware.vcenter.namespaces_client.Access(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Access class provides methods to manage access control of subjects +on namespaces.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(role=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Access.CreateSpec class contains the specification required to +create access control on the namespace.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

role (Access.Role) – Role to be assigned.

+
+
+
+ +
+
+class Info(role=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Access.Info class contains the information about the access control +of the subject on given domain on the namespace.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

role (Access.Role) – Role of the subject on the namespace.

+
+
+
+ +
+
+class Role(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Access.Role class lists the default roles which can be associated +with a subject on a domain on the namespace.

+
+

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 the Role instance.

+
+
+
+
+EDIT = Role(string='EDIT')
+

This role allows modification of the namespace.

+
+ +
+
+VIEW = Role(string='VIEW')
+

This is a read-only role on the namespace.

+
+ +
+ +
+
+class SetSpec(role=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Access.SetSpec class contains the specification required to set new +access control on the namespace.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

role (Access.Role) – Role to be assigned.

+
+
+
+ +
+
+class SubjectType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Access.SubjectType class lists the types of subjects who can be +associated with a Access.Role on the namespace.

+
+

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 the SubjectType instance.

+
+
+
+
+GROUP = SubjectType(string='GROUP')
+

Group of users.

+
+ +
+
+USER = SubjectType(string='USER')
+

Single user.

+
+ +
+ +
+
+create(namespace, domain, subject, type, spec)
+

Set up access control for the subject on given domain on the namespace.

+
+
Parameters
+
    +
  • namespace (str) – Identifier for the namespace. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.namespaces.Instance.

  • +
  • domain (str) – The domain of the subject.

  • +
  • subject (str) – The principal for this operation.

  • +
  • type (Access.SubjectType) – The type of subject (user or group).

  • +
  • spec (Access.CreateSpec) – Information about the access control to be created.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if the specified principal on given domain is already associated +with a role on the namespace.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the namespace is marked for deletion or the associated cluster +is being disabled.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if namespace cannot be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have Namespaces.Configure privilege or the +namespace identifier begins with “vmware-system” prefix.

+
+
+
+ +
+
+delete(namespace, domain, subject, type)
+

Remove access control of the subject on given domain from the +namespace.

+
+
Parameters
+
    +
  • namespace (str) – Identifier for the namespace. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.namespaces.Instance.

  • +
  • domain (str) – The domain of the subject.

  • +
  • subject (str) – The principal for this operation.

  • +
  • type (Access.SubjectType) – The type of subject (user or group).

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the namespace is marked for deletion or the associated cluster +is being disabled.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if namespace cannot be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the specified principal on given domain is not associated with +the namespace.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have Namespaces.Configure privilege or the +namespace identifier begins with “vmware-system” prefix.

+
+
+
+ +
+
+get(namespace, domain, subject, type)
+

Get the information about the access control of the subject on given +domain on the namespace.

+
+
Parameters
+
    +
  • namespace (str) – Identifier for the namespace. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.namespaces.Instance.

  • +
  • domain (str) – The domain of the subject.

  • +
  • subject (str) – The principal for this operation.

  • +
  • type (Access.SubjectType) – The type of subject (user or group).

  • +
+
+
Return type
+

Access.Info

+
+
Returns
+

Information about the subject including the type and the role on +the namespace.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if namespace cannot be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the specified principal on given domain is not associated with +the namespace.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have System.Read privilege.

+
+
+
+ +
+
+set(namespace, domain, subject, type, spec)
+

Set new access control on the namespace for the subject on given +domain.

+
+
Parameters
+
    +
  • namespace (str) – Identifier for the namespace. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.namespaces.Instance.

  • +
  • domain (str) – The domain of the subject.

  • +
  • subject (str) – The principal for this operation.

  • +
  • type (Access.SubjectType) – The type of subject (user or group).

  • +
  • spec (Access.SetSpec) – Information about the new access control to be assigned.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the namespace is marked for deletion or the associated cluster +is being disabled.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if namespace cannot be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the specified principal on given domain is not associated with +the namespace.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have Namespaces.Configure privilege or the +namespace identifier begins with “vmware-system” prefix.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.namespaces_client.Container(name=None, image=None, status=None, started_at=None, finished_at=None, reason=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

A Container holds the data that describes a container within a pod. +Note: This class is restricted for VMware internal use only.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – The name of the container.

  • +
  • image (str) – The image the container is running.

  • +
  • status (str) – The container’s current condition.

  • +
  • started_at (str) – Time at which the container was last (re-)started.

  • +
  • finished_at (str) – Time at which the container last terminated.

  • +
  • reason (str) – Details about the container’s current condition, if any.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.namespaces_client.EndpointAddress(service=None, ip=None, port=None, protocol=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

An EndpointAddress contains the data that describes an Endpoint’s +address in Kubernetes. +Note: This class is restricted for VMware internal use only.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • service (str) – The Kubernetes Service the Endpoint belongs to.

  • +
  • ip (str) – The IP address of the Endpoint.

  • +
  • port (long) – The port of the Endpoint.

  • +
  • protocol (str) – The protocol used by this Endpoint.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.namespaces_client.IngressRuleValue(host=None, path=None, name=None, port=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

An IngressRuleValue contains the data that describes an Ingress rule in +Kubernetes. +Note: This class is restricted for VMware internal use only.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • host (str) – The Ingress’s host.

  • +
  • path (str) – The Ingress’s path filter.

  • +
  • name (str) – The Ingress’s name.

  • +
  • port (long) – The Ingress’s service port.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.namespaces_client.Instances(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Instances class provides methods to create and delete a namespace +object. In this version, an Instance is an abstraction around a Kubernetes +namespace.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Access(subject_type=None, subject=None, domain=None, role=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Instances.Access class contains the access control information for +a subject on a namespace.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • subject_type (Access.SubjectType) – Type of the subject.

  • +
  • subject (str) – Name of the subject.

  • +
  • domain (str) – Domain of the subject.

  • +
  • role (Access.Role) – Role of the subject on the namespace instance.

  • +
+
+
+
+ +
+
+class ConfigStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Instances.ConfigStatus class describes the status of reaching the +desired state configuration for the namespace.

+
+

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 the ConfigStatus instance.

+
+
+
+
+CONFIGURING = ConfigStatus(string='CONFIGURING')
+

The configuration is being applied to the namespace.

+
+ +
+
+ERROR = ConfigStatus(string='ERROR')
+

Failed to apply the configuration to the namespace, user intervention +needed.

+
+ +
+
+REMOVING = ConfigStatus(string='REMOVING')
+

The configuration is being removed and namespace is being deleted.

+
+ +
+
+RUNNING = ConfigStatus(string='RUNNING')
+

The namespace is configured correctly.

+
+ +
+ +
+
+class CreateSpec(namespace=None, cluster=None, description=None, resource_spec=None, access_list=None, storage_specs=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Instances.CreateSpec class contains the specification required to +set up a namespace.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • namespace (str) – Identifier of the namespace. This has DNS_LABEL restrictions as +specified in ` <https://tools.ietf.org/html/rfc1123>`_. This must +be an alphanumeric (a-z and 0-9) string and with maximum length of +63 characters and with the ‘-‘ character allowed anywhere except +the first or last character. This name is unique across all +Namespaces in this vCenter server. In this version, this maps to +the name of a Kubernetes namespace. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.namespaces.Instance. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.namespaces.Instance.

  • +
  • cluster (str) – Identifier of the cluster on which the namespace is being created. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: ClusterComputeResource.

  • +
  • description (str or None) – Description for the namespace. +If None, no description is added to the namespace.

  • +
  • resource_spec (vmware.vapi.struct.VapiStruct or None) – Resource quota on the namespace. Refer to null and use null for +retrieving the type for the value for this field. For an example of +this, see ResourceQuotaOptionsV1. +If None, no resource limits will be set on the namespace.

  • +
  • access_list (list of Instances.Access or None) – Access controls associated with the namespace. +If None, only users with Administrator role can access the +namespace.

  • +
  • storage_specs (list of Instances.StorageSpec or None) – Storage associated with the namespace. +If None, storage policies will not be associated with the namespace +which will prevent users from being able to provision pods with +persistent storage on the namespace. Users will be able to +provision pods which use local storage.

  • +
+
+
+
+ +
+
+class Info(cluster=None, config_status=None, messages=None, stats=None, description=None, resource_spec=None, access_list=None, storage_specs=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Instances.Info class contains detailed information about the +namespace.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • cluster (str) – Identifier for the cluster hosting the namespace. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: ClusterComputeResource.

  • +
  • config_status (Instances.ConfigStatus) – Current setting for Instances.ConfigStatus.

  • +
  • messages (list of Instances.Message) – Current set of messages associated with the object.

  • +
  • stats (Instances.Stats) – Basic runtime statistics for the namespace.

  • +
  • description (str) – Description of the namespace.

  • +
  • resource_spec (vmware.vapi.struct.VapiStruct or None) – Quotas on the namespace resources. Refer to null for the type of +the value for this field. +If None, no resource constraints are associated with the namespace.

  • +
  • access_list (list of Instances.Access) – Access controls associated with the namespace.

  • +
  • storage_specs (list of Instances.StorageSpec) – Storage associated with the namespace.

  • +
+
+
+
+ +
+
+class Message(severity=None, details=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Instances.Message class contains the information about the object +configuration.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+
+class MessageSeverity(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Instances.Message.MessageSeverity class represents the severity of +the message.

+
+

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 the MessageSeverity instance.

+
+
+
+
+ERROR = MessageSeverity(string='ERROR')
+

Error message. This is accompanied by vCenter event and/or alarm.

+
+ +
+
+INFO = MessageSeverity(string='INFO')
+

Informational message. This may be accompanied by vCenter event.

+
+ +
+
+WARNING = MessageSeverity(string='WARNING')
+

Warning message. This may be accompanied by vCenter event.

+
+ +
+ +
+ +
+
+RESOURCE_TYPE = 'com.vmware.vcenter.namespaces.Instance'
+

The resource type for namespace.

+
+ +
+
+class SetSpec(description=None, resource_spec=None, access_list=None, storage_specs=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Instances.SetSpec class contains the specification required to set +a new configuration on the namespace. This class is applied in entirety, +replacing the current specification fully.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • description (str or None) – Description for the namespace. +If None, the description of the namespace will be cleared.

  • +
  • resource_spec (vmware.vapi.struct.VapiStruct or None) – Resource quota for the namespace. This will replace the existing +resource constraints on the namespace in entirety. Refer to null +and use null for retrieving the type for the value for this field. +For an example of this, see ResourceQuotaOptionsV1. +If None, the resource constraints on the namespace will be cleared.

  • +
  • access_list (list of Instances.Access or None) – Access control associated with the namespace. +If None, the existing access controls on the namespace will be +removed and users will not be able to access this namespace to +create new pods. Existing pods from users will continue to run.

  • +
  • storage_specs (list of Instances.StorageSpec or None) – Storage associated with the namespace. +If None, the existing storage policies will be disassociated with +the namespace and existing limits will be cleared. Pods which are +already using persistent storage from the earlier version of +storage policies will be able to access them till the datastores +are attached to the worker nodes.

  • +
+
+
+
+ +
+
+class Stats(cpu_used=None, memory_used=None, storage_used=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Instances.Stats class contains the basic runtime statistics about +the namespace.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • cpu_used (long) – Overall CPU usage of the namespace, in MHz. This is the sum of CPU +usage across all pods in the Kubernetes namespace.

  • +
  • memory_used (long) – Overall memory usage of the namespace (in mebibytes). This is the +sum of memory usage across all pods.

  • +
  • storage_used (long) – Overall storage used by the namespace (in mebibytes). This is the +sum of storage used by pods across all datastores in the cluster +associated with storage policies configured for the namespace.

  • +
+
+
+
+ +
+
+class StorageSpec(policy=None, limit=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Instances.StorageSpec class contains the specification required to +configure storage associated with a namespace. Information in this class +will result in storage quotas on the Kubernetes namespace.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • policy (str) – ID of the storage policy. A Kubernetes storage class is created for +this storage policy if it does not exist already. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +SpsStorageProfile. When methods return a value of this class as +a return value, the attribute will be an identifier for the +resource type: SpsStorageProfile.

  • +
  • limit (long or None) – The maximum amount of storage (in mebibytes) which can be utilized +by the namespace for this specification. +If None, no limits are placed.

  • +
+
+
+
+ +
+
+class Summary(namespace=None, description=None, cluster=None, config_status=None, stats=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Instances.Summary class contains basic information about the +namespace.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • namespace (str) – Identifier of the namespace. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.namespaces.Instance. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.namespaces.Instance.

  • +
  • description (str) – Description of the namespace.

  • +
  • cluster (str) – Identifier for the cluster hosting the namespace. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: ClusterComputeResource.

  • +
  • config_status (Instances.ConfigStatus) – Current setting for Instances.ConfigStatus.

  • +
  • stats (Instances.Stats) – Basic runtime statistics for the namespace.

  • +
+
+
+
+ +
+
+class UpdateSpec(description=None, resource_spec=None, access_list=None, storage_specs=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Instances.UpdateSpec class contains the specification required to +update the configuration on the namespace. This class is applied partially, +and only the specified fields will replace or modify their existing +counterparts.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • description (str or None) – Description for the namespace. +If None, the description of the namespace will not be modified.

  • +
  • resource_spec (vmware.vapi.struct.VapiStruct or None) – Resource quota updates on the namespace. Refer to null and use null +for retrieving the type for the value for this field. For an +example of this, see ResourceQuotaOptionsV1Update. +If None, the resource constraints on the namespace will not be +modified.

  • +
  • access_list (list of Instances.Access or None) – Access control associated with the namespace. +If None, access controls on the namespace will not be modified. +Existing pods from users will continue to run.

  • +
  • storage_specs (list of Instances.StorageSpec or None) – Storage associated with the namespace. +If None, storage policies and their limit will not be modified. +Pods which are already using persistent storage from the earlier +version of storage policies will be able to access them till the +datastores are attached to the worker nodes.

  • +
+
+
+
+ +
+
+create(spec)
+

Create namespace object in the cluster.

+
+
Parameters
+

spec (Instances.CreateSpec) – Specification for setting up the namespace.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if a namespace with the same name exists in vCenter server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if spec contain any errors or if an invalid name is specified.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the associated cluster is deing disabled.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if Instances.CreateSpec.cluster is not registered on this +vCenter server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if Instances.CreateSpec.cluster is not enabled for +Namespaces.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have Namespaces.Configure privilege or the +namespace identifier begins with “vmware-system” prefix.

+
+
+
+ +
+
+delete(namespace)
+

Delete the namespace object in the cluster.

+
+
Parameters
+

namespace (str) – Identifier for the namespace. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.namespaces.Instance.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the specified namespace could not be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have Namespaces.Configure privilege or the +namespace identifier begins with “vmware-system” prefix.

+
+
+
+ +
+
+get(namespace)
+

Returns information about a specific namespace.

+
+
Parameters
+

namespace (str) – Identifier for the namespace. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.namespaces.Instance.

+
+
Return type
+

Instances.Info

+
+
Returns
+

Information about the desired state of the specified namespace.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if namespace could not be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have System.Read privilege.

+
+
+
+ +
+
+list()
+

Returns the information about all namespaces on this vCenter.

+
+
Return type
+

list of Instances.Summary

+
+
Returns
+

The list of summary of all namespaces.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have System.Read privilege.

+
+
+
+ +
+
+set(namespace, spec)
+

Set a new configuration on the namespace object. The specified +configuration is applied in entirety and will replace the current +configuration fully.

+
+
Parameters
+
    +
  • namespace (str) – Identifier for the namespace. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.namespaces.Instance.

  • +
  • spec (Instances.SetSpec) – New specification for the namespace.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if spec contain any errors.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the namespace is marked for deletion or the associated cluster +is being disabled.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if namespace with the name namespace could not be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have Namespaces.Configure privilege or the +namespace identifier begins with “vmware-system” prefix.

+
+
+
+ +
+
+update(namespace, spec)
+

Update the namespace object. The specified configuration is applied +partially and None fields in spec will leave those parts of +configuration as-is.

+
+
Parameters
+
    +
  • namespace (str) – Identifier for the namespace. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.namespaces.Instance.

  • +
  • spec (Instances.UpdateSpec) – Specification for updating the namespace.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if spec contain any errors.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the namespace is marked for deletion or the associated cluster +is being disabled.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if namespace with the name namespace could not be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have Namespaces.Configure privilege or the +namespace identifier begins with “vmware-system” prefix.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.namespaces_client.ResourceQuotaOptionsV1(memory_limit=None, memory_limit_default=None, memory_request_default=None, cpu_limit=None, cpu_limit_default=None, cpu_request_default=None, storage_request_limit=None, pod_count=None, service_count=None, deployment_count=None, daemon_set_count=None, replica_set_count=None, replication_controller_count=None, stateful_set_count=None, config_map_count=None, secret_count=None, persistent_volume_claim_count=None, job_count=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ResourceQuotaOptionsV1 class represents the resource quota limits +which can be applied on the namespace. Refer to ` +<https://kubernetes.io/docs/concepts/policy/resource-quotas>`_ for +information related to the properties of this object and what they map to.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • memory_limit (long or None) – This is equivalent to ‘limits.memory’ option which is the maximum +memory limit (in mebibytes) across all pods which exist in a +non-terminal state in the namespace. This value translates to the +memory limit on the ResourcePool in vCenter Server created for the +namespace. +If None, no memory limits are set on the ResourcePool for the +namespace.

  • +
  • memory_limit_default (long or None) – This represents the default memory limit (in mebibytes) for +containers in the pod. This translates to default memory limit in a +LimitRange object. Refer ` for information about LimitRange. +<https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-default-namespace/>`_ +If None, no default memory limits are set on containers in the pod.

  • +
  • memory_request_default (long or None) – This represents the default memory request (in mebibytes) for +containers in the pod. This translates to default memory request in +a LimitRange object. Refer ` for information about LimitRange. +<https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-default-namespace/>`_ +If None, no default memory requests are set on containers in the +pod.

  • +
  • cpu_limit (long or None) – This is equivalent to ‘limits.cpu’ option which is the maximum CPU +limit (in MHz) across all pods which exist in a non-terminal state +in the namespace. If specified, this limit should be at least 10 +MHz. This value translates to the CPU limit on the ResourcePool in +vCenter Server created for the namespace. +If None, no CPU limits are set on the ResourcePool for the +namespace.

  • +
  • cpu_limit_default (long or None) – This represents the default cpu limit (in MHz) for containers in +the pod. +If None, no default CPU limits are set on containers in the pod. +Refer ` for information about LimitRange. If specified, this limit +should be at least 10 MHz. +<https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/memory-default-namespace/>`_

  • +
  • cpu_request_default (long or None) – This represents the default CPU request (in MHz) for containers in +the pod. +If None, no default CPU requests are set on containers in the pod. +Refer ` for information about LimitRange. If specified, this field +should be at least 10 MHz. +<https://kubernetes.io/docs/tasks/administer-cluster/manage-resources/cpu-default-namespace/>`_

  • +
  • storage_request_limit (long or None) – This represents ‘requests.storage’ option which is the maximum +storage request (in mebibytes) across all persistent volume claims +from pods which exist in a non-terminal state in the namespace. +If None, no storage request limits are set on the namespace.

  • +
  • pod_count (long or None) – This represents ‘pods’ option which is the maximum number of pods +which exist in a non-terminal state in the namespace. +If None, no pod limits are set on the namespace.

  • +
  • service_count (long or None) – This represents ‘count/services’ option which is the maximum number +of services in the namespace. +If None, no service limits are set on the namespace.

  • +
  • deployment_count (long or None) – This represents ‘count/deployments.apps’ option which is the +maximum number of deployments in the namespace. +If None, no deployment limits are set on the namespace.

  • +
  • daemon_set_count (long or None) – This represents ‘count/daemonsets.apps’ option which is the maximum +number of DaemonSets in the namespace. +If None, no daemonset limits are set on the namespace.

  • +
  • replica_set_count (long or None) – This represents ‘count/replicasets.apps’ option which is the +maximum number of ReplicaSets in the namespace. +If None, no replicaset limits are set on the namespace.

  • +
  • replication_controller_count (long or None) – This represents ‘count/replicationcontrollers’ option which is the +maximum number of ReplicationControllers in the namespace. +If None, no replicationcontroller limits are set on the namespace.

  • +
  • stateful_set_count (long or None) – This represents ‘count/statefulsets.apps’ option which is the +maximum number of StatefulSets in the namespace. +If None, no statefulset limits are set on the namespace.

  • +
  • config_map_count (long or None) – This represents ‘count/configmaps’ option which is the maximum +number of ConfigMaps in the namespace. +If None, no configmap limits are set on the namespace.

  • +
  • secret_count (long or None) – This represents ‘count/secrets’ option which is the maximum number +of secrets in the namespace. +If None, no secret limits are set on the namespace.

  • +
  • persistent_volume_claim_count (long or None) – This represents ‘count/persistentvolumeclaims’ option which is the +maximum number of PersistentVolumeClaims in the namespace. +If None, no persistentvolumeclaim limits are set on the namespace.

  • +
  • job_count (long or None) – This represents ‘count/jobs.batch’ option which is the maximum +number jobs in the namespace. +If None, no job limits are set on the namespace.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.namespaces_client.ResourceQuotaOptionsV1Update(memory_limit=None, memory_limit_unset=None, memory_limit_default=None, memory_limit_default_unset=None, memory_request_default=None, memory_request_default_unset=None, cpu_limit=None, cpu_limit_unset=None, cpu_limit_default=None, cpu_limit_default_unset=None, cpu_request_default=None, cpu_request_default_unset=None, storage_request_limit=None, storage_request_limit_unset=None, pod_count=None, pod_count_unset=None, service_count=None, service_count_unset=None, deployment_count=None, deployment_count_unset=None, daemon_set_count=None, daemon_set_count_unset=None, replica_set_count=None, replica_set_count_unset=None, replication_controller_count=None, replication_controller_count_unset=None, stateful_set_count=None, stateful_set_count_unset=None, config_map_count=None, config_map_count_unset=None, secret_count=None, secret_count_unset=None, persistent_volume_claim_count=None, persistent_volume_claim_count_unset=None, job_count=None, job_count_unset=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ResourceQuotaOptionsV1Update class represents the changes to +resource quota limits which are set on the namespace. Refer to ` <> +Kubernetes Resource Quota +<https://kubernetes.io/docs/concepts/policy/resource-quotas>`_ for +information related to the properties of this object and what they map to.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • memory_limit (long or None) – This represents the new value for ‘limits.memory’ option which is +equivalent to the maximum memory limit (in mebibytes) across all +pods in the namespace. This field is ignored if +ResourceQuotaOptionsV1Update.memory_limit_unset is set to +true. +If None, the existing memory limit on the ResourcePool will be +unchanged if +ResourceQuotaOptionsV1Update.memory_limit_unset is None or +set to false.

  • +
  • memory_limit_unset (bool or None) – This represents the intent of the change to +ResourceQuotaOptionsV1Update.memory_limit. If this field is +set to true, the existing memory limit on the ResourcePool is +removed. If this field is set to false, the existing memory +limit will be changed to the value specified in +ResourceQuotaOptionsV1Update.memory_limit, if any. +If None, the existing memory limit will be changed to the value +specified in ResourceQuotaOptionsV1Update.memory_limit, if +any.

  • +
  • memory_limit_default (long or None) – This represents the new value for the default memory limit (in +mebibytes) for containers in the pod. This field is ignored if +ResourceQuotaOptionsV1Update.memory_limit_default_unset is +set to true. +If None, the existing memory limit will be unchanged if +ResourceQuotaOptionsV1Update.memory_limit_default_unset is +None or set to false.

  • +
  • memory_limit_default_unset (bool or None) – This represents the intent of the change to +ResourceQuotaOptionsV1Update.memory_limit_default. If this +field is set to true, the existing default memory limit on +containers in the pod is removed. If this field is set to +false, the existing default memory limit will be changed to the +value specified in +ResourceQuotaOptionsV1Update.memory_limit_default, if any. +If None, the existing default memory limit will be changed to the +value specified in +ResourceQuotaOptionsV1Update.memory_limit_default, if any.

  • +
  • memory_request_default (long or None) – This represents the new value for the default memory request (in +mebibytes) for containers in the pod. This field is ignored if +ResourceQuotaOptionsV1Update.memory_request_default_unset +is set to true. +If None, the existing memory request will be unchanged if +ResourceQuotaOptionsV1Update.memory_request_default_unset +is None or set to false.

  • +
  • memory_request_default_unset (bool or None) – This represents the intent of the change to +ResourceQuotaOptionsV1Update.memory_request_default. If +this field is set to true, the existing default memory request +on containers in the pod will be removed. If this field is set to +false, the existing default memory request will be changed to +the value specified in +ResourceQuotaOptionsV1Update.memory_request_default, if +any. +If None, the existing default memory request will be changed to the +value specified in +ResourceQuotaOptionsV1Update.memory_request_default, if +any.

  • +
  • cpu_limit (long or None) – This represents the new value for ‘limits.cpu’ option which is +equivalent to the maximum CPU limit (in MHz) across all pods in the +namespace. This field is ignored if +ResourceQuotaOptionsV1Update.cpu_limit_unset is set to +true. If specified, this limit should be at least 10 MHz. +If None, the existing CPU limit on the ResourcePool will be +unchanged if ResourceQuotaOptionsV1Update.cpu_limit_unset +is None or set to false.

  • +
  • cpu_limit_unset (bool or None) – This represents the intent of the change to +ResourceQuotaOptionsV1Update.cpu_limit. If this field is +set to true, the existing CPU limit on the ResourcePool is +removed. If this field is set to false, the existing CPU limit +will be changed to the value specified in +ResourceQuotaOptionsV1Update.cpu_limit, if any. +If None, the existing CPU limit will be changed to the value +specified in ResourceQuotaOptionsV1Update.memory_limit, if +any.

  • +
  • cpu_limit_default (long or None) – This represents the new value for the default CPU limit (in Mhz) +for containers in the pod. This field is ignored if +ResourceQuotaOptionsV1Update.cpu_limit_default_unset is set +to true. If specified, this limit should be at least 10 MHz. +If None, the existing default CPU limit will be unchanged if +ResourceQuotaOptionsV1Update.cpu_limit_default_unset is +None or set to false.

  • +
  • cpu_limit_default_unset (bool or None) – This represents the intent of the change to +ResourceQuotaOptionsV1Update.cpu_limit_default. If this +field is set to true, the existing default CPU limit on +containers in the pod is removed. If this field is set to +false, the existing default CPU limit will be changed to the +value specified in +ResourceQuotaOptionsV1Update.cpu_limit_default, if any. +If None, the existing default CPU limit will be changed to the +value specified in +ResourceQuotaOptionsV1Update.cpu_limit_default, if any.

  • +
  • cpu_request_default (long or None) – This represents the new value for the default CPU request (in Mhz) +for containers in the pod. This field is ignored if +ResourceQuotaOptionsV1Update.cpu_request_default_unset is +set to true. If specified, this field should be at least 10 +MHz. +If None, the existing default CPU request will be unchanged if +ResourceQuotaOptionsV1Update.cpu_request_default_unset is +None or set to false.

  • +
  • cpu_request_default_unset (bool or None) – This represents the intent of the change to +ResourceQuotaOptionsV1Update.cpu_request_default. If this +field is set to true, the existing default CPU request on +containers in the pod is removed. If this field is set to +false, the existing default CPU request will be changed to the +value specified in +ResourceQuotaOptionsV1Update.cpu_request_default, if any. +If None, the existing default CPU request will be changed to the +value specified in +ResourceQuotaOptionsV1Update.cpu_request_default, if any.

  • +
  • storage_request_limit (long or None) – This represents the new value for ‘requests.storage’ which is the +limit on storage requests (in mebibytes) across all persistent +volume claims from pods in the namespace. This field is ignored if +if ResourceQuotaOptionsV1Update.storage_request_limit_unset +is set to true. +If None, the existing storage request limit will be unchanged if +ResourceQuotaOptionsV1Update.storage_request_limit_unset is +None or set to false. the namespace.

  • +
  • storage_request_limit_unset (bool or None) – This represents the intent of the change to +ResourceQuotaOptionsV1Update.storage_request_limit. If this +field is set to true, the existing storage request limit will +be reset. If this field is set to false, the existing storage +request limit will be changed to the value specified in +ResourceQuotaOptionsV1Update.storage_request_limit, if any. +If None, the existing storage request limit will be changed to the +value specified in +ResourceQuotaOptionsV1Update.storage_request_limit, if any.

  • +
  • pod_count (long or None) – This represents the new value for ‘podCount’ option which is the +maximum number of pods in the namespace. This field is ignored if +ResourceQuotaOptionsV1Update.pod_count_unset is set to +true. +If None, the existing ‘podCount’ limit will be unchanged if +ResourceQuotaOptionsV1Update.pod_count_unset is None or set +to false.

  • +
  • pod_count_unset (bool or None) – This represents the intent of the change to +ResourceQuotaOptionsV1Update.pod_count. If this field is +set to true, the existing ‘podCount’ limit on the namespace +will be reset. If this field is set to false, the existing CPU +limit will be changed to the value specified in +ResourceQuotaOptionsV1Update.pod_count, if any. +If None, the existing ‘podCount’ limit will be changed to the value +specified in ResourceQuotaOptionsV1Update.pod_count, if +any.

  • +
  • service_count (long or None) – This represents the new value for ‘serviceCount’ option which is +the maximum number of services in the namespace. This field is +ignored if ResourceQuotaOptionsV1Update.service_count_unset +is set to true. +If None, the existing ‘serviceCount’ limit will be unchanged if +ResourceQuotaOptionsV1Update.service_count_unset is None or +set to false.

  • +
  • service_count_unset (bool or None) – This represents the intent of the change to +ResourceQuotaOptionsV1Update.service_count. If this field +is set to true, the existing ‘serviceCount’ limit on the +namespace will be reset. If this field is set to false, the +existing service count limit will be changed to the value specified +in ResourceQuotaOptionsV1Update.service_count, if any. +If None, the existing ‘serviceCount’ limit will be changed to the +value specified in +ResourceQuotaOptionsV1Update.service_count, if any.

  • +
  • deployment_count (long or None) – This represents the new value for ‘deploymentCount’ option which is +the maximum number of deployments in the namespace. This field is +ignored if +ResourceQuotaOptionsV1Update.deployment_count_unset is set +to true. +If None, the existing ‘deploymentCount’ limit will be unchanged if +ResourceQuotaOptionsV1Update.deployment_count_unset is None +or set to false.

  • +
  • deployment_count_unset (bool or None) – This represents the intent of the change to +ResourceQuotaOptionsV1Update.deployment_count. If this +field is set to true, the existing ‘deploymentCount’ limit on +the namespace will be reset. If this field is set to false, the +existing deployment count limit will be changed to the value +specified in ResourceQuotaOptionsV1Update.deployment_count, +if any. +If None, the existing ‘deploymentCount’ limit will be changed to +the value specified in +ResourceQuotaOptionsV1Update.deployment_count, if any.

  • +
  • daemon_set_count (long or None) – This represents the new value for ‘daemonSetCount’ option which is +the maximum number of DaemonSets in the namespace. This field is +ignored if +ResourceQuotaOptionsV1Update.daemon_set_count_unset is set +to true. +If None, the existing ‘daemonSetCount’ limit will be unchanged if +ResourceQuotaOptionsV1Update.daemon_set_count_unset is None +or set to false.

  • +
  • daemon_set_count_unset (bool or None) – This represents the intent of the change to +ResourceQuotaOptionsV1Update.daemon_set_count. If this +field is set to true, the existing ‘daemonSetCount’ limit on +the namespace will be reset. If this field is set to false, the +existing daemonset count limit will be changed to the value +specified in ResourceQuotaOptionsV1Update.daemon_set_count, +if any. +If None, the existing ‘daemonSetCount’ limit will be changed to the +value specified in +ResourceQuotaOptionsV1Update.daemon_set_count, if any.

  • +
  • replica_set_count (long or None) – This represents the new value for ‘replicaSetCount’ option which is +the maximum number of ReplicaSets in the namespace. This field is +ignored if +ResourceQuotaOptionsV1Update.replica_set_count_unset is set +to true. +If None, the existing ‘replicaSetCount’ limit will be unchanged if +ResourceQuotaOptionsV1Update.replica_set_count_unset is +None or set to false.

  • +
  • replica_set_count_unset (bool or None) – This represents the intent of the change to +ResourceQuotaOptionsV1Update.replica_set_count. If this +field is set to true, the existing ‘replicaSetCount’ limit on +the namespace will be reset. If this field is set to false, the +existing replicaset count limit will be changed to the value +specified in +ResourceQuotaOptionsV1Update.replica_set_count, if any. +If None, the existing ‘replicaSetCount’ limit will be changed to +the value specified in +ResourceQuotaOptionsV1Update.replica_set_count, if any.

  • +
  • replication_controller_count (long or None) – This represents the new value for ‘replicationControllerCount’ +option which is the maximum number of ReplicationControllers in the +namespace. This field is ignored if +ResourceQuotaOptionsV1Update.replication_controller_count_unset +is set to true. +If None, the existing ‘replicationControllerCount’ limit will be +unchanged if +ResourceQuotaOptionsV1Update.replication_controller_count_unset +is None or set to false.

  • +
  • replication_controller_count_unset (bool or None) – This represents the intent of the change to +ResourceQuotaOptionsV1Update.replication_controller_count. +If this field is set to true, the existing +‘replicationControllerCount’ limit on the namespace will be reset. +If this field is set to false, the existing +replicationcontroller count limit will be changed to the value +specified in +ResourceQuotaOptionsV1Update.replication_controller_count, +if any. +If None, the existing ‘replicationControllerCount’ limit will be +changed to the value specified in +ResourceQuotaOptionsV1Update.replication_controller_count, +if any.

  • +
  • stateful_set_count (long or None) – This represents the new value for ‘statefulSetCount’ option which +is the maximum number of StatefulSets in the namespace. This field +is ignored if +ResourceQuotaOptionsV1Update.stateful_set_count_unset is +set to true. +If None, the existing ‘statefulSetCount’ limit will be unchanged if +ResourceQuotaOptionsV1Update.stateful_set_count_unset is +None or set to false.

  • +
  • stateful_set_count_unset (bool or None) – This represents the intent of the change to +ResourceQuotaOptionsV1Update.stateful_set_count. If this +field is set to true, the existing ‘statefulSetCount’ limit on +the namespace will be reset. If this field is set to false, the +existing statefulset count limit will be changed to the value +specified in +ResourceQuotaOptionsV1Update.stateful_set_count, if any. +If None, the existing ‘statefulSetCount’ limit will be changed to +the value specified in +ResourceQuotaOptionsV1Update.stateful_set_count, if any.

  • +
  • config_map_count (long or None) – This represents the new value for ‘configMapCount’ option which is +the maximum number of ConfigMaps in the namespace. This field is +ignored if +ResourceQuotaOptionsV1Update.config_map_count_unset is set +to true. +If None, the existing ‘configMapCount’ limit will be unchanged if +ResourceQuotaOptionsV1Update.config_map_count_unset is None +or set to false.

  • +
  • config_map_count_unset (bool or None) – This represents the intent of the change to +ResourceQuotaOptionsV1Update.config_map_count. If this +field is set to true, the existing ‘configMapCount’ limit on +the namespace will be reset. If this field is set to false, the +existing configmap count limit will be changed to the value +specified in ResourceQuotaOptionsV1Update.config_map_count, +if any. +If None, the existing ‘configMapCount’ limit will be changed to the +value specified in +ResourceQuotaOptionsV1Update.config_map_count, if any.

  • +
  • secret_count (long or None) – This represents the new value for ‘secretCount’ option which is the +maximum number of secrets in the namespace. This field is ignored +if ResourceQuotaOptionsV1Update.secret_count_unset is set +to true. +If None, the existing ‘secretCount’ limit will be unchanged if +ResourceQuotaOptionsV1Update.secret_count_unset is None or +set to false.

  • +
  • secret_count_unset (bool or None) – This represents the intent of the change to +ResourceQuotaOptionsV1Update.secret_count. If this field is +set to true, the existing ‘secretCount’ limit on the namespace +will be reset. If this field is set to false, the existing +secret count limit will be changed to the value specified in +ResourceQuotaOptionsV1Update.secret_count, if any. +If None, the existing ‘secretCount’ limit will be changed to the +value specified in +ResourceQuotaOptionsV1Update.secret_count, if any.

  • +
  • persistent_volume_claim_count (long or None) – This represents the new value for ‘persistentVolumeClaimCount’ +option which is the maximum number of PersistentVolumeClaims in the +namespace. This field is ignored if +ResourceQuotaOptionsV1Update.persistent_volume_claim_count_unset +is set to true. +If None, the existing ‘persistentVolumeClaimCount’ limit will be +unchanged if +ResourceQuotaOptionsV1Update.persistent_volume_claim_count_unset +is None or set to false.

  • +
  • persistent_volume_claim_count_unset (bool or None) – This represents the intent of the change to +ResourceQuotaOptionsV1Update.persistent_volume_claim_count. +If this field is set to true, the existing +‘persistentVolumeClaimCount’ limit on the namespace will be reset. +If this field is set to false, the existing +replicationcontroller count limit will be changed to the value +specified in +ResourceQuotaOptionsV1Update.persistent_volume_claim_count, +if any. +If None, the existing ‘persistentVolumeClaimCount’ limit will be +changed to the value specified in +ResourceQuotaOptionsV1Update.persistent_volume_claim_count, +if any.

  • +
  • job_count (long or None) – This represents the new value for ‘jobCount’ option which is the +maximum number of jobs in the namespace. This field is ignored if +ResourceQuotaOptionsV1Update.job_count_unset is set to +true. +If None, the existing ‘jobCount’ limit will be unchanged if +ResourceQuotaOptionsV1Update.job_count_unset is None or set +to false.

  • +
  • job_count_unset (bool or None) – This represents the intent of the change to +ResourceQuotaOptionsV1Update.job_count. If this field is +set to true, the existing ‘jobCount’ limit on the namespace +will be reset. If this field is set to false, the existing +secret count limit will be changed to the value specified in +ResourceQuotaOptionsV1Update.job_count, if any. +If None, the existing ‘jobCount’ limit will be changed to the value +specified in ResourceQuotaOptionsV1Update.job_count, if +any.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.namespaces_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.ovf_client module

+

The com.vmware.vcenter.ovf_client module provides services to capture and +deploy Open Virtualization Format (OVF) packages to and from the content +library.

+

It provides the ability to deploy OVF packages from the content library with +support for advanced network topologies, network services, creating virtual +appliances and virtual machines in hosts, resource pools or clusters. It also +provides the ability to export virtual appliances and virtual machines from +hosts, resource pools or clusters as OVF packages to the content library.

+
+
+class com.vmware.vcenter.ovf_client.CertificateParams(issuer=None, subject=None, is_valid=None, is_self_signed=None, x509=None, type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CertificateParams class contains information about the public key +certificate used to sign the OVF package. This class will only be returned +if the OVF package is signed.

+
+
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • issuer (str) – Certificate issuer. For example: /C=US/ST=California/L=Palo +Alto/O=VMware, Inc. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute will always be present in the result +when retrieving information about an OVF package.

  • +
  • subject (str) – Certificate subject. For example: +/C=US/ST=Massachusetts/L=Hopkinton/O=EMC Corporation/OU=EMC +Avamar/CN=EMC Corporation. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute will always be present in the result +when retrieving information about an OVF package.

  • +
  • is_valid (bool) – Is the certificate chain validated. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute will always be present in the result +when retrieving information about an OVF package.

  • +
  • is_self_signed (bool) – Is the certificate self-signed. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute will always be present in the result +when retrieving information about an OVF package.

  • +
  • x509 (str) – The X509 representation of the certificate. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute will always be present in the result +when retrieving information about an OVF package.

  • +
  • type (str) – Unique identifier describing the type of the OVF parameters. The +value is the name of the OVF parameters class. +This attribute must be provided in the input parameters when +deploying an OVF package. This attribute will always be present in +the result when retrieving information about an OVF package.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.ovf_client.DeploymentOption(key=None, label=None, description=None, default_choice=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The DeploymentOption class contains the information about a deployment +option as defined in the OVF specification.

+

This corresponds to the ovf:Configuration element of the +ovf:DeploymentOptionSection in the specification. The +ovf:DeploymentOptionSection specifies a discrete set of intended resource +allocation configurations. This class represents one item from that set.

+
+
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • key (str) – The key of the deployment option, corresponding to the ovf:id +attribute in the OVF descriptor. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute will always be present in the result +when retrieving information about an OVF package.

  • +
  • label (str) – A localizable label for the deployment option. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute will always be present in the result +when retrieving information about an OVF package.

  • +
  • description (str) – A localizable description for the deployment option. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute will always be present in the result +when retrieving information about an OVF package.

  • +
  • default_choice (bool) – A bool flag indicates whether this deployment option is +the default choice. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute is optional in the result when +retrieving information about an OVF package. If None or false, it +is not the default.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.ovf_client.DeploymentOptionParams(deployment_options=None, selected_key=None, type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The DeploymentOptionParams class describes the possible deployment +options as well as the choice provided by the user.

+
+

This information based on the ovf:DeploymentOptionSection.

+

See LibraryItem.deploy() and LibraryItem.filter().

+
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • deployment_options (list of DeploymentOption) – list of deployment options. This attribute corresponds to +the ovf:Configuration elements of the ovf:DeploymentOptionSection +in the specification. It is a discrete set of intended resource +allocation configurations from which one can be selected. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute will always be present in the result +when retrieving information about an OVF package.

  • +
  • selected_key (str) – The selected deployment option. Identifies the +DeploymentOption in the list in the deploymentOptions +attribute with a matching value in the DeploymentOption.key +attribute. +This attribute is optional in the input parameters when deploying +an OVF package. If None the server will use the default deployment +configuration, usually it’s the first one in +DeploymentOptionParams.deployment_options list. +This attribute is optional in the result when retrieving +information about an OVF package. The value will be set only if it +is specified with the optional ovf:default attribute.

  • +
  • type (str) – Unique identifier describing the type of the OVF parameters. The +value is the name of the OVF parameters class. +This attribute must be provided in the input parameters when +deploying an OVF package. This attribute will always be present in +the result when retrieving information about an OVF package.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.ovf_client.DiskProvisioningType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The DiskProvisioningType class defines the virtual disk provisioning +types that can be set for a disk on the target platform.

+
+

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 the DiskProvisioningType instance.

+
+
+
+
+eagerZeroedThick = DiskProvisioningType(string='eagerZeroedThick')
+

An eager zeroed thick provisioned virtual disk has all space allocated and +wiped clean of any previous contents on the physical media at creation +time.

+

Disks specified as eager zeroed thick may take longer time to create than +disks specified with the other disk provisioning types.

+
+ +
+
+thick = DiskProvisioningType(string='thick')
+

A thick provisioned virtual disk has all space allocated at creation time +and the space is zeroed on demand as the space is used.

+
+ +
+
+thin = DiskProvisioningType(string='thin')
+

A thin provisioned virtual disk has space allocated and zeroed on demand as +the space is used.

+
+ +
+ +
+
+class com.vmware.vcenter.ovf_client.ExportFlag(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The ExportFlag class provides methods for retrieving information about +the export flags supported by the server. Export flags can be specified in +a LibraryItem.CreateSpec to customize an OVF export.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(option=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ExportFlag.Info class describes an export flag supported by the +server.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+list()
+

Returns information about the supported export flags by the server.

+
+

The supported flags are:

+
+
+
PRESERVE_MAC

Include MAC addresses for network adapters.

+
+
EXTRA_CONFIG
+

Include extra configuration in OVF export.

+
+

Future server versions might support additional flags.

+
+
+
+
Return type
+

list of ExportFlag.Info

+
+
Returns
+

A list of supported export flags.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter.ovf_client.ExtraConfig(key=None, value=None, virtual_system_id=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ExtraConfig class contains the information about a vmw:ExtraConfig +element which can be used to specify configuration settings that are +transferred directly to the .vmx file. The behavior of the +vmw:ExtraConfig element is similar to the extraConfig property of the +VirtualMachineConfigSpec object in the VMware vSphere API. Thus, the +same restrictions apply, such as you cannot set values that could otherwise +be set with other properties in the VirtualMachineConfigSpec object. +See the VMware vSphere API reference for details on this.

+

vmw:ExtraConfig elements may occur as direct child elements of a +VirtualHardwareSection, or as child elements of individual virtual hardware +items.

+
+
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • key (str) – The key of the ExtraConfig element. +This attribute must be provided in the input parameters when +deploying an OVF package. This attribute will always be present in +the result when retrieving information about an OVF package.

  • +
  • value (str) – The value of the ExtraConfig element. +This attribute must be provided in the input parameters when +deploying an OVF package. This attribute will always be present in +the result when retrieving information about an OVF package.

  • +
  • virtual_system_id (str) – The identifier of the virtual system containing the vmw:ExtraConfig +element. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute will always be present in the result +when retrieving information about an OVF package.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.ovf_client.ExtraConfigParams(extra_configs=None, exclude_keys=None, include_keys=None, type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ExtraConfigParams class contains the parameters with information +about the vmw:ExtraConfig elements in an OVF package.

+

vmw:ExtraConfig elements can be used to specify configuration settings that +are transferred directly to the .vmx file.

+

The behavior of the vmw:ExtraConfig element is similar to the +extraConfig property of the VirtualMachineConfigSpec object in the +VMware vSphere API. Thus, the same restrictions apply, such as you cannot +set values that could otherwise be set with other properties in the +VirtualMachineConfigSpec object. See the VMware vSphere API reference +for details on this.

+
+
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • extra_configs (list of ExtraConfig) – list of vmw:ExtraConfig elements in the OVF package. +This attribute is optional in the input parameters when deploying +an OVF package. If None there are no extra configuration elements +to use for this OVF package deployment. This attribute will always +be present in the result when retrieving information about an OVF +package. It will be an empty list if there are no extra +configuration elements in the OVF package.

  • +
  • exclude_keys (list of str) –

    Specifies which extra configuration items in the list in +the extraConfigs field should be ignored during deployment.

    +

    If set, the given keys for extra configurations will be ignored +during deployment. The key is defined in the +ExtraConfig.key attribute. +This attribute is optional in the input parameters when deploying +an OVF package. It is an error to set both this and +ExtraConfigParams.include_keys. This attribute is optional +in the result when retrieving information about an OVF package. It +is an error to set both this and +ExtraConfigParams.include_keys.

    +

  • +
  • include_keys (list of str) –

    Specifies which extra configuration items in the list in +the extraConfigs field should be included during +deployment.

    +

    If set, all but the given keys for extra configurations will be +ignored during deployment. The key is defined in the +ExtraConfig.key attribute. +This attribute is optional in the input parameters when deploying +an OVF package. It is an error to set both this and +ExtraConfigParams.exclude_keys. This attribute is optional +in the result when retrieving information about an OVF package. It +is an error to set both this and +ExtraConfigParams.exclude_keys.

    +

  • +
  • type (str) – Unique identifier describing the type of the OVF parameters. The +value is the name of the OVF parameters class. +This attribute must be provided in the input parameters when +deploying an OVF package. This attribute will always be present in +the result when retrieving information about an OVF package.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.ovf_client.ImportFlag(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The ImportFlag class provides methods for retrieving information about +the import flags supported by the deployment platform. Import flags can be +specified in a LibraryItem.ResourcePoolDeploymentSpec to customize +an OVF deployment.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(option=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ImportFlag.Info class describes an import flag supported by the +deployment platform.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+list(rp)
+

Returns information about the import flags supported by the deployment +platform.

+
+

The supported flags are:

+
+
+
LAX
+

Lax mode parsing of the OVF descriptor.

+
+

Future server versions might support additional flags.

+
+
+
+
Parameters
+

rp (str) – The identifier of resource pool target for retrieving the import +flag(s). +The parameter must be an identifier for the resource type: +ResourcePool.

+
+
Return type
+

list of ImportFlag.Info

+
+
Returns
+

A list of supported import flags.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the resource pool associated with rp does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
  • The resource ResourcePool referenced by the parameter rp +requires System.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter.ovf_client.IpAllocationParams(supported_allocation_scheme=None, supported_ip_allocation_policy=None, ip_allocation_policy=None, supported_ip_protocol=None, ip_protocol=None, type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The IpAllocationParams class specifies how IP addresses are allocated +to OVF properties. In particular, it informs the deployment platform +whether the guest supports IPv4, IPv6, or both. It also specifies whether +the IP addresses can be obtained through DHCP or through the properties +provided in the OVF environment.

+

Ovf Property elements are exposed to the guest software through the OVF +environment. Each Property element exposed in the OVF environment shall be +constructed from the value of the ovf:key attribute. A Property element +contains a key/value pair, it may optionally specify type qualifiers using +the ovf:qualifiers attribute with multiple qualifiers separated by commas.

+

The settings in IpAllocationParams class are global to a deployment. +Thus, if a virtual machine is part of a virtual appliance, then its +settings are ignored and the settings for the virtual appliance is used.

+
+

This information is based on the vmw:IpAssignmentSection in OVF package.

+

See LibraryItem.deploy() and LibraryItem.filter().

+
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • supported_allocation_scheme (list of IpAllocationParams.IpAllocationScheme) – Specifies the IP allocation schemes supported by the guest +software. This attribute defines the valid values for the IP +allocation policy. This setting is often configured by the virtual +appliance template author or OVF package author to reflect what the +guest software supports, and the IP allocation policy is configured +at deployment time. See +IpAllocationParams.ip_allocation_policy. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute will always be present in the result +when retrieving information about an OVF package.

  • +
  • supported_ip_allocation_policy (list of IpAllocationParams.IpAllocationPolicy) – Specifies the IP allocation policies supported. The set of valid +options for the policy is based on the capabilities of the virtual +appliance software, as specified by the +IpAllocationParams.supported_allocation_scheme attribute. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute will always be present in the result +when retrieving information about an OVF package.

  • +
  • ip_allocation_policy (IpAllocationParams.IpAllocationPolicy) – Specifies how IP allocation is done through an IP Pool. This is +typically specified by the deployer. +This attribute is optional in the input parameters when deploying +an OVF package. If None there is no IP allocation policy. This +attribute will always be present in the result when retrieving +information about an OVF package.

  • +
  • supported_ip_protocol (list of IpAllocationParams.IpProtocol) – Specifies the IP protocols supported by the guest. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute will always be present in the result +when retrieving information about an OVF package.

  • +
  • ip_protocol (IpAllocationParams.IpProtocol) – Specifies the chosen IP protocol for this deployment. This must be +one of the IP protocols supported by the guest software. See +IpAllocationParams.supported_ip_protocol. +This attribute is optional in the input parameters when deploying +an OVF package. If None there is no IP protocol chosen. This +attribute will always be present in the result when retrieving +information about an OVF package.

  • +
  • type (str) – Unique identifier describing the type of the OVF parameters. The +value is the name of the OVF parameters class. +This attribute must be provided in the input parameters when +deploying an OVF package. This attribute will always be present in +the result when retrieving information about an OVF package.

  • +
+
+
+
+
+class IpAllocationPolicy(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The IpAllocationParams.IpAllocationPolicy class defines the possible IP +allocation policy for a deployment.

+
+

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 the IpAllocationPolicy instance.

+
+
+
+
+DHCP = IpAllocationPolicy(string='DHCP')
+

Specifies that DHCP will be used to allocate IP addresses.

+
+ +
+
+STATIC_IPPOOL = IpAllocationPolicy(string='STATIC_IPPOOL')
+

Specifies that IP addresses are allocated from the range managed by an IP +pool. The IP addresses are allocated at first power-on, and remain +allocated at power-off. This ensures that a virtual appliance gets a +consistent IP for its life-time.

+
+ +
+
+STATIC_MANUAL = IpAllocationPolicy(string='STATIC_MANUAL')
+

Specifies that IP addresses are configured manually upon deployment, and +will be kept until reconfigured or the virtual appliance destroyed. This +ensures that a property gets a consistent IP for its lifetime.

+
+ +
+
+TRANSIENT_IPPOOL = IpAllocationPolicy(string='TRANSIENT_IPPOOL')
+

Specifies that IP addresses are allocated from an IP pool. The IP addresses +are allocated when needed, typically at power-on, and deallocated during +power-off. There is no guarantee that a property will receive same IP +address when restarted.

+
+ +
+ +
+
+class IpAllocationScheme(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The IpAllocationParams.IpAllocationScheme class defines the possible IP +allocation schemes that can be supported by the guest software.

+
+

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 the IpAllocationScheme instance.

+
+
+
+
+DHCP = IpAllocationScheme(string='DHCP')
+

It supports DHCP to acquire IP configuration.

+
+ +
+
+OVF_ENVIRONMENT = IpAllocationScheme(string='OVF_ENVIRONMENT')
+

It supports setting the IP configuration through the properties provided in +the OVF environment.

+
+ +
+ +
+
+class IpProtocol(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The IpAllocationParams.IpProtocol class defines the IP protocols +supported by the guest software.

+
+

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 the IpProtocol instance.

+
+
+
+
+IPV4 = IpProtocol(string='IPV4')
+

It supports the IPv4 protocol.

+
+ +
+
+IPV6 = IpProtocol(string='IPV6')
+

It supports the IPv6 protocol.

+
+ +
+ +
+ +
+
+class com.vmware.vcenter.ovf_client.LibraryItem(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The LibraryItem class provides methods to deploy virtual machines and +virtual appliances from library items containing Open Virtualization Format +(OVF) packages in content library, as well as methods to create library +items in content library from virtual machines and virtual appliances.

+
+

To deploy a virtual machine or a virtual appliance from a library item:

+
+
    +
  1. Create a LibraryItem.DeploymentTarget to specify the target +deployment type and target deployment designation.

  2. +
  3. Create a LibraryItem.ResourcePoolDeploymentSpec to specify the +parameters for the target deployment.

  4. +
  5. Use the deploy method with the created target and parameter +specifications, along with the identifier of the specified source content +library item. See LibraryItem.deploy().

  6. +
+

To create a library item in content library from a virtual machine or +virtual appliance:

+
    +
  1. Create a LibraryItem.DeployableIdentity to specify the source +virtual machine or virtual appliance to be used as the OVF template source.

  2. +
  3. Create a LibraryItem.CreateTarget to specify the target library +and library item.

  4. +
  5. Create a LibraryItem.CreateSpec to specify the settings for the +OVF package to be created.

  6. +
  7. Use the create method with the created target and parameter +specifications, along with the specified source entity. See +LibraryItem.create().

  8. +
+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateResult(succeeded=None, ovf_library_item_id=None, error=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItem.CreateResult class defines the result of the create +method. See LibraryItem.create().

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • succeeded (bool) – Whether the create method completed successfully.

  • +
  • ovf_library_item_id (str or None) – Identifier of the created or updated library item. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.library.Item. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.content.library.Item. +If None, the create method failed and +LibraryItem.CreateResult.error will describe the error(s) +that caused the failure.

  • +
  • error (LibraryItem.ResultInfo or None) – Errors, warnings, and informational messages produced by the +create method. +If None, no errors, warnings, or informational messages were +reported by the create method.

  • +
+
+
+
+ +
+
+class CreateSpec(name=None, description=None, flags=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItem.CreateSpec class defines the information used to create +or update a library item containing an OVF package.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str or None) – Name to use in the OVF descriptor stored in the library item. +If None, the server will use source’s current name.

  • +
  • description (str or None) – Description to use in the OVF descriptor stored in the library +item. +If None, the server will use source’s current annotation.

  • +
  • flags (list of str or None) – Flags to use for OVF package creation. The supported flags can be +obtained using ExportFlag.list(). +If None, no flags will be used.

  • +
+
+
+
+ +
+
+class CreateTarget(library_id=None, library_item_id=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItem.CreateTarget class specifies the target library item +when capturing a virtual machine or virtual appliance as an OVF package in +a library item in a content library. The target can be an existing library +item, which will be updated, creating a new version, or it can be a newly +created library item in a specified library. See +LibraryItem.create().

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • library_id (str or None) –

    Identifier of the library in which a new library item should be +created. This attribute is not used if the libraryItemId +attribute is specified. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.Library. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: com.vmware.content.Library. +This attribute is currently required.

    +

    In the future, if None, the libraryItemId attribute must be +specified.

    +

  • +
  • library_item_id (str or None) – Identifier of the library item that should be should be updated. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.library.Item. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.content.library.Item. +If None, a new library item will be created. The libraryId +attribute must be specified if this attribute is set.

  • +
+
+
+
+ +
+
+DEPLOYABLE = ['VirtualMachine', 'VirtualApp']
+

The types of resources that can be created by deploying an OVF package and can +be captured to create a library item using the LibraryItem class.

+
+ +
+
+class DeployableIdentity(type=None, id=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItem.DeployableIdentity class describes the resource created +by a deployment, or the source resource from which library item can be +created, by specifying its resource type and resource identifier.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (str) – Type of the deployable resource. +When clients pass a value of this class as a parameter, the +attribute must be one of VirtualMachine or VirtualApp. When +methods return a value of this class as a return value, the +attribute will be one of VirtualMachine or VirtualApp.

  • +
  • id (str) – Identifier of the deployable resource. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for one of these resource types: +null or null. When methods return a value of this class as +a return value, the attribute will be an identifier for one of +these resource types: null or null.

  • +
+
+
+
+ +
+
+class DeploymentResult(succeeded=None, resource_id=None, error=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItem.DeploymentResult class defines the result of the +deploy method. See LibraryItem.deploy().

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • succeeded (bool) – Whether the deploy method completed successfully.

  • +
  • resource_id (LibraryItem.DeployableIdentity or None) – Identifier of the deployed resource entity. +If None, the deploy method failed and +LibraryItem.DeploymentResult.error will describe the +error(s) that caused the failure.

  • +
  • error (LibraryItem.ResultInfo or None) – Errors, warnings, and informational messages produced by the +deploy method. +If None, no errors, warnings, or informational messages were +reported by the deploy method.

  • +
+
+
+
+ +
+
+class DeploymentTarget(resource_pool_id=None, host_id=None, folder_id=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItem.DeploymentTarget class describes the location (target) +where a virtual machine or virtual appliance should be deployed. It is used +in the deploy and filter methods. See LibraryItem.deploy() +and LibraryItem.filter().

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • resource_pool_id (str) – Identifier of the resource pool to which the virtual machine or +virtual appliance should be attached. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ResourcePool. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: ResourcePool.

  • +
  • host_id (str or None) – Identifier of the target host on which the virtual machine or +virtual appliance will run. The target host must be a member of the +cluster that contains the resource pool identified by +LibraryItem.DeploymentTarget.resource_pool_id. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: HostSystem. +If None, the server will automatically select a target host from +the resource pool if +LibraryItem.DeploymentTarget.resource_pool_id is a +stand-alone host or a cluster with Distributed Resource Scheduling +(DRS) enabled.

  • +
  • folder_id (str or None) – Identifier of the vCenter folder that should contain the virtual +machine or virtual appliance. The folder must be virtual machine +folder. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: Folder. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: Folder. +If None, the server will choose the deployment folder.

  • +
+
+
+
+ +
+
+class OvfSummary(name=None, annotation=None, eulas=None, networks=None, storage_groups=None, additional_params=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItem.OvfSummary class defines the result of the filter +method. See LibraryItem.filter(). The attributes in the class +describe parameterizable information in the OVF descriptor, with respect to +a deployment target, for the deploy method. See +LibraryItem.deploy().

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str or None) – Default name for the virtual machine or virtual appliance. +If None, the OVF descriptor did not specify a name.

  • +
  • annotation (str or None) – Default annotation for the virtual machine or virtual appliance. +If None, the OVF descriptor did not specify an annotation.

  • +
  • eulas (list of str) – End User License Agreements specified in the OVF descriptor. All +end user license agreements must be accepted in order for the +deploy method to succeed. See +LibraryItem.ResourcePoolDeploymentSpec.accept_all_eula.

  • +
  • networks (list of str or None) – Section identifiers for sections of type ovf:NetworkSection in the +OVF descriptor. These identifiers can be used as keys in +LibraryItem.ResourcePoolDeploymentSpec.network_mappings. +If None, the OVF descriptor did not specify any networks.

  • +
  • storage_groups (list of str or None) – Section identifiers for sections of type vmw:StorageGroupSection in +the OVF descriptor. These identifiers can be used as keys in +LibraryItem.ResourcePoolDeploymentSpec.storage_mappings. +If None, the OVF descriptor did not specify any storage groups.

  • +
  • additional_params (list of vmware.vapi.struct.VapiStruct or None) – Additional OVF parameters which can be specified for the deployment +target. These OVF parameters can be inspected, optionally modified, +and used as values in +LibraryItem.ResourcePoolDeploymentSpec.additional_parameters +for the deploy method. +When clients pass a value of this class as a parameter, the +attribute must contain all the attributes defined in +OvfParams. When methods return a value of this class as a +return value, the attribute will contain all the attributes defined +in OvfParams. +If None, the OVF descriptor does not require addtional parameters +or does not have additional parameters suitable for the deployment +target.

  • +
+
+
+
+ +
+
+class ResourcePoolDeploymentSpec(name=None, annotation=None, accept_all_eula=None, network_mappings=None, storage_mappings=None, storage_provisioning=None, storage_profile_id=None, locale=None, flags=None, additional_parameters=None, default_datastore_id=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItem.ResourcePoolDeploymentSpec class defines the deployment +parameters that can be specified for the deploy method where the +deployment target is a resource pool. See LibraryItem.deploy().

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str or None) – Name assigned to the deployed target virtual machine or virtual +appliance. +If None, the server will use the name from the OVF package.

  • +
  • annotation (str or None) – Annotation assigned to the deployed target virtual machine or +virtual appliance. +If None, the server will use the annotation from the OVF package.

  • +
  • accept_all_eula (bool) – Whether to accept all End User License Agreements. See +LibraryItem.OvfSummary.eulas.

  • +
  • network_mappings ((dict of str and str) or None) – Specification of the target network to use for sections of type +ovf:NetworkSection in the OVF descriptor. The key in the +dict is the section identifier of the ovf:NetworkSection +section in the OVF descriptor and the value is the target network +to be used for deployment. +When clients pass a value of this class as a parameter, the value +in the attribute dict must be an identifier for the +resource type: Network. When methods return a value of this +class as a return value, the value in the attribute dict +will be an identifier for the resource type: Network. +If None, the server will choose a network mapping.

  • +
  • storage_mappings ((dict of str and LibraryItem.StorageGroupMapping) or None) – Specification of the target storage to use for sections of type +vmw:StorageGroupSection in the OVF descriptor. The key in the +dict is the section identifier of the +ovf:StorageGroupSection section in the OVF descriptor and the value +is the target storage specification to be used for deployment. See +LibraryItem.StorageGroupMapping. +If None, the server will choose a storage mapping.

  • +
  • storage_provisioning (DiskProvisioningType or None) – Default storage provisioning type to use for all sections of type +vmw:StorageSection in the OVF descriptor. +If None, the server will choose the provisioning type.

  • +
  • storage_profile_id (str or None) – Default storage profile to use for all sections of type +vmw:StorageSection in the OVF descriptor. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +StorageProfile. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: StorageProfile. +If None, the server will choose the default profile.

  • +
  • locale (str or None) – The locale to use for parsing the OVF descriptor. +If None, the server locale will be used.

  • +
  • flags (list of str or None) – Flags to be use for deployment. The supported flag values can be +obtained using ImportFlag.list(). +If None, no flags will be used.

  • +
  • additional_parameters (list of vmware.vapi.struct.VapiStruct or None) –

    Additional OVF parameters that may be needed for the deployment. +Additional OVF parameters may be required by the OVF descriptor of +the OVF package in the library item. Examples of OVF parameters +that can be specified through this attribute include, but are not +limited to:

    + +

    When clients pass a value of this class as a parameter, the +attribute must contain all the attributes defined in +OvfParams. When methods return a value of this class as a +return value, the attribute will contain all the attributes defined +in OvfParams. +If None, the server will choose default settings for all parameters +necessary for the deploy method. See +LibraryItem.deploy().

    +

  • +
  • default_datastore_id (str or None) – Default datastore to use for all sections of type +vmw:StorageSection in the OVF descriptor. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Datastore. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Datastore. +If None, the server will choose the default datastore.

  • +
+
+
+
+ +
+
+class ResultInfo(errors=None, warnings=None, information=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItem.ResultInfo class defines the information returned along +with the result of a create or deploy method to describe errors, +warnings, and informational messages produced by the server.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • errors (list of OvfError) – Errors reported by the create or deploy method. These +errors would have prevented the create or deploy method +from completing successfully.

  • +
  • warnings (list of OvfWarning) – Warnings reported by the create or deploy method. These +warnings would not have prevented the create or deploy +method from completing successfully, but there might be issues that +warrant attention.

  • +
  • information (list of OvfInfo) – Information messages reported by the create or deploy +method. For example, a non-required parameter was ignored.

  • +
+
+
+
+ +
+
+class StorageGroupMapping(type=None, datastore_id=None, storage_profile_id=None, provisioning=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItem.StorageGroupMapping class defines the storage +deployment target and storage provisioning type for a section of type +vmw:StorageGroupSection in the OVF descriptor.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (LibraryItem.StorageGroupMapping.Type) – Type of storage deployment target to use for the +vmw:StorageGroupSection section. The specified value must be +LibraryItem.StorageGroupMapping.Type.DATASTORE or +LibraryItem.StorageGroupMapping.Type.STORAGE_PROFILE.

  • +
  • datastore_id (str) – Target datastore to be used for the storage group. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Datastore. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Datastore. +This attribute is optional and it is only relevant when the value +of type is +LibraryItem.StorageGroupMapping.Type.DATASTORE.

  • +
  • storage_profile_id (str) – Target storage profile to be used for the storage group. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +StorageProfile. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: StorageProfile. +This attribute is optional and it is only relevant when the value +of type is +LibraryItem.StorageGroupMapping.Type.STORAGE_PROFILE.

  • +
  • provisioning (DiskProvisioningType or None) – Target provisioning type to use for the storage group. +If None, +LibraryItem.ResourcePoolDeploymentSpec.storage_provisioning +will be used.

  • +
+
+
+
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The LibraryItem.StorageGroupMapping.Type class defines the supported +types of storage targets for sections of type vmw:StorageGroupSection in +the OVF descriptor.

+
+

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 the Type instance.

+
+
+
+
+DATASTORE = Type(string='DATASTORE')
+

Storage deployment target is a datastore.

+
+ +
+
+STORAGE_PROFILE = Type(string='STORAGE_PROFILE')
+

Storage deployment target is a storage profile.

+
+ +
+ +
+ +
+
+create(source, target, create_spec, client_token=None)
+

Creates a library item in content library from a virtual machine or +virtual appliance.

+

This method creates a library item in content library whose content is +an OVF package derived from a source virtual machine or virtual +appliance, using the supplied create specification. The OVF package may +be stored as in a newly created library item or in an in an existing +library item. For an existing library item whose content is updated by +this method, the original content is overwritten. Meta data such as +name and description is not updated for the exisitng library item.

+
+
Parameters
+
    +
  • client_token (str or None) – Client-generated token used to retry a request if the client fails +to get a response from the server. If the original request +succeeded, the result of that request will be returned, otherwise +the operation will be retried. +If None, the server will create a token.

  • +
  • source (LibraryItem.DeployableIdentity) – Identifier of the virtual machine or virtual appliance to use as +the source.

  • +
  • target (LibraryItem.CreateTarget) – Specification of the target content library and library item.

  • +
  • create_spec (LibraryItem.CreateSpec) – Information used to create the OVF package from the source virtual +machine or virtual appliance.

  • +
+
+
Return type
+

LibraryItem.CreateResult

+
+
Returns
+

Information about the success or failure of the method, along with +the details of the result or failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if create_spec contains invalid arguments.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if source describes an unexpected resource type.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual appliance specified by source +does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library or library item specified by target does not +exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the operation cannot be performed because of the specified +virtual machine or virtual appliance’s current state. For example, +if the virtual machine configuration information is not available, +or if the virtual appliance is running.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if there was an error accessing a file from the source virtual +machine or virtual appliance.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the specified virtual machine or virtual appliance is busy.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
  • The resource null or null referenced by the attribute +LibraryItem.DeployableIdentity.id requires VApp.Export.

  • +
  • The resource com.vmware.content.Library referenced by the +attribute LibraryItem.CreateTarget.library_id requires +ContentLibrary.AddLibraryItem.

  • +
  • The resource com.vmware.content.library.Item referenced by +the attribute LibraryItem.CreateTarget.library_item_id +requires System.Read.

  • +
+
+
+
+ +
+
+deploy(ovf_library_item_id, target, deployment_spec, client_token=None)
+

Deploys an OVF package stored in content library to a newly created +virtual machine or virtual appliance.

+

This method deploys an OVF package which is stored in the library item +specified by ovf_library_item_id. It uses the deployment +specification in deployment_spec to deploy the OVF package to the +location specified by target.

+
+
Parameters
+
    +
  • client_token (str or None) – Client-generated token used to retry a request if the client fails +to get a response from the server. If the original request +succeeded, the result of that request will be returned, otherwise +the operation will be retried. +If None, the server will create a token.

  • +
  • ovf_library_item_id (str) – Identifier of the content library item containing the OVF package +to be deployed. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

  • +
  • target (LibraryItem.DeploymentTarget) – Specification of the deployment target.

  • +
  • deployment_spec (LibraryItem.ResourcePoolDeploymentSpec) – Specification of how the OVF package should be deployed to the +target.

  • +
+
+
Return type
+

LibraryItem.DeploymentResult

+
+
Returns
+

Information about the success or failure of the method, along with +the details of the result or failure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if target contains invalid arguments.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if deployment_spec contains invalid arguments or has attributes +that are inconsistent with target.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library item specified by ovf_library_item_id does not +exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if any resource specified by a attribute of the +LibraryItem.DeploymentTarget class, specified by +target, does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if there was an error accessing the OVF package stored in the +library item specified by ovf_library_item_id.

+
+
Raise
+
+
com.vmware.vapi.std.errors_client.Unauthorized

if you do not have all of the privileges described as follows :

+
+
+
    +
  • Method execution requires VirtualMachine.Config.AddNewDisk if the +OVF descriptor has a disk drive (type 17) section.

  • +
  • Method execution requires VirtualMachine.Config.AdvancedConfig if +the OVF descriptor has an ExtraConfig section.

  • +
  • Method execution requires Extension.Register for specified +resource group if the OVF descriptor has a vServiceDependency +section.

  • +
  • Method execution requires Network.Assign for target network if +specified.

  • +
  • Method execution requires Datastore.AllocateSpace for target +datastore if specified.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
  • The resource com.vmware.content.library.Item referenced by +the parameter ovf_library_item_id requires System.Read.

  • +
  • The resource HostSystem referenced by the attribute +LibraryItem.DeploymentTarget.host_id requires +System.Read.

  • +
  • The resource Network referenced by the dict value of +attribute +LibraryItem.ResourcePoolDeploymentSpec.network_mappings +requires System.Read.

  • +
  • The resource StorageProfile referenced by the attribute +LibraryItem.ResourcePoolDeploymentSpec.storage_profile_id +requires System.Read.

  • +
  • The resource Datastore referenced by the attribute +LibraryItem.ResourcePoolDeploymentSpec.default_datastore_id +requires System.Read.

  • +
  • The resource ResourcePool referenced by the attribute +LibraryItem.DeploymentTarget.resource_pool_id requires +VApp.Import.

  • +
  • The resource Folder referenced by the attribute +LibraryItem.DeploymentTarget.folder_id requires +VApp.Import.

  • +
+
+
+
+ +
+
+filter(ovf_library_item_id, target)
+

Queries an OVF package stored in content library to retrieve +information to use when deploying the package. See +LibraryItem.deploy().

+

This method retrieves information from the descriptor of the OVF +package stored in the library item specified by +ovf_library_item_id. The information returned by the method can be +used to populate the deployment specification (see +LibraryItem.ResourcePoolDeploymentSpec when deploying the OVF +package to the deployment target specified by target.

+
+
Parameters
+
    +
  • ovf_library_item_id (str) – Identifier of the content library item containing the OVF package +to query. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

  • +
  • target (LibraryItem.DeploymentTarget) – Specification of the deployment target.

  • +
+
+
Return type
+

LibraryItem.OvfSummary

+
+
Returns
+

Information that can be used to populate the deployment +specification (see LibraryItem.ResourcePoolDeploymentSpec) +when deploying the OVF package to the deployment target specified +by target.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if target contains invalid arguments.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library item specified by ovf_library_item_id does not +exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if any resource specified by a attribute of the +LibraryItem.DeploymentTarget class, specified by +target, does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if there was an error accessing the OVF package at the specified +ovf_library_item_id.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
  • The resource com.vmware.content.library.Item referenced by +the parameter ovf_library_item_id requires System.Read.

  • +
  • The resource ResourcePool referenced by the attribute +LibraryItem.DeploymentTarget.resource_pool_id requires +System.Read.

  • +
  • The resource HostSystem referenced by the attribute +LibraryItem.DeploymentTarget.host_id requires +System.Read.

  • +
  • The resource Folder referenced by the attribute +LibraryItem.DeploymentTarget.folder_id requires +System.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter.ovf_client.OvfError(category=None, issues=None, name=None, value=None, message=None, error=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The OvfError class describes an error related to accessing, validating, +deploying, or exporting an OVF package.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class com.vmware.vcenter.ovf_client.OvfInfo(messages=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The OvfInfo class contains informational messages related to accessing, +validating, deploying, or exporting an OVF package.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

messages (list of com.vmware.vapi.std_client.LocalizableMessage) – A list of localizable messages (see +com.vmware.vapi.std_client.LocalizableMessage).

+
+
+
+ +
+
+class com.vmware.vcenter.ovf_client.OvfMessage(category=None, issues=None, name=None, value=None, message=None, error=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The OvfMessage class describes a base OVF handling error message +related to accessing, validating, deploying, or exporting an OVF package.

+

These messages fall into different categories defined in +OvfMessage.Category:

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+
+class Category(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The OvfMessage.Category class defines the categories of messages (see +OvfMessage).

+
+

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 the Category instance.

+
+
+
+
+INPUT = Category(string='INPUT')
+

The user provided input parameters are invalid.

+
+ +
+
+SERVER = Category(string='SERVER')
+

Server error.

+
+ +
+
+VALIDATION = Category(string='VALIDATION')
+

The OVF descriptor is invalid, for example, syntax errors or schema errors.

+
+ +
+ +
+ +
+
+class com.vmware.vcenter.ovf_client.OvfParams(type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The OvfParams class defines the common attributes for all OVF +deployment parameters. OVF parameters serve several purposes:

+
    +
  • Describe information about a given OVF package.

  • +
  • Describe default deployment configuration.

  • +
  • Describe possible deployment values based on the deployment environment.

  • +
  • Provide deployment-specific configuration.

  • +
+

Each OVF parameters class specifies a particular configurable aspect of OVF +deployment. An aspect has both a query-model and a deploy-model. The +query-model is used when the OVF package is queried, and the deploy-model +is used when deploying an OVF package.

+

Most OVF parameter classes provide both informational and deployment +parameters. However, some are purely informational (for example, download +size) and some are purely deployment parameters (for example, the flag to +indicate whether registration as a vCenter extension is accepted).

+
+
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

type (str) – Unique identifier describing the type of the OVF parameters. The +value is the name of the OVF parameters class. +This attribute must be provided in the input parameters when +deploying an OVF package. This attribute will always be present in +the result when retrieving information about an OVF package.

+
+
+
+ +
+
+class com.vmware.vcenter.ovf_client.OvfWarning(category=None, issues=None, name=None, value=None, message=None, error=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The OvfWarning class describes a warning related to accessing, +validating, deploying, or exporting an OVF package.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class com.vmware.vcenter.ovf_client.ParseIssue(category=None, file=None, line_number=None, column_number=None, message=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ParseIssue class contains the information about the issue found +when parsing an OVF package during deployment or exporting an OVF package +including:

+
    +
  • Parsing and validation error on OVF descriptor (which is an XML +document), manifest and certificate files.

  • +
  • OVF descriptor generating and device error.

  • +
  • Unexpected server error.

  • +
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • category (ParseIssue.Category) – The category of the parse issue.

  • +
  • file (str) – The name of the file in which the parse issue was found.

  • +
  • line_number (long) – The line number of the line in the file (see +ParseIssue.file) where the parse issue was found (or -1 if +not applicable).

  • +
  • column_number (long) – The position in the line (see ParseIssue.line_number) (or +-1 if not applicable).

  • +
  • message (com.vmware.vapi.std_client.LocalizableMessage) – A localizable message describing the parse issue.

  • +
+
+
+
+
+class Category(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The ParseIssue.Category class defines the categories of issues that can +be found when parsing files inside an OVF package (see ParseIssue) +including OVF descriptor (which is an XML document), manifest and +certificate files, or exporting an OVF package.

+
+

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 the Category instance.

+
+
+
+
+ATTRIBUTE_ILLEGAL = Category(string='ATTRIBUTE_ILLEGAL')
+

Illegal attribute error. It indicates that an illegal attribute is set for +an element in the OVF descriptor. For example, empty disks do not use +format, parentRef, and populatedSize attributes, if these attributes are +present in an empty disk element then will get this pasrse issue.

+
+ +
+
+ATTRIBUTE_REQUIRED = Category(string='ATTRIBUTE_REQUIRED')
+

Required attribute error. It indicates that a required attribute is missing +from an element in the OVF descriptor.

+
+ +
+
+ELEMENT_ILLEGAL = Category(string='ELEMENT_ILLEGAL')
+

Illegal element error. It indicates that an element is present in a +location which is not allowed, or found multiple elements but only one is +allowed at the location in the OVF descriptor.

+
+ +
+
+ELEMENT_REQUIRED = Category(string='ELEMENT_REQUIRED')
+

Required element error. It indicates that a required element is missing +from the OVF descriptor.

+
+ +
+
+ELEMENT_UNKNOWN = Category(string='ELEMENT_UNKNOWN')
+

Unknown element error. It indicates that an element is unsupported when +parsing an OVF descriptor.

+
+ +
+
+EXPORT_ERROR = Category(string='EXPORT_ERROR')
+

Issue during OVF export, for example, malformed deviceId, controller not +found, or file backing for a device not found.

+
+ +
+
+GENERATE_ERROR = Category(string='GENERATE_ERROR')
+

OVF descriptor (which is an XML document) generating error, for example, +well-formedness errors as well as unexpected processing conditions.

+
+ +
+
+INTERNAL_ERROR = Category(string='INTERNAL_ERROR')
+

Server encountered an unexpected error which prevented it from fulfilling +the request.

+
+ +
+
+PARSE_ERROR = Category(string='PARSE_ERROR')
+

OVF package parsing error, including:

+
    +
  • OVF descriptor parsing errors, for example, syntax errors or schema +errors.

  • +
  • Manifest file parsing and verification errors.

  • +
  • Certificate file parsing and verification errors.

  • +
+
+ +
+
+SECTION_RESTRICTION = Category(string='SECTION_RESTRICTION')
+

Section restriction error. It indicates that a section appears in place in +the OVF descriptor where it is not allowed, a section appears fewer times +than is required, or a section appears more times than is allowed.

+
+ +
+
+SECTION_UNKNOWN = Category(string='SECTION_UNKNOWN')
+

Section unknown error. It indicates that a section is unsupported when +parsing an OVF descriptor.

+
+ +
+
+VALIDATION_ERROR = Category(string='VALIDATION_ERROR')
+

An issue with the manifest and signing.

+
+ +
+
+VALUE_ILLEGAL = Category(string='VALUE_ILLEGAL')
+

Illegal value error. For example, the value is malformed, not a number, or +outside of the given range, and so on.

+
+ +
+ +
+ +
+
+class com.vmware.vcenter.ovf_client.Property(class_id=None, id=None, instance_id=None, category=None, ui_optional=None, label=None, description=None, type=None, value=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Property class contains the information about a property in an OVF +package.

+

A property is uniquely identified by its [classid.]id[.instanceid] +fully-qualified name (see Property.class_id, Property.id, +and Property.instance_id). If multiple properties in an OVF package +have the same fully-qualified name, then the property is excluded and +cannot be set. We do warn about this during import.

+
+
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • class_id (str) – The classId of this OVF property. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute will always be present in the result +when retrieving information about an OVF package.

  • +
  • id (str) – The identifier of this OVF property. +This attribute must be provided in the input parameters when +deploying an OVF package. This attribute will always be present in +the result when retrieving information about an OVF package.

  • +
  • instance_id (str) – The instanceId of this OVF property. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute will always be present in the result +when retrieving information about an OVF package.

  • +
  • category (str) – If this is set to a non-empty string, this property starts a new +category. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute is optional in the result when +retrieving information about an OVF package. If None, the property +is in the same category as the previous item, otherwise, it starts +a new category.

  • +
  • ui_optional (bool) –

    Whether a category is UI optional. This is only used if this +property starts a new category (see Property.category).

    +

    The value is stored in an optional attribute vmw:uioptional to the +ovf:Category element. The default value is false. If this value is +true, the properties within this category are optional. The UI +renders this as a group with a check box, and the group is grayed +out until the check box is selected. When the check box is +selected, the input values are read and used in deployment. If +properties within the same category specify conflicting values the +default is used. Only implemented in vSphere Web Client 5.1 and +later as of Nov 2012. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute is optional in the result when +retrieving information about an OVF package.

    +

  • +
  • label (str) – The display name of this OVF property. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute will always be present in the result +when retrieving information about an OVF package.

  • +
  • description (str) – A description of this OVF property. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute is optional in the result when +retrieving information about an OVF package.

  • +
  • type (str) – The type of this OVF property. Refer to the configuration of a +virtual appliance/virtual machine for the valid values. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute will always be present in the result +when retrieving information about an OVF package.

  • +
  • value (str) – The OVF property value. This contains the default value from +ovf:defaultValue if ovf:value is not present when read. +This attribute must be provided in the input parameters when +deploying an OVF package. This attribute will always be present in +the result when retrieving information about an OVF package.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.ovf_client.PropertyParams(properties=None, type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The PropertyParams class contains a list of OVF properties +that can be configured when the OVF package is deployed.

+
+

This is based on the ovf:ProductSection.

+

See LibraryItem.deploy() and LibraryItem.filter().

+
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • properties (list of Property) – list of OVF properties. +This attribute is optional in the input parameters when deploying +an OVF package. This attribute will always be present in the result +when retrieving information about an OVF package.

  • +
  • type (str) – Unique identifier describing the type of the OVF parameters. The +value is the name of the OVF parameters class. +This attribute must be provided in the input parameters when +deploying an OVF package. This attribute will always be present in +the result when retrieving information about an OVF package.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.ovf_client.ScaleOutGroup(id=None, description=None, instance_count=None, minimum_instance_count=None, maximum_instance_count=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ScaleOutGroup class contains information about a scale-out group.

+

It allows a virtual system collection to contain a set of children that are +homogeneous with respect to a prototypical virtual system or virtual system +collection. It shall cause the deployment function to replicate the +prototype a number of times, thus allowing the number of instantiated +virtual systems to be configured dynamically at deployment time.

+
+

This is based on the ovf2:ScaleOutSection.

+

See LibraryItem.deploy() and LibraryItem.filter().

+
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) – The identifier of the scale-out group. +This attribute must be provided in the input parameters when +deploying an OVF package. This attribute will always be present in +the result when retrieving information about an OVF package.

  • +
  • description (str) – The description of the scale-out group. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute will always be present in the result +when retrieving information about an OVF package.

  • +
  • instance_count (long) – The scaling factor to use. It defines the number of replicas of the +prototypical virtual system or virtual system collection. +This attribute must be provided in the input parameters when +deploying an OVF package. This attribute will always be present in +the result when retrieving information about an OVF package.

  • +
  • minimum_instance_count (long) – The minimum scaling factor. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute will always be present in the result +when retrieving information about an OVF package. This will be 1 if +there is no explicit limit.

  • +
  • maximum_instance_count (long) – The maximum scaling factor. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute is optional in the result when +retrieving information about an OVF package. This will be None if +there is no explicit limit.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.ovf_client.ScaleOutParams(groups=None, type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ScaleOutParams class contains information about the scale-out +groups described in the OVF package.

+

When deploying an OVF package, a deployment specific instance count can be +specified (see ScaleOutGroup.instance_count.

+
+

This is based on the ovf2:ScaleOutSection.

+

See LibraryItem.deploy() and LibraryItem.filter().

+
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • groups (list of ScaleOutGroup) – The list of scale-out groups. +This attribute is optional in the input parameters when deploying +an OVF package. If None there are no scale-out groups. This +attribute will always be present in the result when retrieving +information about an OVF package.

  • +
  • type (str) – Unique identifier describing the type of the OVF parameters. The +value is the name of the OVF parameters class. +This attribute must be provided in the input parameters when +deploying an OVF package. This attribute will always be present in +the result when retrieving information about an OVF package.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.ovf_client.SizeParams(approximate_download_size=None, approximate_flat_deployment_size=None, approximate_sparse_deployment_size=None, variable_disk_size=None, type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The SizeParams class contains estimates of the download and deployment +sizes.

+

This information is based on the file references and the ovf:DiskSection in +the OVF descriptor.

+
+
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • approximate_download_size (long) –

    A best guess as to the total amount of data that must be +transferred to download the OVF package.

    +
    +

    This may be inaccurate due to disk compression etc.

    +
    +

    This attribute is not used in the input parameters when deploying +an OVF package. This attribute is optional in the result when +retrieving information about an OVF package. It will be None if +there is insufficient information to provide a proper estimate.

    +

  • +
  • approximate_flat_deployment_size (long) – A best guess as to the total amount of space required to deploy the +OVF package if using flat disks. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute is optional in the result when +retrieving information about an OVF package. It will be None if +there is insufficient information to provide a proper estimate.

  • +
  • approximate_sparse_deployment_size (long) – A best guess as to the total amount of space required to deploy the +OVF package using sparse disks. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute is optional in the result when +retrieving information about an OVF package. It will be None if +there is insufficient information to provide a proper estimate.

  • +
  • variable_disk_size (bool) –

    Whether the OVF uses variable disk sizes.

    +

    For empty disks, rather than specifying a fixed virtual disk +capacity, the capacity may be given using a reference to a +ovf:Property element in a ovf:ProductSection element in OVF +package. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute is optional in the result when +retrieving information about an OVF package. If None or false, the +OVF does not use variable disk sizes.

    +

  • +
  • type (str) – Unique identifier describing the type of the OVF parameters. The +value is the name of the OVF parameters class. +This attribute must be provided in the input parameters when +deploying an OVF package. This attribute will always be present in +the result when retrieving information about an OVF package.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.ovf_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.vcenter.ovf_client.UnknownSection(tag=None, info=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The UnknownSection class contains information about an unknown section +in an OVF package.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • tag (str) – A namespace-qualified tag in the form {ns}tag.

  • +
  • info (str) – The description of the Info element.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.ovf_client.UnknownSectionParams(unknown_sections=None, type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The UnknownSectionParams class contains a list of unknown, +non-required sections.

+
+
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • unknown_sections (list of UnknownSection) – list of unknown, non-required sections. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute will always be present in the result +when retrieving information about an OVF package.

  • +
  • type (str) – Unique identifier describing the type of the OVF parameters. The +value is the name of the OVF parameters class. +This attribute must be provided in the input parameters when +deploying an OVF package. This attribute will always be present in +the result when retrieving information about an OVF package.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.ovf_client.VcenterExtensionParams(required=None, registration_accepted=None, type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The VcenterExtensionParams class specifies that the OVF package should +be registered as a vCenter extension. The virtual machine or virtual +appliance will gain unrestricted access to the vCenter Server APIs. It must +be connected to a network with connectivity to the vCenter server.

+
+
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • required (bool) – Whether registration as a vCenter extension is required. +This attribute is not used in the input parameters when deploying +an OVF package. This attribute will always be present in the result +when retrieving information about an OVF package.

  • +
  • registration_accepted (bool) –

    Whether registration as a vCenter extension is accepted.

    +

    If registration as a vCenter extension is required (see +VcenterExtensionParams.required), this must be set to true +during deployment. Defaults to false when returned from server. +This attribute must be provided in the input parameters when +deploying an OVF package. This attribute will always be present in +the result when retrieving information about an OVF package.

    +

  • +
  • type (str) – Unique identifier describing the type of the OVF parameters. The +value is the name of the OVF parameters class. +This attribute must be provided in the input parameters when +deploying an OVF package. This attribute will always be present in +the result when retrieving information about an OVF package.

  • +
+
+
+
+ +
+
+

com.vmware.vcenter.services_client module

+
+
+class com.vmware.vcenter.services_client.Service(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Service class provides methods to manage a single/set of vCenter +Server services. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Health(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Service.Health class defines the possible values for health of a +service. This enumeration was added in vSphere API 6.7.

+
+

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 the Health instance.

+
+
+
+
+DEGRADED = Health(string='DEGRADED')
+

Service is in degraded state, it is not functional. This class attribute +was added in vSphere API 6.7.

+
+ +
+
+HEALTHY = Health(string='HEALTHY')
+

Service is in a healthy state and is fully functional. This class attribute +was added in vSphere API 6.7.

+
+ +
+
+HEALTHY_WITH_WARNINGS = Health(string='HEALTHY_WITH_WARNINGS')
+

Service is healthy with warnings. This class attribute was added in vSphere +API 6.7.

+
+ +
+ +
+
+class Info(name_key=None, description_key=None, startup_type=None, state=None, health=None, health_messages=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Service.Info class contains information about a service. This class +was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name_key (str) – Service name key. Can be used to lookup resource bundle. This +attribute was added in vSphere API 6.7.

  • +
  • description_key (str) – Service description key. Can be used to lookup resource bundle. +This attribute was added in vSphere API 6.7.

  • +
  • startup_type (Service.StartupType) – Startup Type. This attribute was added in vSphere API 6.7.

  • +
  • state (Service.State) – Running State. This attribute was added in vSphere API 6.7.

  • +
  • health (Service.Health) – Health of service. This attribute was added in vSphere API 6.7. +This attribute is optional and it is only relevant when the value +of state is Service.State.STARTED.

  • +
  • health_messages (list of com.vmware.vapi.std_client.LocalizableMessage) – Localizable messages associated with the health of the service. +This attribute was added in vSphere API 6.7. +This attribute is optional and it is only relevant when the value +of state is Service.State.STARTED.

  • +
+
+
+
+ +
+
+class StartupType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Service.StartupType class defines valid Startup Type for vCenter +Server services. This enumeration was added in vSphere API 6.7.

+
+

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 the StartupType instance.

+
+
+
+
+AUTOMATIC = StartupType(string='AUTOMATIC')
+

Service Startup type is Automatic, thus during starting all services or +issuing explicit start on the service will start it. This class attribute +was added in vSphere API 6.7.

+
+ +
+
+DISABLED = StartupType(string='DISABLED')
+

Service Startup type is Disabled, thus it will not start unless the startup +type changes to manual or automatic. This class attribute was added in +vSphere API 6.7.

+
+ +
+
+MANUAL = StartupType(string='MANUAL')
+

Service Startup type is Manual, thus issuing an explicit start on the +service will start it. This class attribute was added in vSphere API 6.7.

+
+ +
+ +
+
+class State(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Service.State class defines valid Run State for services. This +enumeration was added in vSphere API 6.7.

+
+

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 the State instance.

+
+
+
+
+STARTED = State(string='STARTED')
+

Service Run State is Started, it is fully functional. This class attribute +was added in vSphere API 6.7.

+
+ +
+
+STARTING = State(string='STARTING')
+

Service Run State is Starting, it is still not functional. This class +attribute was added in vSphere API 6.7.

+
+ +
+
+STOPPED = State(string='STOPPED')
+

Service Run State is Stopped. This class attribute was added in vSphere API +6.7.

+
+ +
+
+STOPPING = State(string='STOPPING')
+

Service Run State is Stopping, it is not functional. This class attribute +was added in vSphere API 6.7.

+
+ +
+ +
+
+class UpdateSpec(startup_type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Service.UpdateSpec class describes the changes to be made to the +configuration of the service. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

startup_type (Service.StartupType or None) – Startup Type. This attribute was added in vSphere API 6.7. +If unspecified, leaves value unchanged.

+
+
+
+ +
+
+get(service)
+

Returns the state of a service. This method was added in vSphere API +6.7.

+
+
Parameters
+

service (str) – identifier of the service whose state is being queried. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.services.Service.

+
+
Return type
+

Service.Info

+
+
Returns
+

Service Info structure.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the service associated with service does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any other error occurs during the execution of the operation.

+
+
+
+ +
+
+list_details()
+

Lists details of vCenter services. This method was added in vSphere API +6.7.

+
+
Return type
+

dict of str and Service.Info

+
+
Returns
+

Map of service identifiers to service Info structures. +The key in the return value dict will be an identifier for +the resource type: com.vmware.vcenter.services.Service.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any error occurs during the execution of the operation.

+
+
+
+ +
+
+restart(service)
+

Restarts a service. This method was added in vSphere API 6.7.

+
+
Parameters
+

service (str) – identifier of the service to restart +The parameter must be an identifier for the resource type: +com.vmware.vcenter.services.Service.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the service associated with service does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.TimedOut +if any timeout occurs during the execution of the restart +operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the operation is denied in the current state of the service. If +a stop or start operation is in progress, issuing a restart +operation will lead to this error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if a restart operation is issued on a service which has startup +type Service.StartupType.DISABLED

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any other error occurs during the execution of the operation.

+
+
+
+ +
+
+start(service)
+

Starts a service. This method was added in vSphere API 6.7.

+
+
Parameters
+

service (str) – identifier of the service to start +The parameter must be an identifier for the resource type: +com.vmware.vcenter.services.Service.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the service associated with service does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the operation is denied in the current state of the service. If +a stop or restart operation is in progress, the start operation +will not be allowed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if start operation is issued on a service which has startup type +Service.StartupType.DISABLED.

+
+
Raise
+

com.vmware.vapi.std.errors_client.TimedOut +if any timeout occurs during the execution of the start operation. +Timeout occurs when the service takes longer than StartTimeout to +start.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any other error occurs during the execution of the operation.

+
+
+
+ +
+
+stop(service)
+

Stops a service. This method was added in vSphere API 6.7.

+
+
Parameters
+

service (str) – identifier of the service to stop +The parameter must be an identifier for the resource type: +com.vmware.vcenter.services.Service.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the service associated with service does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any other error occurs during the execution of the operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the operation is denied in the current state of the service. If +a stop operation is in progress, issuing another stop operation +will lead to this error.

+
+
+
+ +
+
+update(service, spec)
+

Updates the properties of a service. This method was added in vSphere +API 6.7.

+
+
Parameters
+
    +
  • service (str) – identifier of the service whose properties are being updated. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.services.Service.

  • +
  • spec (Service.UpdateSpec) – Service Update specification.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the service associated with service does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if any other error occurs during the execution of the operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the operation is denied in the current state of the service. If +a start, stop or restart operation is in progress, update operation +will fail with this error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if a request to set the Service.UpdateSpec.startup_type +attribute of spec to Service.StartupType.DISABLED comes +in for a service that is not in Service.State.STOPPED +state.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.services_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.storage_client module

+
+
+class com.vmware.vcenter.storage_client.Policies(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Policies class provides methods for managing the storage policies. +This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CompatibilityInfo(compatible_datastores=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Policies.CompatibilityInfo class contains info about a list of +datastores compatible with a specific storage policy. This class was added +in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

compatible_datastores (list of Policies.CompatibleDatastoreInfo) – Info about a list of datastores compatible with a specific storage +policy. This attribute was added in vSphere API 6.7.

+
+
+
+ +
+
+class CompatibleDatastoreInfo(datastore=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Policies.CompatibleDatastoreInfo class contains compatible +datastore’s information. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

datastore (str) – Identifier of the datastore. This attribute was added in vSphere +API 6.7. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Datastore. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Datastore.

+
+
+
+ +
+
+class FilterSpec(policies=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Policies.FilterSpec class contains attributes used to filter the +results when listing the storage policies (see Policies.list()). This +class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

policies (set of str or None) – Identifiers of storage policies that can match the filter. This +attribute was added in vSphere API 6.7. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.vcenter.StoragePolicy. When methods return a value +of this class as a return value, the attribute will contain +identifiers for the resource type: +com.vmware.vcenter.StoragePolicy. +If None or empty, storage policies with any identifiers match the +filter.

+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.vcenter.StoragePolicy'
+

Resource type for vAPI metadata policy. This class attribute was added in +vSphere API 6.7.

+
+ +
+
+class Summary(policy=None, name=None, description=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Policies.Summary class contains commonly used information about a +storage policy. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • policy (str) – Identifier of the storage policy. This attribute was added in +vSphere API 6.7. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.StoragePolicy. When methods return a value +of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.StoragePolicy.

  • +
  • name (str) – Name of the storage policy. This attribute was added in vSphere API +6.7.

  • +
  • description (str) – Description of the storage policy. This attribute was added in +vSphere API 6.7.

  • +
+
+
+
+ +
+
+check_compatibility(policy, datastores)
+

Returns datastore compatibility summary about a specific storage +policy. This method was added in vSphere API 6.7.

+
+
Parameters
+
    +
  • policy (str) – The storage policy identifier +The parameter must be an identifier for the resource type: +com.vmware.vcenter.StoragePolicy.

  • +
  • datastores (set of str) – Datastores used to check compatibility against a storage policy. +The number of datastores is limited to 1024. +The parameter must contain identifiers for the resource type: +Datastore.

  • +
+
+
Return type
+

Policies.CompatibilityInfo

+
+
Returns
+

datastore compatibility summary about a specific storage policy.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the storage policy specified does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if input more than 1024 datastores.

+
+
+
+ +
+
+list(filter=None)
+

Returns information about at most 1024 visible (subject to permission +checks) storage solicies availabe in vCenter. These storage policies +can be used for provisioning virtual machines or disks. This method was +added in vSphere API 6.7.

+
+
Parameters
+

filter (Policies.FilterSpec or None) – Specification of matching storage policies for which information +should be returned. +If None, the behavior is equivalent to a +Policies.FilterSpec with all attributes None which means +all storage policies match the filter

+
+
Return type
+

list of Policies.Summary

+
+
Returns
+

Commonly used Information about the storage policies.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the Policies.FilterSpec contains a value that is not +supported by the server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if more than 1024 storage policies exist.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.storage_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.system_config_client module

+
+
+class com.vmware.vcenter.system_config_client.DeploymentType(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The DeploymentType class provides methods to get/set the type of the +appliance. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The DeploymentType.Info class contains the fields used to get the +appliance type. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

type (com.vmware.vcenter.deployment_client.ApplianceType) – The type of the appliance. This attribute was added in vSphere API +6.7.

+
+
+
+ +
+
+class ReconfigureSpec(type=None, remote_psc=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The DeploymentType.ReconfigureSpec class contains the fields used to +get and set the appliance type. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+get()
+

Get the type of the vCenter appliance. This method was added in vSphere +API 6.7.

+
+
Return type
+

DeploymentType.Info

+
+
Returns
+

The type of the vCenter appliance.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if appliance is not in CONFIGURED state.

+
+
+
+ +
+
+reconfigure(spec)
+

Reconfigure the type of the vCenter appliance. This method was added in +vSphere API 6.7.

+
+
Parameters
+

spec (DeploymentType.ReconfigureSpec) – ReconfigureSpec to set the appliance type.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the appliance is in CONFIGURED state and if not changing the +type from VCSA_EMBEDDED to VCSA_EXTERNAL.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if passed arguments are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if external PSC credentials are not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the appliance is not in INITIALIZED or CONFIGURED state.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.system_config_client.PscRegistration(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The PscRegistration class provides methods to get and set the +PSC_EXTERNAL appliance a VCSA_EXTERNAL appliance is registered with. This +class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(address=None, https_port=None, sso_domain=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The PscRegistration.Info class has fields to specify information about +the PSC node. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • address (str) – The IP address or DNS resolvable name of the PSC this appliance is +registered with. This attribute was added in vSphere API 6.7.

  • +
  • https_port (long) – The HTTPs port used by the external PSC. This attribute was added +in vSphere API 6.7.

  • +
  • sso_domain (str) – The Single Sign-On domain name of the external PSC. This attribute +was added in vSphere API 6.7.

  • +
+
+
+
+ +
+
+get()
+

Get information of the PSC that this appliance is registered with. This +method was added in vSphere API 6.7.

+
+
Return type
+

PscRegistration.Info

+
+
Returns
+

Info structure containing information about the external PSC node +this appliance is registered with.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the appliance is in NOT_INITIALIZED state.

+
+
+
+ +
+
+repoint(spec)
+

Repoint this vCenter Server appliance to a different external PSC. This +method was added in vSphere API 6.7.

+
+
Parameters
+

spec (com.vmware.vcenter.deployment_client.RemotePscSpec) – RemotePscSpec structure containing information about the external +PSC node to repoint this vCenter Server appliance to.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the passed external PSC credentials is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the passed external PSC is not a replicating with the current +PSC this appliance is registered with.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if passed arguments are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the current appliance is not of the type VCSA_EXTERNAL.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the appliance is NOT in CONFIGURED state.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.system_config_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.tagging_client module

+

The com.vmware.vcenter.tagging_client module provides classes for managing +tags.

+
+
+class com.vmware.vcenter.tagging_client.Associations(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Associations class provides methods to list tag associations. This +class was added in vSphere API 7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class IterationSpec(marker=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Associations.IterationSpec class contains attributes used to break +results into pages when listing tags associated to objects see +Associations.list()). This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

marker (str or None) – Marker is an opaque token that allows the caller to request the +next page of tag associations. This attribute was added in vSphere +API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.tagging.associations.Marker. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.vcenter.tagging.associations.Marker. +If None or empty, first page of tag associations will be returned.

+
+
+
+ +
+
+class LastIterationStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The last status for the iterator. A field of this type is returned as part +of the result and indicates to the caller of the API whether it can +continue to make requests for more data.

+

The last status only reports on the state of the iteration at the time data +was last returned. As a result, it not does guarantee if the next call will +succeed in getting more data or not.

+

Failures to retrieve results will be returned as Error responses. These +last statuses are only returned when the iterator is operating as +expected.. This enumeration was added in vSphere API 7.0.0.

+
+

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 the LastIterationStatus instance.

+
+
+
+
+END_OF_DATA = LastIterationStatus(string='END_OF_DATA')
+

Iterator has finished iterating through its inventory. There are currently +no more entities to return and the caller can terminate iteration. If the +iterator returned some data, the marker may be set to allow the iterator to +continue from where it left off when additional data does become available. +This value is used to indicate that all available data has been returned by +the iterator. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+READY = LastIterationStatus(string='READY')
+

Iterator has more data pending and is ready to provide it. The caller can +request the next page of data at any time.

+

The number of results returned may be less than the usual size. In other +words, the iterator may not fill the page. The iterator has returned at +least 1 result.. This class attribute was added in vSphere API 7.0.0.

+
+ +
+ +
+
+class ListResult(associations=None, marker=None, status=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Associations.ListResult class contains the list of tag associations +in a page, as well as related metadata fields. This class was added in +vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • associations (list of Associations.Summary) – List of tag associations. This attribute was added in vSphere API +7.0.0.

  • +
  • marker (str or None) – Marker is an opaque data structure that allows the caller to +request the next page of tag associations. This attribute was added +in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.tagging.associations.Marker. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.vcenter.tagging.associations.Marker. +If None or empty, there are no more tag associations to request.

  • +
  • status (Associations.LastIterationStatus) – The last status for the iterator that indicates whether any more +results can be expected if the caller continues to make requests +for more data using the iterator. This attribute was added in +vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class Summary(tag=None, object=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Associations.Summary describes a tag association. This class was +added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • tag (str) – The identifier of a tag. This attribute was added in vSphere API +7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.cis.tagging.Tag. 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.tagging.Tag.

  • +
  • object (com.vmware.vapi.std_client.DynamicID) – The identifier of an associated object. This attribute was added in +vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+list(iterate=None)
+

Returns tag associations that match the specified iteration spec. This +method was added in vSphere API 7.0.0.

+
+
Parameters
+

iterate (Associations.IterationSpec or None) – The specification of a page to be retrieved. +If None, the first page will be retrieved.

+
+
Return type
+

Associations.ListResult

+
+
Returns
+

A page of the tag associations matching the iteration spec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if Associations.IterationSpec.marker is not a marker +returned from an earlier invocation of this {\@term operation).

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.tagging_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.tokenservice_client module

+

The com.vmware.vcenter.tokenservice_client module provides Token classes.

+
+
+exception com.vmware.vcenter.tokenservice_client.Error(messages=None, data=None)
+

Bases: vmware.vapi.bindings.error.VapiError

+

The Error exception describes theattributes common to all standard +exceptions.

+
+

This exception serves two purposes:

+
+
    +
  1. It is the exception that clients in many programming languages can catch +to handle all standard exceptions. Typically those clients will display one +or more of the localizable messages from Error.messages to a human.

  2. +
  3. It is the exception that methods can report when they need to report +some exception, but the exception doesn’t fit into any other standard +exception, and in fact the only reasonable way for a client to react to the +exception is to display the message(s) to a human.

  4. +
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +null, null, and null classes are intended as possible values for +this attribute. com.vmware.vapi.std_client.DynamicID may +also be useful as a value for this attribute (although that is not +its primary purpose). Some classes may provide their own specific +classes for use as the value of this attribute when reporting +exceptions from their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
+
+
+
+ +
+
+exception com.vmware.vcenter.tokenservice_client.InvalidGrant(messages=None, data=None)
+

Bases: com.vmware.vcenter.tokenservice_client.Error

+

The InvalidGrant exception indicates that provided authorization grant +(e.g., authorization code, resource owner credentials) or refresh token is +invalid, expired, revoked, does not match the redirection URI used in the +authorization request, or was issued to another client.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +null, null, and null classes are intended as possible values for +this attribute. com.vmware.vapi.std_client.DynamicID may +also be useful as a value for this attribute (although that is not +its primary purpose). Some classes may provide their own specific +classes for use as the value of this attribute when reporting +exceptions from their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
+
+
+
+ +
+
+exception com.vmware.vcenter.tokenservice_client.InvalidRequest(messages=None, data=None)
+

Bases: com.vmware.vcenter.tokenservice_client.Error

+

The InvalidRequest exception indicates that +TokenExchange.ExchangeSpec is missing a required parameter, +includes an unsupported parameter value (other than +TokenExchange.ExchangeSpec.grant_type)

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +null, null, and null classes are intended as possible values for +this attribute. com.vmware.vapi.std_client.DynamicID may +also be useful as a value for this attribute (although that is not +its primary purpose). Some classes may provide their own specific +classes for use as the value of this attribute when reporting +exceptions from their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
+
+
+
+ +
+
+exception com.vmware.vcenter.tokenservice_client.InvalidScope(messages=None, data=None)
+

Bases: com.vmware.vcenter.tokenservice_client.Error

+

The InvalidScope exception indicates requested scope is invalid, +unknown, malformed, or exceeds the scope granted by the resource owner.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Stack of one or more localizable messages for human exception +consumers.

    +

    The message at the top of the stack (first in the list) describes +the exception from the perspective of the method the client +invoked. Each subsequent message in the stack describes the “cause” +of the prior message.

    +

  • +
  • data (vmware.vapi.struct.VapiStruct or None) –

    Data to facilitate clients responding to the method reporting a +standard exception to indicating that it was unable to complete +successfully.

    +

    Methods may provide data that clients can use when responding to +exceptions. Since the data that clients need may be specific to the +context of the method reporting the exception, different methods +that report the same exception may provide different data in the +exception. The documentation for each each method will describe +what, if any, data it provides for each exception it reports. The +null, null, and null classes are intended as possible values for +this attribute. com.vmware.vapi.std_client.DynamicID may +also be useful as a value for this attribute (although that is not +its primary purpose). Some classes may provide their own specific +classes for use as the value of this attribute when reporting +exceptions from their methods. +Some methods will not set this attribute when reporting exceptions.

    +

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.tokenservice_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.vcenter.tokenservice_client.TokenExchange(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The TokenExchange interface provides possibility to exchange between +different tokens types. Implementation of “OAuth 2.0 Token Exchange” +standard (https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-12).

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+ACCESS_TOKEN_TYPE = 'urn:ietf:params:oauth:token-type:access_token'
+

Class attribute indicates OAuth 2.0 access token type.

+
+ +
+
+BEARER_TOKEN_METHOD_TYPE = 'Bearer'
+

Class attribute indicates that the security token is a bearer token.

+
+ +
+
+class ExchangeSpec(grant_type=None, resource=None, audience=None, scope=None, requested_token_type=None, subject_token=None, subject_token_type=None, actor_token=None, actor_token_type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The TokenExchange.ExchangeSpec class contains arguments required for +token exchange.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • grant_type (str) – The value of TokenExchange.TOKEN_EXCHANGE_GRANT indicates +that a token exchange is being performed.

  • +
  • resource (str or None) – Indicates the location of the target service or resource where the +client intends to use the requested security token. +if can be inferred from other arguments or not needed for specific +case of exchange.

  • +
  • audience (str or None) – The logical name of the target service where the client intends to +use the requested security token. This serves a purpose similar to +the TokenExchange.ExchangeSpec.resource parameter, but with +the client providing a logical name rather than a location. +if can be inferred from other arguments or not needed for specific +case of exchange.

  • +
  • scope (str or None) – A list of space-delimited, case-sensitive strings, that allow the +client to specify the desired scope of the requested security token +in the context of the service or resource where the token will be +used. +if can be inferred from other arguments or not needed for specific +case of exchange.

  • +
  • requested_token_type (str or None) – An identifier for the type of the requested security token. If the +requested type is unspecified, the issued token type is at the +discretion of the server and may be dictated by knowledge of the +requirements of the service or resource indicated by the +TokenExchange.ExchangeSpec.resource or +TokenExchange.ExchangeSpec.audience parameter. +if can be inferred from other arguments or not needed for specific +case of exchange.

  • +
  • subject_token (str) – A security token that represents the identity of the party on +behalf of whom exchange is being made. Typically, the subject of +this token will be the subject of the security token issued. Token +is base64-encoded.

  • +
  • subject_token_type (str) – An identifier, that indicates the type of the security token in the +TokenExchange.ExchangeSpec.subject_token parameter.

  • +
  • actor_token (str or None) – A security token that represents the identity of the acting party. +Typically, this will be the party that is authorized to use the +requested security token and act on behalf of the subject. +if not needed for specific case of exchange.

  • +
  • actor_token_type (str or None) – An identifier, that indicates the type of the security token in the +TokenExchange.ExchangeSpec.actor_token parameter. +if TokenExchange.ExchangeSpec.actor_token parameter is not +present.

  • +
+
+
+
+ +
+
+ID_TOKEN_TYPE = 'urn:ietf:params:oauth:token-type:id_token'
+

Class attribute indicates OIDC ID token type.

+
+ +
+
+class Info(access_token=None, issued_token_type=None, token_type=None, expires_in=None, scope=None, refresh_token=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The TokenExchange.Info class contains data that represents successful +token exchange response.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • access_token (str) – The security token issued by the server in response to the token +exchange request. Token is base64-encoded.

  • +
  • issued_token_type (str) – An identifier, that indicates the type of the security token in the +TokenExchange.Info.access_token parameter.

  • +
  • token_type (str) – A case-insensitive value specifying the method of using the access +token issued.

  • +
  • expires_in (long or None) – The validity lifetime, in seconds, of the token issued by the +server. +if not applicable for issued token.

  • +
  • scope (str or None) – Scope of the issued security token. +if the scope of the issued security token is identical to the scope +requested by the client.

  • +
  • refresh_token (str or None) – A refresh token can be issued in cases where the client of the +token exchange needs the ability to access a resource even when the +original credential is no longer valid. +if not needed for specific case of exchange.

  • +
+
+
+
+ +
+
+N_A_TOKEN_METHOD_TYPE = 'N_A'
+

Class attribute indicates TokenExchange.Info.token_type identifier is +not applicable in that context.

+
+ +
+
+REFRESH_TOKEN_TYPE = 'urn:ietf:params:oauth:token-type:refresh_token'
+

Class attribute indicates OAuth 2.0 refresh token type.

+
+ +
+
+SAML1_TOKEN_TYPE = 'urn:ietf:params:oauth:token-type:saml1'
+

Class attribute indicates base64-encoded SAML 1.1 token type.

+
+ +
+
+SAML2_TOKEN_TYPE = 'urn:ietf:params:oauth:token-type:saml2'
+

Class attribute indicates base64-encoded SAML 2.0 token type.

+
+ +
+
+TOKEN_EXCHANGE_GRANT = 'urn:ietf:params:oauth:grant-type:token-exchange'
+

Class attribute indicates that token exchange grant type.

+
+ +
+
+exchange(spec)
+

Exchanges incoming token based on the spec and current client +authorization data.

+
+
Parameters
+

spec (TokenExchange.ExchangeSpec) – TokenExchange.ExchangeSpec class contains arguments that define +exchange process.

+
+
Return type
+

TokenExchange.Info

+
+
Returns
+

TokenExchange.Info class that contains new token.

+
+
Raise
+

InvalidGrant +provided authorization grant (e.g., authorization code, resource +owner credentials) or refresh token is invalid, expired, revoked, +does not match the redirection URI used in the authorization +request, or was issued to another client.

+
+
Raise
+

InvalidScope +If the server is unwilling or unable to issue a token for all the +target services indicated by the +TokenExchange.ExchangeSpec.resource or +TokenExchange.ExchangeSpec.audience parameters.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if authorization is not given to a caller.

+
+
+
+ +
+ +
+
+

com.vmware.vcenter.topology_client module

+
+
+class com.vmware.vcenter.topology_client.Nodes(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Nodes interface provides methods to retrieve vCenter and Platform +Services Controller nodes information in the topology. This class was added +in vSphere API 6.7.2.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class ApplianceType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Nodes.ApplianceType class defines values for valid appliance types +for the vCenter and Platform Services Controller node. See +Nodes.Info. This enumeration was added in vSphere API 6.7.2.

+
+

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 the ApplianceType instance.

+
+
+
+
+PSC_EXTERNAL = ApplianceType(string='PSC_EXTERNAL')
+

An external Platform Services Controller. This class attribute was added in +vSphere API 6.7.2.

+
+ +
+
+VCSA_EMBEDDED = ApplianceType(string='VCSA_EMBEDDED')
+

vCenter Server Appliance with an embedded Platform Services Controller. +This class attribute was added in vSphere API 6.7.2.

+
+ +
+
+VCSA_EXTERNAL = ApplianceType(string='VCSA_EXTERNAL')
+

vCenter Server Appliance with an external Platform Services Controller. +This class attribute was added in vSphere API 6.7.2.

+
+ +
+ +
+
+class FilterSpec(types=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Nodes.FilterSpec class contains attribute used to filter the +results when listing vCenter and Platform Services Controller nodes (see +Nodes.list()). This class was added in vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

types (set of Nodes.ApplianceType or None) – Types of the appliance that a vCenter and Platform Services +Controller node must be to match the filter (see +Nodes.ApplianceType. This attribute was added in vSphere +API 6.7.2. +If None or empty, node of any ApplianceType match the filter.

+
+
+
+ +
+
+class Info(domain=None, type=None, replication_partners=None, client_affinity=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Nodes.Info class contains vCenter or Platform Services Controller +node details. This class was added in vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • domain (str) – Domain name of the node. This attribute was added in vSphere API +6.7.2.

  • +
  • type (Nodes.ApplianceType) – Appliance type of the node. This attribute was added in vSphere API +6.7.2.

  • +
  • replication_partners (list of str) – List of replication partners’ node identifiers. Identifiers can be +either IP address or DNS resolvable name of the partner node. This +attribute was added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.vcenter.VCenter.name. When methods return a value of +this class as a return value, the attribute will contain +identifiers for the resource type: +com.vmware.vcenter.VCenter.name. +This attribute is optional and it is only relevant when the value +of type is one of Nodes.ApplianceType.VCSA_EMBEDDED or +Nodes.ApplianceType.PSC_EXTERNAL.

  • +
  • client_affinity (str) – Identifier of the affinitized Platform Services Controller node. +Identifier can be either IP address or DNS resolvable name of the +affinitized node. This attribute was added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.VCenter.name. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.vcenter.VCenter.name. +This attribute is optional and it is only relevant when the value +of type is Nodes.ApplianceType.VCSA_EXTERNAL.

  • +
+
+
+
+ +
+
+class Summary(node=None, type=None, replication_partners=None, client_affinity=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Nodes.Summary class contains commonly used information of vCenter +or Platform Services Controller node. This class was added in vSphere API +6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • node (str) – Identifier for the vCenter or Platform Services Controller node. +Identifier can be either IP address or DNS resolvable name of the +node. This attribute was added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.VCenter.name. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.vcenter.VCenter.name.

  • +
  • type (Nodes.ApplianceType) – Appliance type of the node. This attribute was added in vSphere API +6.7.2.

  • +
  • replication_partners (list of str) – List of replication partners’ node identifiers. Identifiers can be +either IP address or DNS resolvable name of the partner node. This +attribute was added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.vcenter.VCenter.name. When methods return a value of +this class as a return value, the attribute will contain +identifiers for the resource type: +com.vmware.vcenter.VCenter.name. +This attribute is optional and it is only relevant when the value +of type is one of Nodes.ApplianceType.VCSA_EMBEDDED or +Nodes.ApplianceType.PSC_EXTERNAL.

  • +
  • client_affinity (str) – Identifier of the affinitized Platform Services Controller node. +Identifier can be either IP address or DNS resolvable name of the +affinitized node. This attribute was added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.VCenter.name. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.vcenter.VCenter.name. +This attribute is optional and it is only relevant when the value +of type is Nodes.ApplianceType.VCSA_EXTERNAL.

  • +
+
+
+
+ +
+
+get(node)
+

Retrieve details for a given identifier of the vCenter or Platform +Services Controller node. This method was added in vSphere API 6.7.2.

+
+
Parameters
+

node (str) – Identifier of the vCenter or Platform Services Controller node. +Identifier can be either IP address or DNS resolvable name of the +node. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.VCenter.name.

+
+
Return type
+

Nodes.Info

+
+
Returns
+

vCenter or Platform Services Controller node details with +replication partners and client affinity information as applicable. +See Nodes.Info.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if a node doesn’t exist for given node identifier.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
+
+
+
+ +
+
+list(filter=None)
+

Returns information about all vCenter and Platform Services Controller +nodes matching the Nodes.FilterSpec. This method was added in +vSphere API 6.7.2.

+
+
Parameters
+

filter (Nodes.FilterSpec or None) – Specification of matching vCenter and Platform Services Controller +nodes for which information should be returned. +If None, the behavior is equivalent to a Nodes.FilterSpec +with all attributes None which means all nodes match the filter.

+
+
Return type
+

list of Nodes.Summary

+
+
Returns
+

commonly used information for all vCenter and Platform Services +Controller nodes matching the Nodes.FilterSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the Nodes.FilterSpec.types attribute contains a value +that is not supported.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter.topology_client.ReplicationStatus(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The ReplicationStatus interface provides methods to retrieve +replication status information of vCenter and Platform Services Controller +nodes of type VCSA_EMBEDDED/PSC_EXTERNAL (see Nodes.Info.type). +This class was added in vSphere API 6.7.2.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class FilterSpec(nodes=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ReplicationStatus.FilterSpec class contains attribute used to +filter the results when listing replication status for the vCenter and +Platform Services Controller nodes (see ReplicationStatus.list()) of +type VCSA_EMBEDDED/PSC_EXTERNAL (see Nodes.Info.type). This class +was added in vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

nodes (set of str or None) – Identifier that a vCenter and Platform Services Controller node +must have to match the filter. (see +ReplicationStatus.Summary.node). This attribute was added +in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.vcenter.VCenter.name. When methods return a value of +this class as a return value, the attribute will contain +identifiers for the resource type: +com.vmware.vcenter.VCenter.name. +If None or empty, all vCenter and Platform Services Controller +nodes of type VCSA_EMBEDDED/PSC_EXTERNAL match the filter.

+
+
+
+ +
+
+class Summary(node=None, replication_partner=None, partner_available=None, status_available=None, replicating=None, change_lag=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ReplicationStatus.Summary class contains replication information of +partner vCenter or Platform Services Controller node of type +VCSA_EMBEDDED/PSC_EXTERNAL (see Nodes.Info.type). This class was +added in vSphere API 6.7.2.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • node (str) – Identifier for the vCenter or Platform Services Controller node. +Identifier can be either IP address or DNS resolvable name of the +node. This attribute was added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.VCenter.name. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.vcenter.VCenter.name.

  • +
  • replication_partner (str) – Identifier for the vCenter or Platform Services Controller +replication partner. Identifier can be either IP address or DNS +resolvable name of the replication partner. This attribute was +added in vSphere API 6.7.2. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.VCenter.name. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.vcenter.VCenter.name.

  • +
  • partner_available (bool) – Indicates if the VMware Directory Service on partner is reachable +or not. This attribute was added in vSphere API 6.7.2.

  • +
  • status_available (bool) – Indicates if the replication status for the node with respect to +replication partner can be retrieved or not. This attribute was +added in vSphere API 6.7.2.

  • +
  • replicating (bool or None) – Indicates if node is processing replication changes from the +replication partner. This attribute was added in vSphere API 6.7.2. +This attribute will be None if the partner host or replication +status is not available, i.e, if +ReplicationStatus.Summary.partner_available or +ReplicationStatus.Summary.status_available is false.

  • +
  • change_lag (long or None) – Number of replication changes node is behind the replication +partner. This attribute was added in vSphere API 6.7.2. +This attribute will be None if the partner host or replication +status is not available, i.e, if +ReplicationStatus.Summary.partner_available or +ReplicationStatus.Summary.status_available is false.

  • +
+
+
+
+ +
+
+list(filter=None)
+

Returns the replication information of vCenter and Platform Services +Controller nodes of type VCSA_EMBEDDED/PSC_EXTERNAL (see +Nodes.Info.type) matching the +ReplicationStatus.FilterSpec. This method was added in vSphere +API 6.7.2.

+
+
Parameters
+

filter (ReplicationStatus.FilterSpec or None) – Specification of matching vCenter and Platform Services Controller +nodes for which information should be returned. +If None, the behavior is equivalent to a +ReplicationStatus.FilterSpec with all attributes None +which means all vCenter and Platform Services Controller nodes of +type VCSA_EMBEDDED/PSC_EXTERNAL match the filter.

+
+
Return type
+

list of ReplicationStatus.Summary

+
+
Returns
+

Commonly used replication information about vCenter and Platform +Services Controller nodes matching the +ReplicationStatus.FilterSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the ReplicationStatus.FilterSpec.nodes attribute +contains a invalid value.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter.topology_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.trusted_infrastructure_client module

+

The com.vmware.vcenter.trusted_infrastructure_client module provides +classes that enable a Trusted Infrastructure. They are responsible for ensuring +that infrastructure nodes are running trusted software and for releasing +encryption keys only to trusted infrastructure nodes.

+
+
+class com.vmware.vcenter.trusted_infrastructure_client.NetworkAddress(hostname=None, port=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The NetworkAddress class contains an IP address or DNS resolvable name +and a port on which a connection can be established. This class was added +in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • hostname (str) – The IP address or DNS resolvable name of the service. This +attribute was added in vSphere API 7.0.0.

  • +
  • port (long or None) – The port of the service. This attribute was added in vSphere API +7.0.0. +If None, port 443 will be used.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.trusted_infrastructure_client.Principal(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Principal class contains information about the certificates which +sign the tokens used by vCenter for authentication. This class was added in +vSphere API 7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(certificates=None, issuer=None, principal=None, name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Principal.Info class contains the information about the principal +and certificates used by this vCenter to retrieve tokens. This class was +added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • certificates (list of X509CertChain) – The certificates used by the STS to sign tokens for this vCenter. +This attribute was added in vSphere API 7.0.0.

  • +
  • issuer (str) – The service which created and signed the security token. This +attribute was added in vSphere API 7.0.0.

  • +
  • principal (StsPrincipal) – The principal used by this vCenter instance to retrieve tokens. +Currently this is the vCenter solution user. This attribute was +added in vSphere API 7.0.0.

  • +
  • name (str) – The user-friednly name of the vCenter. This attribute was added in +vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+get()
+

Returns information about the STS used by this vCenter instance. This +method was added in vSphere API 7.0.0.

+
+
Return type
+

Principal.Info

+
+
Returns
+

\@{link Info} a summary containing the certificates used to sign +tokens and the solution user used to retrieve them.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires TrustedAdmin.ReadStsInfo.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter.trusted_infrastructure_client.StsPrincipal(id=None, type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The StsPrincipal class contains a IDM principal. This class was added +in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (StsPrincipalId) – The principal’s ID. This attribute was added in vSphere API 7.0.0.

  • +
  • type (StsPrincipalType) – The type of the principal (user or group). This attribute was added +in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.trusted_infrastructure_client.StsPrincipalId(name=None, domain=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The StsPrincipalId class contains an IDM principal ID. This class was +added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – The principal’s username. This attribute was added in vSphere API +7.0.0.

  • +
  • domain (str) – The principal’s domain. This attribute was added in vSphere API +7.0.0.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.trusted_infrastructure_client.StsPrincipalType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The StsPrincipalType enum can be either users or groups. This +enumeration was added in vSphere API 7.0.0.

+
+

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 the StsPrincipalType instance.

+
+
+
+
+STS_GROUP = StsPrincipalType(string='STS_GROUP')
+

The principal is a group. This class attribute was added in vSphere API +7.0.0.

+
+ +
+
+STS_USER = StsPrincipalType(string='STS_USER')
+

The principal is a user. This class attribute was added in vSphere API +7.0.0.

+
+ +
+ +
+
+class com.vmware.vcenter.trusted_infrastructure_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.vcenter.trusted_infrastructure_client.TrustAuthorityClusters(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The TrustAuthorityClusters class manages all the Trust Authority +Components on each Trust Authority Host in the cluster. The +TrustAuthorityClusters class transforms a ClusterComputeResource into +Trust Authority Cluster and vice versa. This class was added in vSphere API +7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class FilterSpec(cluster=None, state=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The TrustAuthorityClusters.FilterSpec class contains the data necessary +for identifying a TrustAuthorityClusters. This class was added in +vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • cluster (set of str or None) – Identifies the cluster. This attribute was added in vSphere API +7.0.0. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will contain identifiers for +the resource type: ClusterComputeResource. +cluster If {\@term.unset} return all Trust Authority Clusters.

  • +
  • state (set of TrustAuthorityClusters.State or None) – The state of the TrustAuthorityClusters. This attribute +was added in vSphere API 7.0.0. +state If {\@term.unset} return all Trust Authority Clusters.

  • +
+
+
+
+ +
+
+class Info(cluster=None, state=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The TrustAuthorityClusters.Info class contains the data necessary for +retrieving the TrustAuthorityClusters info. This class was added +in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • cluster (str) – Identifies the cluster. This attribute was added in vSphere API +7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: ClusterComputeResource.

  • +
  • state (TrustAuthorityClusters.State) – The state of the cluster. This attribute was added in vSphere API +7.0.0.

  • +
+
+
+
+ +
+
+class State(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The TrustAuthorityClusters.State class defines the states of the +TrustAuthorityClusters. This enumeration was added in vSphere API +7.0.0.

+
+

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 the State instance.

+
+
+
+
+DISABLE = State(string='DISABLE')
+

The TrustAuthorityClusters is disabled. This class attribute was +added in vSphere API 7.0.0.

+
+ +
+
+ENABLE = State(string='ENABLE')
+

The TrustAuthorityClusters is enabled. This class attribute was +added in vSphere API 7.0.0.

+
+ +
+ +
+
+class Summary(cluster=None, state=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The TrustAuthorityClusters.Summary class contains information about +TrustAuthorityClusters id and state. This class was added in +vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • cluster (str) – Identifies the cluster. This attribute was added in vSphere API +7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: ClusterComputeResource.

  • +
  • state (TrustAuthorityClusters.State) – The state of the TrustAuthorityClusters. This attribute +was added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class UpdateSpec(state=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The TrustAuthorityClusters.UpdateSpec class contains the data necessary +for update of a TrustAuthorityClusters. This class was added in +vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

state (TrustAuthorityClusters.State or None) – The state of the TrustAuthorityClusters. This attribute +was added in vSphere API 7.0.0. +state If {\@term.unset} no operation is performed.

+
+
+
+ +
+
+get(cluster)
+

Get the result of the last Update operation which matches the cluster +id. This method was added in vSphere API 7.0.0.

+
+
Parameters
+

cluster (str) – Cluster id. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

TrustAuthorityClusters.Info

+
+
Returns
+

The TrustAuthorityClusters.Info instance which contains +information about the state of the cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if cluster doesn’t match to any ClusterComputeResource.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires TrustedAdmin.ReadTrustedHosts.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires System.View.

  • +
+
+
+
+ +
+
+list(spec=None)
+

Returns a list of clusters for this vCenter instance which matches the +TrustAuthorityClusters.FilterSpec. This method was added in +vSphere API 7.0.0.

+
+
Parameters
+

spec (TrustAuthorityClusters.FilterSpec or None) – Return only clusters matching the specified filters. +If {\@term.unset} return all clusters.

+
+
Return type
+

list of TrustAuthorityClusters.Summary

+
+
Returns
+

List of TrustAuthorityClusters.Summary for a +TrustAuthorityClusters.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires TrustedAdmin.ReadTrustedHosts.

  • +
  • The resource ClusterComputeResource referenced by the +attribute TrustAuthorityClusters.FilterSpec.cluster +requires System.View.

  • +
+
+
+
+ +
+
+update_task(cluster, spec)
+

Updates the state of a cluster. This method was added in vSphere API +7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – Cluster id. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • spec (TrustAuthorityClusters.UpdateSpec) – The specification for update of a cluster.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if spec doesn’t match to any cluster compute resource.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.trusted_infrastructure_client.X509CertChain(cert_chain=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The X509CertChain class contains x509 certificate chain. This class was +added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

cert_chain (list of str) – Certificate chain in base64 format. This attribute was added in +vSphere API 7.0.0.

+
+
+
+ +
+
+

com.vmware.vcenter.vcha_client module

+

The com.vmware.vcenter.vcha_client module provides classes for deploying +and monitoring a vCenter High Availability (VCHA) Cluster.

+
+
+class com.vmware.vcenter.vcha_client.CertificateInfo(ssl_thumbprint=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CertificateInfo Class contains information about the SSL +certificate for a management vCenter server. This class was added in +vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

ssl_thumbprint (str) – The SHA-256 thumbprint of the SSL certificate for a management +vCenter server. This attribute was added in vSphere API 6.7.1.

+
+
+
+ +
+
+class com.vmware.vcenter.vcha_client.Cluster(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Cluster class provides methods to deploy and undeploy a vCenter +High Availability (VCHA) cluster, failover from the active VCHA node to the +passive VCHA node, and retrieve the status of the VCHA cluster. This class +was added in vSphere API 6.7.1.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class ActiveSpec(ha_network_type=None, ha_network=None, ha_ip=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cluster.ActiveSpec class contains the deploy specification for the +Active Node of the VCHA cluster. This class was added in vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • ha_network_type (NetworkType or None) – The type of the Network object used by the HA network. +If the Cluster.ActiveSpec.ha_network attribute is set, then +the Cluster.ActiveSpec.ha_network_type field must be set. +If the Cluster.ActiveSpec.ha_network attribute is None, +then the Cluster.ActiveSpec.ha_network_type attribute is +ignored. This attribute was added in vSphere API 6.7.1. +If None and the Cluster.ActiveSpec.ha_network attribute is +unset, then the second NIC is assumed to be already configured. +If None and the Cluster.ActiveSpec.ha_network attribute is +set, then an error is reported.

  • +
  • ha_network (str or None) – The identifier of the Network object used for the HA network. +If the Cluster.ActiveSpec.ha_network attribute is set, then +the Cluster.ActiveSpec.ha_network_type attribute must be +set. +If the Cluster.ActiveSpec.ha_network attribute is None, +then the Cluster.ActiveSpec.ha_network_type attribute is +ignored. This attribute was added in vSphere API 6.7.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Network:VCenter. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Network:VCenter. +If None and the Cluster.ActiveSpec.ha_network_type +attribute is unset, then the second NIC is assumed to be already +configured. +If None and the Cluster.ActiveSpec.ha_network attribute is +set, then an error is reported.

  • +
  • ha_ip (IpSpec) – IP specification for the HA network. This attribute was added in +vSphere API 6.7.1.

  • +
+
+
+
+ +
+
+class ClusterMode(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Cluster.ClusterMode class defines the possible modes for a VCHA +Cluster. This enumeration was added in vSphere API 6.7.1.

+
+

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 the ClusterMode instance.

+
+
+
+
+DISABLED = ClusterMode(string='DISABLED')
+

VCHA Cluster is disabled. State replication between the Active and Passive +node is disabled and automatic failover is not allowed. This class +attribute was added in vSphere API 6.7.1.

+
+ +
+
+ENABLED = ClusterMode(string='ENABLED')
+

VCHA Cluster is enabled. State replication between the Active and Passive +node is enabled and automatic failover is allowed. This class attribute was +added in vSphere API 6.7.1.

+
+ +
+
+MAINTENANCE = ClusterMode(string='MAINTENANCE')
+

VCHA Cluster is in maintenance mode. State replication between the Active +and Passive node is enabled but automatic failover is not allowed. This +class attribute was added in vSphere API 6.7.1.

+
+ +
+ +
+
+class ClusterState(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Cluster.ClusterState class defines the possible for a VCHA Cluster. +This enumeration was added in vSphere API 6.7.1.

+
+

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 the ClusterState instance.

+
+
+
+
+DEGRADED = ClusterState(string='DEGRADED')
+

A VCHA Cluster is said to be in a degraded state for either or all of the +following reasons:

+
    +
  • There is a node loss.

  • +
  • State replication between the Active and Passive node fails.

  • +
+

. This class attribute was added in vSphere API 6.7.1.

+
+ +
+
+HEALTHY = ClusterState(string='HEALTHY')
+

All three nodes in a VCHA Cluster are healthy and connected. State +replication between Active and Passive node is working and both nodes are +in sync. This class attribute was added in vSphere API 6.7.1.

+
+ +
+
+ISOLATED = ClusterState(string='ISOLATED')
+

All three nodes are isolated from each other. This class attribute was +added in vSphere API 6.7.1.

+
+ +
+ +
+
+class ConfigState(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Cluster.ConfigState class defines the VCHA configuration state. +This enumeration was added in vSphere API 6.7.1.

+
+

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 the ConfigState instance.

+
+
+
+
+CONFIGURED = ConfigState(string='CONFIGURED')
+

VCHA cluster is configured. This class attribute was added in vSphere API +6.7.1.

+
+ +
+
+INVALID = ConfigState(string='INVALID')
+

VCHA cluster is in an invalid/dirty state. This class attribute was added +in vSphere API 6.7.1.

+
+ +
+
+NOTCONFIGURED = ConfigState(string='NOTCONFIGURED')
+

VCHA cluster is not configured. This class attribute was added in vSphere +API 6.7.1.

+
+ +
+
+PREPARED = ConfigState(string='PREPARED')
+

vCenter server appliance has been prepared for VCHA cluster configuration. +This class attribute was added in vSphere API 6.7.1.

+
+ +
+ +
+
+class DeploySpec(vc_spec=None, deployment=None, active=None, passive=None, witness=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cluster.DeploySpec class contains the deploy specification for the +three nodes of a VCHA cluster. This class was added in vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • vc_spec (CredentialsSpec or None) – Contains the active node’s management vCenter server credentials. +This attribute was added in vSphere API 6.7.1. +If None, then the active vCenter Server instance is assumed to be +either self-managed or else in enhanced linked mode and managed by +a linked vCenter Server instance.

  • +
  • deployment (Cluster.Type) – Contains the deployment type. This attribute was added in vSphere +API 6.7.1.

  • +
  • active (Cluster.ActiveSpec) – Contains the active node’s network configuration. This attribute +was added in vSphere API 6.7.1.

  • +
  • passive (Cluster.PassiveSpec) – Contains the passive node’s placement configuration. This attribute +was added in vSphere API 6.7.1.

  • +
  • witness (Cluster.WitnessSpec) – Contains the witness node’s placement configuration. This attribute +was added in vSphere API 6.7.1.

  • +
+
+
+
+ +
+
+class ErrorCondition(error=None, recommendation=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cluster.ErrorCondition class contains an error condition and a +recommendation to handle the error condition. This class was added in +vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class Info(config_state=None, node1=None, node2=None, witness=None, mode=None, health_state=None, health_exception=None, health_warnings=None, manual_failover_allowed=None, auto_failover_allowed=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cluster.Info class contains the configuration and health +information of the three nodes in a VCHA Cluster. This class was added in +vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • config_state (Cluster.ConfigState or None) – Configuration state of the VCHA cluster. +The active node’s management vCenter server credentials are not +required to populate this attribute. This attribute was added in +vSphere API 6.7.1. +If None, then the information is unavailable.

  • +
  • node1 (Cluster.NodeInfo or None) – Node configuration information for the VCHA cluster. This attribute +was added in vSphere API 6.7.1. +If None, then the information is unavailable.

  • +
  • node2 (Cluster.NodeInfo or None) – Node configuration information for the VCHA cluster. This attribute +was added in vSphere API 6.7.1. +If None, then the information is unavailable or the node is not +cloned yet.

  • +
  • witness (Cluster.WitnessInfo or None) – Node configuration information for the VCHA cluster. This attribute +was added in vSphere API 6.7.1. +If None, then the information is unavailable or the node is not +cloned yet.

  • +
  • mode (Cluster.ClusterMode or None) – Operational mode of the VCHA Cluster. This attribute was added in +vSphere API 6.7.1. +If None, then the information is unavailable or the node is not +cloned yet.

  • +
  • health_state (Cluster.ClusterState or None) – Last known state of the VCHA Cluster. This attribute was added in +vSphere API 6.7.1. +If None, then the information is unavailable or the node is not +cloned yet.

  • +
  • health_exception (list of com.vmware.vapi.std_client.LocalizableMessage or None) – Health warning messages if the health information is unavailable. +This attribute was added in vSphere API 6.7.1. +If None, then the cluster is in a healthy state.

  • +
  • health_warnings (list of Cluster.ErrorCondition or None) – A collection of messages describing the reason for a non-healthy +Cluster. This attribute was added in vSphere API 6.7.1. +If None, then the cluster is in a healthy state.

  • +
  • manual_failover_allowed (bool or None) – Specifies if manual failover is allowed. This attribute was added +in vSphere API 6.7.1. +If None, then the cluster state healthy and manual failover +allowance in accordance with the cluster mode.

  • +
  • auto_failover_allowed (bool or None) – Specifies if automatic failover is allowed. This attribute was +added in vSphere API 6.7.1. +If None, then the cluster state healthy and automatic failover +allowance in accordance with the cluster mode.

  • +
+
+
+
+ +
+
+class IpFamily(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Cluster.IpFamily class defines the IP address family. This +enumeration was added in vSphere API 6.7.1.

+
+

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 the IpFamily instance.

+
+
+
+
+IPV4 = IpFamily(string='IPV4')
+

IPV4 address family. This class attribute was added in vSphere API 6.7.1.

+
+ +
+
+IPV6 = IpFamily(string='IPV6')
+

IPV6 address family. This class attribute was added in vSphere API 6.7.1.

+
+ +
+ +
+
+class IpInfo(ip_family=None, ipv4=None, ipv6=None, gateway_ip=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cluster.IpInfo class contains attributes related to an ip. This +class was added in vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • ip_family (Cluster.IpFamily) – Family of the ip. This attribute was added in vSphere API 6.7.1.

  • +
  • ipv4 (Cluster.Ipv4Info) – If the type of the ip family is IPV4, then this will point to IPv4 +address specification. This attribute was added in vSphere API +6.7.1. +This attribute is optional and it is only relevant when the value +of ipFamily is Cluster.IpFamily.IPV4.

  • +
  • ipv6 (Cluster.Ipv6Info) – If the type of the ip family is IPV6, then this will point to IPv6 +address specification. This attribute was added in vSphere API +6.7.1. +This attribute is optional and it is only relevant when the value +of ipFamily is Cluster.IpFamily.IPV6.

  • +
  • gateway_ip (str or None) – Gateway IP address. This attribute was added in vSphere API 6.7.1. +If None, no gateway is specified.

  • +
+
+
+
+ +
+
+class Ipv4Info(address=None, subnet_mask=None, prefix=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cluster.Ipv4Info class contains attributes to describe IPV4 +information of the configured network interface. This class was added in +vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • address (str) – IP address of the configured network interface. This attribute was +added in vSphere API 6.7.1.

  • +
  • subnet_mask (str) – The subnet mask of the interface. This attribute was added in +vSphere API 6.7.1.

  • +
  • prefix (long or None) – The CIDR prefix of the interface. This attribute was added in +vSphere API 6.7.1. +If None , then the subnet mask is invalid.

  • +
+
+
+
+ +
+
+class Ipv6Info(address=None, prefix=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cluster.Ipv6Info class contains attributes to describe IPV6 +information of the configured network interface. This class was added in +vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • address (str) – IP address of the configured network interface. This attribute was +added in vSphere API 6.7.1.

  • +
  • prefix (long) – The CIDR prefix of the interface. This attribute was added in +vSphere API 6.7.1.

  • +
+
+
+
+ +
+
+class NodeInfo(failover_ip=None, ha_ip=None, runtime=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cluster.NodeInfo class defines the configuration information for +the active and passive nodes in the cluster. This class was added in +vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • failover_ip (Cluster.IpInfo or None) – Failover IP address that this node will assume after the failover +to serve client requests. Each failover node can have a different +failover IP address. +The active node’s management vCenter server credentials are not +required to populate Cluster.NodeInfo.failover_ip. This +attribute was added in vSphere API 6.7.1. +If None, then it will assume the public IP address of the Active +vCenter Server.

  • +
  • ha_ip (Cluster.IpInfo) – VCHA Cluster network configuration of the node. All cluster +communication (state replication, heartbeat, cluster messages) +happens over this network. +The active node’s management vCenter server credentials are not +required to populate this Cluster.NodeInfo.ha_ip. This +attribute was added in vSphere API 6.7.1.

  • +
  • runtime (Cluster.NodeRuntimeInfo or None) – Runtime information for the node in the VCHA Cluster. +The active node’s management vCenter server credentials are +required to populate some attributes of +Cluster.NodeInfo.runtime. This attribute was added in +vSphere API 6.7.1. +If None, then the information is unavailable or the specified +Active vCenter server management credentials are invalid or the +node is not cloned yet.

  • +
+
+
+
+ +
+
+class NodeRole(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Cluster.NodeRole class defines the role node can be in a VCHA +Cluster. This enumeration was added in vSphere API 6.7.1.

+
+

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 the NodeRole instance.

+
+
+
+
+ACTIVE = NodeRole(string='ACTIVE')
+

Node is having a role of Active. In this role, node runs a vCenter Server +that serves client requests. This class attribute was added in vSphere API +6.7.1.

+
+ +
+
+PASSIVE = NodeRole(string='PASSIVE')
+

Node is having a role of Passive. In this role node, runs as a standby for +the Active vCenter Server and receives state updates. This node takes over +the role of Active vCenter Server upon failover. This class attribute was +added in vSphere API 6.7.1.

+
+ +
+
+WITNESS = NodeRole(string='WITNESS')
+

Node is having a role of Witness. In this role, node acts as a quorum node +for avoiding the classic split-brain problem. This class attribute was +added in vSphere API 6.7.1.

+
+ +
+ +
+
+class NodeRuntimeInfo(state=None, role=None, placement=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cluster.NodeRuntimeInfo class describes a node’s runtime +information in a VCHA Cluster. This class was added in vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • state (Cluster.NodeState or None) – Last known state of the node. +The active node’s management vCenter server credentials are not +required to populate Cluster.NodeRuntimeInfo.state. This +attribute was added in vSphere API 6.7.1. +If None, then information is unavailable or the passive and witness +nodes are not cloned yet.

  • +
  • role (Cluster.NodeRole or None) – Last known role of the node. +The active node’s management vCenter server credentials are not +required to populate Cluster.NodeRuntimeInfo.role. This +attribute was added in vSphere API 6.7.1. +If None, then information is unavailable or the passive and witness +nodes are not cloned yet.

  • +
  • placement (PlacementInfo or None) – Placement information of the node. +The active node’s management vCenter server credentials are +required to populate most attributes of +Cluster.NodeRuntimeInfo.placement. This attribute was added +in vSphere API 6.7.1. +If None, then the information is unavailable or the specified +Active vCenter server management credentials are invalid or the +node is not cloned yet or the VCHA cluster was deployed in a manual +fashion.

  • +
+
+
+
+ +
+
+class NodeState(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Cluster.NodeState class defines possible state a node can be in a +VCHA Cluster. This enumeration was added in vSphere API 6.7.1.

+
+

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 the NodeState instance.

+
+
+
+
+DOWN = NodeState(string='DOWN')
+

Node is down and has left the VCHA Cluster. This class attribute was added +in vSphere API 6.7.1.

+
+ +
+
+UP = NodeState(string='UP')
+

Node is up and has joined the VCHA Cluster. This class attribute was added +in vSphere API 6.7.1.

+
+ +
+ +
+
+class NodeVmInfo(vm=None, bios_uuid=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cluster.NodeVmInfo class contains information to describe the +Virtual Machine of a node of a VCHA cluster. This class was added in +vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • vm (str) – The identifier of the virtual machine of the VCHA node. This +attribute was added in vSphere API 6.7.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +VirtualMachine:VCenter. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: VirtualMachine:VCenter.

  • +
  • bios_uuid (str) – BIOS UUID for the node. This attribute was added in vSphere API +6.7.1.

  • +
+
+
+
+ +
+
+class PassiveSpec(placement=None, ha_ip=None, failover_ip=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cluster.PassiveSpec class contains the deploy specification for the +Passive Node of the VCHA cluster. This class was added in vSphere API +6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • placement (PlacementSpec or None) – Contains the placement configuration of the node. This attribute +was added in vSphere API 6.7.1. +If None, then the it is assumed that the clone will be done +manually by the customer. In this case, the placement configuration +for the witness node should also be omitted. Only the network +configuration will be setup. Once the passive and witness nodes are +cloned from the active node, the VCHA high availability is turned +on.

  • +
  • ha_ip (IpSpec) – IP specification for the HA network. This attribute was added in +vSphere API 6.7.1.

  • +
  • failover_ip (IpSpec or None) – IP specification for the management network. This attribute was +added in vSphere API 6.7.1. +If None, then it will assume the public IP address of the Active +vCenter Server.

  • +
+
+
+
+ +
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Cluster.Type class defines the possible deployment types for a VCHA +Cluster. This enumeration was added in vSphere API 6.7.1.

+
+

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 the Type instance.

+
+
+
+
+AUTO = Type(string='AUTO')
+

Passive and witness nodes are cloned automatically. This class attribute +was added in vSphere API 6.7.1.

+
+ +
+
+MANUAL = Type(string='MANUAL')
+

Passive and witness nodes are not cloned automatically. After deployment, +the customer should clone the passive and witness virtual machines. This +class attribute was added in vSphere API 6.7.1.

+
+ +
+ +
+
+class UndeploySpec(vc_spec=None, force_delete=None, vms=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cluster.UndeploySpec class contains the undeploy specification for +a VCHA cluster. This class was added in vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • vc_spec (CredentialsSpec or None) – Contains the active node’s management vCenter server credentials. +This attribute was added in vSphere API 6.7.1. +If None, then the active vCenter Server instance is assumed to be +either self-managed or else in enhanced linked mode and managed by +a linked vCenter Server instance.

  • +
  • force_delete (bool or None) –

    Flag controlling in what circumstances the virtual machines will be +deleted. For this flag to take effect, the VCHA cluster should have +been successfully configured using automatic deployment.

    +
      +
    • If true, the Cluster.UndeploySpec.vms attribute will be +ignored, the VCHA cluster specific information is removed, and the +passive and witness virtual machines will be deleted.

    • +
    • If false, the Cluster.UndeploySpec.vms attribute contains +the information identifying the passive and witness virtual +machines.

    • +
    • If the Cluster.UndeploySpec.vms attribute is set, then it +will be validated prior to deleting the passive and witness virtual +machines and VCHA cluster specific information is removed.

    • +
    • If the Cluster.UndeploySpec.vms attribute is None, then +the passive and witness virtual machines will not be deleted. The +customer should delete them in order to cleanup completely. VCHA +cluster specific information is removed.

    • +
    +

    . This attribute was added in vSphere API 6.7.1. +If None, the Cluster.UndeploySpec.vms attribute contains +the information identifying the passive and witness virtual +machines.

    +
      +
    • If the Cluster.UndeploySpec.vms attribute is set, then it +will be validated prior to deleting the passive and witness virtual +machines. VCHA cluster specific information is removed.

    • +
    • If the Cluster.UndeploySpec.vms attribute is None, then +the passive and witness virtual machines will not be deleted. The +customer should delete them in order to cleanup completely. VCHA +cluster specific information is removed.

    • +
    +

  • +
  • vms (Cluster.VmInfo or None) –

    Contains virtual machine information for the passive and witness +virtual machines. For this flag to take effect, the VCHA cluster +should have been successfully configured using automatic +deployment.

    +

    If set, the Cluster.UndeploySpec.force_delete attribute +controls whether this information is validated.

    +
      +
    • If the Cluster.UndeploySpec.force_delete attribute is +true, then this information is ignored, VCHA cluster specific +information is removed and the passive and witness virtual machines +will be deleted.

    • +
    • If the Cluster.UndeploySpec.force_delete attribute is +None or false, then this information is validated prior to deleting +the passive and witness virtual machines. VCHA cluster specific +information is removed.

    • +
    +

    . This attribute was added in vSphere API 6.7.1. +If None, the Cluster.UndeploySpec.force_delete attribute +controls the deletion of the passive and witness virtual machines.

    +
      +
    • If the Cluster.UndeploySpec.force_delete attribute is +true, then the passive and witness virtual machines will be +deleted. VCHA cluster specific information is removed.

    • +
    • If the Cluster.UndeploySpec.force_delete attribute is +None or false, then the passive and witness virtual machines will +not be deleted. The customer should delete them in order to cleanup +completely. VCHA cluster specific information is removed.

    • +
    +

  • +
+
+
+
+ +
+
+class VmInfo(passive=None, witness=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cluster.VmInfo class contains information to describe the Virtual +Machines of passive and witness nodes of a VCHA cluster. This class was +added in vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • passive (Cluster.NodeVmInfo) – The virtual machine information of the passive node. This attribute +was added in vSphere API 6.7.1.

  • +
  • witness (Cluster.NodeVmInfo) – The virtual machine information of the witness node. This attribute +was added in vSphere API 6.7.1.

  • +
+
+
+
+ +
+
+class WitnessInfo(ha_ip=None, runtime=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cluster.WitnessInfo class defines the configuration and runtime +information for the witness node in the cluster. This class was added in +vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • ha_ip (Cluster.IpInfo) – VCHA Cluster network configuration of the node. All cluster +communication (state replication, heartbeat, cluster messages) +happens over this network. +The active node’s management vCenter server credentials are not +required to populate Cluster.WitnessInfo.ha_ip. This +attribute was added in vSphere API 6.7.1.

  • +
  • runtime (Cluster.NodeRuntimeInfo or None) – Runtime information for the node in the VCHA Cluster. +The active node’s management vCenter server credentials are +required to populate some attributes of +Cluster.WitnessInfo.runtime. This attribute was added in +vSphere API 6.7.1. +If None, then the information is unavailable or the node is not +cloned yet.

  • +
+
+
+
+ +
+
+class WitnessSpec(placement=None, ha_ip=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cluster.WitnessSpec class contains the deploy specification for the +Witness Node of the VCHA cluster. This class was added in vSphere API +6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • placement (PlacementSpec or None) – Contains the placement configuration of the node. This attribute +was added in vSphere API 6.7.1. +If None, then it is assumed that the clone will be done manually by +the customer. In this case, the placement configuration for the +witness node should also be omitted. Only the network configuration +will be setup. Once the passive and witness nodes are cloned from +the active node, the VCHA high availability is turned on.

  • +
  • ha_ip (IpSpec) – IP specification for the HA network. This attribute was added in +vSphere API 6.7.1.

  • +
+
+
+
+ +
+
+deploy_task(spec)
+

Prepares, clones, and configures a VCHA cluster. This method was added +in vSphere API 6.7.1.

+
+
Parameters
+

spec (Cluster.DeploySpec) – Contains the deploy specification for all three nodes of a VCHA +cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the credentials provided for authenticating with the active +node’s management vCenter server are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user has insufficient privilege to perform the operation. +Operation execution requires the Global.VCServer privilege.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnverifiedPeer +If the SSL certificate of the management vCenter server cannot be +validated. +The value of the data attribute of +com.vmware.vapi.std.errors_client.Error will be a class +that contains all the attributes defined in +CertificateInfo.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If any other error occurs.

+
+
+
+ +
+
+failover_task(planned)
+

Initiates failover from the active vCenter node to the passive node.

+

For forced failover, Active node immediately initiates a failover. This +may result into a data loss after failover.

+

For planned failover, Active node flushes all the state to the Passive +node, waits for the flush to complete before causing a failover. After +the failover, Passive node starts without any data loss.

+
+

A failover is allowed only in the following cases:

+
+
    +
  1. Cluster’s mode is enabled and all cluster members are present.

  2. +
  3. Cluster’s mode is maintenance and all cluster members are present.

  4. +
+

. This method was added in vSphere API 6.7.1.

+
+
Parameters
+

planned (bool) – If false, a failover is initiated immediately and may result in +data loss. +If true, a failover is initated after the Active node flushes its +state to Passive and there is no data loss.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user has insufficient privilege to perform the operation. +Operation execution requires the Global.VCServer privilege.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If any other error occurs.

+
+
+
+ +
+
+get(vc_spec=None, partial=None)
+

Retrieves the status of a VCHA cluster. This method was added in +vSphere API 6.7.1.

+
+
Parameters
+
    +
  • vc_spec (CredentialsSpec or None) – Contains active node’s management vCenter server credentials. +If None, then the active vCenter Server instance is assumed to be +either self-managed or else in enhanced linked mode and managed by +a linked vCenter Server instance.

  • +
  • partial (bool or None) –

    If true, then return only the information that does not require +connecting to the Active vCenter Server.

    +
    +

    If false or unset, then return all the information.

    +
    +

    If None, then return all the information.

    +

  • +
+
+
Return type
+

Cluster.Info

+
+
Returns
+

Info structure containing the VCHA configuration and health +information.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the credentials provided for authenticating with the active +node’s management vCenter server are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user has insufficient privilege to perform the operation.

+
    +
  • If partial is false or unset, then the operation execution +requires the Global.VCServer privilege.

  • +
  • If partial is true, then the operation execution requires the +System.Read privilege.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.UnverifiedPeer +If the SSL certificate of the management vCenter server cannot be +validated. +The value of the data attribute of +com.vmware.vapi.std.errors_client.Error will be a class +that contains all the attributes defined in +CertificateInfo.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If any other error occurs.

+
+
+
+ +
+
+undeploy_task(spec)
+

Destroys the VCHA cluster and removes all VCHA specific information +from the VCVA appliance. Optionally, the passive and witness node +virtual machines will be deleted only if VCHA was deployed using +automatic deployment. The active node in the cluster continues to run +as a standalone VCVA appliance after the destroy operation has been +performed.

+

If the VCHA cluster is in a transition state and not configured, then +the VCHA cluster specific information is removed.. This method was +added in vSphere API 6.7.1.

+
+
Parameters
+

spec (Cluster.UndeploySpec) – Contains the undeploy specification for a VCHA cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the credentials provided for authenticating with the active +node’s management vCenter server are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the passive virtual machine is not managed by the specified +vCenter server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the witness virtual machine is not managed by the specified +vCenter server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user has insufficient privilege to perform the operation. +Operation execution requires the Global.VCServer privilege.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnverifiedPeer +If the SSL certificate of the management vCenter server cannot be +validated. +The value of the data attribute of +com.vmware.vapi.std.errors_client.Error will be a class +that contains all the attributes defined in +CertificateInfo.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If any other error occurs.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vcha_client.ConnectionSpec(hostname=None, port=None, ssl_thumbprint=None, username=None, password=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ConnectionSpec class contains information required to connect to a +vCenter server. The connection to the vCenter server always uses the HTTPS +protocol. This class was added in vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • hostname (str) – IP Address or DNS of the vCenter. This attribute was added in +vSphere API 6.7.1.

  • +
  • port (long or None) – Port number. This attribute was added in vSphere API 6.7.1. +If None, port 443 will be used.

  • +
  • ssl_thumbprint (str or None) – SHA1 hash of the server SSL certificate. This attribute was added +in vSphere API 6.7.1. +If None, empty ssl thumbprint is assumed.

  • +
  • username (str or None) – Username to access the server. This attribute was added in vSphere +API 6.7.1. +This attribute is currently required. If None, an error is +returned. In the future, if this attribute is None, the system will +attempt to identify the user. If a user cannot be identified, then +the requested operation will fail.

  • +
  • password (str or None) – Password for the specified user. This attribute was added in +vSphere API 6.7.1. +This attribute is currently required. If None, an empty password is +assumed. In the future, if this attribute is None, the system will +attempt to authenticate the user. If a user cannot be identified, +then the requested operation will fail.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.vcha_client.CredentialsSpec(active_location=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CredentialsSpec class contains information to connect to the +vCenter server managing the VCHA nodes. This class was added in vSphere API +6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

active_location (ConnectionSpec) – Connection information for the management vCenter Server of the +Active Node in a VCHA Cluster. This attribute was added in vSphere +API 6.7.1.

+
+
+
+ +
+
+class com.vmware.vcenter.vcha_client.DiskInfo(datastore=None, datastore_name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The DiskInfo class contains information to describe the storage +configuration of a vCenter virtual machine. This class was added in vSphere +API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • datastore (str) – The identifier of the datastore to put all the virtual disks on. +This attribute was added in vSphere API 6.7.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Datastore:VCenter. When methods return a value of this class as +a return value, the attribute will be an identifier for the +resource type: Datastore:VCenter.

  • +
  • datastore_name (str) – The name of the datastore. This attribute was added in vSphere API +6.7.1.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.vcha_client.DiskSpec(datastore=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The DiskSpec class contains information to describe the storage +configuration of a vCenter virtual machine. This class was added in vSphere +API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

datastore (str or None) – The identifier of the datastore to put all the virtual disks on. +This attribute was added in vSphere API 6.7.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Datastore:VCenter. When methods return a value of this class as +a return value, the attribute will be an identifier for the +resource type: Datastore:VCenter. +This field needs to be set. If None, then see +vim.vm.RelocateSpec.datastore.

+
+
+
+ +
+
+class com.vmware.vcenter.vcha_client.IpFamily(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The IpFamily class defines the Ip address family. This enumeration was +added in vSphere API 6.7.1.

+
+

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 the IpFamily instance.

+
+
+
+
+IPV4 = IpFamily(string='IPV4')
+

IPV4 address family. This class attribute was added in vSphere API 6.7.1.

+
+ +
+
+IPV6 = IpFamily(string='IPV6')
+

IPv6 address family. This class attribute was added in vSphere API 6.7.1.

+
+ +
+ +
+
+class com.vmware.vcenter.vcha_client.IpSpec(ip_family=None, ipv4=None, ipv6=None, default_gateway=None, dns_servers=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The IpSpec class contains IP information used to configure a network +interface. This class was added in vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • ip_family (IpFamily) – Family of the IP address to configure the interface. This attribute +was added in vSphere API 6.7.1.

  • +
  • ipv4 (Ipv4Spec) – If the family of the ip is IPV4, then this will point to IPv4 +address specification. This attribute was added in vSphere API +6.7.1. +This attribute is optional and it is only relevant when the value +of ipFamily is IpFamily.IPV4.

  • +
  • ipv6 (Ipv6Spec) – If the family of the ip is IPV6, then this will point to IPv6 +address specification. This attribute was added in vSphere API +6.7.1. +This attribute is optional and it is only relevant when the value +of ipFamily is IpFamily.IPV6.

  • +
  • default_gateway (str or None) – The IP address of the Gateway for this interface. This attribute +was added in vSphere API 6.7.1. +If None, gateway will not be used for the network interface.

  • +
  • dns_servers (list of str or None) – The list of IP addresses of the DNS servers for this interface. +This list is a comma separated list. This attribute was added in +vSphere API 6.7.1. +If None, DNS servers will not be used for the network interface.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.vcha_client.Ipv4Spec(address=None, subnet_mask=None, prefix=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Ipv4Spec class contains IPV4 information used to configure a +network interface. This class was added in vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • address (str) – IPV4 address to be used to configure the interface. This attribute +was added in vSphere API 6.7.1.

  • +
  • subnet_mask (str or None) – The subnet mask for the interface. This attribute was added in +vSphere API 6.7.1. +If None and the prefix attribute is None, then an error will be +reported. +If None and the prefix attribute is set, then the prefix +attribute will be used to create a subnet mask whose first prefix +bits are 1 and the remaining bits 0. +If both the subnetMask attribute and the prefix attribute +are set and they do not represent the same value, then an error +will be reported.

  • +
  • prefix (long or None) – The CIDR prefix for the interface. This attribute was added in +vSphere API 6.7.1. +If None and the subnetMask attribute is None, this an error +will be reported. +If None and the subnetMask attribute is set, then the +subnetMask attribute will be used. +If both the subnetMask attribute and the prefix attribute +are set and they do not represent the same value, then an error +will be reported.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.vcha_client.Ipv6Spec(address=None, prefix=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Ipv6Spec class contains IPV6 information used to configure a +network interface. This class was added in vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • address (str) – IPv6 address to be used to configure the interface. This attribute +was added in vSphere API 6.7.1.

  • +
  • prefix (long) – The CIDR prefix for the interface. This attribute was added in +vSphere API 6.7.1.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.vcha_client.NetworkType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The NetworkType class defines the type of a vCenter Server network. +This enumeration was added in vSphere API 6.7.1.

+
+

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 the NetworkType instance.

+
+
+
+
+DISTRIBUTED_PORTGROUP = NetworkType(string='DISTRIBUTED_PORTGROUP')
+

Distributed virtual switch. This class attribute was added in vSphere API +6.7.1.

+
+ +
+
+STANDARD_PORTGROUP = NetworkType(string='STANDARD_PORTGROUP')
+

vSphere standard portgroup network. This class attribute was added in +vSphere API 6.7.1.

+
+ +
+ +
+
+class com.vmware.vcenter.vcha_client.Operations(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Operations class provides methods to figure out the currently +active operations and currently disabled operations in a vCenter High +Availability (VCHA) cluster. This class was added in vSphere API 6.7.1.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+CLUSTER_DEPLOY_OP = 'com.vmware.vcenter.vcha.cluster.deploy'
+

Identifier of the cluster deploy operation. This class attribute was added in +vSphere API 6.7.1.

+
+ +
+
+CLUSTER_FAILOVER_OP = 'com.vmware.vcenter.vcha.cluster.failover'
+

Identifier of the cluster failover operation. This class attribute was added in +vSphere API 6.7.1.

+
+ +
+
+CLUSTER_GET_OP = 'com.vmware.vcenter.vcha.cluster.get'
+

Identifier of the cluster get operation. This class attribute was added in +vSphere API 6.7.1.

+
+ +
+
+CLUSTER_UNDEPLOY_OP = 'com.vmware.vcenter.vcha.cluster.undeploy'
+

Identifier of the cluster undeploy operation. This class attribute was added in +vSphere API 6.7.1.

+
+ +
+
+class Info(disabled=None, active=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Operations.Info class contains information about which the VCHA +operations cannot be invoked in the current state of the system and the +list of currently active VCHA operations. This class was added in vSphere +API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+MODE_GET_OP = 'com.vmware.vcenter.vcha.cluster.mode.get'
+

Identifier of the get mode operation. This class attribute was added in vSphere +API 6.7.1.

+
+ +
+
+MODE_SET_OP = 'com.vmware.vcenter.vcha.cluster.mode.set'
+

Identifier of the set mode operation. This class attribute was added in vSphere +API 6.7.1.

+
+ +
+
+PASSIVE_REDEPLOY_OP = 'com.vmware.vcenter.vcha.cluster.passive.redeploy'
+

Identifier of the passive redeploy operation. This class attribute was added in +vSphere API 6.7.1.

+
+ +
+
+WITNESS_REDEPLOY_OP = 'com.vmware.vcenter.vcha.cluster.witness.redeploy'
+

Identifier of the witness redeploy operation. This class attribute was added in +vSphere API 6.7.1.

+
+ +
+
+get()
+

Retrieves the current active and disabled operations of a VCHA cluster. +This method was added in vSphere API 6.7.1.

+
+
Return type
+

Operations.Info

+
+
Returns
+

Info structure containing the current running and disabled +operations of a VCHA cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user has insufficient privilege to perform the operation. +Operation execution requires the System.Read privilege.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If any other error occurs.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vcha_client.PlacementInfo(management_vcenter_name=None, management_vcenter_server_guid=None, vm_name=None, datacenter=None, datacenter_name=None, host=None, host_name=None, cluster=None, cluster_name=None, ha_network=None, ha_network_name=None, ha_network_type=None, management_network=None, management_network_name=None, management_network_type=None, storage=None, bios_uuid=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The PlacementInfo class contains information to describe the inventory +placement of a single node of a VCHA cluster. +The active node’s management vCenter server credentials are required to +populate all attributes except biosUuid. This class was added in vSphere +API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • management_vcenter_name (str) – The hostname of the vCenter server that is managing the VCHA node. +This attribute was added in vSphere API 6.7.1.

  • +
  • management_vcenter_server_guid (str) – The unique identifier of the vCenter server that is managing the +VCHA node. This attribute was added in vSphere API 7.0.0.1. +This attribute is optional because it was added in a newer version +than its parent node.

  • +
  • vm_name (str) – The virtual machine name of the VCHA node. This attribute was added +in vSphere API 6.7.1.

  • +
  • datacenter (str) – The identifier of the datacenter of the VCHA node. This attribute +was added in vSphere API 6.7.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Datacenter:VCenter. When methods return a value of this class +as a return value, the attribute will be an identifier for the +resource type: Datacenter:VCenter.

  • +
  • datacenter_name (str) – The name of the datacenter of the VCHA node. This attribute was +added in vSphere API 6.7.1.

  • +
  • host (str) – The identifier of the host of the VCHA node. This attribute was +added in vSphere API 6.7.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +HostSystem:VCenter. When methods return a value of this class +as a return value, the attribute will be an identifier for the +resource type: HostSystem:VCenter.

  • +
  • host_name (str) – The name of the host of the VCHA node. This attribute was added in +vSphere API 6.7.1.

  • +
  • cluster (str or None) – The identifier of the cluster of which host is member. This +attribute was added in vSphere API 6.7.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource:VCenter. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: ClusterComputeResource:VCenter. +If None, host is a standalone host.

  • +
  • cluster_name (str or None) – The name of the cluster of which host is member. This attribute +was added in vSphere API 6.7.1. +If None, host is a standalone host.

  • +
  • ha_network (str or None) – The identifier of the Network object used for the HA network. This +attribute was added in vSphere API 6.7.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Network:VCenter. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Network:VCenter. +If None, the information is currently unavailable or the haNetwork +is not configured.

  • +
  • ha_network_name (str or None) – The name of the Network object used for the HA network. This +attribute was added in vSphere API 6.7.1. +If None, the information is currently unavailable or the haNetwork +is not configured.

  • +
  • ha_network_type (NetworkType or None) – The type of the Network object used for the HA network. This +attribute was added in vSphere API 6.7.1. +If None, the information is currently unavailable or the haNetwork +is not configured.

  • +
  • management_network (str) – The identifier of the Network object used for the Management +network. This attribute was added in vSphere API 6.7.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Network:VCenter. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Network:VCenter.

  • +
  • management_network_name (str) – The name of the Network object used for the Management network. +This attribute was added in vSphere API 6.7.1.

  • +
  • management_network_type (NetworkType) – The type of the Network object used for the Management network. +This attribute was added in vSphere API 6.7.1.

  • +
  • storage (DiskInfo) – The storage information of the VCHA node. This attribute was added +in vSphere API 6.7.1.

  • +
  • bios_uuid (str or None) – BIOS UUID for the node. This attribute was added in vSphere API +6.7.1. +If None, the information is currently unavailable.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.vcha_client.PlacementSpec(name=None, folder=None, host=None, resource_pool=None, ha_network_type=None, ha_network=None, management_network_type=None, management_network=None, storage=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The PlacementSpec class contains information to describe the inventory +placement of a single node of a VCHA cluster. This class was added in +vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – The name of the VCHA node to be used for the virtual machine name. +This attribute was added in vSphere API 6.7.1.

  • +
  • folder (str) – The identifier of the folder to deploy the VCHA node to. This +attribute was added in vSphere API 6.7.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Folder:VCenter. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Folder:VCenter.

  • +
  • host (str or None) – The identifier of the host to deploy the VCHA node to. This +attribute was added in vSphere API 6.7.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +HostSystem:VCenter. When methods return a value of this class +as a return value, the attribute will be an identifier for the +resource type: HostSystem:VCenter. +If None, see vim.vm.RelocateSpec.host.

  • +
  • resource_pool (str or None) – The identifier of the resource pool to deploy the VCHA node to. +This attribute was added in vSphere API 6.7.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ResourcePool:VCenter. When methods return a value of this class +as a return value, the attribute will be an identifier for the +resource type: ResourcePool:VCenter. +If None, then the active node’s resource pool will be used.

  • +
  • ha_network_type (NetworkType or None) – The type of the Network object used by the HA network. +If the PlacementSpec.ha_network attribute is set, then the +PlacementSpec.ha_network_type field must be set. +If the PlacementSpec.ha_network attribute is None, then the +PlacementSpec.ha_network_type attribute is ignored. This +attribute was added in vSphere API 6.7.1. +If None and the PlacementSpec.ha_network attribute is +unset, then the same network present on the Active node virtual +machine is used to deploy the virtual machine with an assumption +that the network is present on the destination. +If None and the PlacementSpec.ha_network attribute is set, +then an error is reported.

  • +
  • ha_network (str or None) – The identifier of the Network object used for the HA network. +If the PlacementSpec.ha_network attribute is set, then the +{#link #haNetworkType} attribute must be set. +If the PlacementSpec.ha_network attribute is None, then the +PlacementSpec.ha_network_type attribute is ignored. This +attribute was added in vSphere API 6.7.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Network:VCenter. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Network:VCenter. +If None and the PlacementSpec.ha_network_type attribute is +unset, then the same network present on the Active node virtual +machine is used to deploy the virtual machine with an assumption +that the network is present on the destination.

  • +
  • management_network_type (NetworkType or None) – The type of the Network object used by the Management network. +If the PlacementSpec.management_network attribute is set, +then the {#link #managementNetworkType} field must be set. +If the PlacementSpec.management_network attribute is None, +then the PlacementSpec.management_network_type attribute is +ignored. This attribute was added in vSphere API 6.7.1. +If None and the PlacementSpec.management_network attribute +is unset, then the same network present on the Active node virtual +machine is used to deploy the virtual machine with an assumption +that the network is present on the destination. +If None and the PlacementSpec.management_network attribute +is set, then an error is reported.

  • +
  • management_network (str or None) – The identifier of the Network object used for the Management +network. If the PlacementSpec.management_network attribute +is set, then the PlacementSpec.management_network_type +attribute must be set. +If the PlacementSpec.management_network attribute is None, +then the PlacementSpec.management_network_type attribute is +ignored. This attribute was added in vSphere API 6.7.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Network:VCenter. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Network:VCenter. +If None and the PlacementSpec.management_network_type +attribute is unset, then the same network present on the Active +node virtual machine is used to deploy the virtual machine with an +assumption that the network is present on the destination.

  • +
  • storage (DiskSpec or None) – The storage specification to deploy the VCHA node to. This +attribute was added in vSphere API 6.7.1. +If None, see vim.vm.RelocateSpec.datastore.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.vcha_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.vm_client module

+

The com.vmware.vcenter.vm_client module provides classes for managing +virtual machines.

+
+
+class com.vmware.vcenter.vm_client.GuestOS(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The GuestOS class defines the valid guest operating system types used +for configuring a virtual machine.

+
+

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 the GuestOS instance.

+
+
+
+
+AMAZONLINUX2_64 = GuestOS(string='AMAZONLINUX2_64')
+

Amazon Linux 2 (64 bit). This class attribute was added in vSphere API +6.7.1.

+
+ +
+
+ASIANUX_3 = GuestOS(string='ASIANUX_3')
+

Asianux Server 3

+
+ +
+
+ASIANUX_3_64 = GuestOS(string='ASIANUX_3_64')
+

Asianux Server 3 (64 bit)

+
+ +
+
+ASIANUX_4 = GuestOS(string='ASIANUX_4')
+

Asianux Server 4

+
+ +
+
+ASIANUX_4_64 = GuestOS(string='ASIANUX_4_64')
+

Asianux Server 4 (64 bit)

+
+ +
+
+ASIANUX_5_64 = GuestOS(string='ASIANUX_5_64')
+

Asianux Server 5 (64 bit)

+
+ +
+
+ASIANUX_7_64 = GuestOS(string='ASIANUX_7_64')
+

Asianux Server 7 (64 bit)

+
+ +
+
+ASIANUX_8_64 = GuestOS(string='ASIANUX_8_64')
+

Asianux Server 8 (64 bit). This class attribute was added in vSphere API +6.7.

+
+ +
+
+CENTOS = GuestOS(string='CENTOS')
+

CentOS 4/5

+
+ +
+
+CENTOS_6 = GuestOS(string='CENTOS_6')
+

CentOS 6

+
+ +
+
+CENTOS_64 = GuestOS(string='CENTOS_64')
+

CentOS 4/5 (64-bit)

+
+ +
+
+CENTOS_6_64 = GuestOS(string='CENTOS_6_64')
+

CentOS 6 (64-bit)

+
+ +
+
+CENTOS_7 = GuestOS(string='CENTOS_7')
+

CentOS 7

+
+ +
+
+CENTOS_7_64 = GuestOS(string='CENTOS_7_64')
+

CentOS 7 (64-bit)

+
+ +
+
+CENTOS_8_64 = GuestOS(string='CENTOS_8_64')
+

CentOS 8 (64-bit). This class attribute was added in vSphere API 6.7.

+
+ +
+
+COREOS_64 = GuestOS(string='COREOS_64')
+

CoreOS Linux (64 bit)

+
+ +
+
+CRXPOD_1 = GuestOS(string='CRXPOD_1')
+

CRX Pod 1. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+DARWIN = GuestOS(string='DARWIN')
+

Mac OS 10.5

+
+ +
+
+DARWIN_10 = GuestOS(string='DARWIN_10')
+

Mac OS 10.6

+
+ +
+
+DARWIN_10_64 = GuestOS(string='DARWIN_10_64')
+

Mac OS 10.6 (64 bit)

+
+ +
+
+DARWIN_11 = GuestOS(string='DARWIN_11')
+

Mac OS 10.7

+
+ +
+
+DARWIN_11_64 = GuestOS(string='DARWIN_11_64')
+

Mac OS 10.7 (64 bit)

+
+ +
+
+DARWIN_12_64 = GuestOS(string='DARWIN_12_64')
+

Mac OS 10.8 (64 bit)

+
+ +
+
+DARWIN_13_64 = GuestOS(string='DARWIN_13_64')
+

Mac OS 10.9 (64 bit)

+
+ +
+
+DARWIN_14_64 = GuestOS(string='DARWIN_14_64')
+

Mac OS 10.10 (64 bit)

+
+ +
+
+DARWIN_15_64 = GuestOS(string='DARWIN_15_64')
+

Mac OS 10.11 (64 bit)

+
+ +
+
+DARWIN_16_64 = GuestOS(string='DARWIN_16_64')
+

Mac OS 10.12 (64 bit)

+
+ +
+
+DARWIN_17_64 = GuestOS(string='DARWIN_17_64')
+

Mac OS 10.13 (64 bit). This class attribute was added in vSphere API 6.7.

+
+ +
+
+DARWIN_18_64 = GuestOS(string='DARWIN_18_64')
+

Mac OS 10.14 (64 bit). This class attribute was added in vSphere API 6.7.

+
+ +
+
+DARWIN_19_64 = GuestOS(string='DARWIN_19_64')
+

Mac OS 10.15 (64 bit). This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+DARWIN_64 = GuestOS(string='DARWIN_64')
+

Mac OS 10.5 (64 bit)

+
+ +
+
+DEBIAN_10 = GuestOS(string='DEBIAN_10')
+

Debian GNU/Linux 10

+
+ +
+
+DEBIAN_10_64 = GuestOS(string='DEBIAN_10_64')
+

Debian GNU/Linux 10 (64 bit)

+
+ +
+
+DEBIAN_11 = GuestOS(string='DEBIAN_11')
+

Debian GNU/Linux 11. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+DEBIAN_11_64 = GuestOS(string='DEBIAN_11_64')
+

Debian GNU/Linux 11 (64 bit). This class attribute was added in vSphere API +7.0.0.

+
+ +
+
+DEBIAN_4 = GuestOS(string='DEBIAN_4')
+

Debian GNU/Linux 4

+
+ +
+
+DEBIAN_4_64 = GuestOS(string='DEBIAN_4_64')
+

Debian GNU/Linux 4 (64 bit)

+
+ +
+
+DEBIAN_5 = GuestOS(string='DEBIAN_5')
+

Debian GNU/Linux 5

+
+ +
+
+DEBIAN_5_64 = GuestOS(string='DEBIAN_5_64')
+

Debian GNU/Linux 5 (64 bit)

+
+ +
+
+DEBIAN_6 = GuestOS(string='DEBIAN_6')
+

Debian GNU/Linux 6

+
+ +
+
+DEBIAN_6_64 = GuestOS(string='DEBIAN_6_64')
+

Debian GNU/Linux 6 (64 bit)

+
+ +
+
+DEBIAN_7 = GuestOS(string='DEBIAN_7')
+

Debian GNU/Linux 7

+
+ +
+
+DEBIAN_7_64 = GuestOS(string='DEBIAN_7_64')
+

Debian GNU/Linux 7 (64 bit)

+
+ +
+
+DEBIAN_8 = GuestOS(string='DEBIAN_8')
+

Debian GNU/Linux 8

+
+ +
+
+DEBIAN_8_64 = GuestOS(string='DEBIAN_8_64')
+

Debian GNU/Linux 8 (64 bit)

+
+ +
+
+DEBIAN_9 = GuestOS(string='DEBIAN_9')
+

Debian GNU/Linux 9

+
+ +
+
+DEBIAN_9_64 = GuestOS(string='DEBIAN_9_64')
+

Debian GNU/Linux 9 (64 bit)

+
+ +
+
+DOS = GuestOS(string='DOS')
+

MS-DOS.

+
+ +
+
+ECOMSTATION = GuestOS(string='ECOMSTATION')
+

eComStation 1.x

+
+ +
+
+ECOMSTATION_2 = GuestOS(string='ECOMSTATION_2')
+

eComStation 2.0

+
+ +
+
+FEDORA = GuestOS(string='FEDORA')
+

Fedora Linux

+
+ +
+
+FEDORA_64 = GuestOS(string='FEDORA_64')
+

Fedora Linux (64 bit)

+
+ +
+
+FREEBSD = GuestOS(string='FREEBSD')
+

FreeBSD 10 or earlier

+
+ +
+
+FREEBSD_11 = GuestOS(string='FREEBSD_11')
+

FreeBSD 11. This class attribute was added in vSphere API 6.7.

+
+ +
+
+FREEBSD_11_64 = GuestOS(string='FREEBSD_11_64')
+

FreeBSD 11 x64. This class attribute was added in vSphere API 6.7.

+
+ +
+
+FREEBSD_12 = GuestOS(string='FREEBSD_12')
+

FreeBSD 12 or later. This class attribute was added in vSphere API 6.7.

+
+ +
+
+FREEBSD_12_64 = GuestOS(string='FREEBSD_12_64')
+

FreeBSD 12 x64 or later. This class attribute was added in vSphere API 6.7.

+
+ +
+
+FREEBSD_64 = GuestOS(string='FREEBSD_64')
+

FreeBSD 10 x64 or earlier

+
+ +
+
+GENERIC_LINUX = GuestOS(string='GENERIC_LINUX')
+

Other Linux

+
+ +
+
+MANDRAKE = GuestOS(string='MANDRAKE')
+

Mandrake Linux

+
+ +
+
+MANDRIVA = GuestOS(string='MANDRIVA')
+

Mandriva Linux

+
+ +
+
+MANDRIVA_64 = GuestOS(string='MANDRIVA_64')
+

Mandriva Linux (64 bit)

+
+ +
+
+NETWARE_4 = GuestOS(string='NETWARE_4')
+

Novell NetWare 4

+
+ +
+
+NETWARE_5 = GuestOS(string='NETWARE_5')
+

Novell NetWare 5.1

+
+ +
+
+NETWARE_6 = GuestOS(string='NETWARE_6')
+

Novell NetWare 6.x

+
+ +
+
+NLD_9 = GuestOS(string='NLD_9')
+

Novell Linux Desktop 9

+
+ +
+
+OES = GuestOS(string='OES')
+

Open Enterprise Server

+
+ +
+
+OPENSERVER_5 = GuestOS(string='OPENSERVER_5')
+

SCO OpenServer 5

+
+ +
+
+OPENSERVER_6 = GuestOS(string='OPENSERVER_6')
+

SCO OpenServer 6

+
+ +
+
+OPENSUSE = GuestOS(string='OPENSUSE')
+

OpenSUSE Linux

+
+ +
+
+OPENSUSE_64 = GuestOS(string='OPENSUSE_64')
+

OpenSUSE Linux (64 bit)

+
+ +
+
+ORACLE_LINUX = GuestOS(string='ORACLE_LINUX')
+

Oracle Linux 4/5

+
+ +
+
+ORACLE_LINUX_6 = GuestOS(string='ORACLE_LINUX_6')
+

Oracle Linux 6

+
+ +
+
+ORACLE_LINUX_64 = GuestOS(string='ORACLE_LINUX_64')
+

Oracle Linux 4/5 (64-bit)

+
+ +
+
+ORACLE_LINUX_6_64 = GuestOS(string='ORACLE_LINUX_6_64')
+

Oracle Linux 6 (64-bit)

+
+ +
+
+ORACLE_LINUX_7 = GuestOS(string='ORACLE_LINUX_7')
+

Oracle Linux 7

+
+ +
+
+ORACLE_LINUX_7_64 = GuestOS(string='ORACLE_LINUX_7_64')
+

Oracle Linux 7 (64-bit)

+
+ +
+
+ORACLE_LINUX_8_64 = GuestOS(string='ORACLE_LINUX_8_64')
+

Oracle Linux 8 (64-bit). This class attribute was added in vSphere API 6.7.

+
+ +
+
+OS2 = GuestOS(string='OS2')
+

OS/2

+
+ +
+
+OTHER = GuestOS(string='OTHER')
+

Other Operating System

+
+ +
+
+OTHER_24X_LINUX = GuestOS(string='OTHER_24X_LINUX')
+

Linux 2.4x Kernel

+
+ +
+
+OTHER_24X_LINUX_64 = GuestOS(string='OTHER_24X_LINUX_64')
+

Linux 2.4x Kernel (64 bit) (experimental)

+
+ +
+
+OTHER_26X_LINUX = GuestOS(string='OTHER_26X_LINUX')
+

Linux 2.6x Kernel

+
+ +
+
+OTHER_26X_LINUX_64 = GuestOS(string='OTHER_26X_LINUX_64')
+

Linux 2.6x Kernel (64 bit) (experimental)

+
+ +
+
+OTHER_3X_LINUX = GuestOS(string='OTHER_3X_LINUX')
+

Linux 3.x Kernel

+
+ +
+
+OTHER_3X_LINUX_64 = GuestOS(string='OTHER_3X_LINUX_64')
+

Linux 3.x Kernel (64 bit)

+
+ +
+
+OTHER_4X_LINUX = GuestOS(string='OTHER_4X_LINUX')
+

Linux 4.x Kernel. This class attribute was added in vSphere API 6.7.

+
+ +
+
+OTHER_4X_LINUX_64 = GuestOS(string='OTHER_4X_LINUX_64')
+

Linux 4.x Kernel (64 bit). This class attribute was added in vSphere API +6.7.

+
+ +
+
+OTHER_64 = GuestOS(string='OTHER_64')
+

Other Operating System (64 bit) (experimental)

+
+ +
+
+OTHER_LINUX = GuestOS(string='OTHER_LINUX')
+

Linux 2.2x Kernel

+
+ +
+
+OTHER_LINUX_64 = GuestOS(string='OTHER_LINUX_64')
+

Linux (64 bit) (experimental)

+
+ +
+
+REDHAT = GuestOS(string='REDHAT')
+

Red Hat Linux 2.1

+
+ +
+
+RHEL_2 = GuestOS(string='RHEL_2')
+

Red Hat Enterprise Linux 2

+
+ +
+
+RHEL_3 = GuestOS(string='RHEL_3')
+

Red Hat Enterprise Linux 3

+
+ +
+
+RHEL_3_64 = GuestOS(string='RHEL_3_64')
+

Red Hat Enterprise Linux 3 (64 bit)

+
+ +
+
+RHEL_4 = GuestOS(string='RHEL_4')
+

Red Hat Enterprise Linux 4

+
+ +
+
+RHEL_4_64 = GuestOS(string='RHEL_4_64')
+

Red Hat Enterprise Linux 4 (64 bit)

+
+ +
+
+RHEL_5 = GuestOS(string='RHEL_5')
+

Red Hat Enterprise Linux 5

+
+ +
+
+RHEL_5_64 = GuestOS(string='RHEL_5_64')
+

Red Hat Enterprise Linux 5 (64 bit) (experimental)

+
+ +
+
+RHEL_6 = GuestOS(string='RHEL_6')
+

Red Hat Enterprise Linux 6

+
+ +
+
+RHEL_6_64 = GuestOS(string='RHEL_6_64')
+

Red Hat Enterprise Linux 6 (64 bit)

+
+ +
+
+RHEL_7 = GuestOS(string='RHEL_7')
+

Red Hat Enterprise Linux 7

+
+ +
+
+RHEL_7_64 = GuestOS(string='RHEL_7_64')
+

Red Hat Enterprise Linux 7 (64 bit)

+
+ +
+
+RHEL_8_64 = GuestOS(string='RHEL_8_64')
+

Red Hat Enterprise Linux 8 (64 bit). This class attribute was added in +vSphere API 6.7.

+
+ +
+
+SJDS = GuestOS(string='SJDS')
+

Sun Java Desktop System

+
+ +
+
+SLES = GuestOS(string='SLES')
+

Suse Linux Enterprise Server 9

+
+ +
+
+SLES_10 = GuestOS(string='SLES_10')
+

Suse linux Enterprise Server 10

+
+ +
+
+SLES_10_64 = GuestOS(string='SLES_10_64')
+

Suse Linux Enterprise Server 10 (64 bit) (experimental)

+
+ +
+
+SLES_11 = GuestOS(string='SLES_11')
+

Suse linux Enterprise Server 11

+
+ +
+
+SLES_11_64 = GuestOS(string='SLES_11_64')
+

Suse Linux Enterprise Server 11 (64 bit)

+
+ +
+
+SLES_12 = GuestOS(string='SLES_12')
+

Suse linux Enterprise Server 12

+
+ +
+
+SLES_12_64 = GuestOS(string='SLES_12_64')
+

Suse Linux Enterprise Server 12 (64 bit)

+
+ +
+
+SLES_15_64 = GuestOS(string='SLES_15_64')
+

Suse Linux Enterprise Server 15 (64 bit). This class attribute was added in +vSphere API 6.7.

+
+ +
+
+SLES_64 = GuestOS(string='SLES_64')
+

Suse Linux Enterprise Server 9 (64 bit)

+
+ +
+
+SOLARIS_10 = GuestOS(string='SOLARIS_10')
+

Solaris 10 (32 bit) (experimental)

+
+ +
+
+SOLARIS_10_64 = GuestOS(string='SOLARIS_10_64')
+

Solaris 10 (64 bit) (experimental)

+
+ +
+
+SOLARIS_11_64 = GuestOS(string='SOLARIS_11_64')
+

Solaris 11 (64 bit)

+
+ +
+
+SOLARIS_6 = GuestOS(string='SOLARIS_6')
+

Solaris 6

+
+ +
+
+SOLARIS_7 = GuestOS(string='SOLARIS_7')
+

Solaris 7

+
+ +
+
+SOLARIS_8 = GuestOS(string='SOLARIS_8')
+

Solaris 8

+
+ +
+
+SOLARIS_9 = GuestOS(string='SOLARIS_9')
+

Solaris 9

+
+ +
+
+SUSE = GuestOS(string='SUSE')
+

Suse Linux

+
+ +
+
+SUSE_64 = GuestOS(string='SUSE_64')
+

Suse Linux (64 bit)

+
+ +
+
+TURBO_LINUX = GuestOS(string='TURBO_LINUX')
+

Turbolinux

+
+ +
+
+TURBO_LINUX_64 = GuestOS(string='TURBO_LINUX_64')
+

Turbolinux (64 bit)

+
+ +
+
+UBUNTU = GuestOS(string='UBUNTU')
+

Ubuntu Linux

+
+ +
+
+UBUNTU_64 = GuestOS(string='UBUNTU_64')
+

Ubuntu Linux (64 bit)

+
+ +
+
+UNIXWARE_7 = GuestOS(string='UNIXWARE_7')
+

SCO UnixWare 7

+
+ +
+
+VMKERNEL = GuestOS(string='VMKERNEL')
+

VMware ESX 4

+
+ +
+
+VMKERNEL_5 = GuestOS(string='VMKERNEL_5')
+

VMware ESX 5

+
+ +
+
+VMKERNEL_6 = GuestOS(string='VMKERNEL_6')
+

VMware ESX 6

+
+ +
+
+VMKERNEL_65 = GuestOS(string='VMKERNEL_65')
+

VMware ESX 6.5

+
+ +
+
+VMKERNEL_7 = GuestOS(string='VMKERNEL_7')
+

VMware ESX 7. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+VMWARE_PHOTON_64 = GuestOS(string='VMWARE_PHOTON_64')
+

VMware Photon (64 bit)

+
+ +
+
+WINDOWS_7 = GuestOS(string='WINDOWS_7')
+

Windows 7

+
+ +
+
+WINDOWS_7_64 = GuestOS(string='WINDOWS_7_64')
+

Windows 7 (64 bit)

+
+ +
+
+WINDOWS_7_SERVER_64 = GuestOS(string='WINDOWS_7_SERVER_64')
+

Windows Server 2008 R2 (64 bit)

+
+ +
+
+WINDOWS_8 = GuestOS(string='WINDOWS_8')
+

Windows 8

+
+ +
+
+WINDOWS_8_64 = GuestOS(string='WINDOWS_8_64')
+

Windows 8 (64 bit)

+
+ +
+
+WINDOWS_8_SERVER_64 = GuestOS(string='WINDOWS_8_SERVER_64')
+

Windows 8 Server (64 bit)

+
+ +
+
+WINDOWS_9 = GuestOS(string='WINDOWS_9')
+

Windows 10

+
+ +
+
+WINDOWS_9_64 = GuestOS(string='WINDOWS_9_64')
+

Windows 10 (64 bit)

+
+ +
+
+WINDOWS_9_SERVER_64 = GuestOS(string='WINDOWS_9_SERVER_64')
+

Windows 10 Server (64 bit)

+
+ +
+
+WINDOWS_HYPERV = GuestOS(string='WINDOWS_HYPERV')
+

Windows Hyper-V

+
+ +
+
+WINDOWS_SERVER_2019 = GuestOS(string='WINDOWS_SERVER_2019')
+

Windows Server 2019. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+WIN_2000_ADV_SERV = GuestOS(string='WIN_2000_ADV_SERV')
+

Windows 2000 Advanced Server

+
+ +
+
+WIN_2000_PRO = GuestOS(string='WIN_2000_PRO')
+

Windows 2000 Professional

+
+ +
+
+WIN_2000_SERV = GuestOS(string='WIN_2000_SERV')
+

Windows 2000 Server

+
+ +
+
+WIN_31 = GuestOS(string='WIN_31')
+

Windows 3.1

+
+ +
+
+WIN_95 = GuestOS(string='WIN_95')
+

Windows 95

+
+ +
+
+WIN_98 = GuestOS(string='WIN_98')
+

Windows 98

+
+ +
+
+WIN_LONGHORN = GuestOS(string='WIN_LONGHORN')
+

Windows Longhorn (experimental)

+
+ +
+
+WIN_LONGHORN_64 = GuestOS(string='WIN_LONGHORN_64')
+

Windows Longhorn (64 bit) (experimental)

+
+ +
+
+WIN_ME = GuestOS(string='WIN_ME')
+

Windows Millennium Edition

+
+ +
+
+WIN_NET_BUSINESS = GuestOS(string='WIN_NET_BUSINESS')
+

Windows Small Business Server 2003

+
+ +
+
+WIN_NET_DATACENTER = GuestOS(string='WIN_NET_DATACENTER')
+

Windows Server 2003, Datacenter Edition

+
+ +
+
+WIN_NET_DATACENTER_64 = GuestOS(string='WIN_NET_DATACENTER_64')
+

Windows Server 2003, Datacenter Edition (64 bit) (experimental)

+
+ +
+
+WIN_NET_ENTERPRISE = GuestOS(string='WIN_NET_ENTERPRISE')
+

Windows Server 2003, Enterprise Edition

+
+ +
+
+WIN_NET_ENTERPRISE_64 = GuestOS(string='WIN_NET_ENTERPRISE_64')
+

Windows Server 2003, Enterprise Edition (64 bit)

+
+ +
+
+WIN_NET_STANDARD = GuestOS(string='WIN_NET_STANDARD')
+

Windows Server 2003, Standard Edition

+
+ +
+
+WIN_NET_STANDARD_64 = GuestOS(string='WIN_NET_STANDARD_64')
+

Windows Server 2003, Standard Edition (64 bit)

+
+ +
+
+WIN_NET_WEB = GuestOS(string='WIN_NET_WEB')
+

Windows Server 2003, Web Edition

+
+ +
+
+WIN_NT = GuestOS(string='WIN_NT')
+

Windows NT 4

+
+ +
+
+WIN_VISTA = GuestOS(string='WIN_VISTA')
+

Windows Vista

+
+ +
+
+WIN_VISTA_64 = GuestOS(string='WIN_VISTA_64')
+

Windows Vista (64 bit)

+
+ +
+
+WIN_XP_HOME = GuestOS(string='WIN_XP_HOME')
+

Windows XP Home Edition

+
+ +
+
+WIN_XP_PRO = GuestOS(string='WIN_XP_PRO')
+

Windows XP Professional

+
+ +
+
+WIN_XP_PRO_64 = GuestOS(string='WIN_XP_PRO_64')
+

Windows XP Professional Edition (64 bit)

+
+ +
+ +
+
+class com.vmware.vcenter.vm_client.GuestOSFamily(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The GuestOSFamily class defines the valid guest operating system family +types reported by a virtual machine. This enumeration was added in vSphere +API 6.7.

+
+

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 the GuestOSFamily instance.

+
+
+
+
+DARWIN = GuestOSFamily(string='DARWIN')
+

Mac OS operating system. This class attribute was added in vSphere API 6.7.

+
+ +
+
+LINUX = GuestOSFamily(string='LINUX')
+

Linux operating system. This class attribute was added in vSphere API 6.7.

+
+ +
+
+NETWARE = GuestOSFamily(string='NETWARE')
+

Novell Netware. This class attribute was added in vSphere API 6.7.

+
+ +
+
+OTHER = GuestOSFamily(string='OTHER')
+

Other operating systems. This class attribute was added in vSphere API 6.7.

+
+ +
+
+SOLARIS = GuestOSFamily(string='SOLARIS')
+

Solaris operating system. This class attribute was added in vSphere API +6.7.

+
+ +
+
+WINDOWS = GuestOSFamily(string='WINDOWS')
+

Windows operating system. This class attribute was added in vSphere API +6.7.

+
+ +
+ +
+
+class com.vmware.vcenter.vm_client.Hardware(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Hardware class provides methods for configuring the virtual +hardware of a virtual machine.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(version=None, upgrade_policy=None, upgrade_version=None, upgrade_status=None, upgrade_error=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Hardware.Info class contains information related to the virtual +hardware of a virtual machine.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class UpdateSpec(upgrade_policy=None, upgrade_version=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Hardware.UpdateSpec class describes the updates to virtual hardware +settings of a virtual machine.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • upgrade_policy (Hardware.UpgradePolicy or None) –

    Scheduled upgrade policy.

    +

    If set to Hardware.UpgradePolicy.NEVER, the +Hardware.Info.upgrade_version attribute will be reset to +None. +If None, the value is unchanged.

    +

  • +
  • upgrade_version (Hardware.Version or None) –

    Target hardware version to be used on the next scheduled virtual +hardware upgrade.

    +

    If specified, this attribute must represent a newer virtual +hardware version than the current virtual hardware version reported +in Hardware.Info.version. +If Hardware.UpdateSpec.upgrade_policy is set to +Hardware.UpgradePolicy.NEVER, this attribute must be None. +Otherwise, if this attribute is None, default to the most recent +virtual hardware version supported by the server.

    +

  • +
+
+
+
+ +
+
+class UpgradePolicy(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Hardware.UpgradePolicy class defines the valid virtual hardware +upgrade policies for a virtual machine.

+
+

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 the UpgradePolicy instance.

+
+
+
+
+AFTER_CLEAN_SHUTDOWN = UpgradePolicy(string='AFTER_CLEAN_SHUTDOWN')
+

Run scheduled upgrade when the virtual machine is powered on after a clean +shutdown of the guest operating system.

+
+ +
+
+ALWAYS = UpgradePolicy(string='ALWAYS')
+

Run scheduled upgrade when the virtual machine is powered on.

+
+ +
+
+NEVER = UpgradePolicy(string='NEVER')
+

Do not upgrade the virtual machine when it is powered on.

+
+ +
+ +
+
+class UpgradeStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Hardware.UpgradeStatus class defines the valid virtual hardware +upgrade statuses for a virtual machine.

+
+

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 the UpgradeStatus instance.

+
+
+
+
+FAILED = UpgradeStatus(string='FAILED')
+

The most recent scheduled upgrade was not successful.

+
+ +
+
+NONE = UpgradeStatus(string='NONE')
+

No scheduled upgrade has been attempted.

+
+ +
+
+PENDING = UpgradeStatus(string='PENDING')
+

Upgrade is scheduled but has not yet been run.

+
+ +
+
+SUCCESS = UpgradeStatus(string='SUCCESS')
+

The most recent scheduled upgrade was successful.

+
+ +
+ +
+
+class Version(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Hardware.Version class defines the valid virtual hardware versions +for a virtual machine. See https://kb.vmware.com/s/article/1003746 (Virtual +machine hardware versions (1003746)).

+
+

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 the Version instance.

+
+
+
+
+VMX_03 = Version(string='VMX_03')
+

Hardware version 3, first supported in ESXi 2.5.

+
+ +
+
+VMX_04 = Version(string='VMX_04')
+

Hardware version 4, first supported in ESXi 3.0.

+
+ +
+
+VMX_06 = Version(string='VMX_06')
+

Hardware version 6, first supported in WS 6.0.

+
+ +
+
+VMX_07 = Version(string='VMX_07')
+

Hardware version 7, first supported in ESXi 4.0.

+
+ +
+
+VMX_08 = Version(string='VMX_08')
+

Hardware version 8, first supported in ESXi 5.0.

+
+ +
+
+VMX_09 = Version(string='VMX_09')
+

Hardware version 9, first supported in ESXi 5.1.

+
+ +
+
+VMX_10 = Version(string='VMX_10')
+

Hardware version 10, first supported in ESXi 5.5.

+
+ +
+
+VMX_11 = Version(string='VMX_11')
+

Hardware version 11, first supported in ESXi 6.0.

+
+ +
+
+VMX_12 = Version(string='VMX_12')
+

Hardware version 12, first supported in Workstation 12.0.

+
+ +
+
+VMX_13 = Version(string='VMX_13')
+

Hardware version 13, first supported in ESXi 6.5.

+
+ +
+
+VMX_14 = Version(string='VMX_14')
+

Hardware version 14, first supported in ESXi 6.7. This class attribute was +added in vSphere API 6.7.

+
+ +
+
+VMX_15 = Version(string='VMX_15')
+

Hardware version 15, first supported in ESXi 6.7.0 Update 2. This class +attribute was added in vSphere API 6.7.2.

+
+ +
+
+VMX_16 = Version(string='VMX_16')
+

Hardware version 16, first supported in Workstation 15.0. This class +attribute was added in vSphere API 7.0.0.

+
+ +
+
+VMX_17 = Version(string='VMX_17')
+

Hardware version 17, first supported in ESX 7.0. This class attribute was +added in vSphere API 7.0.0.

+
+ +
+ +
+
+get(vm)
+

Returns the virtual hardware settings of a virtual machine.

+
+
Parameters
+

vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

Hardware.Info

+
+
Returns
+

Virtual hardware settings of the virtual machine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+update(vm, spec)
+

Updates the virtual hardware settings of a virtual machine.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • spec (Hardware.UpdateSpec) – Specification for updating the virtual hardware settings of the +virtual machine.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the virtual machine is already configured for the desired +hardware version.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the requested virtual hardware version is not newer than the +current version.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the requested virtual hardware version is not supported by the +server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+upgrade(vm, version=None)
+

Upgrades the virtual machine to a newer virtual hardware version.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • version (Hardware.Version or None) – New virtual machine version. +If None, defaults to the most recent virtual hardware version +supported by the server.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is not powered off.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the virtual machine is already configured for the desired +hardware version.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if version is older than the current virtual hardware version.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if version is not supported by the server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm_client.Identity(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Identity class provides methods for managing the identity of a +virtual machine. This class was added in vSphere API 6.7.1.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(name=None, bios_uuid=None, instance_uuid=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Identity.Info class contains information about the identity of a +virtual machine. This class was added in vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Virtual machine name. This attribute was added in vSphere API +6.7.1.

  • +
  • bios_uuid (str) – 128-bit SMBIOS UUID of a virtual machine represented as a +hexadecimal string in “12345678-abcd-1234-cdef-123456789abc” +format. This attribute was added in vSphere API 6.7.1.

  • +
  • instance_uuid (str) – VirtualCenter-specific 128-bit UUID of a virtual machine, +represented as a hexademical string. This identifier is used by +VirtualCenter to uniquely identify all virtual machine instances, +including those that may share the same SMBIOS UUID. This attribute +was added in vSphere API 6.7.1.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm_client.LibraryItem(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The LibraryItem class provides methods to identify virtual machines +managed by Content Library. This class was added in vSphere API 6.9.1.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CheckOutInfo(library_item=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItem.CheckOutInfo class contains information about a virtual +machine checked out of a content library item. This class was added in +vSphere API 6.9.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

library_item (str) – Identifier of the library item that the virtual machine is checked +out from. This attribute was added in vSphere API 6.9.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.library.Item. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.content.library.Item.

+
+
+
+ +
+
+class Info(check_out=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItem.Info class contains information about the library item +associated with a virtual machine. This class was added in vSphere API +6.9.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

check_out (LibraryItem.CheckOutInfo or None) – Information about the checked out virtual machine. This attribute +was added in vSphere API 6.9.1. +If None, the virtual machine is not checked out from a library +item.

+
+
+
+ +
+
+get(vm)
+

Returns the information about the library item associated with the +virtual machine. This method was added in vSphere API 6.9.1.

+
+
Parameters
+

vm (str) – Identifier of the virtual machine. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

LibraryItem.Info

+
+
Returns
+

Information about the library item associated with the virtual +machine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user that requested the method cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user that requested the method is not authorized to perform +the method.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm_client.Power(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Power class provides methods for managing the power state of a +virtual machine.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(state=None, clean_power_off=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Power.Info class contains information about the power state of a +virtual machine.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • state (Power.State) – Power state of the virtual machine.

  • +
  • clean_power_off (bool) – Flag indicating whether the virtual machine was powered off +cleanly. This attribute may be used to detect that the virtual +machine crashed unexpectedly and should be restarted. +This attribute is optional and it is only relevant when the value +of state is Power.State.POWERED_OFF.

  • +
+
+
+
+ +
+
+class State(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Power.State class defines the valid power states for a virtual +machine.

+
+

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 the State instance.

+
+
+
+
+POWERED_OFF = State(string='POWERED_OFF')
+

The virtual machine is powered off.

+
+ +
+
+POWERED_ON = State(string='POWERED_ON')
+

The virtual machine is powered on.

+
+ +
+
+SUSPENDED = State(string='SUSPENDED')
+

The virtual machine is suspended.

+
+ +
+ +
+
+get(vm)
+

Returns the power state information of a virtual machine.

+
+
Parameters
+

vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

Power.Info

+
+
Returns
+

Power state information for the specified virtual machine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration or execution state cannot be +accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource VirtualMachine referenced by the parameter +vm requires System.Read.

  • +
+
+
+
+ +
+
+reset(vm)
+

Resets a powered-on virtual machine.

+
+
Parameters
+

vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is powered off or suspended.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is performing another operation

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource VirtualMachine referenced by the parameter +vm requires VirtualMachine.Interact.Reset.

  • +
+
+
+
+ +
+
+start(vm)
+

Powers on a powered-off or suspended virtual machine.

+
+
Parameters
+

vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the virtual machine is already powered on.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the virtual machine does not support being powered on (e.g. +marked as a template, serving as a fault-tolerance secondary +virtual machine).

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if resources cannot be allocated for the virtual machine (e.g. +physical resource allocation policy cannot be satisfied, +insufficient licenses are available to run the virtual machine).

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if resources required by the virtual machine are not accessible +(e.g. virtual machine configuration files or virtual disks are on +inaccessible storage, no hosts are available to run the virtual +machine).

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInUse +if resources required by the virtual machine are in use (e.g. +virtual machine configuration files or virtual disks are locked, +host containing the virtual machine is an HA failover host).

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource VirtualMachine referenced by the parameter +vm requires VirtualMachine.Interact.PowerOn.

  • +
+
+
+
+ +
+
+stop(vm)
+

Powers off a powered-on or suspended virtual machine.

+
+
Parameters
+

vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the virtual machine is already powered off.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource VirtualMachine referenced by the parameter +vm requires VirtualMachine.Interact.PowerOff.

  • +
+
+
+
+ +
+
+suspend(vm)
+

Suspends a powered-on virtual machine.

+
+
Parameters
+

vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the virtual machine is already suspended.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is powered off.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • The resource VirtualMachine referenced by the parameter +vm requires VirtualMachine.Interact.Suspend.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.vcenter.vm_client.Tools(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Tools class provides methods for managing VMware Tools in the guest +operating system. This class was added in vSphere API 7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(auto_update_supported=None, install_attempt_count=None, error=None, version_number=None, version=None, upgrade_policy=None, version_status=None, install_type=None, run_state=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Tools.Info class describes the VMWare Tools properties of a virtual +machine. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • auto_update_supported (bool) – Set if the virtual machine supports auto-upgrading Tools via +Tools.UpgradePolicy. This attribute was added in vSphere +API 7.0.0.

  • +
  • install_attempt_count (long or None) – Number of attempts that have been made to install or upgrade the +version of Tools installed on this virtual machine. This attribute +was added in vSphere API 7.0.0. +Only set if there was a recent Tools install or upgrade attempt.

  • +
  • error (Exception or None) – Error that happened, if any, during last attempt to upgrade or +install Tools. This attribute was added in vSphere API 7.0.0. +Only set if a the last Tools install or upgrade attempt failed.

  • +
  • version_number (long or None) – Version of VMware Tools installed on the guest operating system. +This attribute was added in vSphere API 7.0.0. +Only set if Tools is installed. This is an integer constructed as +follows: (((MJR) << 10) + ((MNR) << 5) + (REV)) Where MJR is tha +major verson, MNR is the minor version and REV is the revision. +Tools version = T Tools Version Major = MJR = (T / 1024) Tools +Version Minor = MNR = ((T % 1024) / 32) Tools Version Revision = +BASE = ((T % 1024) % 32) Tools actual version = MJR.MNR.REV

  • +
  • version (str or None) – Version of VMware Tools installed on the guest operating system. +This is a human-readable value that should not be parsed. This +attribute was added in vSphere API 7.0.0. +Only set if Tools is installed.

  • +
  • upgrade_policy (Tools.UpgradePolicy) – Tools upgrade policy setting for the virtual machine. +Tools.UpgradePolicy. This attribute was added in vSphere +API 7.0.0.

  • +
  • version_status (Tools.VersionStatus or None) – Current version status of VMware Tools in the guest operating +system, if known. This attribute was added in vSphere API 7.0.0. +Only set if Tools version status is known.

  • +
  • install_type (Tools.ToolsInstallType or None) – Current installation type of VMware Tools in the guest operating +system. This attribute was added in vSphere API 7.0.0. +Only set if Tools install type is known.

  • +
  • run_state (Tools.RunState) – Current run state of VMware Tools in the guest operating system. +This attribute was added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class RunState(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Current run state of VMware Tools in the guest operating system. This +enumeration was added in vSphere API 7.0.0.

+
+

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 the RunState instance.

+
+
+
+
+EXECUTING_SCRIPTS = RunState(string='EXECUTING_SCRIPTS')
+

VMware Tools is running scripts as part of a state transition. This class +attribute was added in vSphere API 7.0.0.

+
+ +
+
+NOT_RUNNING = RunState(string='NOT_RUNNING')
+

VMware Tools is not running. This class attribute was added in vSphere API +7.0.0.

+
+ +
+
+RUNNING = RunState(string='RUNNING')
+

VMware Tools is running. This class attribute was added in vSphere API +7.0.0.

+
+ +
+ +
+
+class ToolsInstallType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Tools.ToolsInstallType class defines the installation type of the +Tools in the guest operating system. This enumeration was added in vSphere +API 7.0.0.

+
+

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 the ToolsInstallType instance.

+
+
+
+
+MSI = ToolsInstallType(string='MSI')
+

MSI is the installation type used for VMware Tools on Windows. This class +attribute was added in vSphere API 7.0.0.

+
+ +
+
+OPEN_VM_TOOLS = ToolsInstallType(string='OPEN_VM_TOOLS')
+

open-vm-tools are the open-source version of VMware Tools, may have been +packaged by the OS vendor. This class attribute was added in vSphere API +7.0.0.

+
+ +
+
+OSP = ToolsInstallType(string='OSP')
+

OSPs are RPM or Debian packages tailored for the OS in the VM. See +http://packages.vmware.com. This class attribute was added in vSphere API +7.0.0.

+
+ +
+
+TAR = ToolsInstallType(string='TAR')
+

Tools have been installed by the tar installer. This class attribute was +added in vSphere API 7.0.0.

+
+ +
+
+UNKNOWN = ToolsInstallType(string='UNKNOWN')
+

Installation type is not known. Most likely tools have been installed by +OSPs or open-vm-tools, but a version that does not report its install type +or an install type that we do not recognize. This class attribute was added +in vSphere API 7.0.0.

+
+ +
+ +
+
+class UpdateSpec(upgrade_policy=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The (\@name UpdateSpec} class describes the VMware Tools properties of a +virtual machine that can be updated. This class was added in vSphere API +7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

upgrade_policy (Tools.UpgradePolicy or None) – Tools upgrade policy setting for the virtual machine. +Tools.UpgradePolicy. This attribute was added in vSphere +API 7.0.0. +If this field is omitted the value will not be changed.

+
+
+
+ +
+
+class UpgradePolicy(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Tools.UpgradePolicy class defines when Tools are auto-upgraded for +a virtual machine. This enumeration was added in vSphere API 7.0.0.

+
+

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 the UpgradePolicy instance.

+
+
+
+
+MANUAL = UpgradePolicy(string='MANUAL')
+

No auto-upgrades for Tools will be performed for this virtual machine. +Users must manually invoke the Tools.upgrade() method to update +Tools. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+UPGRADE_AT_POWER_CYCLE = UpgradePolicy(string='UPGRADE_AT_POWER_CYCLE')
+

When the virtual machine is power-cycled, the system checks for a newer +version of Tools when the virtual machine is powered on. If it is +available, a Tools upgrade is automatically performed on the virtual +machine and it is rebooted if necessary. This class attribute was added in +vSphere API 7.0.0.

+
+ +
+ +
+
+class VersionStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Tools.VersionStatus class defines the version status types of +VMware Tools installed in the guest operating system. This enumeration was +added in vSphere API 7.0.0.

+
+

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 the VersionStatus instance.

+
+
+
+
+BLACKLISTED = VersionStatus(string='BLACKLISTED')
+

VMware Tools is installed, but the installed version is known to have a +grave bug and should be immediately upgraded. This class attribute was +added in vSphere API 7.0.0.

+
+ +
+
+CURRENT = VersionStatus(string='CURRENT')
+

VMware Tools is installed, and the version is current. This class attribute +was added in vSphere API 7.0.0.

+
+ +
+
+NOT_INSTALLED = VersionStatus(string='NOT_INSTALLED')
+

VMware Tools has never been installed. This class attribute was added in +vSphere API 7.0.0.

+
+ +
+
+SUPPORTED_NEW = VersionStatus(string='SUPPORTED_NEW')
+

VMware Tools is installed, supported, and newer than the version available +on the host. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+SUPPORTED_OLD = VersionStatus(string='SUPPORTED_OLD')
+

VMware Tools is installed, supported, but a newer version is available. +This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+TOO_NEW = VersionStatus(string='TOO_NEW')
+

VMware Tools is installed, and the version is known to be too new to work +correctly with this virtual machine. This class attribute was added in +vSphere API 7.0.0.

+
+ +
+
+TOO_OLD_UNSUPPORTED = VersionStatus(string='TOO_OLD_UNSUPPORTED')
+

VMware Tools is installed, but the version is too old. This class attribute +was added in vSphere API 7.0.0.

+
+ +
+
+UNMANAGED = VersionStatus(string='UNMANAGED')
+

VMware Tools is installed, but it is not managed by VMware. This includes +open-vm-tools or OSPs which should be managed by the guest operating +system. This class attribute was added in vSphere API 7.0.0.

+
+ +
+ +
+
+get(vm)
+

Get the properties of VMware Tools. This method was added in vSphere +API 7.0.0.

+
+
Parameters
+

vm (str) – Identifier of the virtual machine. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

Tools.Info

+
+
Returns
+

VMware Tools properties.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
+
+ +
+
+update(vm, spec)
+

Update the properties of VMware Tools. This method was added in vSphere +API 7.0.0.

+
+
Parameters
+
    +
  • vm (str) – Identifier of the virtual machine. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • spec (Tools.UpdateSpec) – The new values.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the Tools.UpdateSpec.upgrade_policy attribute contains a +value that is not supported by the server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
+
+ +
+
+upgrade(vm, command_line_options=None)
+

Begins the Tools upgrade process. To monitor the status of the Tools +upgrade, clients should check the Tools status by calling +Tools.get() and examining versionStatus and runState. +This method was added in vSphere API 7.0.0.

+
+
Parameters
+
    +
  • vm (str) – Identifier of the virtual machine. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • command_line_options (str or None) – Command line options passed to the installer to modify the +installation procedure for Tools. +Set if any additional options are desired.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the VMware Tools are not running.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is not powered on.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +is an upgrade is already in progress.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the upgrade process fails inside the guest operating system.

+
+
+
+ +
+ +
+
+

com.vmware.vcenter.vm_template_client module

+

The com.vmware.vcenter.vm_template_client module provides classes and +classes that will let its client manage VMTX template in Content Library.

+
+
+class com.vmware.vcenter.vm_template_client.LibraryItems(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The LibraryItems class provides methods to deploy virtual machines from +library items containing virtual machine templates, as well as methods to +create library items containing virtual machine templates. The +LibraryItems class also provides an operation to retrieve information +about the template contained in the library item. This class was added in +vSphere API 6.8.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CpuInfo(count=None, cores_per_socket=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.CpuInfo class contains CPU related information about +the virtual machine template. This class was added in vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • count (long) – Number of CPU cores. This attribute was added in vSphere API 6.8.

  • +
  • cores_per_socket (long) – Number of CPU cores per socket. This attribute was added in vSphere +API 6.8.

  • +
+
+
+
+ +
+
+class CpuUpdateSpec(num_cpus=None, num_cores_per_socket=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.CpuUpdateSpec class describes updates to the CPU +configuration of the deployed virtual machine. This class was added in +vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • num_cpus (long or None) – Number of virtual processors in the deployed virtual machine. This +attribute was added in vSphere API 6.8. +If {\@term.unset}, the deployed virtual machine has the same CPU +count as the source virtual machine template contained in the +library item.

  • +
  • num_cores_per_socket (long or None) – Number of cores among which to distribute CPUs in the deployed +virtual machine. This attribute was added in vSphere API 6.8. +If {\@term.unset}, the deployed virtual machine has the same +number of cores per socket as the source virtual machine template +contained in the library item.

  • +
+
+
+
+ +
+
+class CreatePlacementSpec(folder=None, resource_pool=None, host=None, cluster=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.CreatePlacementSpec class contains information used to +place a virtual machine template onto resources within the vCenter +inventory. This class was added in vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • folder (str or None) – Virtual machine folder into which the virtual machine template +should be placed. This attribute was added in vSphere API 6.8. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: Folder. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: Folder. +If None, the virtual machine template will be placed in the same +folder as the source virtual machine.

  • +
  • resource_pool (str or None) – Resource pool into which the virtual machine template should be +placed. This attribute was added in vSphere API 6.8. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ResourcePool. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: ResourcePool. +If None, the system will attempt to choose a suitable resource pool +for the virtual machine template; if a resource pool cannot be +chosen, the library item creation operation will fail.

  • +
  • host (str or None) – Host onto which the virtual machine template should be placed. If +host and resourcePool are both specified, resourcePool +must belong to host. If host and cluster are both +specified, host must be a member of cluster. This attribute +was added in vSphere API 6.8. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: HostSystem. +This attribute may be None if resourcePool or cluster is +specified. If None, the system will attempt to choose a suitable +host for the virtual machine template; if a host cannot be chosen, +the library item creation operation will fail.

  • +
  • cluster (str or None) – Cluster onto which the virtual machine template should be placed. +If cluster and resourcePool are both specified, +resourcePool must belong to cluster. If cluster and +host are both specified, host must be a member of +cluster. This attribute was added in vSphere API 6.8. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: ClusterComputeResource. +If resourcePool or host is specified, it is recommended +that this attribute be None.

  • +
+
+
+
+ +
+
+class CreateSpec(source_vm=None, name=None, description=None, library=None, vm_home_storage=None, disk_storage=None, disk_storage_overrides=None, placement=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.CreateSpec class defines the information required to +create a library item containing a virtual machine template. This class was +added in vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • source_vm (str) – Identifier of the source virtual machine to create the library item +from. This attribute was added in vSphere API 6.8. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +VirtualMachine. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: VirtualMachine.

  • +
  • name (str) – Name of the library item. This attribute was added in vSphere API +6.8.

  • +
  • description (str or None) – Description of the library item. This attribute was added in +vSphere API 6.8. +If None, the newly created library item has the same description as +the source virtual machine.

  • +
  • library (str) – Identifier of the library in which the new library item should be +created. This attribute was added in vSphere API 6.8. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.Library. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: com.vmware.content.Library.

  • +
  • vm_home_storage (LibraryItems.CreateSpecVmHomeStorage or None) – Storage location for the virtual machine template’s configuration +and log files. This attribute was added in vSphere API 6.8. +If None, the virtual machine template’s configuration and log files +are placed on the default storage backing associated with the +library specified by library.

  • +
  • disk_storage (LibraryItems.CreateSpecDiskStorage or None) –

    Storage specification for the virtual machine template’s disks. +This attribute was added in vSphere API 6.8. +If both diskStorageOverrides and diskStorage are None, the +virtual machine template’s disks are placed in the default storage +backing associated with the library specified by library.

    +

    If diskStorageOverrides is None and diskStorage is +specified, all of the virtual machine template’s disks are created +with the storage spec specified by diskStorage.

    +

    If diskStorageOverrides is specified and diskStorage is +None, disks with identifiers that are not in +diskStorageOverrides are placed in the default storage backing +associated with the library specified by library.

    +

    If both diskStorageOverrides and diskStorage are specified, +disks with identifiers that are not in diskStorageOverrides are +created with the storage spec specified by diskStorage.

    +

  • +
  • disk_storage_overrides ((dict of str and LibraryItems.CreateSpecDiskStorage) or None) –

    Storage specification for individual disks in the virtual machine +template. This is specified as a mapping between disk identifiers +in the source virtual machine and their respective storage +specifications. This attribute was added in vSphere API 6.8. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.Disk. When methods return +a value of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Disk. +If both diskStorageOverrides and diskStorage are None, the +virtual machine template’s disks are placed in the default storage +backing associated with the library specified by library.

    +

    If diskStorageOverrides is None and diskStorage is +specified, all of the virtual machine template’s disks are created +with the storage spec specified by diskStorage.

    +

    If diskStorageOverrides is specified and diskStorage is +None, disks with identifiers that are not in +diskStorageOverrides are placed in the default storage backing +associated with the library specified by library.

    +

    If both diskStorageOverrides and diskStorage are specified, +disks with identifiers that are not in diskStorageOverrides are +created with the storage spec specified by diskStorage.

    +

  • +
  • placement (LibraryItems.CreatePlacementSpec or None) –

    Information used to place the virtual machine template. This +attribute was added in vSphere API 6.8. +This attribute is currently required. In the future, if this +attribute is None, the system will place the virtual machine +template on a suitable resource.

    +

    If specified, each attribute will be used for placement. If the +attributes result in disjoint placement, the operation will fail. +If the attributes along with the placement values of the source +virtual machine result in disjoint placement, the operation will +fail.

    +

  • +
+
+
+
+ +
+
+class CreateSpecDiskStorage(datastore=None, storage_policy=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.CreateSpecDiskStorage class defines the storage +specification for a virtual machine template’s disks. This class was added +in vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • datastore (str or None) –

    Identifier for the datastore associated with a virtual machine +template’s disk. This attribute was added in vSphere API 6.8. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Datastore. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Datastore. +This attribute is currently required.

    +

    If storagePolicy is also specified and is incompatible with the +datastore, then the disk will be flagged as being out of +compliance with the specified storage policy.

    +

  • +
  • storage_policy (LibraryItems.CreateSpecDiskStoragePolicy or None) – Storage policy for a virtual machine template’s disk. This +attribute was added in vSphere API 6.8. +If None, datastore must be specified and the virtual machine +template’s disk is created with the default storage policy +associated with the datastore.

  • +
+
+
+
+ +
+
+class CreateSpecDiskStoragePolicy(type=None, policy=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.CreateSpecDiskStoragePolicy class defines the storage +policy specification for a virtual machine template’s disks. This class was +added in vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (LibraryItems.CreateSpecDiskStoragePolicy.Type) – Policy type to be used when creating a virtual machine template’s +disk. This attribute was added in vSphere API 6.8.

  • +
  • policy (str) – Identifier for the storage policy to use. This attribute was added +in vSphere API 6.8. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.spbm.StorageProfile. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.spbm.StorageProfile. +This attribute is optional and it is only relevant when the value +of type is +LibraryItems.CreateSpecDiskStoragePolicy.Type.USE_SPECIFIED_POLICY.

  • +
+
+
+
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Policy type for a virtual machine template’s disk. This enumeration was +added in vSphere API 6.8.

+
+

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 the Type instance.

+
+
+
+
+USE_SPECIFIED_POLICY = Type(string='USE_SPECIFIED_POLICY')
+

Use the specified policy. This class attribute was added in vSphere API +6.8.

+
+ +
+ +
+ +
+
+class CreateSpecVmHomeStorage(datastore=None, storage_policy=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.CreateSpecVmHomeStorage class defines the storage +specification for a virtual machine template’s configuration and log files. +This class was added in vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • datastore (str or None) –

    Identifier of the datastore for the virtual machine template’s +configuration and log files. This attribute was added in vSphere +API 6.8. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Datastore. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Datastore. +This attribute is currently required.

    +

    When storagePolicy is also specified and is incompatible with +the datastore, then the virtual machine template will be +flagged as being out of compliance with the specified storage +policy.

    +

  • +
  • storage_policy (LibraryItems.CreateSpecVmHomeStoragePolicy or None) – Storage policy for the virtual machine template’s configuration and +log files. This attribute was added in vSphere API 6.8. +If None, datastore must be specified and the virtual machine +template’s configuration and log files are created with the default +storage policy associated with the datastore.

  • +
+
+
+
+ +
+
+class CreateSpecVmHomeStoragePolicy(type=None, policy=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.CreateSpecVmHomeStoragePolicy class defines the +storage policy specification for a virtual machine template’s configuration +and log files. This class was added in vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (LibraryItems.CreateSpecVmHomeStoragePolicy.Type) – Policy type to be used when creating the virtual machine template’s +configuration and log files. This attribute was added in vSphere +API 6.8.

  • +
  • policy (str) – Identifier for the storage policy to use. This attribute was added +in vSphere API 6.8. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.spbm.StorageProfile. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.spbm.StorageProfile. +This attribute is optional and it is only relevant when the value +of type is +LibraryItems.CreateSpecVmHomeStoragePolicy.Type.USE_SPECIFIED_POLICY.

  • +
+
+
+
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Policy type for the virtual machine template’s configuration and log files. +This enumeration was added in vSphere API 6.8.

+
+

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 the Type instance.

+
+
+
+
+USE_SPECIFIED_POLICY = Type(string='USE_SPECIFIED_POLICY')
+

Use the specified policy. This class attribute was added in vSphere API +6.8.

+
+ +
+ +
+ +
+
+class DeployPlacementSpec(folder=None, resource_pool=None, host=None, cluster=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.DeployPlacementSpec class contains information used to +place a virtual machine onto resources within the vCenter inventory. This +class was added in vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • folder (str or None) –

    Virtual machine folder into which the deployed virtual machine +should be placed. This attribute was added in vSphere API 6.8. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: Folder. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: Folder. +This attribute is currently required.

    +

    If None, the system will attempt to choose a suitable folder for +the virtual machine; if a folder cannot be chosen, the virtual +machine deployment operation will fail.

    +

  • +
  • resource_pool (str or None) – Resource pool into which the deployed virtual machine should be +placed. This attribute was added in vSphere API 6.8. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ResourcePool. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: ResourcePool. +If None, the system will attempt to choose a suitable resource pool +for the virtual machine; if a resource pool cannot be chosen, the +virtual machine deployment operation will fail.

  • +
  • host (str or None) – Host onto which the virtual machine should be placed. If host +and resourcePool are both specified, resourcePool must +belong to host. If host and cluster are both specified, +host must be a member of cluster. This attribute was added +in vSphere API 6.8. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: HostSystem. +This attribute may be None if resourcePool or cluster is +specified. If None, the system will attempt to choose a suitable +host for the virtual machine; if a host cannot be chosen, the +virtual machine deployment operation will fail.

  • +
  • cluster (str or None) – Cluster onto which the deployed virtual machine should be placed. +If cluster and resourcePool are both specified, +resourcePool must belong to cluster. If cluster and +host are both specified, host must be a member of +cluster. This attribute was added in vSphere API 6.8. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: ClusterComputeResource. +If resourcePool or host is specified, it is recommended +that this attribute be None.

  • +
+
+
+
+ +
+
+class DeploySpec(name=None, description=None, vm_home_storage=None, disk_storage=None, disk_storage_overrides=None, placement=None, powered_on=None, guest_customization=None, hardware_customization=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.DeploySpec class defines the deployment parameters +that can be specified for the deploy method. This class was added in +vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – Name of the deployed virtual machine. This attribute was added in +vSphere API 6.8.

  • +
  • description (str or None) – Description of the deployed virtual machine. This attribute was +added in vSphere API 6.8. +If None, the deployed virtual machine has the same description as +the source library item.

  • +
  • vm_home_storage (LibraryItems.DeploySpecVmHomeStorage or None) – Storage location for the deployed virtual machine’s configuration +and log files. This attribute was added in vSphere API 6.8. +If None, the deployed virtual machine’s configuration and log files +are created with the same storage spec as the source virtual +machine template’s configuration and log files.

  • +
  • disk_storage (LibraryItems.DeploySpecDiskStorage or None) –

    Storage specification for the deployed virtual machine’s disks. +This attribute was added in vSphere API 6.8. +If both diskStorageOverrides and diskStorage are None, the +deployed virtual machine’s disks are created with the same storage +spec as the corresponding disks in the source virtual machine +template contained in the library item.

    +

    If diskStorageOverrides is None and diskStorage is +specified, all of the deployed virtual machine’s disks are created +with the storage spec specified by diskStorage.

    +

    If diskStorageOverrides is specified and diskStorage is +None, disks with identifiers that are not in +diskStorageOverrides are created with the same storage spec as +the corresponding disks in the source virtual machine template +contained in the library item.

    +

    If both diskStorageOverrides and diskStorage are specified, +disks with identifiers that are not in diskStorageOverrides are +created with the storage spec specified by diskStorage.

    +

  • +
  • disk_storage_overrides ((dict of str and LibraryItems.DeploySpecDiskStorage) or None) –

    Storage specification for individual disks in the deployed virtual +machine. This is specified as a mapping between disk identifiers in +the source virtual machine template contained in the library item +and their storage specifications. This attribute was added in +vSphere API 6.8. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.Disk. When methods return +a value of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Disk. +If both diskStorageOverrides and diskStorage are None, the +deployed virtual machine’s disks are created with the same storage +spec as the corresponding disks in the source virtual machine +template contained in the library item.

    +

    If diskStorageOverrides is None and diskStorage is +specified, all of the deployed virtual machine’s disks are created +with the storage spec specified by diskStorage.

    +

    If diskStorageOverrides is specified and diskStorage is +None, disks with identifiers that are not in +diskStorageOverrides are created with the same storage spec as +the corresponding disks in the source virtual machine template +contained in the library item.

    +

    If both diskStorageOverrides and diskStorage are specified, +disks with identifiers that are not in diskStorageOverrides are +created with the storage spec specified by diskStorage.

    +

  • +
  • placement (LibraryItems.DeployPlacementSpec or None) –

    Information used to place the deployed virtual machine. This +attribute was added in vSphere API 6.8. +This attribute is currently required. In the future, if this +attribute is None, the system will use the values from the source +virtual machine template contained in the library item.

    +

    If specified, each attribute will be used for placement. If the +attributes result in disjoint placement, the operation will fail. +If the attributes along with the placement values of the source +virtual machine template result in disjoint placement, the +operation will fail.

    +

  • +
  • powered_on (bool or None) – Specifies whether the deployed virtual machine should be powered on +after deployment. This attribute was added in vSphere API 6.8. +If None, the virtual machine will not be powered on after +deployment.

  • +
  • guest_customization (LibraryItems.GuestCustomizationSpec or None) – Guest customization spec to apply to the deployed virtual machine. +This attribute was added in vSphere API 6.8. +If None, the guest operating system is not customized after +deployment.

  • +
  • hardware_customization (LibraryItems.HardwareCustomizationSpec or None) – Hardware customization spec which specifies updates to the deployed +virtual machine. This attribute was added in vSphere API 6.8. +If None, the deployed virtual machine has the same hardware +configuration as the source virtual machine template contained in +the library item.

  • +
+
+
+
+ +
+
+class DeploySpecDiskStorage(datastore=None, storage_policy=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.DeploySpecDiskStorage class contains the storage +specification for disks in the virtual machine. This class was added in +vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • datastore (str or None) –

    Identifier for the datastore associated the deployed virtual +machine’s disk. This attribute was added in vSphere API 6.8. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Datastore. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Datastore. +This attribute is currently required.

    +

    If storagePolicy is also specified and is incompatible with the +datastore, then the disk will be flagged as being out of +compliance with the specified storage policy.

    +

  • +
  • storage_policy (LibraryItems.DeploySpecDiskStoragePolicy or None) – Storage policy for the deployed virtual machine’s disk. This +attribute was added in vSphere API 6.8. +If None, datastore must be specified and the deployed virtual +machine’s disk is created with the default storage policy +associated with the datastore.

  • +
+
+
+
+ +
+
+class DeploySpecDiskStoragePolicy(type=None, policy=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.DeploySpecDiskStoragePolicy class describes the +storage policy specification for the deployed virtual machine’s disks. This +class was added in vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (LibraryItems.DeploySpecDiskStoragePolicy.Type) – Policy type to be used when creating the deployed virtual machine’s +disk. This attribute was added in vSphere API 6.8.

  • +
  • policy (str) – Identifier of the storage policy to use. This attribute was added +in vSphere API 6.8. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.spbm.StorageProfile. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.spbm.StorageProfile. +This attribute is optional and it is only relevant when the value +of type is +LibraryItems.DeploySpecDiskStoragePolicy.Type.USE_SPECIFIED_POLICY.

  • +
+
+
+
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Policy type for the deployed virtual machine’s disk. This enumeration was +added in vSphere API 6.8.

+
+

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 the Type instance.

+
+
+
+
+USE_SOURCE_POLICY = Type(string='USE_SOURCE_POLICY')
+

Use the storage policy that is associated with the corresponding disk in +the source virtual machine template. This class attribute was added in +vSphere API 6.8.

+
+ +
+
+USE_SPECIFIED_POLICY = Type(string='USE_SPECIFIED_POLICY')
+

Use the specified policy. This class attribute was added in vSphere API +6.8.

+
+ +
+ +
+ +
+
+class DeploySpecVmHomeStorage(datastore=None, storage_policy=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.DeploySpecVmHomeStorage class defines the storage +specification for a deployed virtual machine’s configuration and log files. +This class was added in vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • datastore (str or None) –

    Identifier of the datastore for the deployed virtual machine’s +configuration and log files. This attribute was added in vSphere +API 6.8. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Datastore. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Datastore. +This attribute is currently required.

    +

    When storagePolicy is also specified and is incompatible with +the datastore, then the deployed virtual machine will be +flagged as being out of compliance with the specified storage +policy.

    +

  • +
  • storage_policy (LibraryItems.DeploySpecVmHomeStoragePolicy or None) – Storage policy for the deployed virtual machine’s configuration and +log files. This attribute was added in vSphere API 6.8. +If None, datastore must be specified and the deployed virtual +machine’s configuration and log files are created with the default +storage policy associated with the datastore.

  • +
+
+
+
+ +
+
+class DeploySpecVmHomeStoragePolicy(type=None, policy=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.DeploySpecVmHomeStoragePolicy class defines the +storage policy specification for the deployed virtual machine’s +configuration and log files. This class was added in vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (LibraryItems.DeploySpecVmHomeStoragePolicy.Type) – Policy type to be used when creating the deployed virtual machine’s +configuration and log files. This attribute was added in vSphere +API 6.8.

  • +
  • policy (str) – Identifier for the storage policy to use. This attribute was added +in vSphere API 6.8. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.spbm.StorageProfile. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.spbm.StorageProfile. +This attribute is optional and it is only relevant when the value +of type is +LibraryItems.DeploySpecVmHomeStoragePolicy.Type.USE_SPECIFIED_POLICY.

  • +
+
+
+
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Policy type for the deployed virtual machine’s configuration and log files. +This enumeration was added in vSphere API 6.8.

+
+

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 the Type instance.

+
+
+
+
+USE_SOURCE_POLICY = Type(string='USE_SOURCE_POLICY')
+

Use the storage policy that is associated with the source virtual machine +template’s configuration and log files. This class attribute was added in +vSphere API 6.8.

+
+ +
+
+USE_SPECIFIED_POLICY = Type(string='USE_SPECIFIED_POLICY')
+

Use the specified policy. This class attribute was added in vSphere API +6.8.

+
+ +
+ +
+ +
+
+class DiskInfo(capacity=None, disk_storage=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.DiskInfo class contains information about the virtual +machine template’s virtual disk. This class was added in vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • capacity (long or None) – Capacity of the virtual disk in bytes. This attribute was added in +vSphere API 6.8. +This attribute will be None if the virtual disk is inaccessible.

  • +
  • disk_storage (LibraryItems.DiskStorageInfo) – Disk storage related information. This attribute was added in +vSphere API 6.8.

  • +
+
+
+
+ +
+
+class DiskStorageInfo(datastore=None, storage_policy=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.DiskStorageInfo class contains storage related +information about a virtual machine template’s virtual disk. This class was +added in vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • datastore (str) – Identifier of the datastore where the disk is stored. This +attribute was added in vSphere API 6.8. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Datastore. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Datastore.

  • +
  • storage_policy (str or None) – Identifier of the storage policy associated with the virtual disk. +This attribute was added in vSphere API 6.8. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.spbm.StorageProfile. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.spbm.StorageProfile. +If None, the virtual disk does not have a storage policy associated +with it.

  • +
+
+
+
+ +
+
+class DiskUpdateSpec(capacity=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.DiskUpdateSpec class describes updates to the +configuration of a virtual disk in the deployed virtual machine. This class +was added in vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

capacity (long) – Updated capacity of the virtual disk backing in bytes. This value +has to be larger than the original capacity of the disk. This +attribute was added in vSphere API 6.8.

+
+
+
+ +
+
+class EthernetInfo(backing_type=None, mac_type=None, network=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.EthernetInfo class contains information about a +virtual machine template’s virtual Ethernet adapter. This class was added +in vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • backing_type (LibraryItems.EthernetInfo.NetworkBackingType) – Network backing type for the virtual Ethernet adapter. This +attribute was added in vSphere API 6.8.

  • +
  • mac_type (LibraryItems.EthernetInfo.MacAddressType) – MAC address type of the ethernet adapter. This attribute was added +in vSphere API 6.8.

  • +
  • network (str or None) – Identifier of the network backing the virtual Ethernet adapter. +This attribute was added in vSphere API 6.8. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: Network. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: Network. +This attribute will be None if the identifier of the network +backing could not be determined.

  • +
+
+
+
+
+class MacAddressType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The LibraryItems.EthernetInfo.MacAddressType class defines the valid +MAC address origins for a virtual Ethernet adapter. This enumeration was +added in vSphere API 6.8.

+
+

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 the MacAddressType instance.

+
+
+
+
+ASSIGNED = MacAddressType(string='ASSIGNED')
+

MAC address is assigned by vCenter Server. This class attribute was added +in vSphere API 6.8.

+
+ +
+
+GENERATED = MacAddressType(string='GENERATED')
+

MAC address is generated automatically. This class attribute was added in +vSphere API 6.8.

+
+ +
+
+MANUAL = MacAddressType(string='MANUAL')
+

MAC address is assigned statically. This class attribute was added in +vSphere API 6.8.

+
+ +
+ +
+
+class NetworkBackingType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The LibraryItems.EthernetInfo.NetworkBackingType class defines valid +network backing types for a virtual Ethernet adapter. This enumeration was +added in vSphere API 6.8.

+
+

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 the NetworkBackingType instance.

+
+
+
+
+DISTRIBUTED_PORTGROUP = NetworkBackingType(string='DISTRIBUTED_PORTGROUP')
+

Distributed virtual switch backing. This class attribute was added in +vSphere API 6.8.

+
+ +
+
+HOST_DEVICE = NetworkBackingType(string='HOST_DEVICE')
+

Legacy host device network backing. Imported VMs may have virtual Ethernet +adapters with this type of backing, but this type of backing cannot be used +to create or to update a virtual Ethernet adapter. This class attribute was +added in vSphere API 6.8.

+
+ +
+
+OPAQUE_NETWORK = NetworkBackingType(string='OPAQUE_NETWORK')
+

Opaque network backing. This class attribute was added in vSphere API 6.8.

+
+ +
+
+STANDARD_PORTGROUP = NetworkBackingType(string='STANDARD_PORTGROUP')
+

vSphere standard portgroup network backing. This class attribute was added +in vSphere API 6.8.

+
+ +
+ +
+ +
+
+class EthernetUpdateSpec(network=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.EthernetUpdateSpec class describes the network that +the ethernet adapter of the deployed virtual machine should be connected +to. This class was added in vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

network (str or None) –

Identifier of the network backing the virtual Ethernet adapter. +This attribute was added in vSphere API 6.8. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: Network. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: Network. +This attribute is currently required.

+

If None, the virtual Ethernet adapter will be connected to same +network as it was in the source virtual machine template.

+

+
+
+
+ +
+
+class GuestCustomizationSpec(name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.GuestCustomizationSpec class contains information +required to customize the deployed virtual machine. This class was added in +vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

name (str or None) – Name of the customization specification. This attribute was added +in vSphere API 6.8. +If None, no guest customization is performed.

+
+
+
+ +
+
+class HardwareCustomizationSpec(nics=None, disks_to_remove=None, disks_to_update=None, cpu_update=None, memory_update=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.HardwareCustomizationSpec class defines the hardware +customization options that are applied to the deployed virtual machine. +This class was added in vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • nics ((dict of str and LibraryItems.EthernetUpdateSpec) or None) – Map of Ethernet network adapters to update. This attribute was +added in vSphere API 6.8. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.Ethernet. When methods +return a value of this class as a return value, the key in the +attribute dict will be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.Ethernet. +If None, all Ethernet adapters will remain connected to the same +network as they were in the source virtual machine template. An +Ethernet adapter with a MacAddressType of MANUAL will not change. +An Ethernet adapter with a MacAddressType of GENERATED or ASSIGNED +will receive a new address.

  • +
  • disks_to_remove (set of str or None) – Idenfiers of disks to remove from the deployed virtual machine. +This attribute was added in vSphere API 6.8. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.vcenter.vm.hardware.Disk. When methods return a +value of this class as a return value, the attribute will contain +identifiers for the resource type: +com.vmware.vcenter.vm.hardware.Disk. +If None, all disks will be copied.

  • +
  • disks_to_update ((dict of str and LibraryItems.DiskUpdateSpec) or None) – Disk update specification for individual disks in the deployed +virtual machine. This attribute was added in vSphere API 6.8. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.Disk. When methods return +a value of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Disk. +If None, disks in the deployed virtual machine will have the same +settings as the corresponding disks in the source virtual machine +template contained in the library item.

  • +
  • cpu_update (LibraryItems.CpuUpdateSpec or None) – CPU update specification for the deployed virtual machine. This +attribute was added in vSphere API 6.8. +If {\@term.unset}, the deployed virtual machine has the same CPU +settings as the source virtual machine template contained in the +library item.

  • +
  • memory_update (LibraryItems.MemoryUpdateSpec or None) – Memory update specification for the deployed virtual machine. This +attribute was added in vSphere API 6.8. +If {\@term.unset}, the deployed virtual machine has the same +memory settings as the source virtual machine template contained in +the library item.

  • +
+
+
+
+ +
+
+class Info(guest_os=None, cpu=None, memory=None, vm_home_storage=None, disks=None, nics=None, vm_template=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.Info class contains information about a virtual +machine template item in content library. This class was added in vSphere +API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • guest_os (com.vmware.vcenter.vm_client.GuestOS) – Configured guest operating system of the virtual machine template. +This attribute was added in vSphere API 6.8.

  • +
  • cpu (LibraryItems.CpuInfo) – CPU configuration of the virtual machine template. This attribute +was added in vSphere API 6.8.

  • +
  • memory (LibraryItems.MemoryInfo) – Memory configuration of the virtual machine template. This +attribute was added in vSphere API 6.8.

  • +
  • vm_home_storage (LibraryItems.VmHomeStorageInfo) – Storage information about the virtual machine template’s +configuration and log files. This attribute was added in vSphere +API 6.8.

  • +
  • disks (dict of str and LibraryItems.DiskInfo) – Storage information about the virtual machine template’s virtual +disks. This attribute was added in vSphere API 6.8. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.Disk. When methods return +a value of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Disk.

  • +
  • nics (dict of str and LibraryItems.EthernetInfo) – Information about the virtual machine template’s virtual ethernet +adapters. This attribute was added in vSphere API 6.8. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.Ethernet. When methods +return a value of this class as a return value, the key in the +attribute dict will be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.Ethernet.

  • +
  • vm_template (str) – Identifier of the latest virtual machine template contained in the +library item. This attribute is the managed object identifier used +to identify the virtual machine template in the vSphere Management +(SOAP) API. This attribute was added in vSphere API 6.8.

  • +
+
+
+
+ +
+
+class MemoryInfo(size_mib=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.MemoryInfo class contains memory related information +about the virtual machine template. This class was added in vSphere API +6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

size_mib (long) – Memory size in mebibytes. This attribute was added in vSphere API +6.8.

+
+
+
+ +
+
+class MemoryUpdateSpec(memory=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.MemoryUpdateSpec class describes updates to the memory +configuration of the deployed virtual machine. This class was added in +vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

memory (long or None) – Size of a virtual machine’s memory in MB. This attribute was added +in vSphere API 6.8. +If {\@term.unset}, the deployed virtual machine has the same +memory size as the source virtual machine template.

+
+
+
+ +
+
+class VmHomeStorageInfo(datastore=None, storage_policy=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LibraryItems.VmHomeStorageInfo class contains storage information +about the virtual machine template’s configuration and log files. This +class was added in vSphere API 6.8.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • datastore (str) – Identifier of the datastore where the virtual machine template’s +configuration and log files are stored. This attribute was added in +vSphere API 6.8. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +Datastore. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: Datastore.

  • +
  • storage_policy (str or None) – Identifier of the storage policy associated with the virtual +machine template’s configuration and log files. This attribute was +added in vSphere API 6.8. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.spbm.StorageProfile. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.spbm.StorageProfile. +If None, the virtual machine template’s configuration and log files +do not have a storage policy associated with them.

  • +
+
+
+
+ +
+
+create(spec)
+

Creates a library item in content library from a virtual machine. This +method creates a library item in content library whose content is a +virtual machine template created from the source virtual machine, using +the supplied create specification. The virtual machine template is +stored in a newly created library item. This method was added in +vSphere API 6.8.

+
+
Parameters
+

spec (LibraryItems.CreateSpec) – information used to create the library item from the source virtual +machine.

+
+
Return type
+

str

+
+
Returns
+

Identifier of the newly created library item. +The return value will be an identifier for the resource type: +com.vmware.content.library.Item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if an entity with the name specified by +LibraryItems.CreateSpec.name already exists in the folder +specified by LibraryItems.CreatePlacementSpec.folder.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if LibraryItems.CreateSpec contains invalid arguments.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the operation cannot be performed because of the source virtual +machine’s current state.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the source virtual machine specified by +LibraryItems.CreateSpec.source_vm does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library specified by LibraryItems.CreateSpec.library +does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if there was an error accessing a file from the source virtual +machine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInUse +if the source virtual machine is busy.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if any of the services involved in the method are unavailable.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if any of the resources needed to create the virtual machine +template could not be allocated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user that requested the method cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user that requested the method is not authorized to perform +the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
  • The resource com.vmware.content.Library referenced by the +attribute LibraryItems.CreateSpec.library requires +ContentLibrary.AddLibraryItem.

  • +
  • The resource VirtualMachine referenced by the attribute +LibraryItems.CreateSpec.source_vm requires System.Read.

  • +
  • The resource Datastore referenced by the attribute +LibraryItems.CreateSpecVmHomeStorage.datastore requires +System.Read.

  • +
  • The resource com.vmware.spbm.StorageProfile referenced by the +attribute LibraryItems.CreateSpecVmHomeStoragePolicy.policy +requires System.Read.

  • +
  • The resource Datastore referenced by the attribute +LibraryItems.CreateSpecDiskStorage.datastore requires +System.Read.

  • +
  • The resource com.vmware.spbm.StorageProfile referenced by the +attribute LibraryItems.CreateSpecDiskStoragePolicy.policy +requires System.Read.

  • +
  • The resource com.vmware.vcenter.vm.hardware.Disk referenced +by the dict key of attribute +LibraryItems.CreateSpec.disk_storage_overrides requires +System.Read.

  • +
  • The resource Folder referenced by the attribute +LibraryItems.CreatePlacementSpec.folder requires +System.Read.

  • +
  • The resource ResourcePool referenced by the attribute +LibraryItems.CreatePlacementSpec.resource_pool requires +System.Read.

  • +
  • The resource HostSystem referenced by the attribute +LibraryItems.CreatePlacementSpec.host requires +System.Read.

  • +
  • The resource ClusterComputeResource referenced by the +attribute LibraryItems.CreatePlacementSpec.cluster requires +System.Read.

  • +
+
+
+
+ +
+
+deploy(template_library_item, spec)
+

Deploys a virtual machine as a copy of the source virtual machine +template contained in the library item specified by +template_library_item. It uses the deployment specification in +spec. If LibraryItems.DeploySpec.powered_on and/or +LibraryItems.DeploySpec.guest_customization are specified, the +server triggers the power on and/or guest customization operations, +which are executed asynchronously. This method was added in vSphere API +6.8.

+
+
Parameters
+
    +
  • template_library_item (str) – identifier of the content library item containing the source +virtual machine template to be deployed. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

  • +
  • spec (LibraryItems.DeploySpec) – specification of how the virtual machine should be deployed.

  • +
+
+
Return type
+

str

+
+
Returns
+

Identifier of the deployed virtual machine. +The return value will be an identifier for the resource type: +VirtualMachine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if a virtual machine with the name specified by +LibraryItems.DeploySpec.name already exists.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if spec contains invalid arguments.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if either a specified host or a specified datastore is in an +invalid state for the deployment, such as maintenance mode.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library item specified by template_library_item cannot +be found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if any resource specified by a attribute of the +LibraryItems.DeploySpec class, specified by spec +cannot be found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if there was an error accessing the source virtual machine template +contained in the library item specified by +template_library_item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if there an error accessing any of the resources specified in the +spec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if any of the services involved in the method are unavailable.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if there was an error in allocating any of the resources required +by the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user that requested the method cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user that requested the method is not authorized to perform +the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
  • The resource com.vmware.content.library.Item referenced by +the parameter template_library_item requires +VirtualMachine.Provisioning.DeployTemplate.

  • +
  • The resource Datastore referenced by the attribute +LibraryItems.DeploySpecVmHomeStorage.datastore requires +System.Read.

  • +
  • The resource com.vmware.spbm.StorageProfile referenced by the +attribute LibraryItems.DeploySpecVmHomeStoragePolicy.policy +requires System.Read.

  • +
  • The resource Datastore referenced by the attribute +LibraryItems.DeploySpecDiskStorage.datastore requires +System.Read.

  • +
  • The resource com.vmware.spbm.StorageProfile referenced by the +attribute LibraryItems.DeploySpecDiskStoragePolicy.policy +requires System.Read.

  • +
  • The resource com.vmware.vcenter.vm.hardware.Disk referenced +by the dict key of attribute +LibraryItems.DeploySpec.disk_storage_overrides requires +System.Read.

  • +
  • The resource Folder referenced by the attribute +LibraryItems.DeployPlacementSpec.folder requires +System.Read.

  • +
  • The resource ResourcePool referenced by the attribute +LibraryItems.DeployPlacementSpec.resource_pool requires +System.Read.

  • +
  • The resource HostSystem referenced by the attribute +LibraryItems.DeployPlacementSpec.host requires +System.Read.

  • +
  • The resource ClusterComputeResource referenced by the +attribute LibraryItems.DeployPlacementSpec.cluster requires +System.Read.

  • +
  • The resource com.vmware.vcenter.vm.hardware.Ethernet +referenced by the dict key of attribute +LibraryItems.HardwareCustomizationSpec.nics requires +System.Read.

  • +
  • The resource Network referenced by the attribute +LibraryItems.EthernetUpdateSpec.network requires +System.Read.

  • +
  • The resource com.vmware.vcenter.vm.hardware.Disk referenced +by the attribute +LibraryItems.HardwareCustomizationSpec.disks_to_remove +requires System.Read.

  • +
  • The resource com.vmware.vcenter.vm.hardware.Disk referenced +by the dict key of attribute +LibraryItems.HardwareCustomizationSpec.disks_to_update +requires System.Read.

  • +
+
+
+
+ +
+
+get(template_library_item)
+

Returns information about a virtual machine template contained in the +library item specified by template_library_item. This method was +added in vSphere API 6.8.

+
+
Parameters
+

template_library_item (str) – identifier of the library item containing the virtual machine +template. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

+
+
Return type
+

LibraryItems.Info or None

+
+
Returns
+

Information about the virtual machine template item contained in +the library item. +If None, the library item specified by template_library_item +does not contain a virtual machine template.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library item could not be found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine template’s configuration state cannot be +accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if any of the services involved in the method are unavailable.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user that requested the method cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user that requested the method is not authorized to perform +the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
  • The resource com.vmware.content.library.Item referenced by +the parameter template_library_item requires System.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm_template_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.hvc.html b/vsphere/7.0.0.1/com.vmware.vcenter.hvc.html new file mode 100644 index 00000000..b85846cd --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.hvc.html @@ -0,0 +1,490 @@ + + + + + + + + + + + com.vmware.vcenter.hvc package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.hvc package

+ +
+

Submodules

+
+ +
+

com.vmware.vcenter.hvc.management_client module

+
+
+class com.vmware.vcenter.hvc.management_client.Administrators(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Administrators provides methods to update, delete, and list groups +in the local sso group. This is limited to the Hybrid Linked Mode service. +Usage beyond VMware Cloud on AWS is not supported. 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.

+
+
+
+
+add(group_name)
+

Add the local sso group with the new group. Usage beyond VMware Cloud +on AWS is not supported. 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
+

group_name (str) – Name of the new group to be added. Ex - xyz\@abc.com where xyz +is the group name and abc.com is the domain name

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user is not authorized.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
+
+ +
+
+get()
+

Enumerates the set of all the groups in the local sso group. Usage +beyond VMware Cloud on AWS is not supported. 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
+

set of str

+
+
Returns
+

The set of all the groups.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
+
+ +
+
+remove(group_name)
+

Remove the group from the local sso group. Usage beyond VMware Cloud on +AWS is not supported. 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
+

group_name (str) – Name of the group to be removed. Ex - xyz\@abc.com where xyz is +the group name and abc.com is the domain name

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user is not authorized.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
+
+ +
+
+set(group_names)
+

Sets the groups in the local sso group. Usage beyond VMware Cloud on +AWS is not supported. 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
+

group_names (set of str) – Names the groups to be in the CloudAdminGroup Ex - xyz\@abc.com +where xyz is the group name and abc.com is the domain name

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user is not authorized.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.hvc.management_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.hvc.links.html b/vsphere/7.0.0.1/com.vmware.vcenter.hvc.links.html new file mode 100644 index 00000000..f4afa719 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.hvc.links.html @@ -0,0 +1,766 @@ + + + + + + + + + + + com.vmware.vcenter.hvc.links package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ + + + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.lcm.html b/vsphere/7.0.0.1/com.vmware.vcenter.lcm.html new file mode 100644 index 00000000..e76fb9e4 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.lcm.html @@ -0,0 +1,1250 @@ + + + + + + + + + + + com.vmware.vcenter.lcm package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.lcm package

+
+

Submodules

+
+
+

com.vmware.vcenter.lcm.discovery_client module

+

The com.vmware.vcenter.lcm.discovery_client module provides classes for +discovering products registered with vCenter Server and interoperability +between those products and vCenter Server.

+
+
+class com.vmware.vcenter.lcm.discovery_client.AssociatedProducts(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The AssociatedProducts class provides options to list, add, modify, and +delete VMware products associated with vCenter Server. Some products can be +auto-detected by the system while others can be added manually.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(product_name=None, version=None, deployments=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The AssociatedProducts.CreateSpec class is the specification used for +the product creation.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • product_name (str) – The name of the product.

  • +
  • version (str) – Current product version.

  • +
  • deployments (list of str or None) – The list of hostname/IPs of the instances of the VMware products +deployed in the environment.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.vcenter.lcm.product'
+

The resource type for the products interface.

+
+ +
+
+class UpdateSpec(deployments=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The AssociatedProducts.UpdateSpec class is the specification for the +product update.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

deployments (list of str or None) – The list of hostname/IPs of the instances of the VMware products +deployed in the environment.

+
+
+
+ +
+
+create(spec)
+

Associates a VMware product with vCenter Server manually. The product +must be taken from the product catalog API.

+
+
Parameters
+

spec (AssociatedProducts.CreateSpec) – Info creation specification.

+
+
Return type
+

str

+
+
Returns
+

Identifier of the newly-added product. +The return value will be an identifier for the resource type: +com.vmware.vcenter.lcm.product.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if this version is already added

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the spec argument is not allowed

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
+
+ +
+
+delete(product)
+

Deletes or dissociates a VMware product associated with vCenter Server +which was added manually. Automatically discovered VMware products +cannot be deleted or dissociated.

+
+
Parameters
+

product (str) – An id of the product to be removed. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.lcm.product.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no record associated with product in the system +database.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
+
+ +
+
+get(product)
+

Returns the detailed information of a product associated with vCenter +Server.

+
+
Parameters
+

product (str) – An identifier of the product to be modified. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.lcm.product.

+
+
Return type
+

Product

+
+
Returns
+

Product details.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no record associated with product in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
+
+ +
+
+list()
+

Retrieves a list of all associated VMware product deployments with +vCenter Server in the environment. The list contains both product +deployments discovered automatically and deployments registered +manually through the API.

+
+
Return type
+

list of Product

+
+
Returns
+

List of all the registered products with vCenter.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
+
+ +
+
+update(product, spec)
+

Modifies a VMware product associated with vCenter Server which was +added manually. Automatically discovered VMware products cannot be +modified.

+
+
Parameters
+
    +
  • product (str) – An id of the product to be modified. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.lcm.product.

  • +
  • spec (AssociatedProducts.UpdateSpec) –

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the spec argument is not allowed

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If there is no record associated with product in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.lcm.discovery_client.InteropReport(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The InteropReport interface provides methods to report the +interoperability between a vCenter Server release version and the other +installed VMware products registered in the vCenter Server instance.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class ReleaseInfo(version=None, note=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The InteropReport.ReleaseInfo class contains a product release +information.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • version (str) – The version of the release.

  • +
  • note (str or None) – A link to the release notes of the release. +None if the release notes are not available.

  • +
+
+
+
+ +
+
+class Report(date_created=None, target_product=None, products=None, issues=None, summary=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The InteropReport.Report class contains the interoperability report +between the target product and the other registered products in the vCenter +Server instance.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • date_created (datetime.datetime) – Time when the report is created.

  • +
  • target_product (Product) – A product against the other products are compared to. Only vCenter +Server is supported.

  • +
  • products (list of InteropReport.ReportRow) – Interoperability matrix for the supplied target product and the +other registered products.

  • +
  • issues (com.vmware.vcenter.lcm_client.Notifications or None) – Lists of issues encountered during report creation. +set if any issues encountered.

  • +
  • summary (InteropReport.ReportSummary) – A summary of the interoperability matrix.

  • +
+
+
+
+ +
+
+class ReportRow(product=None, compatible=None, compatible_releases=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The InteropReport.ReportRow class contains the interoperability between +a given product and the target product.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • product (Product) – The product to compare to the target product.

  • +
  • compatible (bool) – Defines whether the product is compatible against the target +product.

  • +
  • compatible_releases (list of InteropReport.ReleaseInfo) – A list of compatible releases of the product with the target +product.

  • +
+
+
+
+ +
+
+class ReportSummary(compatible_count=None, incompatible_count=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The InteropReport.ReportSummary class contains a summary of the +InteropReport.Report.products. It consists of the count of +compatible and incompatible products to the target product.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • compatible_count (long) – Number of compatible products.

  • +
  • incompatible_count (long) – Number of incompatible products.

  • +
+
+
+
+ +
+
+class Result(report=None, csv_report=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The InteropReport.Result class contains the result of interoperability +report creation operation.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • report (InteropReport.Report) – The interoperability report.

  • +
  • csv_report (str or None) –

    The identifier of CSV formatted interopability report.

    +

    null provides location where the CSV report can be downloaded from +based on the csvReport. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.lcm.report. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.vcenter.lcm.report. +None in case of errors reported in +InteropReport.Report.issues.

    +

  • +
+
+
+
+ +
+
+class Spec(target_version=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Configuration of report generation.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

target_version (str) –

The vCenter Server version.

+

It is used for checking against the other products registered with +that instance of vCenter Server.

+

+
+
+
+ +
+
+create_task(spec=None)
+

Creates interoperability report between a vCenter Server release +version and all registered products with the vCenter Server instance.

+

The result of this operation can be queried by calling the null method +where task is the response of this operation.

+
+
Parameters
+

spec (InteropReport.Spec or None) – Specifies the target version against this interoperability check +report will be generated. If None the report will be generated for +the currently installed version of the vCenter server.

+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.lcm.discovery_client.Product(installed_product=None, name=None, version=None, target_version=None, deployments=None, auto=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Info class contains information about a VMware product which is +present in the customer Environemnt. The following information about the +products are present:

+
    +
  • Name

  • +
  • Version

  • +
  • Deployments

  • +
  • Automatically Discovered or Manually Added

  • +
+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • installed_product (str) –

    Identifies a product and a version uniquely.

    +

    The identifier consists of product internal name and version. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: PRODUCT. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: PRODUCT.

    +

  • +
  • name (str) – A public official product name.

  • +
  • version (str) – Current product version.

  • +
  • target_version (str or None) – Future version of the product after upgrade. +targetVersion may not be applicable.

  • +
  • deployments (list of str or None) – The list of hostname/IPs of the instances of the VMware products +deployed in the environment. This field would be empty for manually +added products.

  • +
  • auto (bool) – Indicates if the product is auto-detected by the system or manually +added. If it is set to true it means it is auto-detected.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.lcm.discovery_client.ProductCatalog(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The ProductCatalog class provides information which VMware products can +be associated with vCenter Server.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Summary(name=None, versions=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ProductCatalog.Summary class contains information about each VMware +product and its corresponding versions that can be associated with vCenter +Server.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – A product name that the customer is aware of.

  • +
  • versions (list of str) – List of versions the customer can select from.

  • +
+
+
+
+ +
+
+list()
+

Retrieves a list of all VMware products that can be associated with +vCenter Server.

+
+
Return type
+

list of ProductCatalog.Summary

+
+
Returns
+

List of all the VMware products which can be associated with +vCenter Server

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If there is some unknown internal error. The accompanying error +message will give more details about the failure.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.lcm.discovery_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.lcm.update_client module

+

The com.vmware.vcenter.lcm.update_client module provides classes for +updating vCenter Server to a newer version.

+
+
+class com.vmware.vcenter.lcm.update_client.Pending(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Pending class provides method for listing pending minor or major +updates of vCenter Server.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Category(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Pending.Category class defines the type of payload this release has +on top of previous release

+
+

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 the Category instance.

+
+
+
+
+FIX = Category(string='FIX')
+

Fixes bugs/vulnerabilities, doesn’t change functionality

+
+ +
+
+SECURITY = Category(string='SECURITY')
+

Fixes vulnerabilities, doesn’t change functionality

+
+ +
+
+UPDATE = Category(string='UPDATE')
+

Changes product functionality

+
+ +
+
+UPGRADE = Category(string='UPGRADE')
+

Introduces new features, significantly changes product functionality

+
+ +
+ +
+
+class Info(description=None, pending_update=None, version=None, release_date=None, severity=None, build=None, update_type=None, category=None, reboot_required=None, execute_url=None, release_notes=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Pending.Info class contains detailed information about the vCenter +patch/update.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • description (str) – Description of the vSphere update

  • +
  • pending_update (str) – Identifier of the given vSphere update +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.lcm.update.pending. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.lcm.update.pending.

  • +
  • version (str) – Version of the vSphere update or patch

  • +
  • release_date (datetime.datetime) – Release date of the vSphere update or patch

  • +
  • severity (Pending.SeverityType) – Severity of the issues fixed in the vSphere update or patch

  • +
  • build (str) – Build number of the vCenter Release

  • +
  • update_type (Pending.UpdateType) – Type of the Release based on the current vCenter version

  • +
  • category (Pending.Category) – Category of the release based on features bundled on top of +previous release

  • +
  • reboot_required (bool) – Flag to suggest a reboot after the release is applied

  • +
  • execute_url (str) – VAMI or ISO URL for update or upgrade execute phase redirection

  • +
  • release_notes (list of str) – List of URI pointing to patch or update release notes

  • +
+
+
+
+ +
+
+class ListResult(last_check_time=None, update_count=None, upgrade_count=None, updates=None, issues=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Pending.ListResult class contains information about the pending +patch/updates for the given vCenter server.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • last_check_time (datetime.datetime) – Time when the software depo was last checked.

  • +
  • update_count (long or None) – Number of pending updates +Only set if there are available updates

  • +
  • upgrade_count (long or None) – Number of pending upgrades +Only set if there are available upgrades

  • +
  • updates (list of Pending.Summary) – List of pending update details

  • +
  • issues (com.vmware.vcenter.lcm_client.Notifications or None) – Lists of issues encountered during pending updates retrieval. +set if any issues encountered.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.vcenter.lcm.update.pending'
+

Resource type for pending update

+
+ +
+
+class SeverityType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Level of severity for applying a given patch or update.

+
+

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 the SeverityType instance.

+
+
+
+
+CRITICAL = SeverityType(string='CRITICAL')
+

Vulnerabilities that can be exploited by an unauthenticated attacker from +the Internet or those that break the guest/host Operating System isolation.

+
+ +
+
+IMPORTANT = SeverityType(string='IMPORTANT')
+

Vulnerabilities that are not rated critical but whose exploitation results +in the complete compromise of confidentiality and/or integrity of user data +and/or processing resources through user assistance or by authenticated +attackers.

+
+ +
+
+LOW = SeverityType(string='LOW')
+

All other issues that may or maynot have a security impact. Vulnerabilities +where exploitation is believed to be extremely difficult, or where +successful exploitation would have minimal impact.

+
+ +
+
+MODERATE = SeverityType(string='MODERATE')
+

Vulnerabilities where the ability to exploit is mitigated to a significant +degree by configuration or difficulty of exploitation, but in certain +deployment scenarios could still lead to the compromise of confidentiality, +integrity, or availability of user data and/or processing resources.

+
+ +
+ +
+
+class Summary(pending_update=None, version=None, release_date=None, severity=None, build=None, update_type=None, category=None, reboot_required=None, execute_url=None, release_notes=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Pending.Summary class contains basic information about the vCenter +patch/update/upgrade

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • pending_update (str) – Identifier of the given vSphere update +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.lcm.update.pending. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.lcm.update.pending.

  • +
  • version (str) – Version of the vSphere update or patch

  • +
  • release_date (datetime.datetime) – Release date of the vSphere update or patch

  • +
  • severity (Pending.SeverityType) – Severity of the issues fixed in the vSphere update or patch

  • +
  • build (str) – Build number of the vCenter Release

  • +
  • update_type (Pending.UpdateType) – Type of the Release based on the current vCenter version

  • +
  • category (Pending.Category) – Category of the release based on features bundled on top of +previous release

  • +
  • reboot_required (bool) – Flag to suggest a reboot after the release is applied

  • +
  • execute_url (str) – VAMI or ISO URL for update or upgrade execute phase redirection

  • +
  • release_notes (list of str) – List of URI pointing to patch or update release notes

  • +
+
+
+
+ +
+
+class UpdateType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Pending.UpdateType class defines update type

+
+

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 the UpdateType instance.

+
+
+
+
+PATCH = UpdateType(string='PATCH')
+

Fixes bugs/vulnerabilities, doesn’t change functionality

+
+ +
+
+UPDATE = UpdateType(string='UPDATE')
+

Changes product functionality

+
+ +
+
+UPGRADE = UpdateType(string='UPGRADE')
+

Introduces new features, significantly changes product functionality

+
+ +
+ +
+
+get(version)
+

Gets detailed update information.

+
+
Parameters
+

version (str) – A version identified the update +The parameter must be an identifier for the resource type: +com.vmware.vcenter.lcm.update.pending.

+
+
Return type
+

Pending.Info

+
+
Returns
+

A detailed information about the particular vCenter patch/update

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if there is no pending update assosiated with the version in +the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is some unknown internal error. The accompanying error +message will give more details about the error.

+
+
+
+ +
+
+list()
+

Lists all available minor and major updates.

+
+
Return type
+

Pending.ListResult

+
+
Returns
+

Information about the pending patch/updates for the given vCenter +server

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is some unknown internal error. The accompanying error +message will give more details about the error.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.lcm.update_client.PrecheckReport(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The PrecheckReport class generates precheck report for a vCenter Server +instance against a target update version.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+RESOURCE_TYPE = 'com.vmware.vcenter.lcm.report'
+

Resource type for precheck report

+
+ +
+
+class Report(date_created=None, estimated_time_to_update=None, issues=None, summary=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The PrecheckReport.Report class contains estimates of how long it will +take an update as well as a list of possible warnings and errors with +applying the update.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • date_created (datetime.datetime) – Time when this precheck report was generated

  • +
  • estimated_time_to_update (long or None) – Rough estimate of time to update vCenter Server in minutes. +This attribute will be None if the precheck failed.

  • +
  • issues (com.vmware.vcenter.lcm_client.Notifications or None) – Lists of the issues and warnings +This attribute will be None if the precehck is successful.

  • +
  • summary (PrecheckReport.ReportSummary) – A summary of the report consist of count of warnings and errors +returned by running the precheck.

  • +
+
+
+
+ +
+
+class ReportSummary(error_count=None, warning_count=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Summary Class contains the summary of precheck report.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • error_count (long) – Number of errors detected by precheck process

  • +
  • warning_count (long) – Number of warnings detected by precheck process

  • +
+
+
+
+ +
+
+class Result(report=None, csv_report=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The PrecheckReport.Result class contains the precheck report and a link +to download the CSV report.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • report (PrecheckReport.Report) – The report generated by running the precheck.

  • +
  • csv_report (str or None) – The identifier of CSV formatted precheck report. null provides +location where the CSV report can be downloaded from based on the +csvReport. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.lcm.report. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: com.vmware.vcenter.lcm.report. +None in case of errors reported in +PrecheckReport.Report.issues.

  • +
+
+
+
+ +
+
+create_task(version)
+

Creates a vCenter Server pre-update compatibility check report for the +pending update version. The report can be exported and downloaded in +CSV format.

+

The result of this operation can be queried by calling the null method +where task is the response of this operation.

+
+
Parameters
+

version (str) – Pending update version for which pre-update compatibility check +will be executed. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.lcm.update.pending.

+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if there is no pending update assosiated with the version in +the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if a precheck is already in progress.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is some unknown internal error. The accompanying error +message will give more details about the error.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.lcm.update_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.namespace_management.html b/vsphere/7.0.0.1/com.vmware.vcenter.namespace_management.html new file mode 100644 index 00000000..7b578fcd --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.namespace_management.html @@ -0,0 +1,917 @@ + + + + + + + + + + + com.vmware.vcenter.namespace_management package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.namespace_management package

+
+

Submodules

+
+
+

com.vmware.vcenter.namespace_management.software_client module

+

The com.vmware.vcenter.namespace_management.software_client module provides +classes for managing namespaces software components.

+
+
+class com.vmware.vcenter.namespace_management.software_client.Clusters(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Clusters class provides methods to upgrade the vSphere clusters.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(current_version=None, available_versions=None, last_upgraded_date=None, messages=None, state=None, upgrade_status=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Clusters.Info class contains detailed information about the cluster +upgrade status and related information.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • current_version (str) – Current version of the cluster.

  • +
  • available_versions (list of str) – Set of available versions can be upgraded to.

  • +
  • last_upgraded_date (datetime.datetime or None) – Date of last successful upgrade. +If None, the cluster has not yet been upgraded.

  • +
  • messages (list of Clusters.Message) – Current set of messages associated with the cluster version.

  • +
  • state (Clusters.State) – Current state of the upgrade.

  • +
  • upgrade_status (Clusters.UpgradeStatus or None) – Information about upgrade in progress. +If None, the cluster upgrade is not in progress.

  • +
+
+
+
+ +
+
+class Message(severity=None, details=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Clusters.Message class contains the information about the object +configuration.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+
+class Severity(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Clusters.Message.Severity class represents the severity of the +message.

+
+

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 the Severity instance.

+
+
+
+
+ERROR = Severity(string='ERROR')
+

Error message. This is accompanied by vCenter event and/or alarm.

+
+ +
+
+INFO = Severity(string='INFO')
+

Informational message. This may be accompanied by vCenter event.

+
+ +
+
+WARNING = Severity(string='WARNING')
+

Warning message. This may be accompanied by vCenter event.

+
+ +
+ +
+ +
+
+class Result(res=None, exception=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Clusters.Result class contains the result of batch upgrade method.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • res (Clusters.Result.Res) – The result of batch upgrade method.

  • +
  • exception (Exception) – Exception when cluster pre-check failed during upgrade invocation. +This attribute is optional and it is only relevant when the value +of res is Clusters.Result.Res.REJECTED.

  • +
+
+
+
+
+class Res(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Clusters.Result.Res class represents the upgrade invocation result +for each cluster.

+
+

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 the Res instance.

+
+
+
+
+REJECTED = Res(string='REJECTED')
+

Upgrade is rejected. This implies pre-check failed when invoking upgrade of +the cluster.

+
+ +
+
+STARTED = Res(string='STARTED')
+

Upgrade is started.

+
+ +
+ +
+ +
+
+class State(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Clusters.State class describes the state of the upgrade.

+
+

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 the State instance.

+
+
+
+
+ERROR = State(string='ERROR')
+

Upgrade failed and need user intervention.

+
+ +
+
+PENDING = State(string='PENDING')
+

Upgrade is in progress.

+
+ +
+
+READY = State(string='READY')
+

Cluster is ready when there is no upgrade or upgrade is completed.

+
+ +
+ +
+
+class Summary(cluster=None, cluster_name=None, current_version=None, available_versions=None, last_upgraded_date=None, desired_version=None, state=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Clusters.Summary class contains basic information about the cluster +upgrade related information.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • cluster (str) – Identifier for the cluster. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: ClusterComputeResource.

  • +
  • cluster_name (str) – Name of the cluster. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource.name. When methods return a value of +this class as a return value, the attribute will be an identifier +for the resource type: ClusterComputeResource.name.

  • +
  • current_version (str) – Current version of the cluster.

  • +
  • available_versions (list of str) – Set of versions available for upgrade.

  • +
  • last_upgraded_date (datetime.datetime or None) – Date of last successful upgrade. +If None, the cluster has not yet been upgraded.

  • +
  • desired_version (str or None) – Desired version the cluster will be upgraded to. +If None, the cluster upgrade is not in progress.

  • +
  • state (Clusters.State) – Current state of the upgrade.

  • +
+
+
+
+ +
+
+class UpgradeProgress(total=None, completed=None, message=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Clusters.UpgradeProgress class contains detailed information about +the cluster upgrade progess.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • total (long) – Total amount of the work for the operation. The work here +represents the number of master nodes in the cluster need to be +upgraded.

  • +
  • completed (long) – The amount of work completed for the operation. The value can only +be incremented. The number or master nodes which upgrade completed.

  • +
  • message (com.vmware.vapi.std_client.LocalizableMessage) – Message about the work progress.

  • +
+
+
+
+ +
+
+class UpgradeSpec(desired_version=None, ignore_precheck_warnings=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Clusters.UpgradeSpec class contains the specification required to +upgrade a cluster.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • desired_version (str) – Version number the cluster is going to be upgraded to.

  • +
  • ignore_precheck_warnings (bool or None) – If true, the upgrade workflow will ignore any pre-check warnings +and proceed with the upgrade. +If None, the upgrade workflow will not ignore pre-check warnings +and fail the upgrade. It is equivalent to setting the value to +false. The workflow adopts a conservative approach of failing the +upgrade if None to solely let the user decide whether to force the +upgrade despite the warnings.

  • +
+
+
+
+ +
+
+class UpgradeStatus(desired_version=None, messages=None, progress=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Clusters.UpgradeStatus class contains detailed information about +the cluster when upgraded is in progress.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • desired_version (str or None) – Desired version the cluster will be upgraded to. +If None, the cluster upgrade is not in progress.

  • +
  • messages (list of Clusters.Message) – Current set of messages associated with the upgrade state.

  • +
  • progress (Clusters.UpgradeProgress or None) – Information about upgrade progess. +If None, the cluster upgrade is not in progress.

  • +
+
+
+
+ +
+
+get(cluster)
+

Returns upgrade related information of a specific cluster.

+
+
Parameters
+

cluster (str) – Identifier for the cluster which will be upgraded. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

Clusters.Info

+
+
Returns
+

Information about the upgrade of the specified WCP enabled cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if cluster could not be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have System.Read privilege.

+
+
+
+ +
+
+list()
+

Returns upgrade related information about all WCP enabled clusters.

+
+
Return type
+

list of Clusters.Summary

+
+
Returns
+

List of upgrade summary of all WCP enabled clusters.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have System.Read privilege.

+
+
+
+ +
+
+upgrade(cluster, spec)
+

Upgrade the cluster to a specific version. This operation upgrades the +components on control plane VMs and worker plane hosts based on the +selected version. Before upgrading, this operation performs pre-checks +and sets the evaluation response in Info.UpgradeStatus.messages with +various Message.Severity levels. Depending on the severity, the upgrade +may or may not proceed beyond prechecks. Here is a list of severities +and corresponding behavior: - ERROR: Upgrade does not proceed beyond +precheck operation - WARNING: Upgrade proceeds beyond precheck +operation only if UpgradeSpec.ignorePrecheckWarnings is set to true - +INFO: Upgrade proceeds beyond precheck operation uninterrupted

+
+
Parameters
+
    +
  • cluster (str) – Identifier for the cluster which will be upgraded. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • spec (Clusters.UpgradeSpec) – Specification for upgrading the cluster.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if pre-check failed of the cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if cluster could not be located.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have Namespaces.Manage privilege.

+
+
+
+ +
+
+upgrade_multiple(specs)
+

Upgrade a set of clusters to its corresponding specific version.

+
+
Parameters
+

specs (dict of str and Clusters.UpgradeSpec) – Specifications for upgrading selected clusters. +The key in the parameter dict must be an identifier for +the resource type: ClusterComputeResource.

+
+
Return type
+

dict of str and Clusters.Result

+
+
Returns
+

Pre-check result when invoking upgrade for each cluster. +The key in the return value dict will be an identifier for +the resource type: ClusterComputeResource.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have Namespaces.Manage privilege on all +specified clusters.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.namespace_management.software_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.namespace_management.stats_client module

+

The com.vmware.vcenter.namespace_management.stats_client module provides +classes for gathering statistics related to various Namespaces related +components.

+
+
+class com.vmware.vcenter.namespace_management.stats_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.vcenter.namespace_management.stats_client.TimeSeries(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The TimeSeries class provides methods to gather statistical values for +clusters, namespaces and pods.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class PodIdentifier(namespace=None, pod_name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Pod identifier. These are the fields required to uniquely identify a pod.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • namespace (str) – The namespace that the pod is running in. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.namespaces.Instance. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.namespaces.Instance.

  • +
  • pod_name (str) – The name of the pod itself.

  • +
+
+
+
+ +
+
+class Spec(obj_type=None, pod=None, namespace=None, cluster=None, start=None, end=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

This structure is sent in a request for TimeSeries data and is used to +specify what object stats should be returned for.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • obj_type (TimeSeries.Spec.ObjType) – Type of statistics object that the request is operating on.

  • +
  • pod (TimeSeries.PodIdentifier) – Pod Identifier for queries on an individual pod. +This attribute is optional and it is only relevant when the value +of objType is TimeSeries.Spec.ObjType.POD.

  • +
  • namespace (str) – Namespace name for queries for a namespace. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.namespaces.Instance. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.namespaces.Instance. +This attribute is optional and it is only relevant when the value +of objType is TimeSeries.Spec.ObjType.NAMESPACE.

  • +
  • cluster (str) – Cluster identifier for queries for a cluster. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: ClusterComputeResource. +This attribute is optional and it is only relevant when the value +of objType is TimeSeries.Spec.ObjType.CLUSTER.

  • +
  • start (long) – UNIX timestamp value indicating when the requested series of +statistical samples should begin. +https://en.wikipedia.org/wiki/Unix_time

  • +
  • end (long) – UNIX timestamp value indicating when the requested series of +statistical samples should end. +https://en.wikipedia.org/wiki/Unix_time

  • +
+
+
+
+
+class ObjType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Type of statistics object that this request is operating on.

+
+

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 the ObjType instance.

+
+
+
+
+CLUSTER = ObjType(string='CLUSTER')
+

The CLUSTER object type is used when specifying a vSphere cluster.

+
+ +
+
+NAMESPACE = ObjType(string='NAMESPACE')
+

The NAMESPACE object type is used to specify a namespace.

+
+ +
+
+POD = ObjType(string='POD')
+

The POD object type is used to specify an individual pod within a +namespace.

+
+ +
+ +
+ +
+
+class TimeSeries(counter=None, time_stamps=None, values=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

A set of timestamps and statistical values representing a time series. The +lengths of TimeSeries.TimeSeries.time_stamps and +TimeSeries.TimeSeries.values will always match each other.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • counter (str) – Counter identifier.

  • +
  • time_stamps (list of long) – Sequence of UNIX timestamp values at which statistical values were +sampled. https://en.wikipedia.org/wiki/Unix_time

  • +
  • values (list of long) – Sequence of sampled values corresponding to the timestamps in tss.

  • +
+
+
+
+ +
+
+get(spec)
+

Gather statistical values for a cluster, namespace, or pod.

+
+
Parameters
+

spec (TimeSeries.Spec) – Specification of the statistical values that should be returned.

+
+
Return type
+

list of TimeSeries.TimeSeries

+
+
Returns
+

A list of TimeSeries values for each counter specified in the +request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the start time in TimeSeries.Spec.start is invalid, or +the end time in TimeSeries.Spec.end is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the specified cluster in TimeSeries.Spec.cluster or the +namespace in TimeSeries.Spec.namespace or +TimeSeries.Spec.pod does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the specified cluster in TimeSeries.Spec.cluster is not +enabled for Namespaces.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have System.Read privilege.

+
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.namespaces.html b/vsphere/7.0.0.1/com.vmware.vcenter.namespaces.html new file mode 100644 index 00000000..ebb6114c --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.namespaces.html @@ -0,0 +1,313 @@ + + + + + + + + + + + com.vmware.vcenter.namespaces package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.namespaces package

+
+

Submodules

+
+
+

com.vmware.vcenter.namespaces.user_client module

+

The com.vmware.vcenter.namespaces.user_client module provides classes to +access namespaces for non-administrative users.

+
+
+class com.vmware.vcenter.namespaces.user_client.Instances(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Instances class provides methods to access namespaces for +non-administrative users.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Summary(namespace=None, master_host=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Instances.Summary class contains information about a namespace that +user is authorized to access.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • namespace (str) – Identifier of the namespace. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.namespaces.Instance. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.namespaces.Instance.

  • +
  • master_host (str) – IP address or FQDN of the API endpoint for the given namespace.

  • +
+
+
+
+ +
+
+list()
+

Returns namespaces that user making the call is authorized to access.

+
+
Return type
+

list of Instances.Summary

+
+
Returns
+

List of Namespace identifiers together with the API endpoint for +each namespace.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.namespaces.user_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.storage.html b/vsphere/7.0.0.1/com.vmware.vcenter.storage.html new file mode 100644 index 00000000..8a904ae0 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.storage.html @@ -0,0 +1,534 @@ + + + + + + + + + + + com.vmware.vcenter.storage package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.storage package

+ +
+

Submodules

+
+
+

com.vmware.vcenter.storage.policies_client module

+
+
+class com.vmware.vcenter.storage.policies_client.Compliance(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Compliance class provides methods related to all the associated +entities of given compliance statuses. This class was added in vSphere API +6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class FilterSpec(status=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Compliance.FilterSpec class contains complianceStatus used to +filter the results when listing entities (see Compliance.list()). +This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

status (set of Compliance.Status) – Compliance Status that a virtual machine must have to match the +filter. This attribute was added in vSphere API 6.7.

+
+
+
+ +
+
+class Status(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

This enumeration defines the set of status values for a compliance +operation. This enumeration was added in vSphere API 6.7.

+
+

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 the Status instance.

+
+
+
+
+COMPLIANT = Status(string='COMPLIANT')
+

Entity is in compliance. This class attribute was added in vSphere API 6.7.

+
+ +
+
+NON_COMPLIANT = Status(string='NON_COMPLIANT')
+

Entity is out of compliance. This class attribute was added in vSphere API +6.7.

+
+ +
+
+NOT_APPLICABLE = Status(string='NOT_APPLICABLE')
+

Compliance computation is not applicable for this entity because it does +not have any storage requirement that apply to the object-based datastore +on which the entity is placed. This class attribute was added in vSphere +API 6.7.

+
+ +
+
+OUT_OF_DATE = Status(string='OUT_OF_DATE')
+

Compliance status becomes out of date when the profile associated with the +entity is edited and not applied. The compliance status will remain out of +date until the latest policy is applied to the entity. This class attribute +was added in vSphere API 6.7.

+
+ +
+
+UNKNOWN = Status(string='UNKNOWN')
+

Compliance status of the entity is not known. This class attribute was +added in vSphere API 6.7.

+
+ +
+ +
+
+class Summary(vm=None, vm_home=None, disks=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Provides the details of a virtual machine and its associated entities which +match the given compliance statuses. This class was added in vSphere API +6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • vm (str) – Identifier of virtual machine. This attribute was added in vSphere +API 6.7. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +VirtualMachine. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: VirtualMachine.

  • +
  • vm_home (Compliance.Status or None) – Compliance status of the virtual machine home. This attribute was +added in vSphere API 6.7. +If None or empty, vmHome is not associated with a storage policy.

  • +
  • disks ((dict of str and Compliance.Status) or None) – List of the virtual hard disk. This attribute was added in vSphere +API 6.7. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.Disk. When methods return +a value of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Disk. +If None or empty, virtual machine entity does not have any disks or +its disks are not associated with a storage policy.

  • +
+
+
+
+ +
+
+list(filter)
+

Returns compliance information about entities matching the filter +Compliance.FilterSpec. Entities without storage policy +association are not returned. This method was added in vSphere API 6.7.

+
+
Parameters
+

filter (Compliance.FilterSpec) – compliance status of matching entities for which information should +be returned.

+
+
Return type
+

list of Compliance.Summary

+
+
Returns
+

compliance information about entities matching the filter +Compliance.FilterSpec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the Compliance.FilterSpec.status attribute contains a +value that is not supported by the server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.storage.policies_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.vcenter.storage.policies_client.VM(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The VM class provides methods managing the storage policy association +for a virtual machine and its virtual disks. This class was added in +vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(vm_home=None, disks=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The VM.Info class contains information about a virtual machine and its +virtual disks that are associated with the given storage policy. This class +was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • vm_home (bool) – Flag to indicate whether or not the virtual machine home is +associated with the given storage policy. This attribute was added +in vSphere API 6.7.

  • +
  • disks (list of str) – List of the virtual disks that are associated with the given +storage policy. This attribute was added in vSphere API 6.7. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.vcenter.vm.hardware.Disk. When methods return a +value of this class as a return value, the attribute will contain +identifiers for the resource type: +com.vmware.vcenter.vm.hardware.Disk.

  • +
+
+
+
+ +
+
+list(policy)
+

Returns information about the virtual machines and/or their virtual +disks that are associated with the given storage policy. This method +was added in vSphere API 6.7.

+
+
Parameters
+

policy (str) – storage policy identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.StoragePolicy.

+
+
Return type
+

dict of str and VM.Info

+
+
Returns
+

Information about the virtual machines and/or their virtual disks +that are associated with the given storage policy. +The key in the return value dict will be an identifier for +the resource type: VirtualMachine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if there is no policy associated with policy in the system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if more than 1000 virtual machines are associated with the +specified policy.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service necessary to +complete the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the backend server encounters some an error while processing the +request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have the required priveleges.

+
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.storage.policies.html b/vsphere/7.0.0.1/com.vmware.vcenter.storage.policies.html new file mode 100644 index 00000000..0c706396 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.storage.policies.html @@ -0,0 +1,448 @@ + + + + + + + + + + + com.vmware.vcenter.storage.policies package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.storage.policies package

+
+

Submodules

+
+
+

com.vmware.vcenter.storage.policies.compliance_client module

+
+
+class com.vmware.vcenter.storage.policies.compliance_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.vcenter.storage.policies.compliance_client.VM(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The VM class provides methods related to query virtual machines of +given compliance statuses. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class FilterSpec(status=None, vms=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The VM.FilterSpec class contains Status used to filter the results when +listing virtual machines (see VM.list()). This class was added in +vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • status (set of VM.Status) – Compliance Status that a virtual machine must have to match the +filter. Atleast one status must be specified. This attribute was +added in vSphere API 6.7.

  • +
  • vms (set of str or None) – Identifiers of virtual machines that can match the filter. This +attribute was added in vSphere API 6.7. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +VirtualMachine. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: VirtualMachine. +If None or empty, virtual machines with any identifier matches the +filter

  • +
+
+
+
+ +
+
+class Info(vm_home=None, disks=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Provides the compliance details of a virtual machine and its associated +entities which match the given compliance statuses. This class was added in +vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • vm_home (VM.Status or None) – Compliance status of the virtual machine home. This attribute was +added in vSphere API 6.7. +If None or empty, virtual machine home is not associated with a +storage policy.

  • +
  • disks (dict of str and VM.Status) – A Map of virtual disks and their compliance status If empty, the +virtual machine does not have any disks or its disks are not +associated with a storage policy. This attribute was added in +vSphere API 6.7. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.Disk. When methods return +a value of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Disk.

  • +
+
+
+
+ +
+
+class Status(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The {\@Status} class defines he valid compliance status values for a +virtual machine or virtual disk. This enumeration was added in vSphere API +6.7.

+
+

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 the Status instance.

+
+
+
+
+COMPLIANT = Status(string='COMPLIANT')
+

The virtual machine or virtual disk is in compliance. This class attribute +was added in vSphere API 6.7.

+
+ +
+
+NON_COMPLIANT = Status(string='NON_COMPLIANT')
+

The virtual machine or virtual disk is in not in compliance. This class +attribute was added in vSphere API 6.7.

+
+ +
+
+NOT_APPLICABLE = Status(string='NOT_APPLICABLE')
+

Compliance computation is not applicable for this virtual machine or disk +because it does not have any storage requirement that apply to the +object-based datastore on which the entity is placed. This class attribute +was added in vSphere API 6.7.

+
+ +
+
+OUT_OF_DATE = Status(string='OUT_OF_DATE')
+

Compliance status becomes out of date when the profile associated with the +virtual machine or disk is edited and not applied. The compliance status +will remain out of date until the latest policy is applied. This class +attribute was added in vSphere API 6.7.

+
+ +
+
+UNKNOWN_COMPLIANCE = Status(string='UNKNOWN_COMPLIANCE')
+

Compliance status of the virtual machine or virtual disk is not known. This +class attribute was added in vSphere API 6.7.

+
+ +
+ +
+
+list(filter)
+

Returns compliance information about at most 1000 virtual machines +matching the filter VM.FilterSpec. If there are no virtual +machines matching the VM.FilterSpec an empty List is returned. +Virtual machines without storage policy association are not returned. +This method was added in vSphere API 6.7.

+
+
Parameters
+

filter (VM.FilterSpec) – compliance status of matching virtual machines for which +information should be returned.

+
+
Return type
+

dict of str and VM.Info

+
+
Returns
+

compliance information about virtual machines matching the filter +VM.FilterSpec. +The key in the return value dict will be an identifier for +the resource type: VirtualMachine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the VM.FilterSpec.status attribute contains a value that +is not supported by the server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the API is invoked against vCenter Server version is less than +6.5

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +If more than 1000 results match the VM.FilterSpec

+
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.system_config.features.html b/vsphere/7.0.0.1/com.vmware.vcenter.system_config.features.html new file mode 100644 index 00000000..c07c625f --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.system_config.features.html @@ -0,0 +1,253 @@ + + + + + + + + + + + com.vmware.vcenter.system_config.features package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.system_config.features package

+
+

Submodules

+
+
+

com.vmware.vcenter.system_config.features.tech_preview_client module

+

The {\@name com.vmware.vcenter.system-config.features.tech_preview} module +provides classes for managing the status of Tech Preview features on the +appliance.

+
+
+class com.vmware.vcenter.system_config.features.tech_preview_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.system_config.html b/vsphere/7.0.0.1/com.vmware.vcenter.system_config.html new file mode 100644 index 00000000..3ef70281 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.system_config.html @@ -0,0 +1,242 @@ + + + + + + + + + + + com.vmware.vcenter.system_config package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ + + + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.trusted_infrastructure.html b/vsphere/7.0.0.1/com.vmware.vcenter.trusted_infrastructure.html new file mode 100644 index 00000000..591ccf12 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.trusted_infrastructure.html @@ -0,0 +1,1939 @@ + + + + + + + + + + + com.vmware.vcenter.trusted_infrastructure package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.trusted_infrastructure package

+ +
+

Submodules

+
+
+

com.vmware.vcenter.trusted_infrastructure.attestation_client module

+

The com.vmware.vcenter.trusted_infrastructure.attestation_client module +provides classes for configuring Attestation Services for Trusted vCenter.

+
+
+class com.vmware.vcenter.trusted_infrastructure.attestation_client.Services(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Services class contains information about the registered instances +of the Attestation Service in vCenter. This class was added in vSphere API +7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(address=None, trusted_ca=None, group=None, trust_authority_cluster=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Services.CreateSpec class contains the data necessary for +registering an Attestation Service instance to the environment. This class +was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • address (com.vmware.vcenter.trusted_infrastructure_client.NetworkAddress) – The service’s address. This attribute was added in vSphere API +7.0.0.

  • +
  • trusted_ca (com.vmware.vcenter.trusted_infrastructure_client.X509CertChain) – The service’s TLS certificate chain. This attribute was added in +vSphere API 7.0.0.

  • +
  • group (str) – The group specifies the Key Provider Service instances that can +accept reports issued by this Attestation Service instance. This +attribute was added in vSphere API 7.0.0.

  • +
  • trust_authority_cluster (str) – The cluster specifies the Trust Authority Cluster this Attestation +Service belongs to. This attribute was added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class FilterSpec(services=None, address=None, group=None, trust_authority_cluster=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Services.FilterSpec class contains the data necessary for +identifying an Attestation Service instance. This class was added in +vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • services (set of str or None) – A set of IDs by which to filter the services. This attribute was +added in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.vcenter.trusted_infrastructure.attestation.Service. +When methods return a value of this class as a return value, the +attribute will contain identifiers for the resource type: +com.vmware.vcenter.trusted_infrastructure.attestation.Service. +If None, the services will not be filtered by ID.

  • +
  • address (list of com.vmware.vcenter.trusted_infrastructure_client.NetworkAddress or None) – A set of address by which to filter. This attribute was added in +vSphere API 7.0.0. +If None, the services will not be filtered by address.

  • +
  • group (set of str or None) – The group specifies the Key Provider Service instances that can +accept reports issued by this Attestation Service instance. This +attribute was added in vSphere API 7.0.0. +If None, the services will not be filtered by group.

  • +
  • trust_authority_cluster (set of str or None) – The cluster specifies the Trust Authority Cluster this Attestation +Service belongs to. This attribute was added in vSphere API 7.0.0. +If None, the services will not be filtered by +trustAuthorityCluster.

  • +
+
+
+
+ +
+
+class Info(address=None, trusted_ca=None, group=None, trust_authority_cluster=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Services.Info class contains all the stored information about a +registered Attestation Service instance. This class was added in vSphere +API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • address (com.vmware.vcenter.trusted_infrastructure_client.NetworkAddress) – The service’s address. This attribute was added in vSphere API +7.0.0.

  • +
  • trusted_ca (com.vmware.vcenter.trusted_infrastructure_client.X509CertChain) – The service’s TLS certificate chain. This attribute was added in +vSphere API 7.0.0.

  • +
  • group (str) – The group specifies the Key Provider Service instances that can +accept reports issued by this Attestation Service instance. This +attribute was added in vSphere API 7.0.0.

  • +
  • trust_authority_cluster (str) – The cluster specifies the Trust Authority Cluster this Attestation +Service belongs to. This attribute was added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.vcenter.trusted_infrastructure.attestation.Service'
+

The resource type for the Attestation Service instances. This class attribute +was added in vSphere API 7.0.0.

+
+ +
+
+class Summary(service=None, address=None, group=None, trust_authority_cluster=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Services.Summary class contains basic information about a +registered Attestation Service instance. This class was added in vSphere +API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • service (str) – The service’s unique identifier. This attribute was added in +vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.attestation.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.vcenter.trusted_infrastructure.attestation.Service.

  • +
  • address (com.vmware.vcenter.trusted_infrastructure_client.NetworkAddress) – The service’s address. This attribute was added in vSphere API +7.0.0.

  • +
  • group (str) – The group specifies the Key Provider Service instances that can +accept reports issued by this Attestation Service instance. This +attribute was added in vSphere API 7.0.0.

  • +
  • trust_authority_cluster (str) – The cluster specifies the Trust Authority Cluster this Attestation +Service instance belongs to. This attribute was added in vSphere +API 7.0.0.

  • +
+
+
+
+ +
+
+create(spec)
+

Registers a new Attestation Service instance in this vCenter. This +method was added in vSphere API 7.0.0.

+
+
Parameters
+

spec (Services.CreateSpec) – The CreateSpec for the new service.

+
+
Return type
+

str

+
+
Returns
+

ID of the newly registered Attestation Service instance. +The return value will be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.attestation.Service.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if there is already a Attestation Service instance with the same +Address.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the CreateSpec contains invalid data.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires TrustedAdmin.ManageTrustedHosts.

  • +
+
+
+
+ +
+
+delete(service)
+

Removes a registered Attestation Service instance from this vCenter. +This method was added in vSphere API 7.0.0.

+
+
Parameters
+

service (str) – the Attestation Service instance unique identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.attestation.Service.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if an error occurred while deleting the service.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the Attestation Service instance is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the Attestation Service instance is used by a configuration on a +cluster level.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires TrustedAdmin.ManageTrustedHosts.

  • +
+
+
+
+ +
+
+get(service)
+

Returns the detailed information about a registered Attestation Service +instance in this vCenter. This method was added in vSphere API 7.0.0.

+
+
Parameters
+

service (str) – the Attestation Service instance unique identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.attestation.Service.

+
+
Return type
+

Services.Info

+
+
Returns
+

Detailed information about the specified Attestation Service +instance.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if an error occurred while getting the data.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if there is no registered Attestation Service instance with the +specified ID.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires TrustedAdmin.ReadTrustedHosts.

  • +
+
+
+
+ +
+
+list(spec=None)
+

Returns detailed information about all registered Attestation Service +instances in this vCenter. This method was added in vSphere API 7.0.0.

+
+
Parameters
+

spec (Services.FilterSpec or None) – Return only services matching the specified filters. +If {\@term.unset} return all services.

+
+
Return type
+

list of Services.Summary

+
+
Returns
+

Detailed information about all registered Attestation Service +instances in this vCenter.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if an error occurred while getting the data.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires TrustedAdmin.ReadTrustedHosts.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter.trusted_infrastructure.attestation_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.trusted_infrastructure.kms_client module

+

The com.vmware.vcenter.trusted_infrastructure.kms_client module provides +classes for configuring Key Provider Services for Trusted vCenter.

+
+
+class com.vmware.vcenter.trusted_infrastructure.kms_client.Services(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Services class contains information about the registered instances +of the Key Provider Service in vCenter. This class was added in vSphere API +7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(address=None, trusted_ca=None, group=None, trust_authority_cluster=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Services.CreateSpec class contains the data necessary for +registering a Key Provider Service instance to the environment. This class +was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • address (com.vmware.vcenter.trusted_infrastructure_client.NetworkAddress) – The service’s address. This attribute was added in vSphere API +7.0.0.

  • +
  • trusted_ca (com.vmware.vcenter.trusted_infrastructure_client.X509CertChain) – The service’s TLS certificate chain. This attribute was added in +vSphere API 7.0.0.

  • +
  • group (str) – The group determines the Attestation Service instances this Key +Provider service can accept reports from. This attribute was added +in vSphere API 7.0.0.

  • +
  • trust_authority_cluster (str) – The cluster specifies the Trust Authority Cluster this Key Provider +Service belongs to. This attribute was added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class FilterSpec(services=None, address=None, group=None, trust_authority_cluster=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Services.FilterSpec class contains the data necessary for +identifying a Key Provider Service instance. This class was added in +vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • services (set of str or None) – A set of IDs by which to filter the services. This attribute was +added in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.vcenter.trusted_infrastructure.kms.Service. When +methods return a value of this class as a return value, the +attribute will contain identifiers for the resource type: +com.vmware.vcenter.trusted_infrastructure.kms.Service. +If None, the services will not be filtered by ID.

  • +
  • address (list of com.vmware.vcenter.trusted_infrastructure_client.NetworkAddress or None) – A set of address by which to filter. This attribute was added in +vSphere API 7.0.0. +If None, the services will not be filtered by address.

  • +
  • group (set of str or None) – The group determines the Attestation Service instances this Key +Provider Service can accept reports from. This attribute was added +in vSphere API 7.0.0. +If None, the Services will not be filtered by group.

  • +
  • trust_authority_cluster (set of str or None) – The cluster specifies the Trust Authority Cluster this Key Provider +Service belongs to. This attribute was added in vSphere API 7.0.0. +If None, the Services will not be filtered by +trustAuthorityCluster.

  • +
+
+
+
+ +
+
+class Info(address=None, trusted_ca=None, group=None, trust_authority_cluster=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Services.Info class contains all the stored information about a +registered Key Provider Service instance. This class was added in vSphere +API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • address (com.vmware.vcenter.trusted_infrastructure_client.NetworkAddress) – The service’s address. This attribute was added in vSphere API +7.0.0.

  • +
  • trusted_ca (com.vmware.vcenter.trusted_infrastructure_client.X509CertChain) – The service’s TLS certificate chain. This attribute was added in +vSphere API 7.0.0.

  • +
  • group (str) – The group determines the Attestation Service instances this Key +Provider Service can accept reports from. This attribute was added +in vSphere API 7.0.0.

  • +
  • trust_authority_cluster (str) – The cluster specifies the Trust Authority Cluster this Key Provider +Service belongs to. This attribute was added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.vcenter.trusted_infrastructure.kms.Service'
+

The resource type for the Key Provider Service instance. This class attribute +was added in vSphere API 7.0.0.

+
+ +
+
+class Summary(service=None, address=None, group=None, trust_authority_cluster=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Services.Summary class contains basic information about a +registered Key Provider Service instance. This class was added in vSphere +API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • service (str) – The service’s unique identifier. This attribute was added in +vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.kms.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.vcenter.trusted_infrastructure.kms.Service.

  • +
  • address (com.vmware.vcenter.trusted_infrastructure_client.NetworkAddress) – The service’s address. This attribute was added in vSphere API +7.0.0.

  • +
  • group (str) – The group determines the Attestation Service instances this Key +Provider Service can accept reports from. This attribute was added +in vSphere API 7.0.0.

  • +
  • trust_authority_cluster (str) – The cluster specifies the Trust Authority Cluster this Key Provider +service belongs to. This attribute was added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+create(spec)
+

Registers a Key Provider Service instance in this vCenter. This method +was added in vSphere API 7.0.0.

+
+
Parameters
+

spec (Services.CreateSpec) – The CreateSpec for the new service.

+
+
Return type
+

str

+
+
Returns
+

ID of the newly registered Key Provider Service instance. +The return value will be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.kms.Service.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if there is already a Key Provider Service instance with the same +Address.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the CreateSpec contains invalid data.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires TrustedAdmin.ManageTrustedHosts.

  • +
+
+
+
+ +
+
+delete(service)
+

Removes a currently registered Key Provider Service instance from this +vCenter. This method was added in vSphere API 7.0.0.

+
+
Parameters
+

service (str) – the Key Provider Service instance unique identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.kms.Service.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if an error occurred while deleting the service.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the Key Provider Service instance is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the Key Provider Service instance is used by a configuration on +a cluster level.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires TrustedAdmin.ManageTrustedHosts.

  • +
+
+
+
+ +
+
+get(service)
+

Returns the detailed information about a registered Key Provider +Service instance in this vCenter. This method was added in vSphere API +7.0.0.

+
+
Parameters
+

service (str) – the Key Provider Service instance unique identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.kms.Service.

+
+
Return type
+

Services.Info

+
+
Returns
+

Detailed information about the specified Key Provider Service +instance.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if an error occurred while getting the data.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if there is no Key Provider Service instance with the specified ID.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires TrustedAdmin.ReadTrustedHosts.

  • +
+
+
+
+ +
+
+list(spec=None)
+

Returns basic information about all registered Key Provider Service +instances in this vCenter. This method was added in vSphere API 7.0.0.

+
+
Parameters
+

spec (Services.FilterSpec or None) – Return only services matching the specified filters. +If {\@term.unset} return all services.

+
+
Return type
+

list of Services.Summary

+
+
Returns
+

Basic information about all registered Key Provider Service +instances in this vCenter.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if an error occurred while getting the data.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires TrustedAdmin.ReadTrustedHosts.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter.trusted_infrastructure.kms_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters_client module

+

The +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters_client +module provides the Trust Authority Components.

+
+
+class com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters_client.ConsumerPrincipals(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The ConsumerPrincipals class configures the token policies and STS +trust necessary for the workload vCenter to query the trusted services for +their status. This class was added in vSphere API 7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(certificates=None, issuer_alias=None, issuer=None, principal=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ConsumerPrincipals.CreateSpec class contains the information +necessary to establish trust between a workload vCenter and a Trust +Authority Host. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • certificates (list of com.vmware.vcenter.trusted_infrastructure_client.X509CertChain) – The certificates used by the vCenter STS to sign tokens. This +attribute was added in vSphere API 7.0.0.

  • +
  • issuer_alias (str) – A user-friendly alias of the service which created and signed the +security token. This attribute was added in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.authentication.trust.security-token-issuer. When +methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: +com.vmware.esx.authentication.trust.security-token-issuer.

  • +
  • issuer (str) – The service which created and signed the security token. This +attribute was added in vSphere API 7.0.0.

  • +
  • principal (com.vmware.vcenter.trusted_infrastructure_client.StsPrincipal) – The principal used by the vCenter to retrieve tokens. This +attribute was added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class FilterSpec(id=None, principals=None, issuer=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ConsumerPrincipals.FilterSpec class contains data which identifies +a connection profile on the trusted vCenter. This class was added in +vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (set of str or None) – The unqiue identifier of a connection profile. This attribute was +added in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.esx.authentication.clientprofile. When methods +return a value of this class as a return value, the attribute will +contain identifiers for the resource type: +com.vmware.esx.authentication.clientprofile. +If None, no filtration will be performed by ID.

  • +
  • principals (list of com.vmware.vcenter.trusted_infrastructure_client.StsPrincipal or None) – The principal used by the vCenter to retrieve tokens. This +attribute was added in vSphere API 7.0.0. +If None, no filtration will be performed by principals.

  • +
  • issuer (set of str or None) – The service which created and signed the security token. This +attribute was added in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.esx.authentication.trust.security-token-issuer. When +methods return a value of this class as a return value, the +attribute will contain identifiers for the resource type: +com.vmware.esx.authentication.trust.security-token-issuer. +If None, no filtration will be performed by issuer.

  • +
+
+
+
+ +
+
+class Health(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The ConsumerPrincipals.Health class defines the possible health states. +This enumeration was added in vSphere API 7.0.0.

+
+

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 the Health instance.

+
+
+
+
+ERROR = Health(string='ERROR')
+

Error. Not healthy. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+NONE = Health(string='NONE')
+

None. No status available. This class attribute was added in vSphere API +7.0.0.

+
+ +
+
+OK = Health(string='OK')
+

OK. Health is normal. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+WARNING = Health(string='WARNING')
+

Warning. Health is normal, however there is an issue that requires +attention. This class attribute was added in vSphere API 7.0.0.

+
+ +
+ +
+
+class Info(id=None, principal=None, issuer_alias=None, issuer=None, certificates=None, health=None, message=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ConsumerPrincipals.Info class contains the information necessary to +establish trust between a workload vCenter and a Trust Authority Host. This +class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) – The unqiue identifier of a connection profile. This attribute was +added in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.authentication.clientprofile. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.esx.authentication.clientprofile.

  • +
  • principal (com.vmware.vcenter.trusted_infrastructure_client.StsPrincipal) – The principal used by the vCenter to retrieve tokens. Currently +this is the vCenter solution user. This attribute was added in +vSphere API 7.0.0.

  • +
  • issuer_alias (str) – A user-friendly alias of the service which created and signed the +security token. This attribute was added in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.authentication.trust.security-token-issuer. When +methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: +com.vmware.esx.authentication.trust.security-token-issuer.

  • +
  • issuer (str) – The service which created and signed the security token. This +attribute was added in vSphere API 7.0.0.

  • +
  • certificates (list of com.vmware.vcenter.trusted_infrastructure_client.X509CertChain) – The certificates used by the vCenter STS to sign tokens. This +attribute was added in vSphere API 7.0.0.

  • +
  • health (ConsumerPrincipals.Health) – The consistency of the profile across the hosts in the cluster. +This attribute was added in vSphere API 7.0.0.

  • +
  • message (com.vmware.vapi.std_client.LocalizableMessage or None) – A localizable message describing the health of the profile. This +attribute was added in vSphere API 7.0.0. +If None, the certificates won’t be updated.

  • +
+
+
+
+ +
+
+class Summary(id=None, principal=None, issuer_alias=None, issuer=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ConsumerPrincipals.Summary class contains a summary of the +information necessary to establish trust between a workload vCenter and a +Trust Authority Host. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • id (str) – The unqiue identifier of a connection profile. This attribute was +added in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.authentication.clientprofile. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.esx.authentication.clientprofile.

  • +
  • principal (com.vmware.vcenter.trusted_infrastructure_client.StsPrincipal) – The principal used by the vCenter to retrieve tokens. Currently +this is the vCenter solution user. This attribute was added in +vSphere API 7.0.0.

  • +
  • issuer_alias (str) – A user-friendly alias of the service which created and signed the +security token. This attribute was added in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.esx.authentication.trust.security-token-issuer. When +methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: +com.vmware.esx.authentication.trust.security-token-issuer.

  • +
  • issuer (str) – The service which created and signed the security token. This +attribute was added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+create_task(cluster, spec)
+

Creates a profile with the specified connection information on all +hosts from a Trust Authority Cluster. This method was added in vSphere +API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – The ID of the Trust Authority Cluster to configure. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • spec (ConsumerPrincipals.CreateSpec) – The CreateSpec specifying the connection information.

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if a profile for the issuer already exists.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if there is no such cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
+
+ +
+
+delete_task(cluster, profile)
+

Removes the read-only policy configured on ESX for a specific +principal. This method was added in vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – The ID of the Trust Authority Cluster to configure. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • profile (str) – The ID of the connection profile to modify. +The parameter must be an identifier for the resource type: +com.vmware.esx.authentication.clientprofile.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if there is no profile configured with that ID.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
+
+ +
+
+get_task(cluster, profile)
+

Retrieve information for a specific profile. This method was added in +vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – The ID of the Trust Authority Cluster on which the profile is +configured. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • profile (str) – The ID of the profile. +The parameter must be an identifier for the resource type: +com.vmware.esx.authentication.clientprofile.

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if there is no profile configured with that ID.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
+
+ +
+
+list_task(cluster, spec=None)
+

Lists all policies configured on a specific cluster. This method was +added in vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – The ID of the Trust Authority Cluster on which the profile is +configured. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • spec (ConsumerPrincipals.FilterSpec or None) – A FilterSpec specifying the profiles to be listed. +If {\@term.unset} return all policies.

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if there is no profile configured with that ID.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.trusted_infrastructure.trust_authority_hosts_client module

+

The com.vmware.vcenter.trusted_infrastructure.trust_authority_hosts_client +module provides classes that provide information necessary to connect to the +hosts running the Trust Authority Components.

+
+
+class com.vmware.vcenter.trusted_infrastructure.trust_authority_hosts_client.Attestation(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Attestation class contains information necessary to connect to the +hosts running Attestation Service. This class was added in vSphere API +7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class FilterSpec(hosts=None, clusters=None, address=None, groups=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Attestation.FilterSpec class contains the data necessary for +identifying a Attestation Service. This class was added in vSphere API +7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • hosts (set of str or None) – A set of host IDs by which to filter the services. This attribute +was added in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: HostSystem. +If None, the services will not be filtered by the hosts on which +they run.

  • +
  • clusters (set of str or None) – A set of cluster IDs by which to filter the services. This +attribute was added in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will contain identifiers for +the resource type: ClusterComputeResource. +If None, the services will not be filtered by the clusters on which +they run.

  • +
  • address (list of com.vmware.vcenter.trusted_infrastructure_client.NetworkAddress or None) – The service’s address. This attribute was added in vSphere API +7.0.0. +If None, the services will not be filtered by address.

  • +
  • groups (set of str or None) – The group IDs determines which Attestation Service instances this +Attestation Service can communicate with. This attribute was added +in vSphere API 7.0.0. +If None, the services will not be filtered by groupId.

  • +
+
+
+
+ +
+
+class Info(host=None, address=None, group=None, cluster=None, trusted_ca=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Attestation.Info class contains all the stored information about a +Attestation Service. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • host (str) – The trusted ESX on which the service runs. This attribute was added +in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: HostSystem.

  • +
  • address (com.vmware.vcenter.trusted_infrastructure_client.NetworkAddress) – The service’s address. This attribute was added in vSphere API +7.0.0.

  • +
  • group (str) – The group ID determines which Attestation Service instances this +Attestation Service can communicate with. This attribute was added +in vSphere API 7.0.0.

  • +
  • cluster (str) – The opaque string identifier of the cluster in which the +Attestation Service is part of. This attribute was added in vSphere +API 7.0.0.

  • +
  • trusted_ca (com.vmware.vcenter.trusted_infrastructure_client.X509CertChain) – The service’s TLS certificate chain. This attribute was added in +vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class Summary(summary_type=None, host=None, address=None, group=None, cluster=None, trusted_ca=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Attestation.Summary class contains all the stored information about +a Attestation Service. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class SummaryType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The connection information could include the certificates or be a shorter +summary. This enumeration was added in vSphere API 7.0.0.

+
+

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 the SummaryType instance.

+
+
+
+
+BRIEF = SummaryType(string='BRIEF')
+

A brief summary, containing only the hostname for the Attestation Service. +This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+FULL = SummaryType(string='FULL')
+

The full connection information, including certificates. This class +attribute was added in vSphere API 7.0.0.

+
+ +
+
+NORMAL = SummaryType(string='NORMAL')
+

A summary containing only the hostname, port, and the group ID which +determines the Attestation Services this Attestation Service can +communicate with. This class attribute was added in vSphere API 7.0.0.

+
+ +
+ +
+
+get(host)
+

Returns the connection info about the Attestation Service running on +the specified host. This method was added in vSphere API 7.0.0.

+
+
Parameters
+

host (str) – \@{link com.vmware.vcenter.Host} id. +The parameter must be an identifier for the resource type: +HostSystem.

+
+
Return type
+

Attestation.Info

+
+
Returns
+

The Attestation.Info instance which contains the +information necessary to connect to the Attestation Service.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if service’s TLS certificate chain is not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if host doesn’t match to any Host.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if connection to host failed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires TrustedAdmin.ReadTrustedHosts.

  • +
  • The resource HostSystem referenced by the parameter host +requires System.View.

  • +
+
+
+
+ +
+
+list(spec=None, projection=None)
+

Returns a list of the hosts running a Attestation Service matching the +specified Attestation.FilterSpec. This method was added in +vSphere API 7.0.0.

+
+
Parameters
+
    +
  • spec (Attestation.FilterSpec or None) – Return details about Attestation Services matching the filter. +If {\@term.unset} return all registered Attestation Services.

  • +
  • projection (Attestation.SummaryType or None) – The type of the returned summary - brief, normal, or full. +If {\@term.unset} a normal projection will be used.

  • +
+
+
Return type
+

list of Attestation.Summary

+
+
Returns
+

List of Attestation.Summary of Attestation Services.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the response data will exceed the message limit.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires TrustedAdmin.ReadTrustedHosts.

  • +
  • The resource HostSystem referenced by the attribute +Attestation.FilterSpec.hosts requires System.View.

  • +
  • The resource ClusterComputeResource referenced by the +attribute Attestation.FilterSpec.clusters requires +System.View.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter.trusted_infrastructure.trust_authority_hosts_client.Kms(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Kms class contains information necessary to connect to the hosts +running Key Provider Service. This class was added in vSphere API 7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class FilterSpec(hosts=None, clusters=None, address=None, groups=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Kms.FilterSpec class contains the data necessary for identifying a +Key Provider Service. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • hosts (set of str or None) – A set of host IDs by which to filter the services. This attribute +was added in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will contain identifiers for the +resource type: HostSystem. +If None, the services will not be filtered by the hosts on which +they run.

  • +
  • clusters (set of str or None) – A set of cluster IDs by which to filter the services. This +attribute was added in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will contain identifiers for +the resource type: ClusterComputeResource. +If None, the services will not be filtered by the clusters on which +they run.

  • +
  • address (list of com.vmware.vcenter.trusted_infrastructure_client.NetworkAddress or None) – The service’s address. This attribute was added in vSphere API +7.0.0. +If None, the services will not be filtered by address.

  • +
  • groups (set of str or None) – The group determines reports issued by which Attestation Service +instances this Key Provider Service can accept. This attribute was +added in vSphere API 7.0.0. +If None, the services will not be filtered by groupId.

  • +
+
+
+
+ +
+
+class Info(host=None, address=None, group=None, cluster=None, trusted_ca=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Kms.Info class contains all the stored information about a Key +Provider Service. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • host (str) – The trusted ESX on which the service runs. This attribute was added +in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: HostSystem.

  • +
  • address (com.vmware.vcenter.trusted_infrastructure_client.NetworkAddress) – The service’s address. This attribute was added in vSphere API +7.0.0.

  • +
  • group (str) – The group ID determines which Attestation Service instances this +Key Provider Service can communicate with. This attribute was added +in vSphere API 7.0.0.

  • +
  • cluster (str) – The opaque string identifier of the cluster in which the Key +Provider Service is part of. This attribute was added in vSphere +API 7.0.0.

  • +
  • trusted_ca (com.vmware.vcenter.trusted_infrastructure_client.X509CertChain) – The service’s TLS certificate chain. This attribute was added in +vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class Summary(summary_type=None, host=None, address=None, group=None, cluster=None, trusted_ca=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Kms.Summary class contains all the stored information about a Key +Provider Service. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • summary_type (Kms.SummaryType) – Defines the verbosity of the summary. This attribute was added in +vSphere API 7.0.0.

  • +
  • host (str) – The trusted ESX on which the service runs. This attribute was added +in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: HostSystem. +This attribute is optional and it is only relevant when the value +of summaryType is one of Kms.SummaryType.BRIEF, +Kms.SummaryType.NORMAL, or Kms.SummaryType.FULL.

  • +
  • address (com.vmware.vcenter.trusted_infrastructure_client.NetworkAddress) – The service’s address. This attribute was added in vSphere API +7.0.0. +This attribute is optional and it is only relevant when the value +of summaryType is one of Kms.SummaryType.BRIEF, +Kms.SummaryType.NORMAL, or Kms.SummaryType.FULL.

  • +
  • group (str) – The group ID determines which Attestation Service instances this +Key Provider Service can communicate with. This attribute was added +in vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of summaryType is one of Kms.SummaryType.NORMAL or +Kms.SummaryType.FULL.

  • +
  • cluster (str) – The opaque string identifier of the cluster in which the Key +Provider Service is part of. This attribute was added in vSphere +API 7.0.0. +This attribute is optional and it is only relevant when the value +of summaryType is one of Kms.SummaryType.NORMAL or +Kms.SummaryType.FULL.

  • +
  • trusted_ca (com.vmware.vcenter.trusted_infrastructure_client.X509CertChain) – The service’s TLS certificate chain. This attribute was added in +vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of summaryType is Kms.SummaryType.FULL.

  • +
+
+
+
+ +
+
+class SummaryType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The connection information could include the certificates or be a shorter +summary. This enumeration was added in vSphere API 7.0.0.

+
+

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 the SummaryType instance.

+
+
+
+
+BRIEF = SummaryType(string='BRIEF')
+

A brief summary, containing only the hostname for the Key Provider Service. +This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+FULL = SummaryType(string='FULL')
+

The full connection information, including certificates. This class +attribute was added in vSphere API 7.0.0.

+
+ +
+
+NORMAL = SummaryType(string='NORMAL')
+

A summary containing only the hostname, port, and the group which +determines the Attestation Services this Key Provider Service can +communicate with. This class attribute was added in vSphere API 7.0.0.

+
+ +
+ +
+
+get(host)
+

Returns the connection info about the Key Provider Service running on +the specified host. This method was added in vSphere API 7.0.0.

+
+
Parameters
+

host (str) – \@{link com.vmware.vcenter.Host} id. +The parameter must be an identifier for the resource type: +HostSystem.

+
+
Return type
+

Kms.Info

+
+
Returns
+

The Kms.Info instance which contains the information +necessary to connect to the Key Provider Service.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if service’s TLS certificate chain is not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if host doesn’t match to any Host.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if connection to host failed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires TrustedAdmin.ReadTrustedHosts.

  • +
  • The resource HostSystem referenced by the parameter host +requires System.View.

  • +
+
+
+
+ +
+
+list(spec=None, projection=None)
+

Returns a list of the hosts running a Key Provider Service matching the +specified Kms.FilterSpec. This method was added in vSphere API +7.0.0.

+
+
Parameters
+
    +
  • spec (Kms.FilterSpec or None) – Return details about Key Provider Services matching the filter. +If {\@term.unset} return all registered Key Provider Services.

  • +
  • projection (Kms.SummaryType or None) – The type of the returned summary - brief, normal, or full. +If {\@term.unset} a normal projection will be used.

  • +
+
+
Return type
+

list of Kms.Summary

+
+
Returns
+

List of Kms.Summary of Key Provider Services.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the response data will exceed the message limit.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires TrustedAdmin.ReadTrustedHosts.

  • +
  • The resource HostSystem referenced by the attribute +Kms.FilterSpec.hosts requires System.View.

  • +
  • The resource ClusterComputeResource referenced by the +attribute Kms.FilterSpec.clusters requires System.View.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter.trusted_infrastructure.trust_authority_hosts_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.html b/vsphere/7.0.0.1/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.html new file mode 100644 index 00000000..ef327d45 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.html @@ -0,0 +1,1158 @@ + + + + + + + + + + + com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation package

+ +
+

Submodules

+
+
+

com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2_client module

+

The +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2_client +module provides classes to manage remote attestation configuration for TPM +trust.

+
+
+class com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2_client.CaCertificates(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The CaCertificates class provides methods to manage Trusted Platform +Module (TPM) CA certificates.

+

Endorsement Keys are typically packaged in a certificate that is signed by +a certificate authority (CA). This class allows the CA certificate to be +registered with the Attestation Service in order to validate TPM EK +certificates when presented at attestation time.. This class was added in +vSphere API 7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(name=None, cert_chain=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CaCertificates.CreateSpec class contains information that describes +a TPM CA certificate. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – A unique name for the TPM CA certificate. This attribute was added +in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2.CaCertificate. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2.CaCertificate.

  • +
  • cert_chain (com.vmware.vcenter.trusted_infrastructure_client.X509CertChain or None) –

    The CA certificate chain.

    +

    Certificates may either be added one at a time, or as a chain. +Adding the certificates as a chain allows the group to be managed +as a whole. For example, an entire chain can be deleted in one +CaCertificates.delete() operation.

    +

    When certificates are added one at a time, the order must be root +first, followed by any intermediates. The intermediates +certificates must also be ordered in the direction from root to +leaf.

    +

    Similarly, when added as a chain the list must be ordered in the +direction from root to leaf.. This attribute was added in vSphere +API 7.0.0. +If None creation will fail.

    +

  • +
+
+
+
+ +
+
+class Health(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The CaCertificates.Health class is indicator for the consistency of the +hosts status in the cluster. This enumeration was added in vSphere API +7.0.0.

+
+

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 the Health instance.

+
+
+
+
+ERROR = Health(string='ERROR')
+

Not all hosts in the cluster are in consistent state. This class attribute +was added in vSphere API 7.0.0.

+
+ +
+
+NONE = Health(string='NONE')
+

No status available. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+OK = Health(string='OK')
+

Each host in the cluster is in consistent state with the rest hosts in the +cluster. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+WARNING = Health(string='WARNING')
+

Attestation is funtioning, however there is an issue that requires +attention. This class attribute was added in vSphere API 7.0.0.

+
+ +
+ +
+
+class Info(cert_chain=None, health=None, details=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CaCertificates.Info class contains information that describes a TPM +CA certificate. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2.CaCertificate'
+

Resource type for TPM 2.0 CA certificates. This class attribute was added in +vSphere API 7.0.0.

+
+ +
+
+class Summary(name=None, health=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CaCertificates.Summary class contains information that summarizes a +TPM CA certificate. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – A unique name for the TPM CA certificate. This attribute was added +in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2.CaCertificate. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2.CaCertificate.

  • +
  • health (CaCertificates.Health) – A health indicator which indicates whether each host in the cluster +has the same CA certs. This attribute was added in vSphere API +7.0.0.

  • +
+
+
+
+ +
+
+create_task(cluster, spec)
+

Add a new TPM CA certificate on a cluster. This method was added in +vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – The id of the cluster on which the operation will be executed. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • spec (CaCertificates.CreateSpec) – The new CA certificate details.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if the certificate name exists.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the configuration is invalid or the cluster id is empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if cluster doesn’t match to any cluster in the vCenter.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
+
+ +
+
+delete_task(cluster, name)
+

Remove a TPM CA certificate on a cluster. This method was added in +vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – The id of the cluster on which the operation will be executed. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • name (str) – The CA certificate name. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2.CaCertificate.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the name is invalid or cluster id is empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the cluster doesn’t match to any cluster in the vCenter or +given name is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
+
+ +
+
+get_task(cluster, name)
+

Get the TPM CA certificate details on a cluster. This method was added +in vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – The id of the cluster on which the operation will be executed. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • name (str) – The CA certificate name. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2.CaCertificate.

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the name is invalid or cluster id is empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the CA certificate is not found or cluster doesn’t match to +any cluster in the vCenter.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
+
+ +
+
+list_task(cluster)
+

Return a list of configured TPM CA certificates on a cluster. This +method was added in vSphere API 7.0.0.

+
+
Parameters
+

cluster (str) – The id of the cluster on which the operation will be executed. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if cluster id is empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the cluster doesn’t match to any cluster in the vCenter or +given name is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2_client.EndorsementKeys(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The EndorsementKeys class provides methods to manage Trusted Platform +Module (TPM) Endorsement Keys (EK) on a cluster level. This class was added +in vSphere API 7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(name=None, public_key=None, certificate=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The EndorsementKeys.CreateSpec class contains information that +describes a TPM endorsement key.

+

Only one of EndorsementKeys.CreateSpec.public_key or +EndorsementKeys.CreateSpec.certificate must be specified.. This +class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) –

    A unique name for the TPM endorsement key.

    +

    The unique name should be something that an administrator can use +to easily identify the remote system. For example, the hostname, or +hardware UUID.. This attribute was added in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2.EndorsementKey. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2.EndorsementKey.

    +

  • +
  • public_key (str or None) – TPM public endorsement key in PEM format. This attribute was added +in vSphere API 7.0.0. +If None EndorsementKeys.CreateSpec.certificate must be +set.

  • +
  • certificate (str or None) –

    TPM endorsement key certificate in PEM format.

    +

    When a endorsement key certificate is provided, it will be verified +against the CA certificate list. Endorsement key certificates that +are not signed by one of the CA certificates will be rejected.

    +

    Using this format allows for failures to be caught during +configuration rather than later during attestation.. This attribute +was added in vSphere API 7.0.0. +If None EndorsementKeys.CreateSpec.public_key must be +set.

    +

  • +
+
+
+
+ +
+
+class Health(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The EndorsementKeys.Health class is indicator for the consistency of +the hosts status in the cluster. This enumeration was added in vSphere API +7.0.0.

+
+

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 the Health instance.

+
+
+
+
+ERROR = Health(string='ERROR')
+

Not all hosts in the cluster are in consistent state. This class attribute +was added in vSphere API 7.0.0.

+
+ +
+
+NONE = Health(string='NONE')
+

No status available. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+OK = Health(string='OK')
+

Each host in the cluster is in consistent state with the rest hosts in the +cluster. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+WARNING = Health(string='WARNING')
+

Attestation is functioning, however there is an issue that requires +attention. This class attribute was added in vSphere API 7.0.0.

+
+ +
+ +
+
+class Info(public_key=None, health=None, details=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The EndorsementKeys.Info class contains information that describes a +TPM endorsement key. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • public_key (str) – TPM public endorsement key in PEM format. This attribute was added +in vSphere API 7.0.0.

  • +
  • health (EndorsementKeys.Health) – A health indicator which indicates whether each host in the cluster +has the same endorsement key. This attribute was added in vSphere +API 7.0.0.

  • +
  • details (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Details regarding the health.

    +

    When the EndorsementKeys.Health is not +EndorsementKeys.Health.OK or +EndorsementKeys.Health.NONE, this member will provide an +actionable description of the issues present.. This attribute was +added in vSphere API 7.0.0.

    +

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2.EndorsementKey'
+

Resource type for TPM 2.0 endorsement keys. This class attribute was added in +vSphere API 7.0.0.

+
+ +
+
+class Summary(name=None, health=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The EndorsementKeys.Summary class contains information that summarizes +a TPM endorsement key. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str) – A unique name for the TPM endorsement key. This attribute was added +in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2.EndorsementKey. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2.EndorsementKey.

  • +
  • health (EndorsementKeys.Health) – A health indicator which indicates whether each host in the cluster +has the same endorsement key. This attribute was added in vSphere +API 7.0.0.

  • +
+
+
+
+ +
+
+create_task(cluster, spec)
+

Add a new TPM endorsement key on a cluster. This method was added in +vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – The id of the cluster on which the operation will be executed. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • spec (EndorsementKeys.CreateSpec) – The configuration.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if the endorsement key name exists.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the configuration is invalid or cluster id is empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if cluster doesn’t match to any cluster in the vCenter.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
+
+ +
+
+delete_task(cluster, name)
+

Remove a TPM endorsement key on a cluster. This method was added in +vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – The id of the cluster on which the operation will be executed. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • name (str) – The endorsement key name. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2.EndorsementKey.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the name is invalid or cluster id is empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the name is not found or cluster doesn’t match to any +cluster in the vCenter.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
+
+ +
+
+get_task(cluster, name)
+

Get the TPM endorsement key details on a cluster. This method was added +in vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – The id of the cluster on which the operation will be executed. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • name (str) – The endorsement key name. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2.EndorsementKey.

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the name is invalid or cluster id is empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the endorsement key is not found or cluster doesn’t match to +any cluster in the vCenter.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
+
+ +
+
+list_task(cluster)
+

Return a list of configured TPM endorsement keys in a cluster. This +method was added in vSphere API 7.0.0.

+
+
Parameters
+

cluster (str) – The id of the cluster on which the operation will be executed. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the cluster id is empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the cluster is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2_client.Settings(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Settings interface provides methods to get or update settings +related to the TPM 2.0 attestation protocol behavior. This class was added +in vSphere API 7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Health(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Settings.Health class is indicator for the consistency of the hosts +status in the cluster. This enumeration was added in vSphere API 7.0.0.

+
+

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 the Health instance.

+
+
+
+
+ERROR = Health(string='ERROR')
+

Not all hosts in the cluster are in consistent state. This class attribute +was added in vSphere API 7.0.0.

+
+ +
+
+NONE = Health(string='NONE')
+

No status available. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+OK = Health(string='OK')
+

Each host in the cluster is in consistent state with the rest hosts in the +cluster. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+WARNING = Health(string='WARNING')
+

Attestation is functioning, however there is an issue that requires +attention. This class attribute was added in vSphere API 7.0.0.

+
+ +
+ +
+
+class Info(require_endorsement_keys=None, require_certificate_validation=None, health=None, details=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Settings.Info class contains information that describes the TPM 2.0 +protocol settings. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • require_endorsement_keys (bool) –

    Require registered TPM endorsement keys.

    +

    During attestation, the attested host will always send its +endorsement key to the Attestation Service. With this option is +set, the Attestation Service will only proceed with attestation if +the endorsement key has been added to the list of configured +trusted endorsement keys.. This attribute was added in vSphere API +7.0.0.

    +

  • +
  • require_certificate_validation (bool) –

    Require TPM endorsement key certificate validation.

    +

    During attestation, the attested host will send its endorsement key +certificate if one is available. With this option set, the +Attestation Service will validate the endorsement key certificate +against the list of configured trusted TPM CA certificates. Only +endorsement key certificates that are signed by a trusted TPM CA +certificate will be able to successfully attest.. This attribute +was added in vSphere API 7.0.0.

    +

  • +
  • health (Settings.Health) – A health indicator which indicates whether each host in the cluster +has the same attestation settings. This attribute was added in +vSphere API 7.0.0.

  • +
  • details (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Details regarding the health.

    +

    When the Settings.Health is not Settings.Health.OK or +Settings.Health.NONE, this member will provide an +actionable description of the issues present.. This attribute was +added in vSphere API 7.0.0.

    +

  • +
+
+
+
+ +
+
+class UpdateSpec(require_endorsement_keys=None, require_certificate_validation=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Settings.UpdateSpec class contains information that describes +changes to the TPM 2.0 protocol settings. This class was added in vSphere +API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • require_endorsement_keys (bool or None) – Require registered TPM endorsement keys. This attribute was added +in vSphere API 7.0.0. +If None the current state will remain unchanged.

  • +
  • require_certificate_validation (bool or None) – Require TPM endorsement key certificate validation. This attribute +was added in vSphere API 7.0.0. +If None the current state will remain unchanged.

  • +
+
+
+
+ +
+
+get_task(cluster)
+

Return the TPM 2.0 protocol settings. This method was added in vSphere +API 7.0.0.

+
+
Parameters
+

cluster (str) – The id of the cluster on which the operation will be executed. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the cluster id is empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if cluster doesn’t match to any cluster in the vCenter.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
+
+ +
+
+update_task(cluster, spec)
+

Set the TPM 2.0 protocol settings. This method was added in vSphere API +7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – The id of the cluster on which the operation will be executed. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • spec (Settings.UpdateSpec) – The settings.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the spec is invalid or cluster id is empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if cluster doesn’t match to any cluster in the vCenter.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os.html b/vsphere/7.0.0.1/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os.html new file mode 100644 index 00000000..ab9d1726 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os.html @@ -0,0 +1,603 @@ + + + + + + + + + + + com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + + +
+
+ +
+

com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os package

+
+

Submodules

+
+
+

com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os.esx_client module

+

The +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os.esx_client +module provides the interfaces for configuring ESX host metadata.

+
+
+class com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os.esx_client.BaseImages(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The BaseImages class provides methods to manage trusted instances of +ESX software on a cluster level. This class was added in vSphere API 7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class FilterSpec(version=None, display_name=None, health=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The BaseImages.FilterSpec class contains the data necessary for +identifying a Trust Authority Host in a cluster. This class was added in +vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • version (set of str or None) – Search criteria by ESX base image version numbers. This attribute +was added in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os.esx.BaseImage. +When methods return a value of this class as a return value, the +attribute will contain identifiers for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os.esx.BaseImage. +version if {\@term.unset} return all ESX version numbers.

  • +
  • display_name (set of str or None) – Search criteria by ESX base image version version numbers. This +attribute was added in vSphere API 7.0.0. +displayName if {\@term.unset} return all ESX display version +numbers.

  • +
  • health (set of BaseImages.Health or None) – Search criteria by health indicator. This attribute was added in +vSphere API 7.0.0. +health if {\@term.unset} return all health indicators.

  • +
+
+
+
+ +
+
+class Health(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The BaseImages.Health class is indicator for the consistency of the +hosts status in the cluster. This enumeration was added in vSphere API +7.0.0.

+
+

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 the Health instance.

+
+
+
+
+ERROR = Health(string='ERROR')
+

Not all hosts in the cluster are in consistent state. This class attribute +was added in vSphere API 7.0.0.

+
+ +
+
+NONE = Health(string='NONE')
+

No status available. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+OK = Health(string='OK')
+

Each host in the cluster is in consistent state with the rest hosts in the +cluster. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+WARNING = Health(string='WARNING')
+

Attestation is funtioning, however there is an issue that requires +attention. This class attribute was added in vSphere API 7.0.0.

+
+ +
+ +
+
+class Info(display_name=None, health=None, details=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The BaseImages.Info class contains information that describes an ESX +base image. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • display_name (str) – A unique ESX version formatted for display. This attribute was +added in vSphere API 7.0.0.

  • +
  • health (BaseImages.Health) – A health indicator which indicates whether each host in the cluster +has this version of the ESX base image. This attribute was added in +vSphere API 7.0.0.

  • +
  • details (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Details regarding the health.

    +

    When the BaseImages.Health is not BaseImages.Health.OK +or BaseImages.Health.NONE, this member will provide an +actionable description of the issues present.. This attribute was +added in vSphere API 7.0.0.

    +

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os.esx.BaseImage'
+

Resource type for ESX base image. This class attribute was added in vSphere API +7.0.0.

+
+ +
+
+class Summary(version=None, display_name=None, health=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The BaseImages.Summary class contains information that summarizes an +ESX base image. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • version (str) – A unique ESX version number. This attribute was added in vSphere +API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os.esx.BaseImage. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os.esx.BaseImage.

  • +
  • display_name (str) – A unique ESX version formatted for display. This attribute was +added in vSphere API 7.0.0.

  • +
  • health (BaseImages.Health) – A health indicator which indicates whether each host in the cluster +has this version of the ESX base image. This attribute was added in +vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+delete_task(cluster, version)
+

Remove a trusted ESX base image of each ESX in the cluster. This method +was added in vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – The id of the cluster on which the operation will be executed. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • version (str) – The ESX base image version. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os.esx.BaseImage.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the version is invalid or the cluster id is empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the version or cluster is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
+
+ +
+
+get_task(cluster, version)
+

Get the trusted ESX base version details. This method was added in +vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – The id of the cluster on which the operation will be executed. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • version (str) – The ESX base image version. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os.esx.BaseImage.

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the version is invalid or the cluster id is empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the version or cluster is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
+
+ +
+
+import_from_imgdb_task(cluster, imgdb)
+

Import ESX metadata as a new trusted base image to each host in the +cluster.

+

Import a boot_imgdb.tgz file which contains metadata that describes a +trusted ESX base image. A boot_imgdb.tgz file can be downloaded from a +representative host.. This method was added in vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – The id of the cluster on which the operation will be executed. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • imgdb (str) – ESX metadata on a cluster level.

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if ESX metadata for the same version has already been added.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the imgdb is invalid or cluster id is empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the cluster is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
+
+ +
+
+list_task(cluster, spec=None)
+

Return a list of trusted ESX base images. This method was added in +vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – The id of the cluster on which the operation will be executed. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • spec (BaseImages.FilterSpec or None) – The search specification. +if {\@term.unset} return all information.

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the cluster id is empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the cluster is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the caller is not authenticated.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os.esx_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.html b/vsphere/7.0.0.1/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.html new file mode 100644 index 00000000..35304d48 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.html @@ -0,0 +1,1332 @@ + + + + + + + + + + + com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters package

+ +
+

Submodules

+
+
+

com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation_client module

+

The +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation_client +module provides classes for configuring the Attestation Service. It attests the +state of a remote infrastructure node.

+
+
+class com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation_client.ServiceStatus(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The ServiceStatus class provides methods to get the Attestation Service +health status. This class was added in vSphere API 7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Health(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The ServiceStatus.Health class defines the possible service health +states. This enumeration was added in vSphere API 7.0.0.

+
+

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 the Health instance.

+
+
+
+
+ERROR = Health(string='ERROR')
+

Service is not functioning. This class attribute was added in vSphere API +7.0.0.

+
+ +
+
+NONE = Health(string='NONE')
+

No status available. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+OK = Health(string='OK')
+

Service is functioning normally. This class attribute was added in vSphere +API 7.0.0.

+
+ +
+
+WARNING = Health(string='WARNING')
+

Service is functioning, however there is an issue that requires attention. +This class attribute was added in vSphere API 7.0.0.

+
+ +
+ +
+
+class Info(health=None, details=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ServiceStatus.Info class contains information that describes the +status of the service. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+get_task(cluster)
+

Return the Attestation service health in the given cluster. This method +was added in vSphere API 7.0.0.

+
+
Parameters
+

cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +For any other error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the cluster id is empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the cluster is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms_client module

+

The +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms_client +module provides the interfaces for configuring the Key Provider Service. It +encapsulates one or more key servers and exposes Trusted Key Providers.

+
+
+class com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms_client.Providers(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Providers interface provides methods to create, update and delete +Key Providers that handoff to key servers. This class was added in vSphere +API 7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(provider=None, master_key_id=None, key_server=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.CreateSpec class contains attributes that describe the +desired configuration for a new Key Provider. This class was added in +vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • provider (str) –

    Name of the provider.

    +

    A unique string chosen by the client.. This attribute was added in +vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider.

    +

  • +
  • master_key_id (str) –

    Master key ID created for the provider.

    +

    A unique Key ID.. This attribute was added in vSphere API 7.0.0.

    +

  • +
  • key_server (Providers.KeyServerCreateSpec) – Key server associated with this Provider. This attribute was added +in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class Health(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Providers.Health class defines the possible health states. This +enumeration was added in vSphere API 7.0.0.

+
+

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 the Health instance.

+
+
+
+
+ERROR = Health(string='ERROR')
+

Not healthy. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+NONE = Health(string='NONE')
+

No status available. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+OK = Health(string='OK')
+

Health is normal. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+WARNING = Health(string='WARNING')
+

Health is normal, however there is an issue that requires attention. This +class attribute was added in vSphere API 7.0.0.

+
+ +
+ +
+
+class Info(master_key_id=None, key_server=None, status=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.Info class contains attributes that describe the current +configuration of a provider. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • master_key_id (str) –

    Master key identifier created for the provider.

    +

    A unique Key identifier.. This attribute was added in vSphere API +7.0.0.

    +

  • +
  • key_server (Providers.KeyServerInfo) – Key server associated with this provider. This attribute was added +in vSphere API 7.0.0.

  • +
  • status (Providers.Status) – Status of the provider in the cluster. This attribute was added in +vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class KeyServerCreateSpec(type=None, description=None, proxy_server=None, connection_timeout=None, kmip_server=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.KeyServerCreateSpec class contains attributes that +describe the desired configuration for the key server. This class was added +in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Providers.KeyServerCreateSpec.Type) – Type of the key server. This attribute was added in vSphere API +7.0.0.

  • +
  • description (str or None) – Description of the key server. This attribute was added in vSphere +API 7.0.0. +If None, description will not be added.

  • +
  • proxy_server (com.vmware.vcenter.trusted_infrastructure_client.NetworkAddress or None) – Proxy server configuration. This attribute was added in vSphere API +7.0.0. +If None, the key server will not use a proxy server.

  • +
  • connection_timeout (long or None) – Connection timeout in seconds. This attribute was added in vSphere +API 7.0.0. +If None, connection timeout will not be set.

  • +
  • kmip_server (Providers.KmipServerCreateSpec) – Configuration information for Key Management Interoperability +Protocol (KMIP) based key server. This attribute was added in +vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of type is Providers.KeyServerCreateSpec.Type.KMIP.

  • +
+
+
+
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Providers.KeyServerCreateSpec.Type class lists the key server +types. This enumeration was added in vSphere API 7.0.0.

+
+

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 the Type instance.

+
+
+
+
+KMIP = Type(string='KMIP')
+

Key Management Interoperability Protocol (KMIP) based key management +server. This class attribute was added in vSphere API 7.0.0.

+
+ +
+ +
+ +
+
+class KeyServerInfo(type=None, description=None, proxy_server=None, connection_timeout=None, kmip_server=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.KeyServerInfo class contains attributes that describe the +current configuration of a key server. This class was added in vSphere API +7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Providers.KeyServerInfo.Type) – Type of the key server. This attribute was added in vSphere API +7.0.0.

  • +
  • description (str) – Description of the key server. This attribute was added in vSphere +API 7.0.0.

  • +
  • proxy_server (com.vmware.vcenter.trusted_infrastructure_client.NetworkAddress or None) –

    Proxy server configuration.

    +

    . This attribute was added in vSphere API 7.0.0. +If None, proxy server configuration will not be set.

    +

  • +
  • connection_timeout (long or None) –

    Connection timeout in seconds.

    +

    . This attribute was added in vSphere API 7.0.0. +If None, connection timeout will be unset.

    +

  • +
  • kmip_server (Providers.KmipServerInfo) – Configuration information for KMIP based key server. This attribute +was added in vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of type is Providers.KeyServerInfo.Type.KMIP.

  • +
+
+
+
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Providers.KeyServerInfo.Type class list the key server types. This +enumeration was added in vSphere API 7.0.0.

+
+

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 the Type instance.

+
+
+
+
+KMIP = Type(string='KMIP')
+

Key Management Interoperability Protocol (KMIP) based key management +server. This class attribute was added in vSphere API 7.0.0.

+
+ +
+ +
+ +
+
+class KeyServerUpdateSpec(type=None, description=None, proxy_server=None, connection_timeout=None, kmip_server=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.KeyServerUpdateSpec class contains attributes that +describe new configuration for an existing key server. This class was added +in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Providers.KeyServerUpdateSpec.Type or None) –

    Type of the key server.

    +

    . This attribute was added in vSphere API 7.0.0. +If None, key server type and configuration information will remain +unchanged. In this case all key server configuration information +fields (e.g KMIP) should be unset.

    +

  • +
  • description (str or None) –

    Description of the key server.

    +

    . This attribute was added in vSphere API 7.0.0. +If None, description will remain unchanged.

    +

  • +
  • proxy_server (com.vmware.vcenter.trusted_infrastructure_client.NetworkAddress or None) –

    Proxy server configuration.

    +

    . This attribute was added in vSphere API 7.0.0. +If None, proxy server configuration will remain unchanged.

    +

  • +
  • connection_timeout (long or None) –

    Connection timeout in seconds.

    +

    . This attribute was added in vSphere API 7.0.0. +If None, connection timeout will remain unchanged.

    +

  • +
  • kmip_server (Providers.KmipServerUpdateSpec or None) –

    Configuration information for KMIP based key server.

    +

    . This attribute was added in vSphere API 7.0.0. +If None, kmip server configuration will remain unchanged.

    +

  • +
+
+
+
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Providers.KeyServerUpdateSpec.Type class list the key server types. +This enumeration was added in vSphere API 7.0.0.

+
+

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 the Type instance.

+
+
+
+
+KMIP = Type(string='KMIP')
+

Key Management Interoperability Protocol (KMIP) based key management +server. This class attribute was added in vSphere API 7.0.0.

+
+ +
+ +
+ +
+
+class KmipServerCreateSpec(servers=None, username=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.KmipServerCreateSpec class contains attributes that +describe Key Management Interoperability Protocol (KMIP) desired key server +configuration. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • servers (list of Providers.Server) –

    List of Key Management Interoperability Protocol (KMIP) compliant +key servers.

    +

    Key servers must be configured for active-active replication. If +the server port is None, a default value for KMIP’s port will be +used.. This attribute was added in vSphere API 7.0.0.

    +

  • +
  • username (str or None) – Username for authentication. This attribute was added in vSphere +API 7.0.0. +If None, no username will be added.

  • +
+
+
+
+ +
+
+class KmipServerInfo(servers=None, username=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.KmipServerInfo class contains attributes that describe +the current configuration of a KMIP based key server. This class was added +in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • servers (list of Providers.Server) – List of KMIP compliant key servers. This attribute was added in +vSphere API 7.0.0.

  • +
  • username (str or None) –

    Username for authentication.

    +

    . This attribute was added in vSphere API 7.0.0. +If None, username will not be set.

    +

  • +
+
+
+
+ +
+
+class KmipServerUpdateSpec(servers=None, username=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.KmipServerUpdateSpec class contains attributes that +describe new configuration for KMIP based key server. This class was added +in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • servers (list of Providers.Server or None) –

    List of KMIP compliant key servers.

    +

    Key servers must be configured for active-active replication. If +the server port is None, a default value for KMIP’s port will be +used.

    +

    . This attribute was added in vSphere API 7.0.0. +If None, server configuration will remain unchanged.

    +

  • +
  • username (str or None) –

    Username for authentication.

    +

    . This attribute was added in vSphere API 7.0.0. +If None, username will remain unchanged.

    +

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider'
+

Resource type for a Key Provider. This class attribute was added in vSphere API +7.0.0.

+
+ +
+
+class Server(name=None, address=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.Server class contains attributes that describe a +connection endpoint. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class ServerInfo(health=None, details=None, client_trust_server=None, server_trust_client=None, name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.ServerInfo class contains attributes that describe the +status of a key server. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • health (Providers.Health) – The connection status health of the server. This attribute was +added in vSphere API 7.0.0.

  • +
  • details (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Details regarding the health of the server connection.

    +

    When the service Providers.Health is not +Providers.Health.OK, this attribute will provide an +actionable description of the issue.. This attribute was added in +vSphere API 7.0.0.

    +

  • +
  • client_trust_server (bool) – Whether this client trusts the server. This attribute was added in +vSphere API 7.0.0.

  • +
  • server_trust_client (bool) – Whether the server trusts this client. This attribute was added in +vSphere API 7.0.0.

  • +
  • name (str) – Name of the server. This attribute was added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class Status(health=None, details=None, servers=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.Status class contains attributes that describe the status +of the Key Provider. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • health (Providers.Health) – The health of the provider. This attribute was added in vSphere API +7.0.0.

  • +
  • details (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Details regarding the health of the provider.

    +

    When the service Providers.Health is not +Providers.Health.OK, this attribute will provide an +actionable description of the issue.. This attribute was added in +vSphere API 7.0.0.

    +

  • +
  • servers (list of Providers.ServerInfo) – Health of the key servers. This attribute was added in vSphere API +7.0.0.

  • +
+
+
+
+ +
+
+class Summary(provider=None, health=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.Summary class contains attributes that summarize a +provider. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • provider (str) –

    Name of the provider.

    +

    A unique string chosen by the client.. This attribute was added in +vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider.

    +

  • +
  • health (Providers.Health) – Health of the provider in the cluster. This attribute was added in +vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class UpdateSpec(master_key_id=None, key_server=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Providers.UpdateSpec class contains attributes that describe the +new configuration for an existing provider. This class was added in vSphere +API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • master_key_id (str or None) –

    Master key identifier created for the provider.

    +
    +

    A unique Key identifier.

    +
    +

    . This attribute was added in vSphere API 7.0.0. +If None, masterKeyId will remain unchanged.

    +

  • +
  • key_server (Providers.KeyServerUpdateSpec or None) –

    Key server associated with this provider.

    +

    . This attribute was added in vSphere API 7.0.0. +If None, key server configuration will remain unchanged.

    +

  • +
+
+
+
+ +
+
+create_task(cluster, spec)
+

Add a new Key Provider. This method was added in vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • spec (Providers.CreateSpec) – Provider information.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +If the provider already exists.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the spec is invalid or cluster id is empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the cluster is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +For any other error.

+
+
+
+ +
+
+delete_task(cluster, provider)
+

Remove a Key Provider. This method was added in vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • provider (str) – Identifier of the provider. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the cluster or provider id is empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the cluster or provider is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +For any other error.

+
+
+
+ +
+
+get_task(cluster, provider)
+

Return information about a Key Provider. This method was added in +vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • provider (str) – Identifier of the provider. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider.

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the cluster or provider id is empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the cluster or provider is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +For any other error.

+
+
+
+ +
+
+list_task(cluster)
+

Return a list of summary of Key Providers. This method was added in +vSphere API 7.0.0.

+
+
Parameters
+

cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the cluster id is empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the cluster is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +For any other error.

+
+
+
+ +
+
+update_task(cluster, provider, spec)
+

Update an existing Key Provider. This method was added in vSphere API +7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • provider (str) – Identifier of the provider. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider.

  • +
  • spec (Providers.UpdateSpec) – Provider information.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the cluster or provider id is empty, or the spec is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the cluster or provider is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +For any other error.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms_client.ServiceStatus(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The ServiceStatus class provides methods to get the Key Provider +Service health status. This class was added in vSphere API 7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Health(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The ServiceStatus.Health class defines the possible service health +states. This enumeration was added in vSphere API 7.0.0.

+
+

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 the Health instance.

+
+
+
+
+ERROR = Health(string='ERROR')
+

Service is not functioning. This class attribute was added in vSphere API +7.0.0.

+
+ +
+
+NONE = Health(string='NONE')
+

No status available. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+OK = Health(string='OK')
+

Service is functioning normally. This class attribute was added in vSphere +API 7.0.0.

+
+ +
+
+WARNING = Health(string='WARNING')
+

Service is functioning, however there is an issue that requires attention. +This class attribute was added in vSphere API 7.0.0.

+
+ +
+ +
+
+class Info(health=None, details=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ServiceStatus.Info class contains information that describes the +status of the service. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+get_task(cluster)
+

Return the Key Provider Service health in the given cluster. This +method was added in vSphere API 7.0.0.

+
+
Parameters
+

cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +For any other error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the cluster id is empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the cluster is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.html b/vsphere/7.0.0.1/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.html new file mode 100644 index 00000000..84fa78f4 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.html @@ -0,0 +1,777 @@ + + + + + + + + + + + com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms package

+ +
+

Submodules

+
+
+

com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers_client module

+

The +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers_client +module provides the classes for configuring the Key Providers of a Trust +Authority Cluster.

+
+
+class com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers_client.ClientCertificate(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The ClientCertificate interface provides methods to add and retrieve +client certificate. This class was added in vSphere API 7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(certificate=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ClientCertificate.Info class contains the client certificate used +by the hosts in a cluster for authenticating with the Provider. This class +was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

certificate (str) – Public certificate. This attribute was added in vSphere API 7.0.0.

+
+
+
+ +
+
+class UpdateSpec(certificate=None, private_key=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ClientCertificate.UpdateSpec class contains attributes that +describe the client certificate update for a Key Provider. This class was +added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • certificate (str) – Public certificate used by every host in the cluster. This +attribute was added in vSphere API 7.0.0.

  • +
  • private_key (str or None) – Private part of the certificate. This attribute was added in +vSphere API 7.0.0. +If None, the update request is for a public/private client +certificate pair, not for a signed CSR.

  • +
+
+
+
+ +
+
+create_task(cluster, provider)
+

Generate a new self signed client certificate. Existing client +certificate is overwritten. The key server will use this certificate to +validate the client connection. This method was added in vSphere API +7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • provider (str) – Identifier of the provider. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If cluster or provider id are empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the cluster or provider is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If any other error occurs.

+
+
+
+ +
+
+get_task(cluster, provider)
+

Return the existing client certificate. This method was added in +vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • provider (str) – Identifier of the provider. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider.

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If cluster or provider id are empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the cluster or provider is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If any other error occurs.

+
+
+
+ +
+
+update_task(cluster, provider, spec)
+

Update the client certificate.

+

The key server will use this certificate to validate the client +connection. If a client certificate already exists, it will be +replaced.

+

An optional private key can be specified if the certificate has already +been provisioned.. This method was added in vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • provider (str) – Identifier of the provider. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider.

  • +
  • spec (ClientCertificate.UpdateSpec) – The update spec.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the certificate or private key is invalid or cluster/provider id +are empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the cluster or provider is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If any other error occurs.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers_client.Credential(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Credential interface provides methods to add a credential for +external key management service(s). This class was added in vSphere API +7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+set_task(cluster, provider, credential)
+

Set the key server credential. This method was added in vSphere API +7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • provider (str) – Identifier of the provider. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider.

  • +
  • credential (str) – KMIP KMS password or AWS access key.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If cluster or provider id are empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the provider or cluster is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If any other error occurs.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers_client.CurrentPeerCertificates(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Retrieves the list of TLS certificates used by peer key servers. Those are +meant for review. Following approval these certificates should be added as +trusted certificates in the TrustedPeerCertificates class. This +class was added in vSphere API 7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class FilterSpec(server_names=None, trusted=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CurrentPeerCertificates.FilterSpec class contains attributes used +to filter the results when listing remote server certificates. This class +was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • server_names (set of str or None) – Names that key server must have to match the filter (see +CurrentPeerCertificates.Summary.server_name). This +attribute was added in vSphere API 7.0.0. +If None or empty, key servers with any name match the filter.

  • +
  • trusted (bool or None) – Trust status that server certificates must have to match the filter +(see CurrentPeerCertificates.Summary.trusted). This +attribute was added in vSphere API 7.0.0. +If None, trusted and untrusted server certificates match the +filter.

  • +
+
+
+
+ +
+
+class Summary(server_name=None, certificate=None, error_messages=None, trusted=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CurrentPeerCertificates.Summary class contains a summary of the +current key server certificates. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • server_name (str) – Name of the server. This attribute was added in vSphere API 7.0.0.

  • +
  • certificate (str or None) – Server certificate. This attribute was added in vSphere API 7.0.0. +If None, the certificate cannot be retrieved from the remote +system, and CurrentPeerCertificates.Summary.trusted is +undefined. See +CurrentPeerCertificates.Summary.error_messages for details.

  • +
  • error_messages (list of com.vmware.vapi.std_client.LocalizableMessage) –

    Server certificate retrieval errors.

    +

    Specifies error details when retrieving the remote server +certificate fails. This list will be empty when +CurrentPeerCertificates.Summary.certificate is +set.. This attribute was added in vSphere API 7.0.0.

    +

  • +
  • trusted (bool) – whether server certificate is already trusted . This attribute was +added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+list_task(cluster, provider, spec=None)
+

Return the remote server certificates.

+

Contacts the configured key servers and attempts to retrieve their +certificates. These certificates might not yet be trusted.

+

If the returned certificates are to be considered trustworthy, then it +must be added to the list of trusted server certificates by adding to +the certificates returned by TrustedPeerCertificates.get() and +invoking TrustedPeerCertificates.update() with the updated +list of certificates.. This method was added in vSphere API +7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • provider (str) – Identifier of the provider. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider.

  • +
  • spec (CurrentPeerCertificates.FilterSpec or None) – Filter spec. +If None, the behavior is equivalent to a +CurrentPeerCertificates.FilterSpec with all attributes +None

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the cluster or provider id is empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the cluster or provider is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +For any other error.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers_client.TrustedPeerCertificates(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

Provides management operations for the TLS certificates trusted for +communication with peer key servers.

+

To obtain the currently used TLS certificates use the +CurrentPeerCertificates class. This class was added in vSphere API +7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(certificates=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The TrustedPeerCertificates.Info class contains x509 certificate list. +This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

certificates (list of str) – List of certificate strings, PEM format. This attribute was added +in vSphere API 7.0.0.

+
+
+
+ +
+
+class UpdateSpec(certificates=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The TrustedPeerCertificates.UpdateSpec class contains attributes that +describe the server certificate update for a Key Provider. This class was +added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

certificates (list of str or None) – Public certificates of key server to trust. This attribute was +added in vSphere API 7.0.0. +If None, the trusted server certificates will not be updated.

+
+
+
+ +
+
+get_task(cluster, provider)
+

Return the list of trusted server certificates. This method was added +in vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • provider (str) – Identifier of the provider. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider.

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If cluster or provider id are empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the cluster or provider is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If any other error occurs.

+
+
+
+ +
+
+update_task(cluster, provider, spec)
+

Update trusted server certificate(s).

+

The client will use these certificates to validate the server +connection. The existing list of trusted certificates will be +overwritten.

+

The client will not trust the server connection until a server +certificate has been set.. This method was added in vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • provider (str) – Identifier of the provider. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider.

  • +
  • spec (TrustedPeerCertificates.UpdateSpec) – The update spec

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If one or more certificates are invalid or the cluster/provider Id +is empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the cluster or provider is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If any other error occurs.

+
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers.html b/vsphere/7.0.0.1/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers.html new file mode 100644 index 00000000..6528b728 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers.html @@ -0,0 +1,389 @@ + + + + + + + + + + + com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + + +
+
+ +
+

com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers package

+
+

Submodules

+
+
+

com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers.client_certificate_client module

+

The +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers.client_certificate_client +module provides the interfaces for configuring the Client Certificate used by +the Key Provider Service to authenticate against the Key Servers.

+
+
+class com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers.client_certificate_client.Csr(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Csr interface provides methods to create a certificate signing +request(CSR). This class was added in vSphere API 7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(csr=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Csr.Info class contains the certificate signing request. This class +was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

csr (str) – Certificate signing request. This attribute was added in vSphere +API 7.0.0.

+
+
+
+ +
+
+create_task(cluster, provider)
+

Generate a certificate signing request (CSR) for the client +certificate. This overwrites any existing CSR.

+

The CSR will allow the certificate to be signed by a third party. Once +the CSR is signed, certificate may be added as a client certificate.

+

Calling the API repeatedly will result in a generating a new CSR each +time.. This method was added in vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • provider (str) – Identifier of the provider. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider.

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If cluster or provider id are empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the provider or cluster is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If any other error occurs.

+
+
+
+ +
+
+get_task(cluster, provider)
+

Get existing certificate signing request (CSR) for the client +certificate.

+

The CSR will allow the certificate to be signed by a third party. Once +the CSR is signed, certificate may be added as a client certificate.

+

. This method was added in vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – Identifier of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • provider (str) – Identifier of the provider. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider.

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If cluster or provider id are empty.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the provider or cluster is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +If the caller is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If any other error occurs.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers.client_certificate_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.trusted_infrastructure.trusted_clusters.html b/vsphere/7.0.0.1/com.vmware.vcenter.trusted_infrastructure.trusted_clusters.html new file mode 100644 index 00000000..6ff86e8c --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.trusted_infrastructure.trusted_clusters.html @@ -0,0 +1,1014 @@ + + + + + + + + + + + com.vmware.vcenter.trusted_infrastructure.trusted_clusters package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.trusted_infrastructure.trusted_clusters package

+
+

Submodules

+
+
+

com.vmware.vcenter.trusted_infrastructure.trusted_clusters.attestation_client module

+

The +com.vmware.vcenter.trusted_infrastructure.trusted_clusters.attestation_client +module provides classes for configuring Attestation Services for Trusted +Clusters.

+
+
+class com.vmware.vcenter.trusted_infrastructure.trusted_clusters.attestation_client.Services(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Services class manages the Attestation Service instances a Trusted +Cluster is configured to use. This class was added in vSphere API 7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(type=None, service=None, trust_authority_cluster=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Services.CreateSpec class contains the data necessary for +configuring a registered Attestation Service instance with a cluster in the +environment. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Services.CreateSpec.SourceType) – Source of truth for the configuration of the Attestation Service. +This attribute was added in vSphere API 7.0.0.

  • +
  • service (str) – The service’s unique ID. This attribute was added in vSphere API +7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.attestation.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.vcenter.trusted_infrastructure.attestation.Service. +This attribute is optional and it is only relevant when the value +of type is Services.CreateSpec.SourceType.SERVICE.

  • +
  • trust_authority_cluster (str) – The attestation cluster’s unique ID. This attribute was added in +vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of type is Services.CreateSpec.SourceType.CLUSTER.

  • +
+
+
+
+
+class SourceType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Services.CreateSpec.SourceType class specifies the source of truth +the Attestation Service will use for its configuration. This enumeration +was added in vSphere API 7.0.0.

+
+

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 the SourceType instance.

+
+
+
+
+CLUSTER = SourceType(string='CLUSTER')
+

The Attestation Service will be configured based on an ID of a whole +attestation cluster. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+SERVICE = SourceType(string='SERVICE')
+

The Attestation Service will be configured based on an ID of an specific +Attestation Service. This class attribute was added in vSphere API 7.0.0.

+
+ +
+ +
+ +
+
+class FilterSpec(services=None, address=None, group=None, trust_authority_cluster=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Services.FilterSpec class contains the data necessary for +identifying a Attestation service instance. This class was added in vSphere +API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • services (set of str or None) – A set of IDs by which to filter the services. This attribute was +added in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.vcenter.trusted_infrastructure.attestation.Service. +When methods return a value of this class as a return value, the +attribute will contain identifiers for the resource type: +com.vmware.vcenter.trusted_infrastructure.attestation.Service. +If None, the services will not be filtered by ID.

  • +
  • address (list of com.vmware.vcenter.trusted_infrastructure_client.NetworkAddress or None) – The service’s address. This attribute was added in vSphere API +7.0.0. +If None, the services will not be filtered by address.

  • +
  • group (set of str or None) – The group specifies the Key Provider Service instances can accept +reports issued by this Attestation Service instance. This attribute +was added in vSphere API 7.0.0. +If None, the services will not be filtered by group.

  • +
  • trust_authority_cluster (set of str or None) – The cluster specifies the Trust Authority Cluster this Attestation +Service instance belongs to. This attribute was added in vSphere +API 7.0.0. +If None, the services will not be filtered by +trustAuthorityCluster.

  • +
+
+
+
+ +
+
+class Info(address=None, trusted_ca=None, group=None, trust_authority_cluster=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Services.Info class contains all the stored information about a +registered Attestation Service instance that is configured for a cluster. +This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • address (com.vmware.vcenter.trusted_infrastructure_client.NetworkAddress) – The service’s address. This attribute was added in vSphere API +7.0.0.

  • +
  • trusted_ca (com.vmware.vcenter.trusted_infrastructure_client.X509CertChain) – The service’s TLS certificate chain. This attribute was added in +vSphere API 7.0.0.

  • +
  • group (str) – The group determines the Key Provider Service instances can accept +reports issued by this Attestation Service instance. This attribute +was added in vSphere API 7.0.0.

  • +
  • trust_authority_cluster (str) – The cluster specifies the Trust Authority Cluster this Attestation +Service belongs to. This attribute was added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class Summary(service=None, address=None, group=None, trust_authority_cluster=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Services.Summary class contains basic information about a +registered Attestation Service instance that is configured for a cluster. +This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • service (str) – The service’s unique identifier. This attribute was added in +vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.attestation.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.vcenter.trusted_infrastructure.attestation.Service.

  • +
  • address (com.vmware.vcenter.trusted_infrastructure_client.NetworkAddress) – The service’s address. This attribute was added in vSphere API +7.0.0.

  • +
  • group (str) – The group specifies the Key Provider Service instances can accept +reports issued by this Attestation Service instance. This attribute +was added in vSphere API 7.0.0.

  • +
  • trust_authority_cluster (str) – The cluster specifies the Trust Authority Cluster this Attestation +Service belongs to. This attribute was added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+create_task(cluster, spec)
+

Configures the cluster to use a the given registered Attestation +Service. This method was added in vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – The ID of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • spec (Services.CreateSpec) – Describes the registered instance of the Attestation Service

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if the Attestation Service is already configured for this cluster

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +for any other error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the CreateSpec is not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the cluster ID is not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if all the hosts in the cluster do not have VMware vSphere Trust +Authority enabled license.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
+
+ +
+
+delete_task(cluster, service)
+

Removes the Attestation Service instance from the configuration of the +given cluster. This method was added in vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – the unique ID of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • service (str) – the registered Attestation Service instance unique identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.attestation.Service.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the Attestation Service instance or the cluster are not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
+
+ +
+
+get(cluster, service)
+

Returns detailed information about the given registered Attestation +Service instance that is configured for the given cluster. This method +was added in vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – The ID of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • service (str) – The ID of the service. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.attestation.Service.

  • +
+
+
Return type
+

Services.Info

+
+
Returns
+

Detailed information about the specified Attestation Service +configured for the given cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the cluster or the service ID is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires TrustedAdmin.ReadTrustedHosts.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires System.View.

  • +
+
+
+
+ +
+
+list(cluster, spec=None)
+

Returns the basic information about all configured Attestation Service +instances used by this cluster. This method was added in vSphere API +7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – The ID of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • spec (Services.FilterSpec or None) – Only return services matching the filters. +If {\@term.unset} return all services.

  • +
+
+
Return type
+

list of Services.Summary

+
+
Returns
+

Basic information about all configured Attestation Service +instances used by this cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the cluster ID is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires TrustedAdmin.ReadTrustedHosts.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires System.View.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter.trusted_infrastructure.trusted_clusters.attestation_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.trusted_infrastructure.trusted_clusters.kms_client module

+

The com.vmware.vcenter.trusted_infrastructure.trusted_clusters.kms_client +module provides classes for configuring Key Provider Services for Trusted +Clusters.

+
+
+class com.vmware.vcenter.trusted_infrastructure.trusted_clusters.kms_client.Services(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Services class manages the Key Provider Service instances a Trusted +Cluster is configured to use. This class was added in vSphere API 7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(type=None, service=None, trust_authority_cluster=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Services.CreateSpec class contains the data necessary for +configuring a registered Key Provider Service instance with a cluster in +the environment. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Services.CreateSpec.SourceType) – Source of truth for the configuration of the Key Provider Service. +This attribute was added in vSphere API 7.0.0.

  • +
  • service (str) – The service’s unique ID. This attribute was added in vSphere API +7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.kms.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.vcenter.trusted_infrastructure.kms.Service. +This attribute is optional and it is only relevant when the value +of type is Services.CreateSpec.SourceType.SERVICE.

  • +
  • trust_authority_cluster (str) – The attestation cluster’s unique ID. This attribute was added in +vSphere API 7.0.0. +This attribute is optional and it is only relevant when the value +of type is Services.CreateSpec.SourceType.CLUSTER.

  • +
+
+
+
+
+class SourceType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Services.CreateSpec.SourceType class specifies source of truth the +Key Provider Service will use for its configuration. This enumeration was +added in vSphere API 7.0.0.

+
+

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 the SourceType instance.

+
+
+
+
+CLUSTER = SourceType(string='CLUSTER')
+

The Key Provider Service will be configured based on an ID of a whole +attestation cluster. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+SERVICE = SourceType(string='SERVICE')
+

The Key Provider Service will be configured based on an ID of an specific +Key Provider Service. This class attribute was added in vSphere API 7.0.0.

+
+ +
+ +
+ +
+
+class FilterSpec(services=None, address=None, group=None, trust_authority_cluster=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Services.FilterSpec class contains the data necessary for +identifying a Key Provider service instance. This class was added in +vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • services (set of str or None) – A set of IDs by which to filter the services. This attribute was +added in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.vcenter.trusted_infrastructure.kms.Service. When +methods return a value of this class as a return value, the +attribute will contain identifiers for the resource type: +com.vmware.vcenter.trusted_infrastructure.kms.Service. +If None, the services will not be filtered by ID.

  • +
  • address (list of com.vmware.vcenter.trusted_infrastructure_client.NetworkAddress or None) – The service’s address. This attribute was added in vSphere API +7.0.0. +If None, the services will not be filtered by address.

  • +
  • group (set of str or None) – The group determines the Attestation Service instances this Key +Provider Service can accept reports from. This attribute was added +in vSphere API 7.0.0. +If None, the services will not be filtered by group.

  • +
  • trust_authority_cluster (set of str or None) – The cluster specifies the Trust Authority Cluster this Key Provider +Service instance belongs to. This attribute was added in vSphere +API 7.0.0. +If None, the services will not be filtered by +trustAuthorityCluster.

  • +
+
+
+
+ +
+
+class Info(address=None, trusted_ca=None, group=None, trust_authority_cluster=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Services.Info class contains all the stored information about a +registered Key Provider Service instance that is configured for a cluster. +This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • address (com.vmware.vcenter.trusted_infrastructure_client.NetworkAddress) – The service’s address. This attribute was added in vSphere API +7.0.0.

  • +
  • trusted_ca (com.vmware.vcenter.trusted_infrastructure_client.X509CertChain) – The service’s TLS certificate chain. This attribute was added in +vSphere API 7.0.0.

  • +
  • group (str) – The group determines the Attestation Service instances this Key +Provider Service can accept reports from. This attribute was added +in vSphere API 7.0.0.

  • +
  • trust_authority_cluster (str) – The cluster specifies the Trust Authority Cluster this Key Provider +Service belongs to. This attribute was added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class Summary(service=None, address=None, group=None, trust_authority_cluster=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Services.Summary class contains basic information about a +registered Key Provider Service instance that is configured for a cluster. +This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • service (str) – The service’s unique identifier. This attribute was added in +vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.kms.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.vcenter.trusted_infrastructure.kms.Service.

  • +
  • address (com.vmware.vcenter.trusted_infrastructure_client.NetworkAddress) – The service’s address. This attribute was added in vSphere API +7.0.0.

  • +
  • group (str) – The group determines the Attestation Service instances this Key +Provider Service can accept reports from. This attribute was added +in vSphere API 7.0.0.

  • +
  • trust_authority_cluster (str) – The cluster specifies the Trust Authority Cluster this Key Provider +Service belongs to. This attribute was added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+create_task(cluster, spec)
+

Configures the cluster to use a the given registered Key Provider +Service. This method was added in vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – The ID of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • spec (Services.CreateSpec) – Describes the registered instance of the Key Provider Service

  • +
+
+
Return type
+

+
class
+

vmware.vapi.stdlib.client.task.Task

+
+
+

+
+
Returns
+

Task instance

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if the Key Provider Service is already configured for this cluster

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +for any other error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the CreateSpec is not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the cluster ID is not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if all the hosts in the cluster do not have VMware vSphere Trust +Authority enabled license.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
+
+ +
+
+delete_task(cluster, service)
+

Removes the Key Provider Service instance from the configuration of the +given cluster. This method was added in vSphere API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – the unique ID of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • service (str) – the registered Key Provider Service instance unique identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.kms.Service.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the Key Provider Service instance or the cluster are not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
+
+ +
+
+get(cluster, service)
+

Returns detailed information about the given Key Provider Service +instance used by the given cluster. This method was added in vSphere +API 7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – The ID of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • service (str) – The ID of the service. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.trusted_infrastructure.kms.Service.

  • +
+
+
Return type
+

Services.Info

+
+
Returns
+

Detailed information about the given Key Provider Service instance +used by the given cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the cluster or the service ID is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires TrustedAdmin.ReadTrustedHosts.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires System.View.

  • +
+
+
+
+ +
+
+list(cluster, spec=None)
+

Returns basic information about all configured Key Provider Service +instances used by this cluster. This method was added in vSphere API +7.0.0.

+
+
Parameters
+
    +
  • cluster (str) – The ID of the cluster. +The parameter must be an identifier for the resource type: +ClusterComputeResource.

  • +
  • spec (Services.FilterSpec or None) – Only return services matching the filters. +If {\@term.unset} return all services.

  • +
+
+
Return type
+

list of Services.Summary

+
+
Returns
+

basic information about all configured Key Provider Service +instances used by this cluster

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if there is a generic error.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the cluster ID is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires TrustedAdmin.ReadTrustedHosts.

  • +
  • The resource ClusterComputeResource referenced by the +parameter cluster requires System.View.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter.trusted_infrastructure.trusted_clusters.kms_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.vcha.html b/vsphere/7.0.0.1/com.vmware.vcenter.vcha.html new file mode 100644 index 00000000..f711e894 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.vcha.html @@ -0,0 +1,1001 @@ + + + + + + + + + + + com.vmware.vcenter.vcha package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.vcha package

+
+

Submodules

+
+
+

com.vmware.vcenter.vcha.cluster_client module

+

The com.vmware.vcenter.vcha.cluster_client module provides classes for +redeploying and monitoring a vCenter High Availability (VCHA) Cluster after a +successful initial deployment.

+
+
+class com.vmware.vcenter.vcha.cluster_client.Active(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Active class provides methods to get information related to the +active vCenter High Availability (VCHA) node. This class was added in +vSphere API 6.7.1.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(management=None, ha=None, placement=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Active.Info class contains the network and placement information of +the active node of a VCHA Cluster. This class was added in vSphere API +6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • management (com.vmware.vcenter.vcha_client.IpSpec) – IP specification for the Management network. This attribute was +added in vSphere API 6.7.1.

  • +
  • ha (com.vmware.vcenter.vcha_client.IpSpec or None) – IP specification for the HA network. This attribute was added in +vSphere API 6.7.1. +If None, then the second NIC of the Active Node of the VCHA cluster +is not configured.

  • +
  • placement (com.vmware.vcenter.vcha_client.PlacementInfo or None) – Contains the placement information of the active node. This +attribute was added in vSphere API 6.7.1. +If None, the request specified that placement information of the +active node should not be included.

  • +
+
+
+
+ +
+
+get(vc_spec=None, partial=None)
+

Retrieves information about the active node of a VCHA cluster. This +method was added in vSphere API 6.7.1.

+
+
Parameters
+
    +
  • vc_spec (com.vmware.vcenter.vcha_client.CredentialsSpec or None) – Contains active node’s management vCenter server credentials. +If None, then the active vCenter Server instance is assumed to be +either self-managed or else in enhanced linked mode and managed by +a linked vCenter Server instance.

  • +
  • partial (bool or None) –

    If true, then return only the information that does not require +connecting to the Active vCenter Server.

    +
    +

    If false or unset, then return all the information.

    +
    +

    If None, then return all the information.

    +

  • +
+
+
Return type
+

Active.Info

+
+
Returns
+

Info Information about the VCHA network and placement of the active +node.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the credentials provided for authentincating with the active +node’s management vCenter server are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user has insufficient privilege to perform the operation.

+
    +
  • If partial is false or unset, then the operation execution +requires the Global.VCServer privilege.

  • +
  • If partial is true, then the operation execution requires the +System.Read privilege.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.UnverifiedPeer +If the SSL certificate of the management vCenter server cannot be +validated. +The value of the data attribute of +com.vmware.vapi.std.errors_client.Error will be a class +that contains all the attributes defined in +com.vmware.vcenter.vcha_client.CertificateInfo.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementConfiguration +If the active node is on more than one datastore.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the active virtual machine is not managed by the specified +vCenter server for the active node.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If the management interface IP address assignment is not static.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If any other error occurs.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vcha.cluster_client.DeploymentType(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The DeploymentType class provides methods to get the deployment type of a +vCenter High Availability Cluster (VCHA Cluster). This class was added in +vSphere API 6.7.1.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(deployment_type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The DeploymentType.Info class contains the deployment type of the VCHA +Cluster. This class was added in vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

deployment_type (DeploymentType.Type) – Identifies the deployment type of the VCHA cluster. This attribute +was added in vSphere API 6.7.1.

+
+
+
+ +
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The DeploymentType.Type class defines the possible deployment types for +a VCHA Cluster. This enumeration was added in vSphere API 6.7.1.

+
+

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 the Type instance.

+
+
+
+
+AUTO = Type(string='AUTO')
+

VCHA Cluster was deployed automatically. This class attribute was added in +vSphere API 6.7.1.

+
+ +
+
+MANUAL = Type(string='MANUAL')
+

VCHA Cluster was deployed manually. This class attribute was added in +vSphere API 6.7.1.

+
+ +
+
+NONE = Type(string='NONE')
+

VCHA Cluster is not configured. This class attribute was added in vSphere +API 6.7.1.

+
+ +
+ +
+
+get()
+

Retrieves the deployment type of a VCHA cluster. This method was added +in vSphere API 6.7.1.

+
+
Return type
+

DeploymentType.Info

+
+
Returns
+

Info structure containing the deployment type information of the +the VCHA cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user has insufficient privilege to perform the operation. +Operation execution requires the System.Read privilege.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If any other error occurs.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vcha.cluster_client.Mode(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Mode class provides methods to manage the operating mode of a vCenter +High Availability Cluster (VCHA Cluster). This class was added in vSphere +API 6.7.1.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class ClusterMode(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Mode.ClusterMode class defines the possible modes for a VCHA +Cluster. This enumeration was added in vSphere API 6.7.1.

+
+

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 the ClusterMode instance.

+
+
+
+
+DISABLED = ClusterMode(string='DISABLED')
+

VCHA Cluster is disabled. State replication between the Active and Passive +node is disabled and automatic failover is not allowed. This class +attribute was added in vSphere API 6.7.1.

+
+ +
+
+ENABLED = ClusterMode(string='ENABLED')
+

VCHA Cluster is enabled. State replication between the Active and Passive +node is enabled and automatic failover is allowed. This class attribute was +added in vSphere API 6.7.1.

+
+ +
+
+MAINTENANCE = ClusterMode(string='MAINTENANCE')
+

VCHA Cluster is in maintenance mode. State replication between the and +Passive node is enabled but automatic failover is not allowed. This class +attribute was added in vSphere API 6.7.1.

+
+ +
+ +
+
+class Info(mode=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Mode.Info class contains the mode of the VCHA Cluster. This class +was added in vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

mode (Mode.ClusterMode) – Identifies the mode of the VCHA cluster. This attribute was added +in vSphere API 6.7.1.

+
+
+
+ +
+
+get()
+

Retrieves the current mode of a VCHA cluster. This method was added in +vSphere API 6.7.1.

+
+
Return type
+

Mode.Info

+
+
Returns
+

Info structure containing the mode of the the VCHA cluster.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +If the VCHA cluster is not configured.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user has insufficient privilege to perform the operation. +Operation execution requires the System.Read privilege.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If any other error occurs.

+
+
+
+ +
+
+set_task(mode)
+

Manipulates the mode of a VCHA Cluster. Following mode transitions are +allowed:

+
+

enabled -> disabled - Allowed only in healthy and degraded states. +enabled -> maintenance - Allowed only in healthy state. +disabled -> enabled - Allowed only in healthy state.

+
+

maintenance -> enabled - Allowed only in healthy state with all nodes +are running the same version. +maintenance -> disabled - Allowed only in healthy state with all nodes +are running the same version.

+
+

All other transitions are not allowed.

+
+

VCHA Cluster configuration remains intact in any of the cluster modes.. +This method was added in vSphere API 6.7.1.

+
+
Parameters
+

mode (Mode.ClusterMode) – Clustermode to change the VCHA cluster mode to.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user has insufficient privilege to perform the operation. +Operation execution requires the Global.VCServer privilege.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If any other error occurs.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vcha.cluster_client.Passive(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Passive class provides methods to validate a passive’s placement +configuration and redeploy the passive node in a vCenter High Availability +(VCHA) cluster. This class was added in vSphere API 6.7.1.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CheckResult(warnings=None, errors=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Passive.CheckResult class contains the warnings and errors that +will occur during the clone operation. This class was added in vSphere API +6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class CheckSpec(vc_spec=None, placement=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Passive.CheckSpec class contains placement information for +validation. This class was added in vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • vc_spec (com.vmware.vcenter.vcha_client.CredentialsSpec or None) – Contains the active node’s management vCenter server credentials. +This attribute was added in vSphere API 6.7.1. +If None, then the active vCenter Server instance is assumed to be +either self-managed or else in enhanced linked mode and managed by +a linked vCenter Server instance.

  • +
  • placement (com.vmware.vcenter.vcha_client.PlacementSpec) – Contains the node’s placement information for validation. This +attribute was added in vSphere API 6.7.1.

  • +
+
+
+
+ +
+
+class RedeploySpec(vc_spec=None, placement=None, ha_ip=None, failover_ip=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Passive.RedeploySpec class contains the redeploy specification. +This class was added in vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • vc_spec (com.vmware.vcenter.vcha_client.CredentialsSpec or None) – Contains the active node’s management vCenter server credentials. +This attribute was added in vSphere API 6.7.1. +If None, then the active vCenter Server instance is assumed to be +either self-managed or else in enhanced linked mode and managed by +a linked vCenter Server instance.

  • +
  • placement (com.vmware.vcenter.vcha_client.PlacementSpec) – Contains the node’s placement information. This attribute was added +in vSphere API 6.7.1.

  • +
  • ha_ip (com.vmware.vcenter.vcha_client.IpSpec or None) – Contains the VCHA HA network configuration of the node. All cluster +communication (state replication, heartbeat, cluster messages) +happens over this network. This attribute was added in vSphere API +6.7.1. +If None, then the stored network configuration for the VCHA HA +network for the passive node will be used.

  • +
  • failover_ip (com.vmware.vcenter.vcha_client.IpSpec or None) – Failover IP address that this node must assume after the failover +to serve client requests. This attribute was added in vSphere API +6.7.1. +If None, then the public IP address of the Active vCenter Server is +assumed.

  • +
+
+
+
+ +
+
+check(spec)
+

Validates the specified passive node’s placement configuration. This +method was added in vSphere API 6.7.1.

+
+
Parameters
+

spec (Passive.CheckSpec) – Contains the passive node’s placement specification.

+
+
Return type
+

Passive.CheckResult

+
+
Returns
+

CheckResult structure containing errors and warnings.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the credentials provided for authentincating with the active +node’s management vCenter server are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the specified resource spec is deemed invalid for the clone +operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnverifiedPeer +If the SSL certificate of the management vCenter server cannot be +validated. +The value of the data attribute of +com.vmware.vapi.std.errors_client.Error will be a class +that contains all the attributes defined in +com.vmware.vcenter.vcha_client.CertificateInfo.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the active virtual machine is not managed by the specified +vCenter server for the active node.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementConfiguration +If the active node is on more than one datastore.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +If the clone operation is not allowed in the current state of the +system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user has insufficient privilege to perform the operation. +Operation execution requires the Global.VCServer privilege.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If any other error occurs.

+
+
+
+ +
+
+redeploy_task(spec)
+

Creates the passive node in a degraded cluster with node location +information and pre-existing VCHA cluster configuration from the active +node. This method was added in vSphere API 6.7.1.

+
+
Parameters
+

spec (Passive.RedeploySpec) – Contains the passive node’s redeploy specification.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the credentials provided for authentincating with the active +node’s management vCenter server are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user has insufficient privilege to perform the operation. +Operation execution requires the Global.VCServer privilege.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnverifiedPeer +If the SSL certificate of the management vCenter server cannot be +validated. +The value of the data attribute of +com.vmware.vapi.std.errors_client.Error will be a class +that contains all the attributes defined in +com.vmware.vcenter.vcha_client.CertificateInfo.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If any other error occurs.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vcha.cluster_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.vcenter.vcha.cluster_client.Witness(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Witness class provides methods to validate a witness’s placement +configuration and redeploy the witness node in a vCenter High Availability +(VCHA) cluster. This class was added in vSphere API 6.7.1.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CheckResult(warnings=None, errors=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Witness.CheckResult class contains the warnings and errors that +will occur during the clone operation. This class was added in vSphere API +6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+class CheckSpec(vc_spec=None, placement=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Witness.CheckSpec class contains placement information for +validation. This class was added in vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • vc_spec (com.vmware.vcenter.vcha_client.CredentialsSpec or None) – Contains the active node’s management vCenter server credentials. +This attribute was added in vSphere API 6.7.1. +If None, then the active vCenter Server instance is assumed to be +either self-managed or else in enhanced linked mode and managed by +a linked vCenter Server instance.

  • +
  • placement (com.vmware.vcenter.vcha_client.PlacementSpec) – Contains the node’s placement information for validation. This +attribute was added in vSphere API 6.7.1.

  • +
+
+
+
+ +
+
+class RedeploySpec(vc_spec=None, placement=None, ha_ip=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Witness.RedeploySpec class contains the redeploy specification. +This class was added in vSphere API 6.7.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • vc_spec (com.vmware.vcenter.vcha_client.CredentialsSpec or None) – Contains the active node’s management vCenter server credentials. +This attribute was added in vSphere API 6.7.1. +If None, then the active vCenter Server instance is assumed to be +either self-managed or else in enhanced linked mode and managed by +a linked vCenter Server instance.

  • +
  • placement (com.vmware.vcenter.vcha_client.PlacementSpec) – Contains the node’s placement information. This attribute was added +in vSphere API 6.7.1.

  • +
  • ha_ip (com.vmware.vcenter.vcha_client.IpSpec or None) – Contains the VCHA HA network configuration of the node. All cluster +communication (state replication, heartbeat, cluster messages) +happens over this network. This attribute was added in vSphere API +6.7.1. +If None, then the stored network configuration for the VCHA HA +network for the witness node will be used.

  • +
+
+
+
+ +
+
+check(spec)
+

Validates the specified witness node’s placement configuration. This +method was added in vSphere API 6.7.1.

+
+
Parameters
+

spec (Witness.CheckSpec) – Contains the witness node’s placement specification.

+
+
Return type
+

Witness.CheckResult

+
+
Returns
+

CheckResult structure containing errors and warnings.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the credentials provided for authentincating with the active +node’s management vCenter server are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the specified resource spec is deemed invalid for the clone +operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnverifiedPeer +If the SSL certificate of the management vCenter server cannot be +validated. +The value of the data attribute of +com.vmware.vapi.std.errors_client.Error will be a class +that contains all the attributes defined in +com.vmware.vcenter.vcha_client.CertificateInfo.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the active virtual machine is not managed by the specified +vCenter server for the active node.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidElementConfiguration +If the active node is on more than one datastore.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +If the clone operation is not allowed in the current state of the +system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user has insufficient privilege to perform the operation. +Operation execution requires the Global.VCServer privilege.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If any other error occurs.

+
+
+
+ +
+
+redeploy_task(spec)
+

Creates the witness node in a degraded cluster with node location +information and pre-existing VCHA cluster configuration from the active +node. This method was added in vSphere API 6.7.1.

+
+
Parameters
+

spec (Witness.RedeploySpec) – Contains the witness node’s redeploy specification.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +If the credentials provided for authentincating with the active +node’s management vCenter server are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +If the user has insufficient privilege to perform the operation. +Operation execution requires the Global.VCServer privilege.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnverifiedPeer +If the SSL certificate of the management vCenter server cannot be +validated. +The value of the data attribute of +com.vmware.vapi.std.errors_client.Error will be a class +that contains all the attributes defined in +com.vmware.vcenter.vcha_client.CertificateInfo.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +If any other error occurs.

+
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.vm.guest.html b/vsphere/7.0.0.1/com.vmware.vcenter.vm.guest.html new file mode 100644 index 00000000..55ec6a32 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.vm.guest.html @@ -0,0 +1,644 @@ + + + + + + + + + + + com.vmware.vcenter.vm.guest package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.vm.guest package

+
+

Submodules

+
+
+

com.vmware.vcenter.vm.guest.networking_client module

+

The com.vmware.vcenter.vm.guest.networking_client module provides classes +for dealing with the guest operating system networking.

+
+
+class com.vmware.vcenter.vm.guest.networking_client.Interfaces(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Interfaces class provides methods for retrieving guest operating +system network interface information. This class was added in vSphere API +7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(dns_values=None, mac_address=None, dns=None, ip=None, wins_servers=None, nic=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Interfaces.Info class describes a virtual network adapter +configured in the guest operating system. This class was added in vSphere +API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • dns_values (com.vmware.vcenter.vm.guest_client.DnsAssignedValues or None) – Client DNS values. Data assigned by DNS. This attribute was added +in vSphere API 7.0.0. +If None no DNS assigned value exists.

  • +
  • mac_address (str or None) – MAC address of the adapter. This attribute was added in vSphere API +7.0.0. +If None then not supported by the Guest OS.

  • +
  • dns (com.vmware.vcenter.vm.guest_client.DnsConfigInfo or None) – DNS configuration of the adapter. See +com.vmware.vcenter.vm.guest_client.Networking.Info.dns for +system wide settings. This attribute was added in vSphere API +7.0.0. +If None then not assigned by the Guest OS.

  • +
  • ip (Interfaces.IpConfigInfo or None) – IP configuration settings of the adapter. This attribute was added +in vSphere API 7.0.0. +If None then not supported by the Guest OS.

  • +
  • wins_servers (list of str or None) – The IP addresses of any WINS name servers for the adapter. This +attribute was added in vSphere API 7.0.0. +If None then not supported by the Guest OS.

  • +
  • nic (str or None) – Link to the corresponding virtual device. This attribute was added +in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Ethernet. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.vm.hardware.Ethernet. +If None then the interface is not backed by a virtual device.

  • +
+
+
+
+ +
+
+class IpAddressInfo(ip_address=None, prefix_length=None, origin=None, state=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Interfaces.IpAddressInfo class describes a specific IP Address. +This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • ip_address (str) – IPv4 address is specified using dotted decimal notation. For +example, “192.0.2.1”. IPv6 addresses are 128-bit addresses +specified using eight fields of up to four hexadecimal digits. A +colon separates each field (:). For example, +2001:DB8:101::230:6eff:fe04:d9ff. The address can also consist of +the symbol ‘::’ to represent multiple 16-bit groups of contiguous +0’s only once in an address as described in RFC 2373. This +attribute was added in vSphere API 7.0.0.

  • +
  • prefix_length (long) – Denotes the length of a generic Internet network address prefix. +Prefix length: the valid range of values is 0-32 for IPv4, and +0-128 for IPv6. A value of n corresponds to an IP address mask that +has n contiguous 1-bits from the most significant bit (MSB), with +all other bits set to 0. A value of zero is valid only if the +calling context defines it. This attribute was added in vSphere API +7.0.0.

  • +
  • origin (Interfaces.IpAddressOrigin or None) – How this address was configured. This attribute was added in +vSphere API 7.0.0. +If None the data was not available.

  • +
  • state (Interfaces.IpAddressStatus) – The state of this ipAddress. This attribute was added in vSphere +API 7.0.0.

  • +
+
+
+
+ +
+
+class IpAddressOrigin(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Interfaces.IpAddressOrigin class specifies how an IP address was +obtained for an interface. See RFC 4293 IpAddressOriginTC. This enumeration +was added in vSphere API 7.0.0.

+
+

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 the IpAddressOrigin instance.

+
+
+
+
+DHCP = IpAddressOrigin(string='DHCP')
+

The address is configured through dhcp. This class attribute was added in +vSphere API 7.0.0.

+
+ +
+
+LINKLAYER = IpAddressOrigin(string='LINKLAYER')
+

The address is obtained through stateless autoconfiguration (autoconf). See +RFC 4862, IPv6 Stateless Address Autoconfiguration. This class attribute +was added in vSphere API 7.0.0.

+
+ +
+
+MANUAL = IpAddressOrigin(string='MANUAL')
+

The address is configured manually. This class attribute was added in +vSphere API 7.0.0.

+
+ +
+
+OTHER = IpAddressOrigin(string='OTHER')
+

Any other type of address configuration other than the below mentioned ones +will fall under this category. For e.g., automatic address configuration +for the link local address falls under this type. This class attribute was +added in vSphere API 7.0.0.

+
+ +
+
+RANDOM = IpAddressOrigin(string='RANDOM')
+

The address is chosen by the system at random e.g., an IPv4 address within +169.254/16, or an RFC 3041 privacy address. This class attribute was added +in vSphere API 7.0.0.

+
+ +
+ +
+
+class IpAddressStatus(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Interfaces.IpAddressStatus class defines the present status of an +address on an interface. See RFC 4293 IpAddressStatusTC. This enumeration +was added in vSphere API 7.0.0.

+
+

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 the IpAddressStatus instance.

+
+
+
+
+DEPRECATED = IpAddressStatus(string='DEPRECATED')
+

Indicates that this is a valid but deprecated address that should no longer +be used as a source address. This class attribute was added in vSphere API +7.0.0.

+
+ +
+
+DUPLICATE = IpAddressStatus(string='DUPLICATE')
+

Indicates the address has been determined to be non-unique on the link, +this address will not be reachable. This class attribute was added in +vSphere API 7.0.0.

+
+ +
+
+INACCESSIBLE = IpAddressStatus(string='INACCESSIBLE')
+

Indicates that the address is not accessible because interface is not +operational. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+INVALID = IpAddressStatus(string='INVALID')
+

Indicates that this isn’t a valid address. This class attribute was added +in vSphere API 7.0.0.

+
+ +
+
+PREFERRED = IpAddressStatus(string='PREFERRED')
+

Indicates that this is a valid address. This class attribute was added in +vSphere API 7.0.0.

+
+ +
+
+TENTATIVE = IpAddressStatus(string='TENTATIVE')
+

Indicates that the uniqueness of the address on the link is presently being +verified. This class attribute was added in vSphere API 7.0.0.

+
+ +
+
+UNKNOWN = IpAddressStatus(string='UNKNOWN')
+

Indicates that the status cannot be determined. This class attribute was +added in vSphere API 7.0.0.

+
+ +
+ +
+
+class IpConfigInfo(ip_addresses=None, dhcp=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Interfaces.IpConfigInfo class describes the protocol version +independent address reporting data object for network interfaces. This +class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
+
+
+
+ +
+
+list(vm)
+

Returns information about the networking interfaces in the guest +operating system. This method was added in vSphere API 7.0.0.

+
+
Parameters
+

vm (str) – Virtual machine ID +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

list of Interfaces.Info

+
+
Returns
+

Information about the interfaces configured in the guest operating +system. Interfaces are ordered in a guest operating system specific +determined order.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if VMware Tools is not running.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm.guest.networking_client.Routes(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Routes class provides methods for retrieving guest operating system +network routing information. This class was added in vSphere API 7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(network=None, prefix_length=None, gateway_address=None, interface_index=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Routes.Info class describes an individual host, network or default +destination network reachable through a gateway. This class was added in +vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • network (str) – IP Address of the destination IP network. IPv4 address is specified +using dotted decimal notation. For example, “192.0.2.1”. IPv6 +addresses are 128-bit specified using as eight fields of up to four +hexadecimal digits. A colon separates each field (:). For example, +2001:DB8:101::230:6eff:fe04:d9ff. The address can also consist of +symbol ‘::’ to represent multiple 16-bit groups of contiguous 0’s +only once in an address as described in RFC 2373. This attribute +was added in vSphere API 7.0.0.

  • +
  • prefix_length (long) – The prefix length. For IPv4 the value range is 0-32. For IPv6 +prefixLength is a decimal value range 0-128. The property +represents the number of contiguous, higher-order bits of the +address that make up the network portion of the IP address. This +attribute was added in vSphere API 7.0.0.

  • +
  • gateway_address (str or None) – Where to send the packets for this route. Unicast IP Address of the +next hop router. IPv4 address is specified using dotted decimal +notation. For example, “192.0.2.1”. IPv6 addresses are 128-bit +specified using as eight fields of up to four hexadecimal digits. A +colon separates each field (:). For example, +2001:DB8:101::230:6eff:fe04:d9ff. The address can also consist of +symbol ‘::’ to represent multiple 16-bit groups of contiguous 0’s +only once in an address as described in RFC 2373. This attribute +was added in vSphere API 7.0.0. +If None no gateway is set for the route.

  • +
  • interface_index (long or None) – The network interface associated with this route. This is an index +into the result of Interfaces.list() The index refers to the +relative position of an element in a list. For example, an +index of 0 refers to the first element in the list while +an index of 1 refers to the second element. This attribute was +added in vSphere API 7.0.0. +If None the route is not associated with a network interface.

  • +
+
+
+
+ +
+
+list(vm)
+

Returns information about network routing in the guest operating +system. This method was added in vSphere API 7.0.0.

+
+
Parameters
+

vm (str) – Virtual machine ID +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

list of Routes.Info

+
+
Returns
+

Information about the network routes configured in the guest +operating system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if VMware Tools is not running.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm.guest.networking_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.vm.hardware.html b/vsphere/7.0.0.1/com.vmware.vcenter.vm.hardware.html new file mode 100644 index 00000000..5badaed9 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.vm.hardware.html @@ -0,0 +1,1357 @@ + + + + + + + + + + + com.vmware.vcenter.vm.hardware package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.vm.hardware package

+
+

Submodules

+
+
+

com.vmware.vcenter.vm.hardware.adapter_client module

+

The com.vmware.vcenter.vm.hardware.adapter_client module provides classes +for managing the configuration and state of the virtual adapters belonging to a +virtual machine. This includes methods for reading and manipulating the +conifguration of USB adapters and host bus adapters.

+

Note that classes for adapters with no configurable properties or runtime +state, such as IDE and PCI adapters, are omitted.

+
+
+class com.vmware.vcenter.vm.hardware.adapter_client.Sata(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Sata class provides methods for configuring the virtual SATA +adapters of a virtual machine.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(type=None, bus=None, pci_slot_number=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Sata.CreateSpec class provides a specification for the +configuration of a newly-created virtual SATA adapter.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Sata.Type or None) – Adapter type. +If None, a guest-specific default value will be used.

  • +
  • bus (long or None) – SATA bus number. +If None, the server will choose an available bus number; if none is +available, the request will fail.

  • +
  • pci_slot_number (long or None) – Address of the SATA adapter on the PCI bus. +If None, the server will choose an available address when the +virtual machine is powered on.

  • +
+
+
+
+ +
+
+class Info(label=None, type=None, bus=None, pci_slot_number=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Sata.Info class contains information about a virtual SATA adapter.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • label (str) – Device label.

  • +
  • type (Sata.Type) – Adapter type.

  • +
  • bus (long) – SATA bus number.

  • +
  • pci_slot_number (long or None) – Address of the SATA adapter on the PCI bus. +May be None if the virtual machine has never been powered on since +the adapter was created.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.vcenter.vm.hardware.SataAdapter'
+

Resource type for the virtual SATA adapter device.

+
+ +
+
+class Summary(adapter=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Sata.Summary class contains commonly used information about a +Virtual SATA adapter.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

adapter (str) – Identifier of the virtual SATA adapter. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.SataAdapter. When methods return +a value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.vm.hardware.SataAdapter.

+
+
+
+ +
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Sata.Type class defines the valid emulation types for a virtual +SATA adapter.

+
+

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 the Type instance.

+
+
+
+
+AHCI = Type(string='AHCI')
+

AHCI host bus adapter.

+
+ +
+ +
+
+create(vm, spec)
+

Adds a virtual SATA adapter to the virtual machine.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • spec (Sata.CreateSpec) – Specification for the new virtual SATA adapter.

  • +
+
+
Return type
+

str

+
+
Returns
+

Virtual SATA adapter identifier. +The return value will be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.SataAdapter.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reported that the SATA adapter was created but was +unable to confirm the creation because the identifier of the new +adapter could not be determined.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is suspended

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if there are no more available SATA buses on the virtual machine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInUse +if the specified SATA bus or PCI address is in use.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the specified SATA bus or PCI address is out of bounds.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the guest operating system of the virtual machine is not +supported and spec includes None attributes that default to +guest-specific values.

+
+
+
+ +
+
+delete(vm, adapter)
+

Removes a virtual SATA adapter from the virtual machine.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • adapter (str) – Virtual SATA adapter identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.SataAdapter.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is suspended

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual SATA adapter is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+get(vm, adapter)
+

Returns information about a virtual SATA adapter.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • adapter (str) – Virtual SATA adapter identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.SataAdapter.

  • +
+
+
Return type
+

Sata.Info

+
+
Returns
+

Information about the specified virtual SATA adapter.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual SATA adapter is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+list(vm)
+

Returns commonly used information about the virtual SATA adapters +belonging to the virtual machine.

+
+
Parameters
+

vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

list of Sata.Summary

+
+
Returns
+

List of commonly used information about virtual SATA adapters.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm.hardware.adapter_client.Scsi(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Scsi class provides methods for configuring the virtual SCSI +adapters of a virtual machine.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(type=None, bus=None, pci_slot_number=None, sharing=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Scsi.CreateSpec class provides a specification for the +configuration of a newly-created virtual SCSI adapter.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Scsi.Type or None) – Adapter type. +If None, a guest-specific default value will be used.

  • +
  • bus (long or None) – SCSI bus number. +If None, the server will choose an available bus number; if none is +available, the request will fail.

  • +
  • pci_slot_number (long or None) – Address of the SCSI adapter on the PCI bus. If the PCI address is +invalid, the server will change it when the VM is started or as the +device is hot added. +If None, the server will choose an available address when the +virtual machine is powered on.

  • +
  • sharing (Scsi.Sharing or None) – Bus sharing mode. +If None, the adapter will default to Scsi.Sharing.NONE.

  • +
+
+
+
+ +
+
+class Info(label=None, type=None, scsi=None, pci_slot_number=None, sharing=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Scsi.Info class contains information about a virtual SCSI adapter.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • label (str) – Device label.

  • +
  • type (Scsi.Type) – Adapter type.

  • +
  • scsi (com.vmware.vcenter.vm.hardware_client.ScsiAddressInfo) – Address of the SCSI adapter on the SCSI bus.

  • +
  • pci_slot_number (long or None) – Address of the SCSI adapter on the PCI bus. If the PCI address is +invalid, the server will change it when the VM is started or as the +device is hot added. +May be None if the virtual machine has never been powered on since +the adapter was created.

  • +
  • sharing (Scsi.Sharing) – Bus sharing mode.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.vcenter.vm.hardware.ScsiAdapter'
+

Resource type for the virtual SCSI adapter device.

+
+ +
+
+class Sharing(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Scsi.Sharing class defines the valid bus sharing modes for a +virtual SCSI adapter.

+
+

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 the Sharing instance.

+
+
+
+
+NONE = Sharing(string='NONE')
+

The virtual SCSI bus is not shared.

+
+ +
+
+PHYSICAL = Sharing(string='PHYSICAL')
+

The virtual SCSI bus is shared between two or more virtual machines +residing on different physical hosts.

+
+ +
+
+VIRTUAL = Sharing(string='VIRTUAL')
+

The virtual SCSI bus is shared between two or more virtual machines. In +this case, no physical machine is involved.

+
+ +
+ +
+
+class Summary(adapter=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Scsi.Summary class contains commonly used information about a +Virtual SCSI adapter.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

adapter (str) – Identifier of the virtual SCSI adapter. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.ScsiAdapter. When methods return +a value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.vm.hardware.ScsiAdapter.

+
+
+
+ +
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Scsi.Type class defines the valid emulation types for a virtual +SCSI adapter.

+
+

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 the Type instance.

+
+
+
+
+BUSLOGIC = Type(string='BUSLOGIC')
+

BusLogic host bus adapter.

+
+ +
+
+LSILOGIC = Type(string='LSILOGIC')
+

LSI Logic host bus adapter.

+
+ +
+
+LSILOGICSAS = Type(string='LSILOGICSAS')
+

LSI Logic SAS 1068 host bus adapter.

+
+ +
+
+PVSCSI = Type(string='PVSCSI')
+

Paravirtualized host bus adapter.

+
+ +
+ +
+
+class UpdateSpec(sharing=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Scsi.UpdateSpec class describes the updates to be made to the +configuration of a virtual SCSI adapter.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

sharing (Scsi.Sharing or None) –

Bus sharing mode.

+

This attribute may only be modified if the virtual machine is not +powered on. +If None, the value is unchanged.

+

+
+
+
+ +
+
+create(vm, spec)
+

Adds a virtual SCSI adapter to the virtual machine.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • spec (Scsi.CreateSpec) – Specification for the new virtual SCSI adapter.

  • +
+
+
Return type
+

str

+
+
Returns
+

Virtual SCSI adapter identifier. +The return value will be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.ScsiAdapter.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reported that the SCSI adapter was created but was +unable to confirm the creation because the identifier of the new +adapter could not be determined.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is suspended

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if there are no more available SCSI buses on the virtual machine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInUse +if the specified SCSI bus is in use.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the specified SATA bus or PCI address is out of bounds.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the guest operating system of the virtual machine is not +supported and spec includes None attributes that default to +guest-specific values.

+
+
+
+ +
+
+delete(vm, adapter)
+

Removes a virtual SCSI adapter from the virtual machine.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • adapter (str) – Virtual SCSI adapter identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.ScsiAdapter.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is suspended

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual SCSI adapter is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+get(vm, adapter)
+

Returns information about a virtual SCSI adapter.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • adapter (str) – Virtual SCSI adapter identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.ScsiAdapter.

  • +
+
+
Return type
+

Scsi.Info

+
+
Returns
+

Information about the specified virtual SCSI adapter.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual SCSI adapter is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+list(vm)
+

Returns commonly used information about the virtual SCSI adapters +belonging to the virtual machine.

+
+
Parameters
+

vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

list of Scsi.Summary

+
+
Returns
+

List of commonly used information about virtual SCSI adapters.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+update(vm, adapter, spec)
+

Updates the configuration of a virtual SCSI adapter.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • adapter (str) – Virtual SCSI adapter identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.ScsiAdapter.

  • +
  • spec (Scsi.UpdateSpec) – Specification for updating the virtual SCSI adapter.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual SCSI adapter is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if one or more of the attributes specified in the spec +parameter cannot be modified due to the current power state of the +virtual machine or the connection state of the virtual SCSI +adapter.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm.hardware.adapter_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.vm.hardware.boot_client module

+

The com.vmware.vcenter.vm.hardware.boot_client module provides classes for +managing the virtual devices used to boot a virtual machine.

+
+
+class com.vmware.vcenter.vm.hardware.boot_client.Device(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Device class provides methods for configuring the device order used +when booting a virtual machine.

+

The boot order may be specified using a mixture of device classes and +device instances, chosen from among the following:

+
    +
  • Device.Type.CDROM: Boot from a virtual CD-ROM drive; the device +instance(s) will be chosen by the BIOS subsystem.

  • +
  • Device.Type.FLOPPY: Boot from a virtual floppy drive; the device +instance(s) will be chosen by the BIOS subsystem.

  • +
  • Device.Type.DISK: Boot from a virtual disk device; the device +instance is specified explicitly in Device.Entry.disks list, and +multiple instances may be specified in the list.

  • +
  • Device.Type.ETHERNET: Boot from a virtual Ethernet adapter; the +device instance is specified explicitly as Device.Entry.nic, and +multiple adapters may be specified in the boot order list.

  • +
+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Entry(type=None, nic=None, disks=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Device.Entry class specifies a bootable virtual device class or +specific bootable virtual device(s).

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Device.Type) – Virtual device type.

  • +
  • nic (str) – Virtual Ethernet device. Ethernet device to use as boot device for +this entry. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Ethernet. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.vm.hardware.Ethernet. +This attribute is optional and it is only relevant when the value +of type is Device.Type.ETHERNET.

  • +
  • disks (list of str) – Virtual disk device. List of virtual disks in boot order. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.vcenter.vm.hardware.Disk. When methods return a +value of this class as a return value, the attribute will contain +identifiers for the resource type: +com.vmware.vcenter.vm.hardware.Disk. +This attribute is optional and it is only relevant when the value +of type is Device.Type.DISK.

  • +
+
+
+
+ +
+
+class EntryCreateSpec(type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The class Device.EntryCreateSpec specifies a list of bootable virtual +device classes. When a VM is being created and a list of +Device.EntryCreateSpec is specified, the boot order of the specific +device instances are not specified in this class. The boot order of the +specific device instance will be the order in which the Ethernet and Disk +devices appear in the nics and disks respectively.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

type (Device.Type) – Virtual Boot device type.

+
+
+
+ +
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Device.Type class defines the valid device types that may be used +as bootable devices.

+
+

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 the Type instance.

+
+
+
+
+CDROM = Type(string='CDROM')
+

Virtual CD-ROM device.

+
+ +
+
+DISK = Type(string='DISK')
+

Virtual disk device.

+
+ +
+
+ETHERNET = Type(string='ETHERNET')
+

Virtual Ethernet adapter.

+
+ +
+
+FLOPPY = Type(string='FLOPPY')
+

Virtual floppy drive.

+
+ +
+ +
+
+get(vm)
+

Returns an ordered list of boot devices for the virtual machine. If the +list is empty, the virtual machine uses a default boot +sequence.

+
+
Parameters
+

vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

list of Device.Entry

+
+
Returns
+

Ordered list of configured boot devices.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+set(vm, devices)
+

Sets the virtual devices that will be used to boot the virtual machine. +The virtual machine will check the devices in order, attempting to boot +from each, until the virtual machine boots successfully. If the +list is empty, the virtual machine will use a default boot +sequence. There should be no more than one instance of +Device.Entry for a given device type except +Device.Type.ETHERNET in the list.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • devices (list of Device.Entry) – Ordered list of boot devices.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found, or if any of the specified +virtual devices is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if a any of the CDROM, DISK, ETHERNET, FLOPPY values appears in +more than one Device.Entry with the exception of +Device.Type.ETHERNET, which may appear multiple times if +the virtual machine has been configured with multiple Ethernet +adapters.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm.hardware.boot_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.vm.html b/vsphere/7.0.0.1/com.vmware.vcenter.vm.html new file mode 100644 index 00000000..29b0682f --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.vm.html @@ -0,0 +1,6899 @@ + + + + + + + + + + + com.vmware.vcenter.vm package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.vm package

+ +
+

Submodules

+
+
+

com.vmware.vcenter.vm.compute_client module

+

The com.vmware.vcenter.vm.compute_client module provides classes for +quering the status of compute policies on virtual machines in VMware Cloud on +AWS. Usage beyond VMware Cloud on AWS is not supported.

+
+
+class com.vmware.vcenter.vm.compute_client.Policies(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Policies class provides methods to query the status of policies on +virtual machines in VMware Cloud on AWS. Usage beyond VMware Cloud on AWS +is not supported. 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.

+
+
+
+
+class Info(status=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Policies.Info class contains information about the compliance of a +virtual machine with a compute policy. 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 (com.vmware.vcenter.compute.policies_client.ObjectCompliance) – The compliance status of the policy on a specified +object.**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.

+
+
+
+ +
+
+get(vm, policy)
+

Returns information about the compliance of a virtual machine with a +compute policy in VMware Cloud on AWS. Usage beyond VMware Cloud on AWS +is not supported. 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
+
    +
  • vm (str) – Identifier of the virtual machine to query the status for. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • policy (str) – Identifier of the policy to query the status for. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.compute.Resources.COMPUTE_POLICY.

  • +
+
+
Return type
+

Policies.Info

+
+
Returns
+

Information about the compliance of the specified virtual machine +with the specified compute policy.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if a virtual machine with the given identifier does not exist, or +if a policy with the given identifier does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm.compute_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.vm.console_client module

+

The com.vmware.vcenter.vm.console_client module provides classes for +managing Virtual Machine Consoles.

+
+
+class com.vmware.vcenter.vm.console_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.vcenter.vm.console_client.Tickets(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Tickets class provides methods for managing the virtual machine +console tickets. 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.

+
+
+
+
+class CreateSpec(type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Tickets.CreateSpec class defines the information used to create the +virtual machine console ticket. 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
+

type (Tickets.Type) – The type of virtual machine console ticket. 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 Summary(ticket=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Tickets.Summary class contains commonly used information about the +virtual machine console ticket. 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
+

ticket (str) – Console ticket URI. 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 Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Tickets.Type class defines the types of console tickets. +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 the Type instance.

+
+
+
+
+VMRC = Type(string='VMRC')
+

Virtual machine remote console ticket. 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.

+
+ +
+
+WEBMKS = Type(string='WEBMKS')
+

Web socket console ticket. 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.

+
+ +
+ +
+
+create(vm, spec)
+

Creates a virtual machine console ticket of a given ticket type. The +created ticket is a one time use URI. The validity of the ticket is 30 +minutes, if not used with in the time frame the ticket expires.

+

The Tickets.Type.VMRC ticket contains the IP address or the DNS +resolvable name of the vCenter server. This ticket requires +installation of VMware Workstation, VMware Fusion or VMRC to be +installed on the machine where the ticket has to be opened. This ticket +can be acquired even when the VM is turned off.

+

The Tickets.Type.WEBMKS ticket contains the IP address of the +DNS resolvable name of the ESX server. This ticket requires user to +embed this ticket in a HTML page using VMware HTML Console SDK - +https://www.vmware.com/support/developer/html-console This ticket can +be acquired only when the VM is turned on.. 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
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • spec (Tickets.CreateSpec) – Specification for the console ticket to be created.

  • +
+
+
Return type
+

Tickets.Summary

+
+
Returns
+

Commonly used information about the virtual machine console ticket.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the {\@link CreateSpec#type) attribute contains a value that +is not supported by the server.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is powered off and requested ticket type is +Tickets.Type.WEBMKS

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration or execution state cannot be +accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+

com.vmware.vcenter.vm.guest_client module

+

The com.vmware.vcenter.vm.guest_client module provides classes for dealing +with the guest operating system. This includes information about the state of +local file systems and network interfaces and methods to manipulate the guest +file system and processes.

+
+
+class com.vmware.vcenter.vm.guest_client.Customization(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Customization class provides methods to apply a customization +specification to a virtual machine. This class was added in vSphere API +7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class SetSpec(name=None, spec=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Customization.SetSpec class contains specification information that +has to be applied to a virtual machine. This class was added in vSphere API +7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str or None) – The name of the customization specification that has be retrieved +from the virtual center inventory and applied for the virtual +machine. Either one of name or spec or none of them should +be specified. This attribute was added in vSphere API 7.0.0. +If None and spec is also None when executing +Customization.set() operationg, then any pending +customization for the virtual machine will be cleared.

  • +
  • spec (com.vmware.vcenter.guest_client.CustomizationSpec or None) – The customization specification that has to be applied for the +virtual machine. Either one of name or spec or none of them +should be specified. This attribute was added in vSphere API 7.0.0. +If None and name is also None when executing +Customization.set() operationg, then any pending +customization for the virtual machine will be cleared.

  • +
+
+
+
+ +
+
+set(vm, spec)
+

Applies a customization specification in spec on the virtual +machine in vm. This method only sets the specification settings for +the virtual machine. The actual customization happens inside the guest +when the virtual machine is powered on. If spec has None values, +then any pending customization settings for the virtual machine are +cleared. If there is a pending customization for the virtual machine +and spec has valid content, then the existing customization setting +will be overwritten with the new settings. This method was added in +vSphere API 7.0.0.

+
+
Parameters
+
    +
  • vm (str) – The unique identifier of the virtual machine that needs to be +customized. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • spec (Customization.SetSpec) – The customization settings to be applied to the guest operating +system.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the customization settings in spec are not valid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine vm is not in a powered off state.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if a customization specification is not found with the unique name +in spec.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +If the virtual machine vm is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm.guest_client.DhcpConfigInfo(ipv4_enabled=None, ipv6_enabled=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The DhcpConfigInfo class specifies when Dynamic Host Configuration +Protocol is enabled. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • ipv4_enabled (bool) – True if IPv4 DHCP is enabled, false otherwise. This attribute was +added in vSphere API 7.0.0.

  • +
  • ipv6_enabled (bool) – True if IPv6 DHCP is enabled, false otherwise. This attribute was +added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.vm.guest_client.DnsAssignedValues(host_name=None, domain_name=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The {\@name DnsAssignedValues) class describes values assigned by a +Domain Name Server (DNS). This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • host_name (str) – The host name portion of DNS name. For example, “esx01” part of +esx01.example.com. This attribute was added in vSphere API 7.0.0.

  • +
  • domain_name (str) – The domain name portion of the DNS name. “example.com” part of +esx01.example.com. This attribute was added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.vm.guest_client.DnsConfigInfo(ip_addresses=None, search_domains=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The DnsConfigInfo class describes the configuration of RFC 1034 DNS +settings. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • ip_addresses (list of str) – The IP addresses of the DNS servers in order of use. IPv4 addresses +are specified using dotted decimal notation. For example, +“192.0.2.1”. IPv6 addresses are 128-bit addresses represented as +eight fields of up to four hexadecimal digits. A colon separates +each field (:). For example, 2001:DB8:101::230:6eff:fe04:d9ff. The +address can also consist of the symbol ‘::’ to represent multiple +16-bit groups of contiguous 0’s only once in an address as +described in RFC 2373. This attribute was added in vSphere API +7.0.0.

  • +
  • search_domains (list of str) – The domain in which to search for hosts, placed in order of +preference. These are the domain name portion of the DNS names. +This attribute was added in vSphere API 7.0.0.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.vm.guest_client.Identity(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Identity class provides methods for retrieving guest operating +system identification information. This class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(name=None, family=None, full_name=None, host_name=None, ip_address=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Identity.Info class contains information describing the guest +operating system identification. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (com.vmware.vcenter.vm_client.GuestOS) – Guest operating system identifier (short name). This attribute was +added in vSphere API 6.7.

  • +
  • family (com.vmware.vcenter.vm_client.GuestOSFamily) – Guest operating system family. This attribute was added in vSphere +API 6.7.

  • +
  • full_name (com.vmware.vapi.std_client.LocalizableMessage) – Guest operating system full name. This attribute was added in +vSphere API 6.7.

  • +
  • host_name (str) – Hostname of the guest operating system. This attribute was added in +vSphere API 6.7.

  • +
  • ip_address (str or None) – IP address assigned by the guest operating system. This attribute +was added in vSphere API 6.7. +If None the guest does not have an IP address.

  • +
+
+
+
+ +
+
+get(vm)
+

Return information about the guest. This method was added in vSphere +API 6.7.

+
+
Parameters
+

vm (str) – Identifier of the virtual machine. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

Identity.Info

+
+
Returns
+

guest identification information.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if VMware Tools is not running.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if VMware Tools has not provided any data.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm.guest_client.LocalFilesystem(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The LocalFilesystem class provides methods for retrieving information +about the guest operating system local file systems. This class was added +in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(capacity=None, free_space=None, filesystem=None, mappings=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The LocalFilesystem.Info class contains information about a local file +system configured in the guest operating system. This class was added in +vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • capacity (long) – Total capacity of the file system, in bytes. This attribute was +added in vSphere API 6.7.

  • +
  • free_space (long) – Free space on the file system, in bytes. This attribute was added +in vSphere API 6.7.

  • +
  • filesystem (str or None) – Filesystem type, if known. For example, ext3 or NTFS. This +attribute was added in vSphere API 7.0.0. +set if VMware Tools reports a value.

  • +
  • mappings (list of LocalFilesystem.VirtualDiskMapping) – VirtualDisks backing the guest partition, if known. This attribute +was added in vSphere API 7.0.0. +This attribute is optional because it was added in a newer version +than its parent node.

  • +
+
+
+
+ +
+
+class VirtualDiskMapping(disk=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Describes the virtual disk backing a local guest disk. This class was added +in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

disk (str) – The virtual disk. This attribute was added in vSphere API 7.0.0. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Disk. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.vm.hardware.Disk.

+
+
+
+ +
+
+get(vm)
+

Returns details of the local file systems in the guest operating +system. This method was added in vSphere API 6.7.

+
+
Parameters
+

vm (str) – Identifier of the virtual machine. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

dict of str and LocalFilesystem.Info

+
+
Returns
+

Information about the local file systems configured in the guest +operating system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if VMware Tools is not running.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if VMware Tools has not provided any data.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm.guest_client.Networking(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Networking class provides methods for retrieving guest operating +system network information. This class was added in vSphere API 7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(dns_values=None, dns=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Networking.Info class contains information about networking as +configured in the guest operating system. This class was added in vSphere +API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • dns_values (DnsAssignedValues or None) – Client DNS values. Data assigned by DNS. This attribute was added +in vSphere API 7.0.0. +If None no DNS assigned value exists.

  • +
  • dns (DnsConfigInfo or None) – Client DNS configuration. How DNS queries are resolved. This +attribute was added in vSphere API 7.0.0. +If None no DNS assigned value exists.

  • +
+
+
+
+ +
+
+get(vm)
+

Returns information about the network configuration in the guest +operating system. This method was added in vSphere API 7.0.0.

+
+
Parameters
+

vm (str) – Virtual machine ID +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

Networking.Info

+
+
Returns
+

Information about the networking configuration in the guest +operating system.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if VMware Tools is not running.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm.guest_client.Power(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Power class provides methods for managing the guest operating +system power state of a virtual machine. This class was added in vSphere +API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(state=None, operations_ready=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

Information about the guest operating system power state. This class was +added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • state (Power.State) – The power state of the guest operating system. This attribute was +added in vSphere API 6.7.

  • +
  • operations_ready (bool) – Flag indicating if the virtual machine is ready to process soft +power operations. This attribute was added in vSphere API 6.7.

  • +
+
+
+
+ +
+
+class State(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

Possible guest power states. This enumeration was added in vSphere API 6.7.

+
+

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 the State instance.

+
+
+
+
+NOT_RUNNING = State(string='NOT_RUNNING')
+

The guest OS is not running. This class attribute was added in vSphere API +6.7.

+
+ +
+
+RESETTING = State(string='RESETTING')
+

The guest OS is resetting. This class attribute was added in vSphere API +6.7.

+
+ +
+
+RUNNING = State(string='RUNNING')
+

The guest OS is running. This class attribute was added in vSphere API 6.7.

+
+ +
+
+SHUTTING_DOWN = State(string='SHUTTING_DOWN')
+

The guest OS is shutting down. This class attribute was added in vSphere +API 6.7.

+
+ +
+
+STANDBY = State(string='STANDBY')
+

The guest OS is in standby. This class attribute was added in vSphere API +6.7.

+
+ +
+
+UNAVAILABLE = State(string='UNAVAILABLE')
+

The guest OS power state is unknown. This class attribute was added in +vSphere API 6.7.

+
+ +
+ +
+
+get(vm)
+

Returns information about the guest operating system power state. This +method was added in vSphere API 6.7.

+
+
Parameters
+

vm (str) – Identifier of the virtual machine. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

Power.Info

+
+
Returns
+

Guest OS powerstate information.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
+
+ +
+
+reboot(vm)
+

Issues a request to the guest operating system asking it to perform a +reboot. This request returns immediately and does not wait for the +guest operating system to complete the operation. This method was added +in vSphere API 6.7.

+
+
Parameters
+

vm (str) – Identifier of the virtual machine. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is not powered on.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if VMware Tools is not running.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the virtual machine does not support being powered on (e.g. +marked as a template, serving as a fault-tolerance secondary +virtual machine).

+
+
+
+ +
+
+shutdown(vm)
+

Issues a request to the guest operating system asking it to perform a +clean shutdown of all services. This request returns immediately and +does not wait for the guest operating system to complete the operation. +This method was added in vSphere API 6.7.

+
+
Parameters
+

vm (str) – Identifier of the virtual machine. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the virtual machine is not powered on.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if VMware Tools is not running.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is suspended.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the virtual machine does not support being powered on (e.g. +marked as a template, serving as a fault-tolerance secondary +virtual machine).

+
+
+
+ +
+
+standby(vm)
+

Issues a request to the guest operating system asking it to perform a +suspend operation. This method was added in vSphere API 6.7.

+
+
Parameters
+

vm (str) – Identifier of the virtual machine. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the virtual machine is suspended.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if VMware Tools is not running.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is not powered on.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the virtual machine does not support being powered on (e.g. +marked as a template, serving as a fault-tolerance secondary +virtual machine).

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm.guest_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.vm.hardware_client module

+

The com.vmware.vcenter.vm.hardware_client module provides classes for +managing the virtual hardware configuration and state of a virtual machine. +This includes methods for reading and manipulating virtual device configuration +and for querying the runtime state of the devices.

+
+
+class com.vmware.vcenter.vm.hardware_client.Boot(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Boot class provides methods for configuring the settings used when +booting a virtual machine.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CreateSpec(type=None, efi_legacy_boot=None, network_protocol=None, delay=None, retry=None, retry_delay=None, enter_setup_mode=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Boot.CreateSpec class describes settings used when booting a +virtual machine.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Boot.Type or None) – Firmware type to be used by the virtual machine. +If None, defaults to value that is recommended for the guest OS and +is supported for the virtual hardware version.

  • +
  • efi_legacy_boot (bool or None) – Flag indicating whether to use EFI legacy boot mode. +If None, defaults to value that is recommended for the guest OS and +is supported for the virtual hardware version.

  • +
  • network_protocol (Boot.NetworkProtocol or None) – Protocol to use when attempting to boot the virtual machine over +the network. +If None, defaults to a system defined default value.

  • +
  • delay (long or None) – Delay in milliseconds before beginning the firmware boot process +when the virtual machine is powered on. This delay may be used to +provide a time window for users to connect to the virtual machine +console and enter BIOS setup mode. +If None, default value is 0.

  • +
  • retry (bool or None) – Flag indicating whether the virtual machine should automatically +retry the boot process after a failure. +If None, default value is false.

  • +
  • retry_delay (long or None) – Delay in milliseconds before retrying the boot process after a +failure; applicable only when Boot.Info.retry is true. +If None, default value is 10000.

  • +
  • enter_setup_mode (bool or None) – Flag indicating whether the firmware boot process should +automatically enter setup mode the next time the virtual machine +boots. Note that this flag will automatically be reset to false +once the virtual machine enters setup mode. +If None, the value is unchanged.

  • +
+
+
+
+ +
+
+class Info(type=None, efi_legacy_boot=None, network_protocol=None, delay=None, retry=None, retry_delay=None, enter_setup_mode=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Boot.Info class contains information about the virtual machine boot +process.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Boot.Type) – Firmware type used by the virtual machine.

  • +
  • efi_legacy_boot (bool) – Flag indicating whether to use EFI legacy boot mode. +This attribute is optional and it is only relevant when the value +of type is Boot.Type.EFI.

  • +
  • network_protocol (Boot.NetworkProtocol) – Protocol to use when attempting to boot the virtual machine over +the network. +This attribute is optional and it is only relevant when the value +of type is Boot.Type.EFI.

  • +
  • delay (long) – Delay in milliseconds before beginning the firmware boot process +when the virtual machine is powered on. This delay may be used to +provide a time window for users to connect to the virtual machine +console and enter BIOS setup mode.

  • +
  • retry (bool) – Flag indicating whether the virtual machine will automatically +retry the boot process after a failure.

  • +
  • retry_delay (long) – Delay in milliseconds before retrying the boot process after a +failure; applicable only when Boot.Info.retry is true.

  • +
  • enter_setup_mode (bool) – Flag indicating whether the firmware boot process will +automatically enter setup mode the next time the virtual machine +boots. Note that this flag will automatically be reset to false +once the virtual machine enters setup mode.

  • +
+
+
+
+ +
+
+class NetworkProtocol(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Boot.NetworkProtocol class defines the valid network boot protocols +supported when booting a virtual machine with Boot.Type.EFI +firmware over the network.

+
+

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 the NetworkProtocol instance.

+
+
+
+
+IPV4 = NetworkProtocol(string='IPV4')
+

PXE or Apple NetBoot over IPv4.

+
+ +
+
+IPV6 = NetworkProtocol(string='IPV6')
+

PXE over IPv6.

+
+ +
+ +
+
+class Type(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Boot.Type class defines the valid firmware types for a virtual +machine.

+
+

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 the Type instance.

+
+
+
+
+BIOS = Type(string='BIOS')
+

Basic Input/Output System (BIOS) firmware.

+
+ +
+
+EFI = Type(string='EFI')
+

Extensible Firmware Interface (EFI) firmware.

+
+ +
+ +
+
+class UpdateSpec(type=None, efi_legacy_boot=None, network_protocol=None, delay=None, retry=None, retry_delay=None, enter_setup_mode=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Boot.UpdateSpec class describes the updates to the settings used +when booting a virtual machine.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Boot.Type or None) – Firmware type to be used by the virtual machine. +If None, the value is unchanged.

  • +
  • efi_legacy_boot (bool or None) – Flag indicating whether to use EFI legacy boot mode. +If None, the value is unchanged.

  • +
  • network_protocol (Boot.NetworkProtocol or None) – Protocol to use when attempting to boot the virtual machine over +the network. +If None, the value is unchanged.

  • +
  • delay (long or None) – Delay in milliseconds before beginning the firmware boot process +when the virtual machine is powered on. This delay may be used to +provide a time window for users to connect to the virtual machine +console and enter BIOS setup mode. +If None, the value is unchanged.

  • +
  • retry (bool or None) – Flag indicating whether the virtual machine should automatically +retry the boot process after a failure. +If None, the value is unchanged.

  • +
  • retry_delay (long or None) – Delay in milliseconds before retrying the boot process after a +failure; applicable only when Boot.Info.retry is true. +If None, the value is unchanged.

  • +
  • enter_setup_mode (bool or None) – Flag indicating whether the firmware boot process should +automatically enter setup mode the next time the virtual machine +boots. Note that this flag will automatically be reset to false +once the virtual machine enters setup mode. +If None, the value is unchanged.

  • +
+
+
+
+ +
+
+get(vm)
+

Returns the boot-related settings of a virtual machine.

+
+
Parameters
+

vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

Boot.Info

+
+
Returns
+

Boot-related settings of the virtual machine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+update(vm, spec)
+

Updates the boot-related settings of a virtual machine.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • spec (Boot.UpdateSpec) – Specification for updating the boot-related settings of the virtual +machine.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if one of the provided settings is not permitted; for example, +specifying a negative value for delay.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm.hardware_client.Cdrom(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Cdrom class provides methods for configuring the virtual CD-ROM +devices of a virtual machine.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class BackingInfo(type=None, iso_file=None, host_device=None, auto_detect=None, device_access_type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cdrom.BackingInfo class contains information about the physical +resource backing a virtual CD-ROM device.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Cdrom.BackingType) – Backing type for the virtual CD-ROM device.

  • +
  • iso_file (str) – Path of the image file backing the virtual CD-ROM device. +This attribute is optional and it is only relevant when the value +of type is Cdrom.BackingType.ISO_FILE.

  • +
  • host_device (str or None) – Name of the host device backing the virtual CD-ROM device. +This attribute will be None if autoDetect is true and the +virtual CD-ROM device is not connected or no suitable device is +available on the host.

  • +
  • auto_detect (bool) – Flag indicating whether the virtual CD-ROM device is configured to +automatically detect a suitable host device. +This attribute is optional and it is only relevant when the value +of type is Cdrom.BackingType.HOST_DEVICE.

  • +
  • device_access_type (Cdrom.DeviceAccessType) – Access type for the device backing. +This attribute is optional and it is only relevant when the value +of type is one of Cdrom.BackingType.HOST_DEVICE or +Cdrom.BackingType.CLIENT_DEVICE.

  • +
+
+
+
+ +
+
+class BackingSpec(type=None, iso_file=None, host_device=None, device_access_type=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cdrom.BackingSpec class provides a specification of the physical +resource backing a virtual CD-ROM device.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Cdrom.BackingType) – Backing type for the virtual CD-ROM device.

  • +
  • iso_file (str) – Path of the image file that should be used as the virtual CD-ROM +device backing. +This attribute is optional and it is only relevant when the value +of type is Cdrom.BackingType.ISO_FILE.

  • +
  • host_device (str or None) – Name of the device that should be used as the virtual CD-ROM device +backing. +If None, the virtual CD-ROM device will be configured to +automatically detect a suitable host device.

  • +
  • device_access_type (Cdrom.DeviceAccessType or None) – Access type for the device backing. +If None, defaults to Cdrom.DeviceAccessType.EMULATION.

  • +
+
+
+
+ +
+
+class BackingType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Cdrom.BackingType class defines the valid backing types for a +virtual CD-ROM device.

+
+

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 the BackingType instance.

+
+
+
+
+CLIENT_DEVICE = BackingType(string='CLIENT_DEVICE')
+

Virtual CD-ROM device is backed by a device on the client that is connected +to the virtual machine console.

+
+ +
+
+HOST_DEVICE = BackingType(string='HOST_DEVICE')
+

Virtual CD-ROM device is backed by a device on the host where the virtual +machine is running.

+
+ +
+
+ISO_FILE = BackingType(string='ISO_FILE')
+

Virtual CD-ROM device is backed by an ISO file.

+
+ +
+ +
+
+class CreateSpec(type=None, ide=None, sata=None, backing=None, start_connected=None, allow_guest_control=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cdrom.CreateSpec class provides a specification for the +configuration of a newly-created virtual CD-ROM device.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Cdrom.HostBusAdapterType or None) – Type of host bus adapter to which the device should be attached. +If None, guest-specific default values will be used

  • +
  • ide (IdeAddressSpec or None) – Address for attaching the device to a virtual IDE adapter. +If None, the server will choose an available address; if none is +available, the request will fail.

  • +
  • sata (SataAddressSpec or None) – Address for attaching the device to a virtual SATA adapter. +If None, the server will choose an available address; if none is +available, the request will fail.

  • +
  • backing (Cdrom.BackingSpec or None) – Physical resource backing for the virtual CD-ROM device. +If None, defaults to automatic detection of a suitable host device.

  • +
  • start_connected (bool or None) – Flag indicating whether the virtual device should be connected +whenever the virtual machine is powered on. +Defaults to false if None.

  • +
  • allow_guest_control (bool or None) – Flag indicating whether the guest can connect and disconnect the +device. +Defaults to false if None.

  • +
+
+
+
+ +
+
+class DeviceAccessType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Cdrom.DeviceAccessType class defines the valid device access types +for a physical device packing of a virtual CD-ROM device.

+
+

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 the DeviceAccessType instance.

+
+
+
+
+EMULATION = DeviceAccessType(string='EMULATION')
+

ATAPI or SCSI device emulation.

+
+ +
+
+PASSTHRU = DeviceAccessType(string='PASSTHRU')
+

Raw passthru device access.

+
+ +
+
+PASSTHRU_EXCLUSIVE = DeviceAccessType(string='PASSTHRU_EXCLUSIVE')
+

Raw passthru device access, with exclusive access to the device.

+
+ +
+ +
+
+class HostBusAdapterType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Cdrom.HostBusAdapterType class defines the valid types of host bus +adapters that may be used for attaching a Cdrom to a virtual machine.

+
+

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 the HostBusAdapterType instance.

+
+
+
+
+IDE = HostBusAdapterType(string='IDE')
+

Cdrom is attached to an IDE adapter.

+
+ +
+
+SATA = HostBusAdapterType(string='SATA')
+

Cdrom is attached to a SATA adapter.

+
+ +
+ +
+
+class Info(type=None, label=None, ide=None, sata=None, backing=None, state=None, start_connected=None, allow_guest_control=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cdrom.Info class contains information about a virtual CD-ROM +device.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Cdrom.HostBusAdapterType) – Type of host bus adapter to which the device is attached.

  • +
  • label (str) – Device label.

  • +
  • ide (IdeAddressInfo) – Address of device attached to a virtual IDE adapter. +This attribute is optional and it is only relevant when the value +of type is Cdrom.HostBusAdapterType.IDE.

  • +
  • sata (SataAddressInfo) – Address of device attached to a virtual SATA adapter. +This attribute is optional and it is only relevant when the value +of type is Cdrom.HostBusAdapterType.SATA.

  • +
  • backing (Cdrom.BackingInfo) – Physical resource backing for the virtual CD-ROM device.

  • +
  • state (ConnectionState) – Connection status of the virtual device.

  • +
  • start_connected (bool) – Flag indicating whether the virtual device should be connected +whenever the virtual machine is powered on.

  • +
  • allow_guest_control (bool) – Flag indicating whether the guest can connect and disconnect the +device.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.vcenter.vm.hardware.Cdrom'
+

Resource type for the virtual CD-ROM device.

+
+ +
+
+class Summary(cdrom=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cdrom.Summary class contains commonly used information about a +virtual CD-ROM device.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

cdrom (str) – Identifier of the virtual CD-ROM device. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Cdrom. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.vm.hardware.Cdrom.

+
+
+
+ +
+
+class UpdateSpec(backing=None, start_connected=None, allow_guest_control=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cdrom.UpdateSpec class describes the updates to be made to the +configuration of a virtual CD-ROM device.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • backing (Cdrom.BackingSpec or None) –

    Physical resource backing for the virtual CD-ROM device.

    +

    This attribute may only be modified if the virtual machine is not +powered on or the virtual CD-ROM device is not connected. +If None, the value is unchanged.

    +

  • +
  • start_connected (bool or None) – Flag indicating whether the virtual device should be connected +whenever the virtual machine is powered on. +If None, the value is unchanged.

  • +
  • allow_guest_control (bool or None) – Flag indicating whether the guest can connect and disconnect the +device. +If None, the value is unchanged.

  • +
+
+
+
+ +
+
+connect(vm, cdrom)
+

Connects a virtual CD-ROM device of a powered-on virtual machine to its +backing. Connecting the virtual device makes the backing accessible +from the perspective of the guest operating system.

+

For a powered-off virtual machine, the Cdrom.update() method may +be used to configure the virtual CD-ROM device to start in the +connected state when the virtual machine is powered on.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • cdrom (str) – Virtual CD-ROM device identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Cdrom.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual CD-ROM device is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the virtual CD-ROM device is already connected.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is not powered on.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+create(vm, spec)
+

Adds a virtual CD-ROM device to the virtual machine.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • spec (Cdrom.CreateSpec) – Specification for the new virtual CD-ROM device.

  • +
+
+
Return type
+

str

+
+
Returns
+

Virtual CD-ROM device identifier. +The return value will be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Cdrom.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reported that the CD-ROM device was created but was +unable to confirm the creation because the identifier of the new +device could not be determined.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is suspended or if the virtual machine is +powered on and virtual CD-ROM type is IDE.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if the specified storage address is unavailable; for example, if +the SCSI adapter requested does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInUse +if the specified storage address is in use.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the specified storage address is out of bounds.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the guest operating system of the virtual machine is not +supported and spec includes None attributes that default to +guest-specific values.

+
+
+
+ +
+
+delete(vm, cdrom)
+

Removes a virtual CD-ROM device from the virtual machine.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • cdrom (str) – Virtual CD-ROM device identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Cdrom.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual CD-ROM device is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is suspended or if the virtual machine is +powered on and virtual CD-ROM type is IDE.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+disconnect(vm, cdrom)
+

Disconnects a virtual CD-ROM device of a powered-on virtual machine +from its backing. The virtual device is still present and its backing +configuration is unchanged, but from the perspective of the guest +operating system, the CD-ROM device is not connected to its backing +resource.

+

For a powered-off virtual machine, the Cdrom.update() method may +be used to configure the virtual CD-ROM device to start in the +disconnected state when the virtual machine is powered on.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • cdrom (str) – Virtual CD-ROM device identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Cdrom.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual CD-ROM device is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the virtual CD-ROM device is already disconnected.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is not powered on.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+get(vm, cdrom)
+

Returns information about a virtual CD-ROM device.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • cdrom (str) – Virtual CD-ROM device identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Cdrom.

  • +
+
+
Return type
+

Cdrom.Info

+
+
Returns
+

Information about the specified virtual CD-ROM device.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual CD-ROM device is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+list(vm)
+

Returns commonly used information about the virtual CD-ROM devices +belonging to the virtual machine.

+
+
Parameters
+

vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

list of Cdrom.Summary

+
+
Returns
+

List of commonly used information about virtual CD-ROM devices.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+update(vm, cdrom, spec)
+

Updates the configuration of a virtual CD-ROM device.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • cdrom (str) – Virtual CD-ROM device identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Cdrom.

  • +
  • spec (Cdrom.UpdateSpec) – Specification for updating the virtual CD-ROM device.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual CD-ROM device is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if one or more of the attributes specified in the spec +parameter cannot be modified due to the current power state of the +virtual machine or the connection state of the virtual CD-ROM +device.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm.hardware_client.ConnectionCreateSpec(start_connected=None, allow_guest_control=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ConnectionCreateSpec class provides a specification for the +configuration of a newly-created removable device.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • start_connected (bool or None) – Flag indicating whether the virtual device should be connected +whenever the virtual machine is powered on. +Defaults to false if None.

  • +
  • allow_guest_control (bool or None) – Flag indicating whether the guest can connect and disconnect the +device. +Defaults to false if None.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.vm.hardware_client.ConnectionInfo(state=None, start_connected=None, allow_guest_control=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ConnectionInfo class provides information about the state and +configuration of a removable virtual device.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • state (ConnectionState) – Connection status of the virtual device.

  • +
  • start_connected (bool) – Flag indicating whether the virtual device should be connected +whenever the virtual machine is powered on.

  • +
  • allow_guest_control (bool) – Flag indicating whether the guest can connect and disconnect the +device.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.vm.hardware_client.ConnectionState(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The ConnectionState class defines the valid states for a removable +device that is configured to be connected.

+
+

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 the ConnectionState instance.

+
+
+
+
+CONNECTED = ConnectionState(string='CONNECTED')
+

The device is connected and working correctly.

+
+ +
+
+NOT_CONNECTED = ConnectionState(string='NOT_CONNECTED')
+

The device is not connected.

+
+ +
+
+RECOVERABLE_ERROR = ConnectionState(string='RECOVERABLE_ERROR')
+

Device connection failed due to a recoverable error; for example, the +virtual device backing is currently in use by another virtual machine.

+
+ +
+
+UNKNOWN = ConnectionState(string='UNKNOWN')
+

The device status is unknown.

+
+ +
+
+UNRECOVERABLE_ERROR = ConnectionState(string='UNRECOVERABLE_ERROR')
+

Device connection failed due to an unrecoverable error; for example, the +virtual device backing does not exist.

+
+ +
+ +
+
+class com.vmware.vcenter.vm.hardware_client.ConnectionUpdateSpec(start_connected=None, allow_guest_control=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ConnectionUpdateSpec class describes the updates to be made to the +configuration of a removable virtual device.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • start_connected (bool or None) – Flag indicating whether the virtual device should be connected +whenever the virtual machine is powered on. +If None, the value is unchanged.

  • +
  • allow_guest_control (bool or None) – Flag indicating whether the guest can connect and disconnect the +device. +If None, the value is unchanged.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.vm.hardware_client.Cpu(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Cpu class provides methods for configuring the CPU settings of a +virtual machine.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(count=None, cores_per_socket=None, hot_add_enabled=None, hot_remove_enabled=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cpu.Info class contains CPU-related information about a virtual +machine.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • count (long) – Number of CPU cores.

  • +
  • cores_per_socket (long) – Number of CPU cores per socket.

  • +
  • hot_add_enabled (bool) – Flag indicating whether adding CPUs while the virtual machine is +running is enabled.

  • +
  • hot_remove_enabled (bool) – Flag indicating whether removing CPUs while the virtual machine is +running is enabled.

  • +
+
+
+
+ +
+
+class UpdateSpec(count=None, cores_per_socket=None, hot_add_enabled=None, hot_remove_enabled=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Cpu.UpdateSpec class describes the updates to be made to the +CPU-related settings of a virtual machine.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • count (long or None) –

    New number of CPU cores. The number of CPU cores in the virtual +machine must be a multiple of the number of cores per socket.

    +

    The supported range of CPU counts is constrained by the configured +guest operating system and virtual hardware version of the virtual +machine.

    +

    If the virtual machine is running, the number of CPU cores may only +be increased if Cpu.Info.hot_add_enabled is true, and may +only be decreased if Cpu.Info.hot_remove_enabled is true. +If None, the value is unchanged.

    +

  • +
  • cores_per_socket (long or None) – New number of CPU cores per socket. The number of CPU cores in the +virtual machine must be a multiple of the number of cores per +socket. +If None, the value is unchanged.

  • +
  • hot_add_enabled (bool or None) –

    Flag indicating whether adding CPUs while the virtual machine is +running is enabled.

    +

    This attribute may only be modified if the virtual machine is +powered off. +If None, the value is unchanged.

    +

  • +
  • hot_remove_enabled (bool or None) –

    Flag indicating whether removing CPUs while the virtual machine is +running is enabled.

    +

    This attribute may only be modified if the virtual machine is +powered off. +If None, the value is unchanged.

    +

  • +
+
+
+
+ +
+
+get(vm)
+

Returns the CPU-related settings of a virtual machine.

+
+
Parameters
+

vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

Cpu.Info

+
+
Returns
+

CPU-related settings of the virtual machine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+update(vm, spec)
+

Updates the CPU-related settings of a virtual machine.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • spec (Cpu.UpdateSpec) – Specification for updating the CPU-related settings of the virtual +machine.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if one of the provided settings is not permitted; for example, +specifying a negative value for count.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if hotAddEnabled or hotRemoveEnabled is specified and the +virtual machine is not powered off.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if count is specified and is greater than count, +hotAddEnabled is false, and the virtual machine is not powered +off.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if count is specified and is less than count, +hotRemoveEnabled is false, and the virtual machine is not +powered off.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm.hardware_client.Disk(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Disk class provides methods for configuring the virtual disks of a +virtual machine. A virtual disk has a backing such as a VMDK file. The +backing has an independent lifecycle from the virtual machine when it is +detached from the virtual machine. The Disk.create() method provides +the ability to create a new virtual disk. When creating a virtual disk, a +new VMDK file may be created or an existing VMDK file may used as a +backing. Once a VMDK file is associated with a virtual machine, its +lifecycle will be bound to the virtual machine. In other words, it will be +deleted when the virtual machine is deleted. The Disk.delete() method +provides the ability to detach a VMDK file from the virtual machine. The +Disk.delete() method does not delete the VMDK file that backs the +virtual disk. Once detached, the VMDK file will not be destroyed when the +virtual machine to which it was associated is deleted.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class BackingInfo(type=None, vmdk_file=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Disk.BackingInfo class contains information about the physical +resource backing a virtual disk.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Disk.BackingType) – Backing type for the virtual disk.

  • +
  • vmdk_file (str) – Path of the VMDK file backing the virtual disk. +This attribute is optional and it is only relevant when the value +of type is Disk.BackingType.VMDK_FILE.

  • +
+
+
+
+ +
+
+class BackingSpec(type=None, vmdk_file=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Disk.BackingSpec class provides a specification of the physical +resource backing a virtual disk.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Disk.BackingType) – Backing type for the virtual disk.

  • +
  • vmdk_file (str) – Path of the VMDK file backing the virtual disk. +This attribute is optional and it is only relevant when the value +of type is Disk.BackingType.VMDK_FILE.

  • +
+
+
+
+ +
+
+class BackingType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Disk.BackingType class defines the valid backing types for a +virtual disk.

+
+

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 the BackingType instance.

+
+
+
+
+VMDK_FILE = BackingType(string='VMDK_FILE')
+

Virtual disk is backed by a VMDK file.

+
+ +
+ +
+
+class CreateSpec(type=None, ide=None, scsi=None, sata=None, backing=None, new_vmdk=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Disk.CreateSpec class provides a specification for the +configuration of a newly-created virtual disk.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Disk.HostBusAdapterType or None) – Type of host bus adapter to which the device should be attached. +If None, guest-specific default values will be used

  • +
  • ide (IdeAddressSpec or None) – Address for attaching the device to a virtual IDE adapter. +If None, the server will choose an available address; if none is +available, the request will fail.

  • +
  • scsi (ScsiAddressSpec or None) – Address for attaching the device to a virtual SCSI adapter. +If None, the server will choose an available address; if none is +available, the request will fail.

  • +
  • sata (SataAddressSpec or None) – Address for attaching the device to a virtual SATA adapter. +If None, the server will choose an available address; if none is +available, the request will fail.

  • +
  • backing (Disk.BackingSpec or None) – Existing physical resource backing for the virtual disk. Exactly +one of backing or newVmdk must be specified. +If None, the virtual disk will not be connected to an existing +backing.

  • +
  • new_vmdk (Disk.VmdkCreateSpec or None) – Specification for creating a new VMDK backing for the virtual disk. +Exactly one of backing or newVmdk must be specified. +If None, a new VMDK backing will not be created.

  • +
+
+
+
+ +
+
+class HostBusAdapterType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Disk.HostBusAdapterType class defines the valid types of host bus +adapters that may be used for attaching a virtual storage device to a +virtual machine.

+
+

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 the HostBusAdapterType instance.

+
+
+
+
+IDE = HostBusAdapterType(string='IDE')
+

Disk is attached to an IDE adapter.

+
+ +
+
+SATA = HostBusAdapterType(string='SATA')
+

Disk is attached to a SATA adapter.

+
+ +
+
+SCSI = HostBusAdapterType(string='SCSI')
+

Disk is attached to a SCSI adapter.

+
+ +
+ +
+
+class Info(label=None, type=None, ide=None, scsi=None, sata=None, backing=None, capacity=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Disk.Info class contains information about a virtual disk.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • label (str) – Device label.

  • +
  • type (Disk.HostBusAdapterType) – Type of host bus adapter to which the device is attached.

  • +
  • ide (IdeAddressInfo) – Address of device attached to a virtual IDE adapter. +Workaround for PR1459646

  • +
  • scsi (ScsiAddressInfo) – Address of device attached to a virtual SCSI adapter. +Workaround for PR1459646

  • +
  • sata (SataAddressInfo) – Address of device attached to a virtual SATA adapter. +Workaround for PR1459646

  • +
  • backing (Disk.BackingInfo) – Physical resource backing for the virtual disk.

  • +
  • capacity (long or None) – Capacity of the virtual disk in bytes. +If None, virtual disk is inaccessible or disk capacity is 0.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.vcenter.vm.hardware.Disk'
+

Resource type for the virtual disk.

+
+ +
+
+class StoragePolicySpec(policy=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Disk.StoragePolicySpec class contains information about the storage +policy be associated with a VMDK file. This class was added in vSphere API +6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

policy (str) – Identifier of the storage policy which should be associated with +the VMDK file. This attribute was added in vSphere API 6.7. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.StoragePolicy. When methods return a value +of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.StoragePolicy.

+
+
+
+ +
+
+class Summary(disk=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Disk.Summary class contains commonly used information about a +virtual disk.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

disk (str) – Identifier of the virtual Disk. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Disk. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.vm.hardware.Disk.

+
+
+
+ +
+
+class UpdateSpec(backing=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Disk.UpdateSpec class describes the updates to be made to the +configuration of a virtual disk.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

backing (Disk.BackingSpec or None) –

Physical resource backing for the virtual disk.

+

This attribute may only be modified if the virtual machine is not +powered on. +If None, the value is unchanged.

+

+
+
+
+ +
+
+class VmdkCreateSpec(name=None, capacity=None, storage_policy=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Disk.VmdkCreateSpec class provides a specification for creating a +new VMDK file to be used as a backing for a virtual disk. The virtual disk +will be stored in the same directory as the virtual machine’s configuration +file.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str or None) – Base name of the VMDK file. The name should not include the ‘.vmdk’ +file extension. +If None, a name (derived from the name of the virtual machine) will +be chosen by the server.

  • +
  • capacity (long or None) – Capacity of the virtual disk backing in bytes. +If None, defaults to a guest-specific capacity.

  • +
  • storage_policy (Disk.StoragePolicySpec or None) – The Disk.StoragePolicySpec class contains information about the +storage policy that is to be associated the with VMDK file. This +attribute was added in vSphere API 6.7. +If None the default storage policy of the target datastore (if +applicable) is applied. Currently a default storage policy is only +supported by object based datastores : VVol & vSAN. For non- object +datastores, if None then no storage policy would be associated with +the VMDK file.

  • +
+
+
+
+ +
+
+create(vm, spec)
+

Adds a virtual disk to the virtual machine. While adding the virtual +disk, a new VMDK file may be created or an existing VMDK file may be +used to back the virtual disk.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • spec (Disk.CreateSpec) – Specification for the new virtual disk.

  • +
+
+
Return type
+

str

+
+
Returns
+

Virtual disk identifier. +The return value will be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Disk.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if system reported that the disk device was created but was unable +to confirm the creation because the identifier of the new device +could not be determined.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is suspended or if the virtual machine is +powered on and virtual disk type is IDE.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if the specified storage address is unavailable; for example, if +the SCSI adapter requested does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInUse +if the specified storage address is in use.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the specified storage address is out of bounds or if the +specified storage policy is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the guest operating system of the virtual machine is not +supported and spec includes None attributes that default to +guest-specific values.

+
+
+
+ +
+
+delete(vm, disk)
+

Removes a virtual disk from the virtual machine. This method does not +destroy the VMDK file that backs the virtual disk. It only detaches the +VMDK file from the virtual machine. Once detached, the VMDK file will +not be destroyed when the virtual machine to which it was associated is +deleted.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • disk (str) – Virtual disk identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Disk.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual disk is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is suspended or if the virtual machine is +powered on and virtual disk type is IDE.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+get(vm, disk)
+

Returns information about a virtual disk.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • disk (str) – Virtual disk identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Disk.

  • +
+
+
Return type
+

Disk.Info

+
+
Returns
+

Information about the specified virtual disk.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual disk is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+list(vm)
+

Returns commonly used information about the virtual disks belonging to +the virtual machine.

+
+
Parameters
+

vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

list of Disk.Summary

+
+
Returns
+

List of commonly used information about the virtual disks.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+update(vm, disk, spec)
+

Updates the configuration of a virtual disk. An update method can be +used to detach the existing VMDK file and attach another VMDK file to +the virtual machine.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • disk (str) – Virtual disk identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Disk.

  • +
  • spec (Disk.UpdateSpec) – Specification for updating the virtual disk.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual disk is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if one or more of the attributes specified in the spec +parameter cannot be modified due to the current power state of the +virtual machine or the connection state of the virtual disk.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm.hardware_client.Ethernet(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Ethernet class provides methods for configuring the virtual +Ethernet adapters of a virtual machine.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class BackingInfo(type=None, network=None, network_name=None, host_device=None, distributed_switch_uuid=None, distributed_port=None, connection_cookie=None, opaque_network_type=None, opaque_network_id=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Ethernet.BackingInfo class contains information about the physical +resource backing a virtual Ethernet adapter.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Ethernet.BackingType) – Backing type for the virtual Ethernet adapter.

  • +
  • network (str or None) – Identifier of the network backing the virtual Ethernet adapter. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: Network. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: Network. +If None, the identifier of the network backing could not be +determined.

  • +
  • network_name (str) – Name of the standard portgroup backing the virtual Ethernet +adapter. +This attribute is optional and it is only relevant when the value +of type is Ethernet.BackingType.STANDARD_PORTGROUP.

  • +
  • host_device (str) – Name of the device backing the virtual Ethernet adapter. +This attribute is optional and it is only relevant when the value +of type is Ethernet.BackingType.HOST_DEVICE.

  • +
  • distributed_switch_uuid (str) – UUID of the distributed virtual switch that backs the virtual +Ethernet adapter. +This attribute is optional and it is only relevant when the value +of type is Ethernet.BackingType.DISTRIBUTED_PORTGROUP.

  • +
  • distributed_port (str or None) – Key of the distributed virtual port that backs the virtual Ethernet +adapter. +This attribute will be None if the virtual Ethernet device is not +bound to a distributed virtual port; this can happen if the virtual +machine is powered off or the virtual Ethernet device is not +connected.

  • +
  • connection_cookie (long or None) – Server-generated cookie that identifies the connection to the port. +This ookie may be used to verify that the virtual machine is the +rightful owner of the port. +This attribute will be None if the virtual Ethernet device is not +bound to a distributed virtual port; this can happen if the virtual +machine is powered off or the virtual Ethernet device is not +connected.

  • +
  • opaque_network_type (str) – Type of the opaque network that backs the virtual Ethernet adapter. +This attribute is optional and it is only relevant when the value +of type is Ethernet.BackingType.OPAQUE_NETWORK.

  • +
  • opaque_network_id (str) – Identifier of the opaque network that backs the virtual Ethernet +adapter. +This attribute is optional and it is only relevant when the value +of type is Ethernet.BackingType.OPAQUE_NETWORK.

  • +
+
+
+
+ +
+
+class BackingSpec(type=None, network=None, distributed_port=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Ethernet.BackingSpec class provides a specification of the physical +resource that backs a virtual Ethernet adapter.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Ethernet.BackingType) – Backing type for the virtual Ethernet adapter.

  • +
  • network (str) – Identifier of the network that backs the virtual Ethernet adapter. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: Network. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: Network. +This attribute is optional and it is only relevant when the value +of type is one of +Ethernet.BackingType.STANDARD_PORTGROUP, +Ethernet.BackingType.DISTRIBUTED_PORTGROUP, or +Ethernet.BackingType.OPAQUE_NETWORK.

  • +
  • distributed_port (str or None) – Key of the distributed virtual port that backs the virtual Ethernet +adapter. Depending on the type of the Portgroup, the port may be +specified using this field. If the portgroup type is early-binding +(also known as static), a port is assigned when the Ethernet +adapter is configured to use the port. The port may be either +automatically or specifically assigned based on the value of this +attribute. If the portgroup type is ephemeral, the port is created +and assigned to a virtual machine when it is powered on and the +Ethernet adapter is connected. This attribute cannot be specified +as no free ports exist before use. +May be used to specify a port when the network specified on the +network attribute is a static or early binding distributed +portgroup. If None, the port will be automatically assigned to the +Ethernet adapter based on the policy embodied by the portgroup +type.

  • +
+
+
+
+ +
+
+class BackingType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Ethernet.BackingType class defines the valid backing types for a +virtual Ethernet adapter.

+
+

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 the BackingType instance.

+
+
+
+
+DISTRIBUTED_PORTGROUP = BackingType(string='DISTRIBUTED_PORTGROUP')
+

Distributed virtual switch backing.

+
+ +
+
+HOST_DEVICE = BackingType(string='HOST_DEVICE')
+

Legacy host device network backing. Imported VMs may have virtual Ethernet +adapters with this type of backing, but this type of backing cannot be used +to create or to update a virtual Ethernet adapter.

+
+ +
+
+OPAQUE_NETWORK = BackingType(string='OPAQUE_NETWORK')
+

Opaque network backing.

+
+ +
+
+STANDARD_PORTGROUP = BackingType(string='STANDARD_PORTGROUP')
+

vSphere standard portgroup network backing.

+
+ +
+ +
+
+class CreateSpec(type=None, upt_compatibility_enabled=None, mac_type=None, mac_address=None, pci_slot_number=None, wake_on_lan_enabled=None, backing=None, start_connected=None, allow_guest_control=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Ethernet.CreateSpec class provides a specification for the +configuration of a newly-created virtual Ethernet adapter.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Ethernet.EmulationType or None) – Ethernet adapter emulation type. +If None, defaults to a guest-specific type.

  • +
  • upt_compatibility_enabled (bool or None) – Flag indicating whether Universal Pass-Through (UPT) compatibility +is enabled on this virtual Ethernet adapter. +If None, defaults to false.

  • +
  • mac_type (Ethernet.MacAddressType or None) – MAC address type. +If None, defaults to Ethernet.MacAddressType.GENERATED.

  • +
  • mac_address (str) – MAC address. +Workaround for PR1459647

  • +
  • pci_slot_number (long or None) – Address of the virtual Ethernet adapter on the PCI bus. If the PCI +address is invalid, the server will change when it the VM is +started or as the device is hot added. +If None, the server will choose an available address when the +virtual machine is powered on.

  • +
  • wake_on_lan_enabled (bool or None) – Flag indicating whether wake-on-LAN is enabled on this virtual +Ethernet adapter. +Defaults to false if None.

  • +
  • backing (Ethernet.BackingSpec or None) – Physical resource backing for the virtual Ethernet adapter. +If None, the system may try to find an appropriate backing. If one +is not found, the request will fail.

  • +
  • start_connected (bool or None) – Flag indicating whether the virtual device should be connected +whenever the virtual machine is powered on. +Defaults to false if None.

  • +
  • allow_guest_control (bool or None) – Flag indicating whether the guest can connect and disconnect the +device. +Defaults to false if None.

  • +
+
+
+
+ +
+
+class EmulationType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Ethernet.EmulationType class defines the valid emulation types for +a virtual Ethernet adapter.

+
+

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 the EmulationType instance.

+
+
+
+
+E1000 = EmulationType(string='E1000')
+

E1000 ethernet adapter.

+
+ +
+
+E1000E = EmulationType(string='E1000E')
+

E1000e ethernet adapter.

+
+ +
+
+PCNET32 = EmulationType(string='PCNET32')
+

AMD Lance PCNet32 Ethernet adapter.

+
+ +
+
+VMXNET = EmulationType(string='VMXNET')
+

VMware Vmxnet virtual Ethernet adapter.

+
+ +
+
+VMXNET2 = EmulationType(string='VMXNET2')
+

VMware Vmxnet2 virtual Ethernet adapter.

+
+ +
+
+VMXNET3 = EmulationType(string='VMXNET3')
+

VMware Vmxnet3 virtual Ethernet adapter.

+
+ +
+ +
+
+class Info(label=None, type=None, upt_compatibility_enabled=None, mac_type=None, mac_address=None, pci_slot_number=None, wake_on_lan_enabled=None, backing=None, state=None, start_connected=None, allow_guest_control=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Ethernet.Info class contains information about a virtual Ethernet +adapter.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • label (str) – Device label.

  • +
  • type (Ethernet.EmulationType) – Ethernet adapter emulation type.

  • +
  • upt_compatibility_enabled (bool) – Flag indicating whether Universal Pass-Through (UPT) compatibility +is enabled on this virtual Ethernet adapter. +This attribute is optional and it is only relevant when the value +of type is Ethernet.EmulationType.VMXNET3.

  • +
  • mac_type (Ethernet.MacAddressType) – MAC address type.

  • +
  • mac_address (str or None) – MAC address. +May be None if Ethernet.Info.mac_type is +Ethernet.MacAddressType.MANUAL and has not been specified, +or if Ethernet.Info.mac_type is +Ethernet.MacAddressType.GENERATED and the virtual machine +has never been powered on since the Ethernet adapter was created.

  • +
  • pci_slot_number (long or None) – Address of the virtual Ethernet adapter on the PCI bus. If the PCI +address is invalid, the server will change it when the VM is +started or as the device is hot added. +May be None if the virtual machine has never been powered on since +the adapter was created.

  • +
  • wake_on_lan_enabled (bool) – Flag indicating whether wake-on-LAN is enabled on this virtual +Ethernet adapter.

  • +
  • backing (Ethernet.BackingInfo) – Physical resource backing for the virtual Ethernet adapter.

  • +
  • state (ConnectionState) – Connection status of the virtual device.

  • +
  • start_connected (bool) – Flag indicating whether the virtual device should be connected +whenever the virtual machine is powered on.

  • +
  • allow_guest_control (bool) – Flag indicating whether the guest can connect and disconnect the +device.

  • +
+
+
+
+ +
+
+class MacAddressType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Ethernet.MacAddressType class defines the valid MAC address origins +for a virtual Ethernet adapter.

+
+

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 the MacAddressType instance.

+
+
+
+
+ASSIGNED = MacAddressType(string='ASSIGNED')
+

MAC address is assigned by vCenter Server.

+
+ +
+
+GENERATED = MacAddressType(string='GENERATED')
+

MAC address is generated automatically.

+
+ +
+
+MANUAL = MacAddressType(string='MANUAL')
+

MAC address is assigned statically.

+
+ +
+ +
+
+RESOURCE_TYPE = 'com.vmware.vcenter.vm.hardware.Ethernet'
+

Resource type for the virtual Ethernet adapter.

+
+ +
+
+class Summary(nic=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Ethernet.Summary class contains commonly used information about a +virtual Ethernet adapter.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

nic (str) – Identifier of the virtual Ethernet adapter. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Ethernet. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.vm.hardware.Ethernet.

+
+
+
+ +
+
+class UpdateSpec(upt_compatibility_enabled=None, mac_type=None, mac_address=None, wake_on_lan_enabled=None, backing=None, start_connected=None, allow_guest_control=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Ethernet.UpdateSpec class describes the updates to be made to the +configuration of a virtual Ethernet adapter.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • upt_compatibility_enabled (bool or None) –

    Flag indicating whether Universal Pass-Through (UPT) compatibility +should be enabled on this virtual Ethernet adapter.

    +

    This attribute may be modified at any time, and changes will be +applied the next time the virtual machine is powered on. +If None, the value is unchanged. Must be None if the emulation type +of the virtual Ethernet adapter is not +Ethernet.EmulationType.VMXNET3.

    +

  • +
  • mac_type (Ethernet.MacAddressType or None) –

    MAC address type.

    +

    This attribute may be modified at any time, and changes will be +applied the next time the virtual machine is powered on. +If None, the value is unchanged.

    +

  • +
  • mac_address (str or None) –

    MAC address.

    +

    This attribute may be modified at any time, and changes will be +applied the next time the virtual machine is powered on. +If None, the value is unchanged. Must be specified if +Ethernet.UpdateSpec.mac_type is +Ethernet.MacAddressType.MANUAL. Must be None if the MAC +address type is not Ethernet.MacAddressType.MANUAL.

    +

  • +
  • wake_on_lan_enabled (bool or None) –

    Flag indicating whether wake-on-LAN shoud be enabled on this +virtual Ethernet adapter.

    +

    This attribute may be modified at any time, and changes will be +applied the next time the virtual machine is powered on. +If None, the value is unchanged.

    +

  • +
  • backing (Ethernet.BackingSpec or None) –

    Physical resource backing for the virtual Ethernet adapter.

    +

    This attribute may be modified at any time, and changes will be +applied the next time the virtual machine is powered on. +If None, the value is unchanged.

    +

  • +
  • start_connected (bool or None) – Flag indicating whether the virtual device should be connected +whenever the virtual machine is powered on. +If None, the value is unchanged.

  • +
  • allow_guest_control (bool or None) – Flag indicating whether the guest can connect and disconnect the +device. +If None, the value is unchanged.

  • +
+
+
+
+ +
+
+connect(vm, nic)
+

Connects a virtual Ethernet adapter of a powered-on virtual machine to +its backing. Connecting the virtual device makes the backing accessible +from the perspective of the guest operating system.

+

For a powered-off virtual machine, the Ethernet.update() method +may be used to configure the virtual Ethernet adapter to start in the +connected state when the virtual machine is powered on.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • nic (str) – Virtual Ethernet adapter identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Ethernet.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual Ethernet adapter is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the virtual Ethernet adapter is already connected.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is not powered on.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+create(vm, spec)
+

Adds a virtual Ethernet adapter to the virtual machine.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • spec (Ethernet.CreateSpec) – Specification for the new virtual Ethernet adapter.

  • +
+
+
Return type
+

str

+
+
Returns
+

Virtual Ethernet adapter identifier. +The return value will be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Ethernet.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reported that the Ethernet adapter was created but +was unable to confirm the creation because the identifier of the +new adapter could not be determined.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or network backing is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if the virtual machine already has the maximum number of supported +Ethernet adapters.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the specified PCI address is out of bounds, HOST_DEVICE is +specified as the type, or a backing cannot be found in the case +that backing is left None.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unsupported +if the guest operating system of the virtual machine is not +supported and spec includes None attributes that default to +guest-specific values.

+
+
+
+ +
+
+delete(vm, nic)
+

Removes a virtual Ethernet adapter from the virtual machine.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • nic (str) – Virtual Ethernet adapter identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Ethernet.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual Ethernet adapter is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+disconnect(vm, nic)
+

Disconnects a virtual Ethernet adapter of a powered-on virtual machine +from its backing. The virtual device is still present and its backing +configuration is unchanged, but from the perspective of the guest +operating system, the Ethernet adapter is not connected to its backing +resource.

+

For a powered-off virtual machine, the Ethernet.update() method +may be used to configure the virtual Ethernet adapter to start in the +disconnected state when the virtual machine is powered on.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • nic (str) – Virtual Ethernet adapter identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Ethernet.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual Ethernet adapter is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the virtual Ethernet adapter is already disconnected.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is not powered on.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+get(vm, nic)
+

Returns information about a virtual Ethernet adapter.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • nic (str) – Virtual Ethernet adapter identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Ethernet.

  • +
+
+
Return type
+

Ethernet.Info

+
+
Returns
+

Information about the specified virtual Ethernet adapter.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual Ethernet adapter is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+list(vm)
+

Returns commonly used information about the virtual Ethernet adapters +belonging to the virtual machine.

+
+
Parameters
+

vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

list of Ethernet.Summary

+
+
Returns
+

List of commonly used information about virtual Ethernet adapters.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+update(vm, nic, spec)
+

Updates the configuration of a virtual Ethernet adapter.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • nic (str) – Virtual Ethernet adapter identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Ethernet.

  • +
  • spec (Ethernet.UpdateSpec) – Specification for updating the virtual Ethernet adapter.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if HOST_DEVICE is specified as the type.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine, virtual Ethernet adapter, or backing +network is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm.hardware_client.Floppy(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Floppy class provides methods for configuring the virtual floppy +drives of a virtual machine.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class BackingInfo(type=None, image_file=None, host_device=None, auto_detect=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Floppy.BackingInfo class contains information about the physical +resource backing a virtual floppy drive.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Floppy.BackingType) – Backing type for the virtual floppy drive.

  • +
  • image_file (str) – Path of the image file backing the virtual floppy drive. +This attribute is optional and it is only relevant when the value +of type is Floppy.BackingType.IMAGE_FILE.

  • +
  • host_device (str or None) – Name of the host device backing the virtual floppy drive. +This attribute will be None if autoDetect is true and the +virtual floppy drive is not connected or no suitable device is +available on the host.

  • +
  • auto_detect (bool) – Flag indicating whether the virtual floppy drive is configured to +automatically detect a suitable host device. +This attribute is optional and it is only relevant when the value +of type is Floppy.BackingType.HOST_DEVICE.

  • +
+
+
+
+ +
+
+class BackingSpec(type=None, image_file=None, host_device=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Floppy.BackingSpec class provides a specification of the physical +resource backing a virtual floppy drive.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Floppy.BackingType) – Backing type for the virtual floppy drive.

  • +
  • image_file (str) – Path of the image file that should be used as the virtual floppy +drive backing. +This attribute is optional and it is only relevant when the value +of type is Floppy.BackingType.IMAGE_FILE.

  • +
  • host_device (str or None) – Name of the device that should be used as the virtual floppy drive +backing. +If None, the virtual floppy drive will be configured to +automatically detect a suitable host device.

  • +
+
+
+
+ +
+
+class BackingType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Floppy.BackingType class defines the valid backing types for a +virtual floppy drive.

+
+

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 the BackingType instance.

+
+
+
+
+CLIENT_DEVICE = BackingType(string='CLIENT_DEVICE')
+

Virtual floppy drive is backed by a device on the client that is connected +to the virtual machine console.

+
+ +
+
+HOST_DEVICE = BackingType(string='HOST_DEVICE')
+

Virtual floppy drive is backed by a device on the host where the virtual +machine is running.

+
+ +
+
+IMAGE_FILE = BackingType(string='IMAGE_FILE')
+

Virtual floppy drive is backed by an image file.

+
+ +
+ +
+
+class CreateSpec(backing=None, start_connected=None, allow_guest_control=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Floppy.CreateSpec class provides a specification for the +configuration of a newly-created virtual floppy drive.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • backing (Floppy.BackingSpec or None) – Physical resource backing for the virtual floppy drive. +If None, defaults to automatic detection of a suitable host device.

  • +
  • start_connected (bool or None) – Flag indicating whether the virtual device should be connected +whenever the virtual machine is powered on. +Defaults to false if None.

  • +
  • allow_guest_control (bool or None) – Flag indicating whether the guest can connect and disconnect the +device. +Defaults to false if None.

  • +
+
+
+
+ +
+
+class Info(label=None, backing=None, state=None, start_connected=None, allow_guest_control=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Floppy.Info class contains information about a virtual floppy +drive.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • label (str) – Device label.

  • +
  • backing (Floppy.BackingInfo) – Physical resource backing for the virtual floppy drive.

  • +
  • state (ConnectionState) – Connection status of the virtual device.

  • +
  • start_connected (bool) – Flag indicating whether the virtual device should be connected +whenever the virtual machine is powered on.

  • +
  • allow_guest_control (bool) – Flag indicating whether the guest can connect and disconnect the +device.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.vcenter.vm.hardware.Floppy'
+

Resource type for the virtual floppy drive device.

+
+ +
+
+class Summary(floppy=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Floppy.Summary class contains commonly used information about a +virtual floppy drive.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

floppy (str) – Identifier of the virtual floppy drive. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Floppy. When methods return a +value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.vm.hardware.Floppy.

+
+
+
+ +
+
+class UpdateSpec(backing=None, start_connected=None, allow_guest_control=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Floppy.UpdateSpec class describes the updates to be made to the +configuration of a virtual floppy drive.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • backing (Floppy.BackingSpec or None) –

    Physical resource backing for the virtual floppy drive.

    +

    This attribute may only be modified if the virtual machine is not +powered on or the virtual floppy drive is not connected. +If None, the value is unchanged.

    +

  • +
  • start_connected (bool or None) – Flag indicating whether the virtual device should be connected +whenever the virtual machine is powered on. +If None, the value is unchanged.

  • +
  • allow_guest_control (bool or None) – Flag indicating whether the guest can connect and disconnect the +device. +If None, the value is unchanged.

  • +
+
+
+
+ +
+
+connect(vm, floppy)
+

Connects a virtual floppy drive of a powered-on virtual machine to its +backing. Connecting the virtual device makes the backing accessible +from the perspective of the guest operating system.

+

For a powered-off virtual machine, the Floppy.update() method may +be used to configure the virtual floppy drive to start in the connected +state when the virtual machine is powered on.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • floppy (str) – Virtual floppy drive identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Floppy.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual floppy drive is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the virtual floppy drive is already connected.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is not powered on.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+create(vm, spec)
+

Adds a virtual floppy drive to the virtual machine.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • spec (Floppy.CreateSpec) – Specification for the new virtual floppy drive.

  • +
+
+
Return type
+

str

+
+
Returns
+

Virtual floppy drive identifier. +The return value will be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Floppy.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reported that the floppy device was created but was +unable to confirm the creation because the identifier of the new +device could not be determined.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is not powered off.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if the virtual machine already has the maximum number of supported +floppy drives.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+delete(vm, floppy)
+

Removes a virtual floppy drive from the virtual machine.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • floppy (str) – Virtual floppy drive identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Floppy.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual floppy drive is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is not powered off.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+disconnect(vm, floppy)
+

Disconnects a virtual floppy drive of a powered-on virtual machine from +its backing. The virtual device is still present and its backing +configuration is unchanged, but from the perspective of the guest +operating system, the floppy drive is not connected to its backing +resource.

+

For a powered-off virtual machine, the Floppy.update() method may +be used to configure the virtual floppy floppy to start in the +disconnected state when the virtual machine is powered on.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • floppy (str) – Virtual floppy drive identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Floppy.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual floppy drive is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the virtual floppy drive is already disconnected.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is not powered on.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+get(vm, floppy)
+

Returns information about a virtual floppy drive.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • floppy (str) – Virtual floppy drive identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Floppy.

  • +
+
+
Return type
+

Floppy.Info

+
+
Returns
+

Information about the specified virtual floppy drive.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual floppy drive is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+list(vm)
+

Returns commonly used information about the virtual floppy drives +belonging to the virtual machine.

+
+
Parameters
+

vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

list of Floppy.Summary

+
+
Returns
+

List of commonly used information about virtual floppy drives.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+update(vm, floppy, spec)
+

Updates the configuration of a virtual floppy drive.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • floppy (str) – Virtual floppy drive identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Floppy.

  • +
  • spec (Floppy.UpdateSpec) – Specification for updating the virtual floppy drive.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual floppy drive is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if one or more of the attributes specified in the spec +parameter cannot be modified due to the current power state of the +virtual machine or the connection state of the virtual floppy +drive.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm.hardware_client.IdeAddressInfo(primary=None, master=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The IdeAddressInfo class contains information about the address of a +virtual device that is attached to a virtual IDE adapter of a virtual +machine.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • primary (bool) – Flag specifying whether the device is attached to the primary or +secondary IDE adapter of the virtual machine.

  • +
  • master (bool) – Flag specifying whether the device is the master or slave device on +the IDE adapter.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.vm.hardware_client.IdeAddressSpec(primary=None, master=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The IdeAddressSpec class contains information for specifying the +address of a virtual device that is attached to a virtual IDE adapter of a +virtual machine.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • primary (bool or None) – Flag specifying whether the device should be attached to the +primary or secondary IDE adapter of the virtual machine. +If None, the server will choose a adapter with an available +connection. If no IDE connections are available, the request will +be rejected.

  • +
  • master (bool or None) – Flag specifying whether the device should be the master or slave +device on the IDE adapter. +If None, the server will choose an available connection type. If no +IDE connections are available, the request will be rejected.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.vm.hardware_client.Memory(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Memory class provides methods for configuring the memory settings +of a virtual machine.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(size_mib=None, hot_add_enabled=None, hot_add_increment_size_mib=None, hot_add_limit_mib=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Memory.Info class contains memory-related information about a +virtual machine.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • size_mib (long) – Memory size in mebibytes.

  • +
  • hot_add_enabled (bool) –

    Flag indicating whether adding memory while the virtual machine is +running is enabled.

    +

    Some guest operating systems may consume more resources or perform +less efficiently when they run on hardware that supports adding +memory while the machine is running.

    +

  • +
  • hot_add_increment_size_mib (long or None) –

    The granularity, in mebibytes, at which memory can be added to a +running virtual machine.

    +

    When adding memory to a running virtual machine, the amount of +memory added must be at least +Memory.Info.hot_add_increment_size_mib and the total memory +size of the virtual machine must be a multiple of +{\@link>hotAddIncrementSize}. +Only set when Memory.Info.hot_add_enabled is true and the +virtual machine is running.

    +

  • +
  • hot_add_limit_mib (long or None) – The maximum amount of memory, in mebibytes, that can be added to a +running virtual machine. +Only set when Memory.Info.hot_add_enabled is true and the +virtual machine is running.

  • +
+
+
+
+ +
+
+class UpdateSpec(size_mib=None, hot_add_enabled=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Memory.UpdateSpec class describes the updates to be made to the +memory-related settings of a virtual machine.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • size_mib (long or None) –

    New memory size in mebibytes.

    +

    The supported range of memory sizes is constrained by the +configured guest operating system and virtual hardware version of +the virtual machine.

    +

    If the virtual machine is running, this value may only be changed +if Memory.Info.hot_add_enabled is true, and the new memory +size must satisfy the constraints specified by +Memory.Info.hot_add_increment_size_mib and +Memory.Info.hot_add_limit_mib. +If None, the value is unchanged.

    +

  • +
  • hot_add_enabled (bool or None) –

    Flag indicating whether adding memory while the virtual machine is +running should be enabled.

    +

    Some guest operating systems may consume more resources or perform +less efficiently when they run on hardware that supports adding +memory while the machine is running.

    +

    This attribute may only be modified if the virtual machine is not +powered on. +If None, the value is unchanged.

    +

  • +
+
+
+
+ +
+
+get(vm)
+

Returns the memory-related settings of a virtual machine.

+
+
Parameters
+

vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

Memory.Info

+
+
Returns
+

Memory-related settings of the virtual machine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+update(vm, spec)
+

Updates the memory-related settings of a virtual machine.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • spec (Memory.UpdateSpec) – Specification for updating the memory-related settings of the +virtual machine.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if one of the provided settings is not permitted; for example, +specifying a negative value for sizeMiB.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if hotAddEnabled is specified and the virtual machine is not +powered off.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if sizeMiB is specified, hotAddEnabled is false, and the +virtual machine is not powered off.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm.hardware_client.Parallel(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Parallel class provides methods for configuring the virtual +parallel ports of a virtual machine.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class BackingInfo(type=None, file=None, host_device=None, auto_detect=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Parallel.BackingInfo class contains information about the physical +resource backing a virtual parallel port.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Parallel.BackingType) – Backing type for the virtual parallel port.

  • +
  • file (str) – Path of the file backing the virtual parallel port. +This attribute is optional and it is only relevant when the value +of type is Parallel.BackingType.FILE.

  • +
  • host_device (str or None) – Name of the device backing the virtual parallel port. +This attribute will be None if autoDetect is true and the +virtual parallel port is not connected or no suitable device is +available on the host.

  • +
  • auto_detect (bool) – Flag indicating whether the virtual parallel port is configured to +automatically detect a suitable host device. +This attribute is optional and it is only relevant when the value +of type is Parallel.BackingType.HOST_DEVICE.

  • +
+
+
+
+ +
+
+class BackingSpec(type=None, file=None, host_device=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Parallel.BackingSpec class provides a specification of the physical +resource backing a virtual parallel port.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Parallel.BackingType) – Backing type for the virtual parallel port.

  • +
  • file (str) – Path of the file that should be used as the virtual parallel port +backing. +This attribute is optional and it is only relevant when the value +of type is Parallel.BackingType.FILE.

  • +
  • host_device (str or None) – Name of the device that should be used as the virtual parallel port +backing. +If None, the virtual parallel port will be configured to +automatically detect a suitable host device.

  • +
+
+
+
+ +
+
+class BackingType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Parallel.BackingType class defines the valid backing types for a +virtual parallel port.

+
+

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 the BackingType instance.

+
+
+
+
+FILE = BackingType(string='FILE')
+

Virtual parallel port is backed by a file.

+
+ +
+
+HOST_DEVICE = BackingType(string='HOST_DEVICE')
+

Virtual parallel port is backed by a device on the host where the virtual +machine is running.

+
+ +
+ +
+
+class CreateSpec(backing=None, start_connected=None, allow_guest_control=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Parallel.CreateSpec class provides a specification for the +configuration of a newly-created virtual parallel port.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • backing (Parallel.BackingSpec or None) – Physical resource backing for the virtual parallel port. +If None, defaults to automatic detection of a suitable host device.

  • +
  • start_connected (bool or None) – Flag indicating whether the virtual device should be connected +whenever the virtual machine is powered on. +Defaults to false if None.

  • +
  • allow_guest_control (bool or None) – Flag indicating whether the guest can connect and disconnect the +device. +Defaults to false if None.

  • +
+
+
+
+ +
+
+class Info(label=None, backing=None, state=None, start_connected=None, allow_guest_control=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Parallel.Info class contains information about a virtual parallel +port.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • label (str) – Device label.

  • +
  • backing (Parallel.BackingInfo) – Physical resource backing for the virtual parallel port.

  • +
  • state (ConnectionState) – Connection status of the virtual device.

  • +
  • start_connected (bool) – Flag indicating whether the virtual device should be connected +whenever the virtual machine is powered on.

  • +
  • allow_guest_control (bool) – Flag indicating whether the guest can connect and disconnect the +device.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.vcenter.vm.hardware.ParallelPort'
+

Resource type for the virtual parallel port.

+
+ +
+
+class Summary(port=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Parallel.Summary class contains commonly used information about a +virtual parallel port.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

port (str) – Identifier of the virtual parallel port. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.ParallelPort. When methods +return a value of this class as a return value, the attribute will +be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.ParallelPort.

+
+
+
+ +
+
+class UpdateSpec(backing=None, start_connected=None, allow_guest_control=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Parallel.UpdateSpec class describes the updates to be made to the +configuration of a virtual parallel port.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • backing (Parallel.BackingSpec or None) –

    Physical resource backing for the virtual parallel port.

    +

    This attribute may only be modified if the virtual machine is not +powered on or the virtual parallel port is not connected. +If None, the value is unchanged.

    +

  • +
  • start_connected (bool or None) – Flag indicating whether the virtual device should be connected +whenever the virtual machine is powered on. +If None, the value is unchanged.

  • +
  • allow_guest_control (bool or None) – Flag indicating whether the guest can connect and disconnect the +device. +If None, the value is unchanged.

  • +
+
+
+
+ +
+
+connect(vm, port)
+

Connects a virtual parallel port of a powered-on virtual machine to its +backing. Connecting the virtual device makes the backing accessible +from the perspective of the guest operating system.

+

For a powered-off virtual machine, the Parallel.update() method +may be used to configure the virtual parallel port to start in the +connected state when the virtual machine is powered on.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • port (str) – Virtual parallel port identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.ParallelPort.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual parallel port is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the virtual parallel port is already connected.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is not powered on.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+create(vm, spec)
+

Adds a virtual parallel port to the virtual machine.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • spec (Parallel.CreateSpec) – Specification for the new virtual parallel port.

  • +
+
+
Return type
+

str

+
+
Returns
+

Virtual parallel port identifier. +The return value will be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.ParallelPort.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reported that the parallel port device was created +but was unable to confirm the creation because the identifier of +the new device could not be determined.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is not powered off.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if the virtual machine already has the maximum number of supported +parallel ports.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+delete(vm, port)
+

Removes a virtual parallel port from the virtual machine.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • port (str) – Virtual parallel port identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.ParallelPort.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual parallel port is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is not powered off.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+disconnect(vm, port)
+

Disconnects a virtual parallel port of a powered-on virtual machine +from its backing. The virtual device is still present and its backing +configuration is unchanged, but from the perspective of the guest +operating system, the parallel port is not connected to its backing.

+

For a powered-off virtual machine, the Parallel.update() method +may be used to configure the virtual parallel port to start in the +disconnected state when the virtual machine is powered on.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • port (str) – Virtual parallel port identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.ParallelPort.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual parallel port is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the virtual parallel port is already disconnected.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is not powered on.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+get(vm, port)
+

Returns information about a virtual parallel port.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • port (str) – Virtual parallel port identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.ParallelPort.

  • +
+
+
Return type
+

Parallel.Info

+
+
Returns
+

Information about the specified virtual parallel port.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual parallel port is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+list(vm)
+

Returns commonly used information about the virtual parallel ports +belonging to the virtual machine.

+
+
Parameters
+

vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

list of Parallel.Summary

+
+
Returns
+

List of commonly used information about virtual parallel ports.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+update(vm, port, spec)
+

Updates the configuration of a virtual parallel port.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • port (str) – Virtual parallel port identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.ParallelPort.

  • +
  • spec (Parallel.UpdateSpec) – Specification for updating the virtual parallel port.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual parallel port is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if one or more of the attributes specified in the spec +parameter cannot be modified due to the current power state of the +virtual machine or the connection state of the virtual parallel +port.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm.hardware_client.SataAddressInfo(bus=None, unit=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The SataAddressInfo class contains information about the address of a +virtual device that is attached to a virtual SATA adapter of a virtual +machine.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • bus (long) – Bus number of the adapter to which the device is attached.

  • +
  • unit (long) – Unit number of the device.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.vm.hardware_client.SataAddressSpec(bus=None, unit=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The SataAddressSpec class contains information for specifying the +address of a virtual device that is attached to a virtual SATA adapter of a +virtual machine.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • bus (long) – Bus number of the adapter to which the device should be attached.

  • +
  • unit (long or None) – Unit number of the device. +If None, the server will choose an available unit number on the +specified adapter. If there are no available connections on the +adapter, the request will be rejected.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.vm.hardware_client.ScsiAddressInfo(bus=None, unit=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ScsiAddressInfo class contains information about the address of a +virtual device that is attached to a virtual SCSI adapter of a virtual +machine.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • bus (long) – Bus number of the adapter to which the device is attached.

  • +
  • unit (long) – Unit number of the device.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.vm.hardware_client.ScsiAddressSpec(bus=None, unit=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The ScsiAddressSpec class contains information for specifying the +address of a virtual device that is attached to a virtual SCSI adapter of a +virtual machine.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • bus (long) – Bus number of the adapter to which the device should be attached.

  • +
  • unit (long or None) – Unit number of the device. +If None, the server will choose an available unit number on the +specified adapter. If there are no available connections on the +adapter, the request will be rejected.

  • +
+
+
+
+ +
+
+class com.vmware.vcenter.vm.hardware_client.Serial(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Serial class provides methods for configuring the virtual serial +ports of a virtual machine.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class BackingInfo(type=None, file=None, host_device=None, auto_detect=None, pipe=None, no_rx_loss=None, network_location=None, proxy=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Serial.BackingInfo class contains information about the physical +resource backing a virtual serial port.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Serial.BackingType) – Backing type for the virtual serial port.

  • +
  • file (str) – Path of the file backing the virtual serial port. +This attribute is optional and it is only relevant when the value +of type is Serial.BackingType.FILE.

  • +
  • host_device (str or None) – Name of the device backing the virtual serial port. +This attribute will be None if autoDetect is true and the +virtual serial port is not connected or no suitable device is +available on the host.

  • +
  • auto_detect (bool) – Flag indicating whether the virtual serial port is configured to +automatically detect a suitable host device. +This attribute is optional and it is only relevant when the value +of type is Serial.BackingType.HOST_DEVICE.

  • +
  • pipe (str) – Name of the pipe backing the virtual serial port. +This attribute is optional and it is only relevant when the value +of type is one of Serial.BackingType.PIPE_SERVER or +Serial.BackingType.PIPE_CLIENT.

  • +
  • no_rx_loss (bool) – Flag that enables optimized data transfer over the pipe. When the +value is true, the host buffers data to prevent data overrun. This +allows the virtual machine to read all of the data transferred over +the pipe with no data loss. +This attribute is optional and it is only relevant when the value +of type is one of Serial.BackingType.PIPE_SERVER or +Serial.BackingType.PIPE_CLIENT.

  • +
  • network_location (str) –

    URI specifying the location of the network service backing the +virtual serial port.

    +
      +
    • If Serial.BackingInfo.type is +Serial.BackingType.NETWORK_SERVER, this attribute is the +location used by clients to connect to this server. The hostname +part of the URI should either be empty or should specify the +address of the host on which the virtual machine is running.

    • +
    • If Serial.BackingInfo.type is +Serial.BackingType.NETWORK_CLIENT, this attribute is the +location used by the virtual machine to connect to the remote +server.

    • +
    +

    This attribute is optional and it is only relevant when the value +of type is one of Serial.BackingType.NETWORK_SERVER or +Serial.BackingType.NETWORK_CLIENT.

    +

  • +
  • proxy (str or None) – Proxy service that provides network access to the network backing. +If set, the virtual machine initiates a connection with the proxy +service and forwards the traffic to the proxy. +If None, no proxy service is configured.

  • +
+
+
+
+ +
+
+class BackingSpec(type=None, file=None, host_device=None, pipe=None, no_rx_loss=None, network_location=None, proxy=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Serial.BackingSpec class provides a specification of the physical +resource backing a virtual serial port.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Serial.BackingType) – Backing type for the virtual serial port.

  • +
  • file (str) – Path of the file backing the virtual serial port. +This attribute is optional and it is only relevant when the value +of type is Serial.BackingType.FILE.

  • +
  • host_device (str or None) – Name of the device backing the virtual serial port. +If None, the virtual serial port will be configured to +automatically detect a suitable host device.

  • +
  • pipe (str) – Name of the pipe backing the virtual serial port. +This attribute is optional and it is only relevant when the value +of type is one of Serial.BackingType.PIPE_SERVER or +Serial.BackingType.PIPE_CLIENT.

  • +
  • no_rx_loss (bool or None) – Flag that enables optimized data transfer over the pipe. When the +value is true, the host buffers data to prevent data overrun. This +allows the virtual machine to read all of the data transferred over +the pipe with no data loss. +If None, defaults to false.

  • +
  • network_location (str) –

    URI specifying the location of the network service backing the +virtual serial port.

    +
      +
    • If Serial.BackingSpec.type is +Serial.BackingType.NETWORK_SERVER, this attribute is the +location used by clients to connect to this server. The hostname +part of the URI should either be empty or should specify the +address of the host on which the virtual machine is running.

    • +
    • If Serial.BackingSpec.type is +Serial.BackingType.NETWORK_CLIENT, this attribute is the +location used by the virtual machine to connect to the remote +server.

    • +
    +

    This attribute is optional and it is only relevant when the value +of type is one of Serial.BackingType.NETWORK_SERVER or +Serial.BackingType.NETWORK_CLIENT.

    +

  • +
  • proxy (str or None) – Proxy service that provides network access to the network backing. +If set, the virtual machine initiates a connection with the proxy +service and forwards the traffic to the proxy. +If None, no proxy service should be used.

  • +
+
+
+
+ +
+
+class BackingType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Serial.BackingType class defines the valid backing types for a +virtual serial port.

+
+

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 the BackingType instance.

+
+
+
+
+FILE = BackingType(string='FILE')
+

Virtual serial port is backed by a file.

+
+ +
+
+HOST_DEVICE = BackingType(string='HOST_DEVICE')
+

Virtual serial port is backed by a device on the host where the virtual +machine is running.

+
+ +
+
+NETWORK_CLIENT = BackingType(string='NETWORK_CLIENT')
+

Virtual serial port is backed by a network client. This backing may be used +to create a network-accessible serial port on the virtual machine, +initiating a connection to a remote system.

+
+ +
+
+NETWORK_SERVER = BackingType(string='NETWORK_SERVER')
+

Virtual serial port is backed by a network server. This backing may be used +to create a network-accessible serial port on the virtual machine, +accepting a connection from a remote system.

+
+ +
+
+PIPE_CLIENT = BackingType(string='PIPE_CLIENT')
+

Virtual serial port is backed by a named pipe client. The virtual machine +will connect to the named pipe provided by a host application or another +virtual machine on the same host. This is useful for capturing debugging +information sent through the virtual serial port.

+
+ +
+
+PIPE_SERVER = BackingType(string='PIPE_SERVER')
+

Virtual serial port is backed by a named pipe server. The virtual machine +will accept a connection from a host application or another virtual machine +on the same host. This is useful for capturing debugging information sent +through the virtual serial port.

+
+ +
+ +
+
+class CreateSpec(yield_on_poll=None, backing=None, start_connected=None, allow_guest_control=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Serial.CreateSpec class provides a specification for the +configuration of a newly-created virtual serial port.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • yield_on_poll (bool or None) – CPU yield behavior. If set to true, the virtual machine will +periodically relinquish the processor if its sole task is polling +the virtual serial port. The amount of time it takes to regain the +processor will depend on the degree of other virtual machine +activity on the host. +If None, defaults to false.

  • +
  • backing (Serial.BackingSpec or None) – Physical resource backing for the virtual serial port. +If None, defaults to automatic detection of a suitable host device.

  • +
  • start_connected (bool or None) – Flag indicating whether the virtual device should be connected +whenever the virtual machine is powered on. +Defaults to false if None.

  • +
  • allow_guest_control (bool or None) – Flag indicating whether the guest can connect and disconnect the +device. +Defaults to false if None.

  • +
+
+
+
+ +
+
+class Info(label=None, yield_on_poll=None, backing=None, state=None, start_connected=None, allow_guest_control=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Serial.Info class contains information about a virtual serial port.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • label (str) – Device label.

  • +
  • yield_on_poll (bool) – CPU yield behavior. If set to true, the virtual machine will +periodically relinquish the processor if its sole task is polling +the virtual serial port. The amount of time it takes to regain the +processor will depend on the degree of other virtual machine +activity on the host.

  • +
  • backing (Serial.BackingInfo) – Physical resource backing for the virtual serial port.

  • +
  • state (ConnectionState) – Connection status of the virtual device.

  • +
  • start_connected (bool) – Flag indicating whether the virtual device should be connected +whenever the virtual machine is powered on.

  • +
  • allow_guest_control (bool) – Flag indicating whether the guest can connect and disconnect the +device.

  • +
+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.vcenter.vm.hardware.SerialPort'
+

Resource type for the virtual serial port device.

+
+ +
+
+class Summary(port=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Serial.Summary class contains commonly used information about a +virtual serial port.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

port (str) – Identifier of the virtual serial port. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.SerialPort. When methods return +a value of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.vm.hardware.SerialPort.

+
+
+
+ +
+
+class UpdateSpec(yield_on_poll=None, backing=None, start_connected=None, allow_guest_control=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Serial.UpdateSpec class describes the updates to be made to the +configuration of a virtual serial port.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • yield_on_poll (bool or None) –

    CPU yield behavior. If set to true, the virtual machine will +periodically relinquish the processor if its sole task is polling +the virtual serial port. The amount of time it takes to regain the +processor will depend on the degree of other virtual machine +activity on the host.

    +

    This attribute may be modified at any time, and changes applied to +a connected virtual serial port take effect immediately. +If None, the value is unchanged.

    +

  • +
  • backing (Serial.BackingSpec or None) –

    Physical resource backing for the virtual serial port.

    +

    This attribute may only be modified if the virtual machine is not +powered on or the virtual serial port is not connected. +If None, the value is unchanged.

    +

  • +
  • start_connected (bool or None) – Flag indicating whether the virtual device should be connected +whenever the virtual machine is powered on. +If None, the value is unchanged.

  • +
  • allow_guest_control (bool or None) – Flag indicating whether the guest can connect and disconnect the +device. +If None, the value is unchanged.

  • +
+
+
+
+ +
+
+connect(vm, port)
+

Connects a virtual serial port of a powered-on virtual machine to its +backing. Connecting the virtual device makes the backing accessible +from the perspective of the guest operating system.

+

For a powered-off virtual machine, the Serial.update() method may +be used to configure the virtual serial port to start in the connected +state when the virtual machine is powered on.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • port (str) – Virtual serial port identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.SerialPort.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual serial port is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the virtual serial port is already connected.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is not powered on.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+create(vm, spec)
+

Adds a virtual serial port to the virtual machine.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • spec (Serial.CreateSpec) – Specification for the new virtual serial port.

  • +
+
+
Return type
+

str

+
+
Returns
+

Virtual serial port identifier. +The return value will be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.SerialPort.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reported that the serial port device was created but +was unable to confirm the creation because the identifier of the +new device could not be determined.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is not powered off.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if the virtual machine already has the maximum number of supported +serial ports.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+delete(vm, port)
+

Removes a virtual serial port from the virtual machine.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • port (str) – Virtual serial port identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.SerialPort.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual serial port is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is not powered off.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+disconnect(vm, port)
+

Disconnects a virtual serial port of a powered-on virtual machine from +its backing. The virtual device is still present and its backing +configuration is unchanged, but from the perspective of the guest +operating system, the serial port is not connected to its backing.

+

For a powered-off virtual machine, the Serial.update() method may +be used to configure the virtual serial port to start in the +disconnected state when the virtual machine is powered on.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • port (str) – Virtual serial port identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.SerialPort.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual serial port is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the virtual serial port is already disconnected.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is not powered on.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+get(vm, port)
+

Returns information about a virtual serial port.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • port (str) – Virtual serial port identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.SerialPort.

  • +
+
+
Return type
+

Serial.Info

+
+
Returns
+

Information about the specified virtual serial port.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual serial port is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+list(vm)
+

Returns commonly used information about the virtual serial ports +belonging to the virtual machine.

+
+
Parameters
+

vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

list of Serial.Summary

+
+
Returns
+

List of commonly used information about virtual serial ports.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+
+update(vm, port, spec)
+

Updates the configuration of a virtual serial port.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • port (str) – Virtual serial port identifier. +The parameter must be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.SerialPort.

  • +
  • spec (Serial.UpdateSpec) – Specification for updating the virtual serial port.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine or virtual serial port is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if one or more of the attributes specified in the spec +parameter cannot be modified due to the current power state of the +virtual machine or the connection state of the virtual serial port.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm.hardware_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.vm.storage_client module

+
+
+class com.vmware.vcenter.vm.storage_client.Policy(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Policy class provides methods to configure the storage policies +associated with the virtual machine home and/or its virtual disks. This +class was added in vSphere API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class DiskPolicySpec(type=None, policy=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Policy.DiskPolicySpec class provides a specification for the +storage policy to be associated with the virtual disks. This class was +added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Policy.DiskPolicySpec.PolicyType) – Policy type to be used while performing update operation on the +virtual disks. This attribute was added in vSphere API 6.7.

  • +
  • policy (str) – Storage Policy identification. This attribute was added in vSphere +API 6.7. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.StoragePolicy. When methods return a value +of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.StoragePolicy. +This attribute is optional and it is only relevant when the value +of type is +Policy.DiskPolicySpec.PolicyType.USE_SPECIFIED_POLICY.

  • +
+
+
+
+
+class PolicyType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Policy.DiskPolicySpec class defines the choices for how to specify +the policy to be associated with a virtual disk. This enumeration was added +in vSphere API 6.7.

+
+

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 the PolicyType instance.

+
+
+
+
+USE_DEFAULT_POLICY = PolicyType(string='USE_DEFAULT_POLICY')
+

Use the default storage policy of the datastore. This class attribute was +added in vSphere API 6.7.

+
+ +
+
+USE_SPECIFIED_POLICY = PolicyType(string='USE_SPECIFIED_POLICY')
+

Use the specified policy (see Policy.DiskPolicySpec.policy). This +class attribute was added in vSphere API 6.7.

+
+ +
+ +
+ +
+
+class Info(vm_home=None, disks=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Policy.Info class contains information about the storage policies +associated with virtual machine’s home directory and virtual hard disks. +This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • vm_home (str or None) – Storage Policy associated with virtual machine home. This attribute +was added in vSphere API 6.7. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.StoragePolicy. When methods return a value +of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.StoragePolicy. +IfNone, the virtual machine’s home directory doesn’t have any +storage policy.

  • +
  • disks (dict of str and str) – Storage policies associated with virtual disks. The values in this +dict are storage policy identifiers. They will be +identifiers for the resource type:com.vmware.vcenter.StoragePolicy +If the dict is empty, the virtual machine does not have +any disks or its disks are not associated with a storage policy. +This attribute was added in vSphere API 6.7. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.Disk. When methods return +a value of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Disk.

  • +
+
+
+
+ +
+
+class UpdateSpec(vm_home=None, disks=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Policy.UpdateSpec class describes the updates to be made to the +storage policies associated with the virtual machine home and/or its +virtual disks. This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • vm_home (Policy.VmHomePolicySpec or None) – Storage policy to be used when reconfiguring the virtual machine +home. This attribute was added in vSphere API 6.7. +if None the current storage policy is retained.

  • +
  • disks ((dict of str and Policy.DiskPolicySpec) or None) – Storage policy or policies to be used when reconfiguring virtual +machine diks. This attribute was added in vSphere API 6.7. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.Disk. When methods return +a value of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Disk. +if None the current storage policy is retained.

  • +
+
+
+
+ +
+
+class VmHomePolicySpec(type=None, policy=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Policy.VmHomePolicySpec class provides a specification for the +storage policy to be associated with the virtual machine home’s directory. +This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • type (Policy.VmHomePolicySpec.PolicyType) – Policy type to be used while performing update operation on the +virtual machine home’s directory. This attribute was added in +vSphere API 6.7.

  • +
  • policy (str) – Storage Policy identification. This attribute was added in vSphere +API 6.7. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.StoragePolicy. When methods return a value +of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.StoragePolicy. +This attribute is optional and it is only relevant when the value +of type is +Policy.VmHomePolicySpec.PolicyType.USE_SPECIFIED_POLICY.

  • +
+
+
+
+
+class PolicyType(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Policy.VmHomePolicySpec.PolicyType class defines the choices for +how to specify the policy to be associated with the virtual machine home’s +directory. This enumeration was added in vSphere API 6.7.

+
+

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 the PolicyType instance.

+
+
+
+
+USE_DEFAULT_POLICY = PolicyType(string='USE_DEFAULT_POLICY')
+

Use the default storage policy of the datastore. This class attribute was +added in vSphere API 6.7.

+
+ +
+
+USE_SPECIFIED_POLICY = PolicyType(string='USE_SPECIFIED_POLICY')
+

Use the specified policy (see Policy.VmHomePolicySpec.policy). This +class attribute was added in vSphere API 6.7.

+
+ +
+ +
+ +
+
+get(vm)
+

Returns Information about Storage Policy associated with a virtual +machine’s home directory and/or its virtual hard disks. This method was +added in vSphere API 6.7.

+
+
Parameters
+

vm (str) – Virtual machine identifier +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

Policy.Info

+
+
Returns
+

Overview of Storage Policy associated with a virtual machine’s home +directory and/or its associated virtual hard disks.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user can not be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have the required privileges.

+
+
+
+ +
+
+update(vm, spec)
+

Updates the storage policy configuration of a virtual machine and/or +its associated virtual hard disks. This method was added in vSphere API +6.7.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • spec (Policy.UpdateSpec) – Storage Policy Specification for updating the virtual machine and +virtual disks.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user is not authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user doesn’t have the required priveleges.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the storage policy specified is invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine or disk is busy performing another +operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine or disk’s configuration state cannot be +accessed.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm.storage_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+

com.vmware.vcenter.vm.tools_client module

+

The com.vmware.vcenter.vm_client module provides classes for managing +VMware Tools.

+
+
+class com.vmware.vcenter.vm.tools_client.Installer(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Installer (\@term service} provides methods to install VMware +Tools in the guest operating system. This class was added in vSphere API +7.0.0.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(is_connected=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Installer.Info class contains information about the VMWare Tools +installer. This class was added in vSphere API 7.0.0.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

is_connected (bool) – Flag indicating whether the VMware Tools installer is mounted as a +CD-ROM. This attribute was added in vSphere API 7.0.0.

+
+
+
+ +
+
+connect(vm)
+

Connects the VMware Tools CD installer as a CD-ROM for the guest +operating system. On Windows guest operating systems with autorun, this +should cause the installer to initiate the Tools installation which +will need user input to complete. On other (non-Windows) guest +operating systems this will make the Tools installation available, and +a a user will need to do guest-specific actions. On Linux, this +includes opening an archive and running the installer. To monitor the +status of the Tools install, clients should check the versionStatus +and runState from com.vmware.vcenter.vm_client.Tools.get(). +This method was added in vSphere API 7.0.0.

+
+
Parameters
+

vm (str) – Virtual machine ID +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is not powered on.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyInDesiredState +if the VMware Tools CD is already connected.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the Tools installation fails in the guest operating system.

+
+
+
+ +
+
+disconnect(vm)
+

Disconnect the VMware Tools installer CD image. This method was added +in vSphere API 7.0.0.

+
+
Parameters
+

vm (str) – Virtual machine ID +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is not powered on.

+
+
+
+ +
+
+get(vm)
+

Get information about the VMware Tools installer. This method was added +in vSphere API 7.0.0.

+
+
Parameters
+

vm (str) – Identifier of the virtual machine. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

Installer.Info

+
+
Returns
+

information about the VMware Tools installer.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine is not found.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm.tools_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.vm.storage.html b/vsphere/7.0.0.1/com.vmware.vcenter.vm.storage.html new file mode 100644 index 00000000..ada450a0 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.vm.storage.html @@ -0,0 +1,525 @@ + + + + + + + + + + + com.vmware.vcenter.vm.storage package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.vm.storage package

+
+

Submodules

+
+
+

com.vmware.vcenter.vm.storage.policy_client module

+
+
+class com.vmware.vcenter.vm.storage.policy_client.Compliance(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Compliance class provides methods that return the compliance status of +virtual machine entities(virtual machine home directory and virtual disks) +that specify storage policy requirements. This class was added in vSphere +API 6.7.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CheckSpec(vm_home=None, disks=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Compliance.CheckSpec class contains attributes used to specify the +entities on which the storage policy compliance check is to be invoked. +This class was added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • vm_home (bool) – Invoke compliance check on the virtual machine home directory if +set to true. This attribute was added in vSphere API 6.7.

  • +
  • disks (set of str or None) – Identifiers of the virtual machine’s virtual disks for which +compliance should be checked. This attribute was added in vSphere +API 6.7. +When clients pass a value of this class as a parameter, the +attribute must contain identifiers for the resource type: +com.vmware.vcenter.vm.hardware.Disk. When methods return a +value of this class as a return value, the attribute will contain +identifiers for the resource type: +com.vmware.vcenter.vm.hardware.Disk. +If None or empty, compliance check is invoked on all the associated +disks.

  • +
+
+
+
+ +
+
+class Info(overall_compliance=None, vm_home=None, disks=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Compliance.Info class contains information about the storage policy +compliance of a virtual machine, including information about it’s home +directory and/or it’s virtual disks. This class was added in vSphere API +6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • overall_compliance (Compliance.Status) – The overall compliance status of the virtual machine and all it’s +entities. This attribute was added in vSphere API 6.7.

  • +
  • vm_home (Compliance.VmComplianceInfo or None) – The storage policy compliance information +Compliance.VmComplianceInfo for the virtual machine’s home +directory. This attribute was added in vSphere API 6.7. +If None the virtual machine home directory has no storage policy +association.

  • +
  • disks (dict of str and Compliance.VmComplianceInfo) – The compliance information Compliance.VmComplianceInfo for +the virtual machine’s virtual disks that are currently associated +with a storage policy. This attribute was added in vSphere API 6.7. +When clients pass a value of this class as a parameter, the key in +the attribute dict must be an identifier for the resource +type: com.vmware.vcenter.vm.hardware.Disk. When methods return +a value of this class as a return value, the key in the attribute +dict will be an identifier for the resource type: +com.vmware.vcenter.vm.hardware.Disk.

  • +
+
+
+
+ +
+
+class Status(string)
+

Bases: vmware.vapi.bindings.enum.Enum

+

The Compliance.Status class defines the storage compliance status of a +virtual machine and its applicable entities. This enumeration was added in +vSphere API 6.7.

+
+

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 the Status instance.

+
+
+
+
+COMPLIANT = Status(string='COMPLIANT')
+

Entity is in compliance. This class attribute was added in vSphere API 6.7.

+
+ +
+
+NON_COMPLIANT = Status(string='NON_COMPLIANT')
+

Entity is out of compliance. This class attribute was added in vSphere API +6.7.

+
+ +
+
+NOT_APPLICABLE = Status(string='NOT_APPLICABLE')
+

Compliance computation is not applicable for this entity because it does +not have any storage requirements that apply to the datastore on which it +is placed. This class attribute was added in vSphere API 6.7.

+
+ +
+
+OUT_OF_DATE = Status(string='OUT_OF_DATE')
+

The Compliance status becomes out-of-date when the profile associated with +the entity is edited but not applied. The compliance status remains +out-of-date until the edited policy is applied to the entity. This class +attribute was added in vSphere API 6.7.

+
+ +
+
+UNKNOWN_COMPLIANCE = Status(string='UNKNOWN_COMPLIANCE')
+

Compliance status of the entity is not known. This class attribute was +added in vSphere API 6.7.

+
+ +
+ +
+
+class VmComplianceInfo(status=None, check_time=None, policy=None, failure_cause=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Compliance.VmComplianceInfo class contains information about +storage policy compliance associated with a virtual machine. This class was +added in vSphere API 6.7.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • status (Compliance.Status) – Status of the compliance operation. This attribute was added in +vSphere API 6.7.

  • +
  • check_time (datetime.datetime) – Date and time of the most recent compliance check. This attribute +was added in vSphere API 6.7.

  • +
  • policy (str or None) – Identifier of the storage policy associated with the virtual +machine. This attribute was added in vSphere API 6.7. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.vcenter.StoragePolicy. When methods return a value +of this class as a return value, the attribute will be an +identifier for the resource type: +com.vmware.vcenter.StoragePolicy. +If None SPBM is unable to retrieve or determine the associated +policy, Compliance.VmComplianceInfo.failure_cause is set in +such casses.

  • +
  • failure_cause (list of com.vmware.vapi.std_client.LocalizableMessage) – The exception that caused the compliance check to fail. There can +be more than one cause, since a policy can contain capabilities +from multiple providers. If empty, it implies no failures while +retrieving compliance. This attribute was added in vSphere API 6.7.

  • +
+
+
+
+ +
+
+check(vm, check_spec=None)
+

Returns the storage policy Compliance Compliance.Info of a +virtual machine after explicitly re-computing compliance check. This +method was added in vSphere API 6.7.

+
+
Parameters
+
    +
  • vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • check_spec (Compliance.CheckSpec or None) – Parameter specifies the entities on which storage policy compliance +check is to be invoked. The storage compliance Info +Compliance.Info is returned. +If None, the behavior is equivalent to a +Compliance.CheckSpec with CheckSpec#vmHome set to true and +CheckSpec#disks populated with all disks attached to the virtual +machine.

  • +
+
+
Return type
+

Compliance.Info or None

+
+
Returns
+

Virtual machine storage policy compliance Compliance.Info class +. +If None, neither the virtual machine home directory nor any of it’s +virtual disks are associated with a storage policy.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service necessary to +complete the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have the required privileges.

+
+
+
+ +
+
+get(vm)
+

Returns the cached storage policy compliance information of a virtual +machine. This method was added in vSphere API 6.7.

+
+
Parameters
+

vm (str) – Virtual machine identifier. +The parameter must be an identifier for the resource type: +VirtualMachine.

+
+
Return type
+

Compliance.Info or None

+
+
Returns
+

Virtual machine storage policy compliance Info +Compliance.Info. +If None, neither the virtual machine home directory nor any of it’s +virtual disks are associated with a storage policy.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ServiceUnavailable +if the system is unable to communicate with a service to complete +the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user does not have the required privileges.

+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm.storage.policy_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/com.vmware.vcenter.vm_template.html b/vsphere/7.0.0.1/com.vmware.vcenter.vm_template.html new file mode 100644 index 00000000..8e36a6d4 --- /dev/null +++ b/vsphere/7.0.0.1/com.vmware.vcenter.vm_template.html @@ -0,0 +1,1149 @@ + + + + + + + + + + + com.vmware.vcenter.vm_template package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

com.vmware.vcenter.vm_template package

+
+

Submodules

+
+
+

com.vmware.vcenter.vm_template.library_items_client module

+

The com.vmware.vcenter.vm_template.library_items_client module provides +classes and classes for managing virtual machine template library items. This +includes methods for checking out virtual machine template library items and +querying previous versions of checked in virtual machines.

+
+
+class com.vmware.vcenter.vm_template.library_items_client.CheckOuts(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The CheckOuts class provides methods for managing the checkouts of a +library item containing a virtual machine template. This class provides +operations to check out a library item to update the virtual machine +template, and to check in the library item when the virtual machine changes +are complete. This class was added in vSphere API 6.9.1.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class CheckInSpec(message=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CheckOuts.CheckInSpec class defines the information required to +check in a virtual machine into a library item. This class was added in +vSphere API 6.9.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

message (str) – Message describing the changes made to the virtual machine. This +attribute was added in vSphere API 6.9.1.

+
+
+
+ +
+
+class CheckOutSpec(name=None, placement=None, powered_on=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CheckOuts.CheckOutSpec class defines the information required to +check out a library item containing a virtual machine template. This class +was added in vSphere API 6.9.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • name (str or None) – Name of the virtual machine to check out of the library item. This +attribute was added in vSphere API 6.9.1. +This attribute is currently required. In the future, if this +attribute is None, the system will choose a suitable name for the +virtual machine.

  • +
  • placement (CheckOuts.PlacementSpec or None) –

    Information used to place the checked out virtual machine. This +attribute was added in vSphere API 6.9.1. +This attribute is currently required. In the future, if this +attribute is None, the system will place the virtual machine on a +suitable resource.

    +

    If specified, each attribute will be used for placement. If the +attributes result in disjoint placement, the operation will fail. +If the attributes along with the placement values of the source +virtual machine template result in disjoint placement, the +operation will fail.

    +

  • +
  • powered_on (bool or None) – Specifies whether the virtual machine should be powered on after +check out. This attribute was added in vSphere API 6.9.1. +If None, the virtual machine will not be powered on after check +out.

  • +
+
+
+
+ +
+
+class Info(time=None, user=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CheckOuts.Info class contains information about a checked out +virtual machine. This class was added in vSphere API 6.9.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • time (datetime.datetime) – Date and time when the virtual machine was checked out. This +attribute was added in vSphere API 6.9.1.

  • +
  • user (str) – Name of the user who checked out the virtual machine. This +attribute was added in vSphere API 6.9.1.

  • +
+
+
+
+ +
+
+class PlacementSpec(folder=None, resource_pool=None, host=None, cluster=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CheckOuts.PlacementSpec class contains information used to place a +checked out virtual machine onto resources within the vCenter inventory. +The specified compute resource should have access to the storage associated +with the checked out virtual machine. This class was added in vSphere API +6.9.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • folder (str or None) – Virtual machine folder into which the virtual machine should be +placed. This attribute was added in vSphere API 6.9.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: Folder. +When methods return a value of this class as a return value, the +attribute will be an identifier for the resource type: Folder. +If None, the virtual machine will be placed in the same folder as +the source virtual machine template.

  • +
  • resource_pool (str or None) – Resource pool into which the virtual machine should be placed. This +attribute was added in vSphere API 6.9.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ResourcePool. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: ResourcePool. +If None, the system will attempt to choose a suitable resource pool +for the virtual machine; if a resource pool cannot be chosen, the +operation will fail.

  • +
  • host (str or None) – Host onto which the virtual machine should be placed. If host +and resourcePool are both specified, resourcePool must +belong to host. If host and cluster are both specified, +host must be a member of cluster. This attribute was added +in vSphere API 6.9.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +HostSystem. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: HostSystem. +This attribute may be None if resourcePool or cluster is +specified. If None, the system will attempt to choose a suitable +host for the virtual machine; if a host cannot be chosen, the +operation will fail.

  • +
  • cluster (str or None) – Cluster onto which the virtual machine should be placed. If +cluster and resourcePool are both specified, +resourcePool must belong to cluster. If cluster and +host are both specified, host must be a member of +cluster. This attribute was added in vSphere API 6.9.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +ClusterComputeResource. When methods return a value of this +class as a return value, the attribute will be an identifier for +the resource type: ClusterComputeResource. +If resourcePool or host is specified, it is recommended +that this attribute be None.

  • +
+
+
+
+ +
+
+class Summary(vm=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The CheckOuts.Summary class contains commonly used information about a +checked out virtual machine. This class was added in vSphere API 6.9.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

vm (str) – Identifier of the checked out virtual machine. This attribute was +added in vSphere API 6.9.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +VirtualMachine. When methods return a value of this class as a +return value, the attribute will be an identifier for the resource +type: VirtualMachine.

+
+
+
+ +
+
+check_in(template_library_item, vm, spec=None)
+

Checks in a virtual machine into the library item. This method updates +the library item to contain the virtual machine being checked in as a +template. This template becomes the latest version of the library item. +The previous virtual machine template contained in the library item is +available as a backup and its information can be queried using the +Versions class. At most one previous version of a virtual machine +template is retained in the library item. This method was added in +vSphere API 6.9.1.

+
+
Parameters
+
    +
  • template_library_item (str) – Identifier of the content library item in which the virtual machine +is checked in. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

  • +
  • vm (str) – Identifier of the virtual machine to check into the library item. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
  • spec (CheckOuts.CheckInSpec or None) – Specification used to check in the virtual machine into the library +item. +This parameter is currently required. In the future, if this +parameter is None, the system will apply suitable defaults.

  • +
+
+
Return type
+

str

+
+
Returns
+

The new version of the library item. +The return value will be an identifier for the resource type: +com.vmware.content.library.item.Version.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if any of the specified parameters are invalid.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the virtual machine identified by vm was not checked out of +the item specified by template_library_item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the method cannot be performed because of the virtual machine’s +current state. For example, if the virtual machine is not powered +off.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the item specified by template_library_item does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the virtual machine specified by vm does not exist.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if there is an error accessing a file from the virtual machine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user that requested the method cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user that requested the method is not authorized to perform +the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
  • The resource com.vmware.content.library.Item referenced by +the parameter template_library_item requires +ContentLibrary.CheckInTemplate.

  • +
  • The resource VirtualMachine referenced by the parameter +vm requires System.Read.

  • +
+
+
+
+ +
+
+check_out(template_library_item, spec=None)
+

Checks out a library item containing a virtual machine template. This +method makes a copy of the source virtual machine template contained in +the library item as a virtual machine. The virtual machine is copied +with the same storage specification as the source virtual machine +template. Changes to the checked out virtual machine do not affect the +virtual machine template contained in the library item. To save these +changes back into the library item, CheckOuts.check_in() the +virtual machine. To discard the changes, CheckOuts.delete() the +virtual machine. This method was added in vSphere API 6.9.1.

+
+
Parameters
+
    +
  • template_library_item (str) – Identifier of the content library item containing the source +virtual machine template to be checked out. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

  • +
  • spec (CheckOuts.CheckOutSpec or None) – Specification used to check out the source virtual machine template +as a virtual machine. +This parameter is currently required. In the future, if this +parameter is None, the system will apply suitable defaults.

  • +
+
+
Return type
+

str

+
+
Returns
+

Identifier of the virtual machine that was checked out of the +library item. +The return value will be an identifier for the resource type: +VirtualMachine.

+
+
Raise
+

com.vmware.vapi.std.errors_client.AlreadyExists +if a virtual machine with the name specified by +CheckOuts.CheckOutSpec.name already exists in the folder +specified by CheckOuts.PlacementSpec.folder.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if spec contains invalid arguments.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the library item is a member of a subscribed library.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library item specified by template_library_item cannot +be found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if there is an error accessing the files of the source virtual +machine template contained in the library item specified by +template_library_item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.UnableToAllocateResource +if the limit for the number of virtual machines checked out of a +library item (currently 1) has been exceeded.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user that requested the method cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user that requested the method is not authorized to perform +the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
  • The resource com.vmware.content.library.Item referenced by +the parameter template_library_item requires +ContentLibrary.CheckOutTemplate.

  • +
  • The resource Folder referenced by the attribute +CheckOuts.PlacementSpec.folder requires System.Read.

  • +
  • The resource ResourcePool referenced by the attribute +CheckOuts.PlacementSpec.resource_pool requires +System.Read.

  • +
  • The resource HostSystem referenced by the attribute +CheckOuts.PlacementSpec.host requires System.Read.

  • +
  • The resource ClusterComputeResource referenced by the +attribute CheckOuts.PlacementSpec.cluster requires +System.Read.

  • +
+
+
+
+ +
+
+delete(template_library_item, vm)
+

Deletes the checked out virtual machine. This method was added in +vSphere API 6.9.1.

+
+
Parameters
+
    +
  • template_library_item (str) – Identifier of the VM template library item. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

  • +
  • vm (str) – Identifier of the checked out virtual machine to delete. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library item or virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the virtual machine is not checked out of the library item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if the virtual machine is running (powered on).

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceBusy +if the virtual machine is busy performing another operation.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine’s configuration state cannot be accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user that requested the method cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user that requested the method is not authorized to perform +the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
  • The resource VirtualMachine referenced by the parameter +vm requires VirtualMachine.Inventory.Delete.

  • +
  • The resource com.vmware.content.library.Item referenced by +the parameter template_library_item requires System.Read.

  • +
+
+
+
+ +
+
+get(template_library_item, vm)
+

Returns the information about a checked out virtual machine. This +method was added in vSphere API 6.9.1.

+
+
Parameters
+
    +
  • template_library_item (str) – Identifier of the VM template library item. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

  • +
  • vm (str) – Identifier of the checked out virtual machine. +The parameter must be an identifier for the resource type: +VirtualMachine.

  • +
+
+
Return type
+

CheckOuts.Info

+
+
Returns
+

Information about a check out.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library item or virtual machine is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the virtual machine is not checked out of the library item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the library item does not contain a virtual machine template.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user that requested the method cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user that requested the method is not authorized to perform +the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
  • The resource com.vmware.content.library.Item referenced by +the parameter template_library_item requires System.Read.

  • +
  • The resource VirtualMachine referenced by the parameter +vm requires System.Read.

  • +
+
+
+
+ +
+
+list(template_library_item)
+

Returns commonly used information about the virtual machines that are +checked out of the library item. This method was added in vSphere API +6.9.1.

+
+
Parameters
+

template_library_item (str) – Identifier of the VM template library item. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

+
+
Return type
+

list of CheckOuts.Summary

+
+
Returns
+

List of commonly used information about the check outs.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library item is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the library item does not contain a virtual machine template.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user that requested the method cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user that requested the method is not authorized to perform +the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
  • The resource com.vmware.content.library.Item referenced by +the parameter template_library_item requires System.Read.

  • +
+
+
+
+ +
+ +
+
+class com.vmware.vcenter.vm_template.library_items_client.StubFactory(stub_config)
+

Bases: vmware.vapi.bindings.stub.StubFactoryBase

+

Initialize StubFactoryBase

+
+
Parameters
+

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance

+
+
+
+ +
+
+class com.vmware.vcenter.vm_template.library_items_client.Versions(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+

The Versions class provides methods for managing the live versions of +the virtual machine templates contained in a library item. Live versions +include the latest and previous virtual machine templates that are +available on disk. As new versions of virtual machine templates are checked +in, old versions of virtual machine templates are automatically purged. +Currently, at most one previous virtual machine template version is stored. +This class was added in vSphere API 6.9.1.

+
+
Parameters
+

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

+
+
+
+
+class Info(vm_template=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Versions.Info class contains information about a version of a +library item containing a virtual machine template. This class was added in +vSphere API 6.9.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

vm_template (str) – Identifier of the virtual machine template associated with the +library item version. This attribute is the managed object +identifier used to identify the virtual machine template in the +vSphere Management (SOAP) API. This attribute was added in vSphere +API 6.9.1.

+
+
+
+ +
+
+RESOURCE_TYPE = 'com.vmware.content.library.item.Version'
+

Resource type for library item versions. This class attribute was added in +vSphere API 6.9.1.

+
+ +
+
+class RollbackSpec(message=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Versions.RollbackSpec class defines the information required to +rollback a virtual machine template library item to a previous version. +This class was added in vSphere API 6.9.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+

message (str) – Message describing the reason for the rollback. This attribute was +added in vSphere API 6.9.1.

+
+
+
+ +
+
+class Summary(version=None, vm_template=None)
+

Bases: vmware.vapi.bindings.struct.VapiStruct

+

The Versions.Summary class contains commonly used information about a +version of a library item containing a virtual machine template. This class +was added in vSphere API 6.9.1.

+
+

Tip

+

The arguments are used to initialize data attributes with the same +names.

+
+
+
Parameters
+
    +
  • version (str) – The version of the library item. This attribute was added in +vSphere API 6.9.1. +When clients pass a value of this class as a parameter, the +attribute must be an identifier for the resource type: +com.vmware.content.library.item.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.content.library.item.Version.

  • +
  • vm_template (str) – Identifier of the virtual machine template associated with the +library item version. This attribute is the managed object +identifier used to identify the virtual machine template in the +vSphere Management (SOAP) API. This attribute was added in vSphere +API 6.9.1.

  • +
+
+
+
+ +
+
+delete(template_library_item, version)
+

Deletes the virtual machine template contained in the library item at +the specified version. This method was added in vSphere API 6.9.1.

+
+
Parameters
+
    +
  • template_library_item (str) – Identifier of the VM template library item. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

  • +
  • version (str) – Version of the library item to delete. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.Version.

  • +
+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library item or version is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the specified version is the latest version of the library item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the library item does not contain a virtual machine template.

+
+
Raise
+

com.vmware.vapi.std.errors_client.ResourceInaccessible +if the virtual machine template’s configuration state cannot be +accessed.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user that requested the method cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user that requested the method is not authorized to perform +the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
  • The resource com.vmware.content.library.Item referenced by +the parameter template_library_item requires +ContentLibrary.DeleteLibraryItem.

  • +
  • The resource com.vmware.content.library.item.Version +referenced by the parameter version requires System.Read.

  • +
+
+
+
+ +
+
+get(template_library_item, version)
+

Returns information about the live version of a library item containing +a virtual machine template. This method was added in vSphere API 6.9.1.

+
+
Parameters
+
    +
  • template_library_item (str) – Identifier of the VM template library item. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

  • +
  • version (str) – Version of the library item. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.Version.

  • +
+
+
Return type
+

Versions.Info

+
+
Returns
+

Information about the specified library item version.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library item or version is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the library item does not contain a virtual machine template.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user that requested the method cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user that requested the method is not authorized to perform +the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
  • The resource com.vmware.content.library.Item referenced by +the parameter template_library_item requires System.Read.

  • +
  • The resource com.vmware.content.library.item.Version +referenced by the parameter version requires System.Read.

  • +
+
+
+
+ +
+
+list(template_library_item)
+

Returns commonly used information about the live versions of a virtual +machine template library item. This method was added in vSphere API +6.9.1.

+
+
Parameters
+

template_library_item (str) – Identifier of the VM template library item. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

+
+
Return type
+

list of Versions.Summary

+
+
Returns
+

List of commonly used information about the library item versions.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library item is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the library item does not contain a virtual machine template.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user that requested the method cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user that requested the method is not authorized to perform +the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
  • The resource com.vmware.content.library.Item referenced by +the parameter template_library_item requires System.Read.

  • +
+
+
+
+ +
+
+rollback(template_library_item, version, spec=None)
+

Rollbacks a library item containing a virtual machine template to a +previous version. The virtual machine template at the specified version +becomes the latest virtual machine template with a new version +identifier. This method was added in vSphere API 6.9.1.

+
+
Parameters
+
    +
  • template_library_item (str) – Identifier of the VM template library item. +The parameter must be an identifier for the resource type: +com.vmware.content.library.Item.

  • +
  • version (str) – Version of the library item to rollback. +The parameter must be an identifier for the resource type: +com.vmware.content.library.item.Version.

  • +
  • spec (Versions.RollbackSpec or None) – Specification to rollback the library item. +This parameter is currently required. In the future, if this +parameter is None, the system will apply suitable defaults.

  • +
+
+
Return type
+

str

+
+
Returns
+

The new version of the library item. +The return value will be an identifier for the resource type: +com.vmware.content.library.item.Version.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotFound +if the library item or version is not found.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the specified version is the latest version of the library item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.InvalidArgument +if the library item does not contain a virtual machine template.

+
+
Raise
+

com.vmware.vapi.std.errors_client.NotAllowedInCurrentState +if a virtual machine is checked out of the library item.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthenticated +if the user that requested the method cannot be authenticated.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if the user that requested the method is not authorized to perform +the method.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Error +if the system reports an error while responding to the request.

+
+
Raise
+

com.vmware.vapi.std.errors_client.Unauthorized +if you do not have all of the privileges described as follows:

+
    +
  • Method execution requires System.Read.

  • +
  • The resource com.vmware.content.library.Item referenced by +the parameter template_library_item requires +ContentLibrary.CheckInTemplate.

  • +
  • The resource com.vmware.content.library.item.Version +referenced by the parameter version requires System.Read.

  • +
+
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/enumeration.html b/vsphere/7.0.0.1/enumeration.html new file mode 100644 index 00000000..da8abb89 --- /dev/null +++ b/vsphere/7.0.0.1/enumeration.html @@ -0,0 +1,272 @@ + + + + + + + + + + + Interface definition language to python mapping for enumerated types — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ +
    + +
  • Docs »
  • + +
  • Interface definition language to python mapping for enumerated types
  • + + +
  • + + + View page source + + +
  • + +
+ + +
+
+
+
+ +
+

Interface definition language to python mapping for enumerated types

+

The interface language definition type system includes enumerated types. Python +SDK supports both 2.x and 3.x versions of Python. Since Python 2.x does +not have first class support for enumerations, special classes are +generated to represent enumerated types from the interface definition +language. The special class contains class attributes which represent +the values of the enumerated type.

+

This documentation explains the following:

+
    +
  • How the class variables are defined in the module. This specifies the names that you can use in your program.

  • +
  • How you instantiate a class to use it for communication with future versions of the service.

  • +
+
+

Example of an enumerated type documentation

+
+
class com.vmware.vapi.metadata_client. SourceType (string)

Bases: vmware.vapi.bindings.enum.Enum

+

Metadata source type

+
+

Note

+

This class represents an enumerated type in the interface language definition type system. 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 a newer version of the API, you instantiate this class. See enumerated type description page.

+
+

Parameters : string (str) – String value for the SourceType instance.

+
+
FILE = SourceType(string=’FILE’)

If the source is backed by a file.

+
+
REMOTE = SourceType(string=’REMOTE’)

If the source is backed by a remote service.

+
+
+
+
+
+
+

Code Examples

+

The enumerated type classes are defined in python modules that your code +imports. You can use these in your code.

+
    +
  1. If you want to pass an enumerated type value in a method to a server, specify the class variable of the enumerated type class.

  2. +
+
# SourceType is an enumerated type
+from com.vmware.vapi.metadata_client import SourceType
+
+# SourceType has two class attrites, SourceType.FILE and SourceType.REMOTE
+spec = Source.CreateSpec(type=SourceType.FILE, filepath='entity_metadata.json', description='Entity service')
+source_svc.create(id='entity', spec=spec)
+
+
+
    +
  1. When you receive an enumerated type value in the response from a server, allow for unknown enumerated type values.

  2. +
+
# SourceType is an enumerated type
+from com.vmware.vapi.metadata_client import SourceType
+
+source_info = source_svc.get(id='entity')
+if (source_info.type == SourceType.FILE) {
+    print 'Source is a file'
+} else if (source_info.type == SourceType.REMOTE) {
+    print 'Source is a remote provider'
+} else {
+    print 'Unknown source type: %s' % str(source_info.type)
+}
+
+
+
    +
  1. Sending a new enumerated type value to a server that has a newer version of the enumerated type.

  2. +
+

To use new values of the enumerated type in communication with a server that supports a newer version of the API, you instantiate the +enumerated type class.

+
# If a newer version of SourceType has a new value FOLDER, FOLDER would be one
+# of the class attributes for SourceType. In the older version, SourceType has
+# only two class attributes, FILE and REMOTE
+from com.vmware.vapi.metadata_client import SourceType
+spec = Source.CreateSpec(type=SourceType('FOLDER'), filepath='entity_metadata', description='Entity service')
+source_svc.create(id='entity', spec=spec)
+
+
+
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/genindex.html b/vsphere/7.0.0.1/genindex.html new file mode 100644 index 00000000..d747c775 --- /dev/null +++ b/vsphere/7.0.0.1/genindex.html @@ -0,0 +1,9009 @@ + + + + + + + + + + + + Index — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ +
    + +
  • Docs »
  • + +
  • Index
  • + + +
  • + + + +
  • + +
+ + +
+
+
+
+ + +

Index

+ +
+ A + | B + | C + | D + | E + | F + | G + | H + | I + | J + | K + | L + | M + | N + | O + | P + | Q + | R + | S + | T + | U + | V + | W + | X + | Y + | Z + +
+

A

+ + + +
+ +

B

+ + + +
+ +

C

+ + + +
+ +

D

+ + + +
+ +

E

+ + + +
+ +

F

+ + + +
+ +

G

+ + + +
+ +

H

+ + + +
+ +

I

+ + + +
+ +

J

+ + + +
+ +

K

+ + + +
+ +

L

+ + + +
+ +

M

+ + + +
+ +

N

+ + + +
+ +

O

+ + + +
+ +

P

+ + + +
+ +

Q

+ + + +
+ +

R

+ + + +
+ +

S

+ + + +
+ +

T

+ + + +
+ +

U

+ + + +
+ +

V

+ + + +
+ +

W

+ + + +
+ +

X

+ + + +
+ +

Y

+ + + +
+ +

Z

+ + + +
+ + + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/index.html b/vsphere/7.0.0.1/index.html new file mode 100644 index 00000000..89f06adc --- /dev/null +++ b/vsphere/7.0.0.1/index.html @@ -0,0 +1,667 @@ + + + + + + + + + + + Welcome to vSphere Automation SDK for Python.’s documentation! — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ +
    + +
  • Docs »
  • + +
  • Welcome to vSphere Automation SDK for Python.’s documentation!
  • + + +
  • + + + View page source + + +
  • + +
+ + +
+
+
+
+ +
+

Welcome to vSphere Automation SDK for Python.’s documentation!

+
+

Contents:

+ +
+
+
+

Indices and tables

+ +
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/objects.inv b/vsphere/7.0.0.1/objects.inv new file mode 100644 index 00000000..c57d7dd5 Binary files /dev/null and b/vsphere/7.0.0.1/objects.inv differ diff --git a/vsphere/7.0.0.1/py-modindex.html b/vsphere/7.0.0.1/py-modindex.html new file mode 100644 index 00000000..79f77b37 --- /dev/null +++ b/vsphere/7.0.0.1/py-modindex.html @@ -0,0 +1,1351 @@ + + + + + + + + + + + Python Module Index — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ +
    + +
  • Docs »
  • + +
  • Python Module Index
  • + + +
  • + +
  • + +
+ + +
+
+
+
+ + +

Python Module Index

+ +
+ c | + v +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
+ c
+ com +
    + com.vmware +
    + com.vmware.appliance +
    + com.vmware.appliance.access_client +
    + com.vmware.appliance.health_client +
    + com.vmware.appliance.infraprofile_client +
    + com.vmware.appliance.local_accounts_client +
    + com.vmware.appliance.localaccounts_client +
    + com.vmware.appliance.logging_client +
    + com.vmware.appliance.monitoring_client +
    + com.vmware.appliance.networking +
    + com.vmware.appliance.networking.dns_client +
    + com.vmware.appliance.networking.firewall_client +
    + com.vmware.appliance.networking.interfaces_client +
    + com.vmware.appliance.networking_client +
    + com.vmware.appliance.ntp_client +
    + com.vmware.appliance.recovery +
    + com.vmware.appliance.recovery.backup +
    + com.vmware.appliance.recovery.backup.job_client +
    + com.vmware.appliance.recovery.backup.system_name_client +
    + com.vmware.appliance.recovery.backup_client +
    + com.vmware.appliance.recovery.reconciliation_client +
    + com.vmware.appliance.recovery.restore_client +
    + com.vmware.appliance.recovery_client +
    + com.vmware.appliance.shutdown_client +
    + com.vmware.appliance.system +
    + com.vmware.appliance.system.time_client +
    + com.vmware.appliance.system_client +
    + com.vmware.appliance.tymesync_client +
    + com.vmware.appliance.update_client +
    + com.vmware.appliance.vmon_client +
    + com.vmware.appliance_client +
    + com.vmware.cis +
    + com.vmware.cis.tagging_client +
    + com.vmware.cis.task_client +
    + com.vmware.cis_client +
    + com.vmware.content +
    + com.vmware.content.library +
    + com.vmware.content.library.item +
    + com.vmware.content.library.item.downloadsession_client +
    + com.vmware.content.library.item.updatesession_client +
    + com.vmware.content.library.item_client +
    + com.vmware.content.library_client +
    + com.vmware.content.type +
    + com.vmware.content.type.ovf +
    + com.vmware.content.type.ovf.policy_client +
    + com.vmware.content.type.ovf_client +
    + com.vmware.content_client +
    + com.vmware.esx +
    + com.vmware.esx.hcl +
    + com.vmware.esx.hcl.hosts_client +
    + com.vmware.esx.hcl_client +
    + com.vmware.esx.hosts +
    + com.vmware.esx.hosts.health +
    + com.vmware.esx.hosts.health.perspectives_client +
    + com.vmware.esx.hosts.software_client +
    + com.vmware.esx.hosts_client +
    + com.vmware.esx.settings +
    + com.vmware.esx.settings.clusters +
    + com.vmware.esx.settings.clusters.enablement_client +
    + com.vmware.esx.settings.clusters.policies +
    + com.vmware.esx.settings.clusters.policies.apply_client +
    + com.vmware.esx.settings.clusters.policies_client +
    + com.vmware.esx.settings.clusters.software +
    + com.vmware.esx.settings.clusters.software.drafts +
    + com.vmware.esx.settings.clusters.software.drafts.software_client +
    + com.vmware.esx.settings.clusters.software.drafts_client +
    + com.vmware.esx.settings.clusters.software.reports +
    + com.vmware.esx.settings.clusters.software.reports.hardware_compatibility_client +
    + com.vmware.esx.settings.clusters.software.reports_client +
    + com.vmware.esx.settings.clusters.software_client +
    + com.vmware.esx.settings.clusters_client +
    + com.vmware.esx.settings.defaults +
    + com.vmware.esx.settings.defaults.clusters +
    + com.vmware.esx.settings.defaults.clusters.policies +
    + com.vmware.esx.settings.defaults.clusters.policies.apply_client +
    + com.vmware.esx.settings.defaults.clusters.policies_client +
    + com.vmware.esx.settings.defaults.clusters_client +
    + com.vmware.esx.settings.defaults_client +
    + com.vmware.esx.settings.depot_content +
    + com.vmware.esx.settings.depot_content.add_ons_client +
    + com.vmware.esx.settings.depot_content.base_images_client +
    + com.vmware.esx.settings.depot_content.components_client +
    + com.vmware.esx.settings.depot_content_client +
    + com.vmware.esx.settings.depots_client +
    + com.vmware.esx.settings.hosts_client +
    + com.vmware.esx.settings_client +
    + com.vmware.vapi +
    + com.vmware.vapi.metadata +
    + com.vmware.vapi.metadata.authentication +
    + com.vmware.vapi.metadata.authentication.service_client +
    + com.vmware.vapi.metadata.authentication_client +
    + com.vmware.vapi.metadata.cli_client +
    + com.vmware.vapi.metadata.metamodel +
    + com.vmware.vapi.metadata.metamodel.resource_client +
    + com.vmware.vapi.metadata.metamodel.service_client +
    + com.vmware.vapi.metadata.metamodel_client +
    + com.vmware.vapi.metadata.privilege +
    + com.vmware.vapi.metadata.privilege.service_client +
    + com.vmware.vapi.metadata.privilege_client +
    + com.vmware.vapi.metadata_client +
    + com.vmware.vapi.std +
    + com.vmware.vapi.std.errors_client +
    + com.vmware.vapi.std.interposition_client +
    + com.vmware.vapi.std_client +
    + com.vmware.vapi_client +
    + com.vmware.vcenter +
    + com.vmware.vcenter.certificate_management +
    + com.vmware.vcenter.certificate_management.vcenter_client +
    + com.vmware.vcenter.certificate_management_client +
    + com.vmware.vcenter.compute +
    + com.vmware.vcenter.compute.policies +
    + com.vmware.vcenter.compute.policies.capabilities +
    + com.vmware.vcenter.compute.policies.capabilities.cluster_scale_in_ignore_vm_capabilities_client +
    + com.vmware.vcenter.compute.policies.capabilities.disable_drs_vmotion_client +
    + com.vmware.vcenter.compute.policies.capabilities.vm +
    + com.vmware.vcenter.compute.policies.capabilities.vm.evacuation +
    + com.vmware.vcenter.compute.policies.capabilities.vm.evacuation.vmotion_client +
    + com.vmware.vcenter.compute.policies.capabilities.vm_host_affinity_client +
    + com.vmware.vcenter.compute.policies.capabilities.vm_host_anti_affinity_client +
    + com.vmware.vcenter.compute.policies.capabilities.vm_vm_affinity_client +
    + com.vmware.vcenter.compute.policies.capabilities.vm_vm_anti_affinity_client +
    + com.vmware.vcenter.compute.policies.capabilities_client +
    + com.vmware.vcenter.compute.policies_client +
    + com.vmware.vcenter.compute_client +
    + com.vmware.vcenter.content +
    + com.vmware.vcenter.content.registries +
    + com.vmware.vcenter.content.registries.harbor_client +
    + com.vmware.vcenter.content.registries_client +
    + com.vmware.vcenter.datastore_client +
    + com.vmware.vcenter.deployment +
    + com.vmware.vcenter.deployment.install +
    + com.vmware.vcenter.deployment.install.initial_config +
    + com.vmware.vcenter.deployment.install.initial_config.remote_psc_client +
    + com.vmware.vcenter.deployment.install.psc_client +
    + com.vmware.vcenter.deployment.install_client +
    + com.vmware.vcenter.deployment.migrate_client +
    + com.vmware.vcenter.deployment_client +
    + com.vmware.vcenter.guest_client +
    + com.vmware.vcenter.hvc +
    + com.vmware.vcenter.hvc.links +
    + com.vmware.vcenter.hvc.links.sync_client +
    + com.vmware.vcenter.hvc.links_client +
    + com.vmware.vcenter.hvc.management_client +
    + com.vmware.vcenter.hvc_client +
    + com.vmware.vcenter.identity_client +
    + com.vmware.vcenter.inventory_client +
    + com.vmware.vcenter.iso_client +
    + com.vmware.vcenter.lcm +
    + com.vmware.vcenter.lcm.discovery_client +
    + com.vmware.vcenter.lcm.update_client +
    + com.vmware.vcenter.lcm_client +
    + com.vmware.vcenter.namespace_management +
    + com.vmware.vcenter.namespace_management.software_client +
    + com.vmware.vcenter.namespace_management.stats_client +
    + com.vmware.vcenter.namespace_management_client +
    + com.vmware.vcenter.namespaces +
    + com.vmware.vcenter.namespaces.user_client +
    + com.vmware.vcenter.namespaces_client +
    + com.vmware.vcenter.ovf_client +
    + com.vmware.vcenter.services_client +
    + com.vmware.vcenter.storage +
    + com.vmware.vcenter.storage.policies +
    + com.vmware.vcenter.storage.policies.compliance_client +
    + com.vmware.vcenter.storage.policies_client +
    + com.vmware.vcenter.storage_client +
    + com.vmware.vcenter.system_config +
    + com.vmware.vcenter.system_config.features +
    + com.vmware.vcenter.system_config.features.tech_preview_client +
    + com.vmware.vcenter.system_config_client +
    + com.vmware.vcenter.tagging_client +
    + com.vmware.vcenter.tokenservice_client +
    + com.vmware.vcenter.topology_client +
    + com.vmware.vcenter.trusted_infrastructure +
    + com.vmware.vcenter.trusted_infrastructure.attestation_client +
    + com.vmware.vcenter.trusted_infrastructure.kms_client +
    + com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters +
    + com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation +
    + com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os +
    + com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os.esx_client +
    + com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2_client +
    + com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation_client +
    + com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms +
    + com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers +
    + com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers.client_certificate_client +
    + com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers_client +
    + com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms_client +
    + com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters_client +
    + com.vmware.vcenter.trusted_infrastructure.trust_authority_hosts_client +
    + com.vmware.vcenter.trusted_infrastructure.trusted_clusters +
    + com.vmware.vcenter.trusted_infrastructure.trusted_clusters.attestation_client +
    + com.vmware.vcenter.trusted_infrastructure.trusted_clusters.kms_client +
    + com.vmware.vcenter.trusted_infrastructure_client +
    + com.vmware.vcenter.vcha +
    + com.vmware.vcenter.vcha.cluster_client +
    + com.vmware.vcenter.vcha_client +
    + com.vmware.vcenter.vm +
    + com.vmware.vcenter.vm.compute_client +
    + com.vmware.vcenter.vm.console_client +
    + com.vmware.vcenter.vm.guest +
    + com.vmware.vcenter.vm.guest.networking_client +
    + com.vmware.vcenter.vm.guest_client +
    + com.vmware.vcenter.vm.hardware +
    + com.vmware.vcenter.vm.hardware.adapter_client +
    + com.vmware.vcenter.vm.hardware.boot_client +
    + com.vmware.vcenter.vm.hardware_client +
    + com.vmware.vcenter.vm.storage +
    + com.vmware.vcenter.vm.storage.policy_client +
    + com.vmware.vcenter.vm.storage_client +
    + com.vmware.vcenter.vm.tools_client +
    + com.vmware.vcenter.vm_client +
    + com.vmware.vcenter.vm_template +
    + com.vmware.vcenter.vm_template.library_items_client +
    + com.vmware.vcenter.vm_template_client +
    + com.vmware.vcenter_client +
    + com.vmware.vstats_client +
 
+ v
+ vmware +
    + vmware.vapi +
    + vmware.vapi.core +
    + vmware.vapi.exception +
    + vmware.vapi.lib +
    + vmware.vapi.message +
    + vmware.vapi.security +
    + vmware.vapi.security.client +
    + vmware.vapi.security.client.security_context_filter +
    + vmware.vapi.security.session +
    + vmware.vapi.security.user_password +
    + vmware.vapi.vsphere +
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/search.html b/vsphere/7.0.0.1/search.html new file mode 100644 index 00000000..5a91ff3c --- /dev/null +++ b/vsphere/7.0.0.1/search.html @@ -0,0 +1,212 @@ + + + + + + + + + + + Search — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ +
    + +
  • Docs »
  • + +
  • Search
  • + + +
  • + + + +
  • + +
+ + +
+
+
+
+ + + + +
+ +
+ +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/searchindex.js b/vsphere/7.0.0.1/searchindex.js new file mode 100644 index 00000000..4eb44438 --- /dev/null +++ b/vsphere/7.0.0.1/searchindex.js @@ -0,0 +1 @@ +Search.setIndex({docnames:["com","com.vmware","com.vmware.appliance","com.vmware.appliance.networking","com.vmware.appliance.recovery","com.vmware.appliance.recovery.backup","com.vmware.appliance.system","com.vmware.cis","com.vmware.content","com.vmware.content.library","com.vmware.content.library.item","com.vmware.content.type","com.vmware.content.type.ovf","com.vmware.esx","com.vmware.esx.hcl","com.vmware.esx.hosts","com.vmware.esx.hosts.health","com.vmware.esx.settings","com.vmware.esx.settings.clusters","com.vmware.esx.settings.clusters.policies","com.vmware.esx.settings.clusters.software","com.vmware.esx.settings.clusters.software.drafts","com.vmware.esx.settings.clusters.software.reports","com.vmware.esx.settings.defaults","com.vmware.esx.settings.defaults.clusters","com.vmware.esx.settings.defaults.clusters.policies","com.vmware.esx.settings.depot_content","com.vmware.vapi","com.vmware.vapi.metadata","com.vmware.vapi.metadata.authentication","com.vmware.vapi.metadata.metamodel","com.vmware.vapi.metadata.privilege","com.vmware.vapi.std","com.vmware.vcenter","com.vmware.vcenter.certificate_management","com.vmware.vcenter.compute","com.vmware.vcenter.compute.policies","com.vmware.vcenter.compute.policies.capabilities","com.vmware.vcenter.compute.policies.capabilities.vm","com.vmware.vcenter.compute.policies.capabilities.vm.evacuation","com.vmware.vcenter.content","com.vmware.vcenter.content.registries","com.vmware.vcenter.deployment","com.vmware.vcenter.deployment.install","com.vmware.vcenter.deployment.install.initial_config","com.vmware.vcenter.hvc","com.vmware.vcenter.hvc.links","com.vmware.vcenter.lcm","com.vmware.vcenter.namespace_management","com.vmware.vcenter.namespaces","com.vmware.vcenter.storage","com.vmware.vcenter.storage.policies","com.vmware.vcenter.system_config","com.vmware.vcenter.system_config.features","com.vmware.vcenter.trusted_infrastructure","com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters","com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation","com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os","com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms","com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers","com.vmware.vcenter.trusted_infrastructure.trusted_clusters","com.vmware.vcenter.vcha","com.vmware.vcenter.vm","com.vmware.vcenter.vm.guest","com.vmware.vcenter.vm.hardware","com.vmware.vcenter.vm.storage","com.vmware.vcenter.vm_template","enumeration","index","vmware","vmware.vapi","vmware.vapi.lib","vmware.vapi.security","vmware.vapi.security.client","vmware.vapi.vsphere"],envversion:{"sphinx.domains.c":1,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":1,"sphinx.domains.index":1,"sphinx.domains.javascript":1,"sphinx.domains.math":2,"sphinx.domains.python":1,"sphinx.domains.rst":1,"sphinx.domains.std":1,sphinx:56},filenames:["com.rst","com.vmware.rst","com.vmware.appliance.rst","com.vmware.appliance.networking.rst","com.vmware.appliance.recovery.rst","com.vmware.appliance.recovery.backup.rst","com.vmware.appliance.system.rst","com.vmware.cis.rst","com.vmware.content.rst","com.vmware.content.library.rst","com.vmware.content.library.item.rst","com.vmware.content.type.rst","com.vmware.content.type.ovf.rst","com.vmware.esx.rst","com.vmware.esx.hcl.rst","com.vmware.esx.hosts.rst","com.vmware.esx.hosts.health.rst","com.vmware.esx.settings.rst","com.vmware.esx.settings.clusters.rst","com.vmware.esx.settings.clusters.policies.rst","com.vmware.esx.settings.clusters.software.rst","com.vmware.esx.settings.clusters.software.drafts.rst","com.vmware.esx.settings.clusters.software.reports.rst","com.vmware.esx.settings.defaults.rst","com.vmware.esx.settings.defaults.clusters.rst","com.vmware.esx.settings.defaults.clusters.policies.rst","com.vmware.esx.settings.depot_content.rst","com.vmware.vapi.rst","com.vmware.vapi.metadata.rst","com.vmware.vapi.metadata.authentication.rst","com.vmware.vapi.metadata.metamodel.rst","com.vmware.vapi.metadata.privilege.rst","com.vmware.vapi.std.rst","com.vmware.vcenter.rst","com.vmware.vcenter.certificate_management.rst","com.vmware.vcenter.compute.rst","com.vmware.vcenter.compute.policies.rst","com.vmware.vcenter.compute.policies.capabilities.rst","com.vmware.vcenter.compute.policies.capabilities.vm.rst","com.vmware.vcenter.compute.policies.capabilities.vm.evacuation.rst","com.vmware.vcenter.content.rst","com.vmware.vcenter.content.registries.rst","com.vmware.vcenter.deployment.rst","com.vmware.vcenter.deployment.install.rst","com.vmware.vcenter.deployment.install.initial_config.rst","com.vmware.vcenter.hvc.rst","com.vmware.vcenter.hvc.links.rst","com.vmware.vcenter.lcm.rst","com.vmware.vcenter.namespace_management.rst","com.vmware.vcenter.namespaces.rst","com.vmware.vcenter.storage.rst","com.vmware.vcenter.storage.policies.rst","com.vmware.vcenter.system_config.rst","com.vmware.vcenter.system_config.features.rst","com.vmware.vcenter.trusted_infrastructure.rst","com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.rst","com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.rst","com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os.rst","com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.rst","com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers.rst","com.vmware.vcenter.trusted_infrastructure.trusted_clusters.rst","com.vmware.vcenter.vcha.rst","com.vmware.vcenter.vm.rst","com.vmware.vcenter.vm.guest.rst","com.vmware.vcenter.vm.hardware.rst","com.vmware.vcenter.vm.storage.rst","com.vmware.vcenter.vm_template.rst","enumeration.rst","index.rst","vmware.rst","vmware.vapi.rst","vmware.vapi.lib.rst","vmware.vapi.security.rst","vmware.vapi.security.client.rst","vmware.vapi.vsphere.rst"],objects:{"":{com:[0,0,0,"-"],vmware:[69,0,0,"-"]},"com.vmware":{appliance:[2,0,0,"-"],appliance_client:[1,0,0,"-"],cis:[7,0,0,"-"],cis_client:[1,0,0,"-"],content:[8,0,0,"-"],content_client:[1,0,0,"-"],esx:[13,0,0,"-"],vapi:[27,0,0,"-"],vapi_client:[1,0,0,"-"],vcenter:[33,0,0,"-"],vcenter_client:[1,0,0,"-"],vstats_client:[1,0,0,"-"]},"com.vmware.appliance":{access_client:[2,0,0,"-"],health_client:[2,0,0,"-"],infraprofile_client:[2,0,0,"-"],local_accounts_client:[2,0,0,"-"],localaccounts_client:[2,0,0,"-"],logging_client:[2,0,0,"-"],monitoring_client:[2,0,0,"-"],networking:[3,0,0,"-"],networking_client:[2,0,0,"-"],ntp_client:[2,0,0,"-"],recovery:[4,0,0,"-"],recovery_client:[2,0,0,"-"],shutdown_client:[2,0,0,"-"],system:[6,0,0,"-"],system_client:[2,0,0,"-"],tymesync_client:[2,0,0,"-"],update_client:[2,0,0,"-"],vmon_client:[2,0,0,"-"]},"com.vmware.appliance.access_client":{Consolecli:[2,1,1,""],Dcui:[2,1,1,""],Shell:[2,1,1,""],Ssh:[2,1,1,""],StubFactory:[2,1,1,""]},"com.vmware.appliance.access_client.Consolecli":{get:[2,2,1,""],set:[2,2,1,""]},"com.vmware.appliance.access_client.Dcui":{get:[2,2,1,""],set:[2,2,1,""]},"com.vmware.appliance.access_client.Shell":{ShellConfig:[2,1,1,""],get:[2,2,1,""],set:[2,2,1,""]},"com.vmware.appliance.access_client.Ssh":{get:[2,2,1,""],set:[2,2,1,""]},"com.vmware.appliance.health_client":{Applmgmt:[2,1,1,""],Databasestorage:[2,1,1,""],Load:[2,1,1,""],Mem:[2,1,1,""],Softwarepackages:[2,1,1,""],Storage:[2,1,1,""],StubFactory:[2,1,1,""],Swap:[2,1,1,""],System:[2,1,1,""]},"com.vmware.appliance.health_client.Applmgmt":{get:[2,2,1,""]},"com.vmware.appliance.health_client.Databasestorage":{HealthLevel:[2,1,1,""],get:[2,2,1,""]},"com.vmware.appliance.health_client.Databasestorage.HealthLevel":{gray:[2,3,1,""],green:[2,3,1,""],orange:[2,3,1,""],red:[2,3,1,""],yellow:[2,3,1,""]},"com.vmware.appliance.health_client.Load":{HealthLevel:[2,1,1,""],get:[2,2,1,""]},"com.vmware.appliance.health_client.Load.HealthLevel":{gray:[2,3,1,""],green:[2,3,1,""],orange:[2,3,1,""],red:[2,3,1,""],yellow:[2,3,1,""]},"com.vmware.appliance.health_client.Mem":{HealthLevel:[2,1,1,""],get:[2,2,1,""]},"com.vmware.appliance.health_client.Mem.HealthLevel":{gray:[2,3,1,""],green:[2,3,1,""],orange:[2,3,1,""],red:[2,3,1,""],yellow:[2,3,1,""]},"com.vmware.appliance.health_client.Softwarepackages":{HealthLevel:[2,1,1,""],get:[2,2,1,""]},"com.vmware.appliance.health_client.Softwarepackages.HealthLevel":{gray:[2,3,1,""],green:[2,3,1,""],orange:[2,3,1,""],red:[2,3,1,""],yellow:[2,3,1,""]},"com.vmware.appliance.health_client.Storage":{HealthLevel:[2,1,1,""],get:[2,2,1,""]},"com.vmware.appliance.health_client.Storage.HealthLevel":{gray:[2,3,1,""],green:[2,3,1,""],orange:[2,3,1,""],red:[2,3,1,""],yellow:[2,3,1,""]},"com.vmware.appliance.health_client.Swap":{HealthLevel:[2,1,1,""],get:[2,2,1,""]},"com.vmware.appliance.health_client.Swap.HealthLevel":{gray:[2,3,1,""],green:[2,3,1,""],orange:[2,3,1,""],red:[2,3,1,""],yellow:[2,3,1,""]},"com.vmware.appliance.health_client.System":{HealthLevel:[2,1,1,""],get:[2,2,1,""],lastcheck:[2,2,1,""]},"com.vmware.appliance.health_client.System.HealthLevel":{gray:[2,3,1,""],green:[2,3,1,""],orange:[2,3,1,""],red:[2,3,1,""],yellow:[2,3,1,""]},"com.vmware.appliance.infraprofile_client":{Configs:[2,1,1,""],Notification:[2,1,1,""],Notifications:[2,1,1,""],StubFactory:[2,1,1,""],TaskInfo:[2,1,1,""]},"com.vmware.appliance.infraprofile_client.Configs":{"export":[2,2,1,""],ImportProfileSpec:[2,1,1,""],ProfileInfo:[2,1,1,""],ProfilesSpec:[2,1,1,""],ValidationResult:[2,1,1,""],ValidationStatus:[2,1,1,""],import_profile_task:[2,2,1,""],list:[2,2,1,""],validate_task:[2,2,1,""]},"com.vmware.appliance.infraprofile_client.Configs.ValidationStatus":{INVALID:[2,3,1,""],VALID:[2,3,1,""]},"com.vmware.appliance.local_accounts_client":{Policy:[2,1,1,""],StubFactory:[2,1,1,""]},"com.vmware.appliance.local_accounts_client.Policy":{Info:[2,1,1,""],get:[2,2,1,""],set:[2,2,1,""]},"com.vmware.appliance.localaccounts_client":{StubFactory:[2,1,1,""]},"com.vmware.appliance.logging_client":{Forwarding:[2,1,1,""],StubFactory:[2,1,1,""]},"com.vmware.appliance.logging_client.Forwarding":{Config:[2,1,1,""],ConnectionStatus:[2,1,1,""],Protocol:[2,1,1,""],get:[2,2,1,""],set:[2,2,1,""],test:[2,2,1,""]},"com.vmware.appliance.logging_client.Forwarding.ConnectionStatus":{State:[2,1,1,""]},"com.vmware.appliance.logging_client.Forwarding.ConnectionStatus.State":{DOWN:[2,3,1,""],UNKNOWN:[2,3,1,""],UP:[2,3,1,""]},"com.vmware.appliance.logging_client.Forwarding.Protocol":{TCP:[2,3,1,""],TLS:[2,3,1,""],UDP:[2,3,1,""]},"com.vmware.appliance.monitoring_client":{StubFactory:[2,1,1,""]},"com.vmware.appliance.networking":{dns_client:[3,0,0,"-"],firewall_client:[3,0,0,"-"],interfaces_client:[3,0,0,"-"]},"com.vmware.appliance.networking.dns_client":{Domains:[3,1,1,""],Hostname:[3,1,1,""],Servers:[3,1,1,""],StubFactory:[3,1,1,""]},"com.vmware.appliance.networking.dns_client.Domains":{add:[3,2,1,""],list:[3,2,1,""],set:[3,2,1,""]},"com.vmware.appliance.networking.dns_client.Hostname":{Message:[3,1,1,""],MessageStatus:[3,1,1,""],TestStatus:[3,1,1,""],TestStatusInfo:[3,1,1,""],get:[3,2,1,""],set:[3,2,1,""],test:[3,2,1,""]},"com.vmware.appliance.networking.dns_client.Hostname.MessageStatus":{failure:[3,3,1,""],success:[3,3,1,""]},"com.vmware.appliance.networking.dns_client.Hostname.TestStatus":{green:[3,3,1,""],orange:[3,3,1,""],red:[3,3,1,""]},"com.vmware.appliance.networking.dns_client.Servers":{DNSServerConfig:[3,1,1,""],DNSServerMode:[3,1,1,""],Message:[3,1,1,""],MessageStatus:[3,1,1,""],TestStatus:[3,1,1,""],TestStatusInfo:[3,1,1,""],add:[3,2,1,""],get:[3,2,1,""],set:[3,2,1,""],test:[3,2,1,""]},"com.vmware.appliance.networking.dns_client.Servers.DNSServerMode":{dhcp:[3,3,1,""],is_static:[3,3,1,""]},"com.vmware.appliance.networking.dns_client.Servers.MessageStatus":{failure:[3,3,1,""],success:[3,3,1,""]},"com.vmware.appliance.networking.dns_client.Servers.TestStatus":{green:[3,3,1,""],orange:[3,3,1,""],red:[3,3,1,""]},"com.vmware.appliance.networking.firewall_client":{Inbound:[3,1,1,""],StubFactory:[3,1,1,""]},"com.vmware.appliance.networking.firewall_client.Inbound":{Policy:[3,1,1,""],Rule:[3,1,1,""],get:[3,2,1,""],set:[3,2,1,""]},"com.vmware.appliance.networking.firewall_client.Inbound.Policy":{ACCEPT:[3,3,1,""],IGNORE:[3,3,1,""],REJECT:[3,3,1,""],RETURN:[3,3,1,""]},"com.vmware.appliance.networking.interfaces_client":{Ipv4:[3,1,1,""],Ipv6:[3,1,1,""],StubFactory:[3,1,1,""]},"com.vmware.appliance.networking.interfaces_client.Ipv4":{Config:[3,1,1,""],Info:[3,1,1,""],Mode:[3,1,1,""],get:[3,2,1,""],set:[3,2,1,""]},"com.vmware.appliance.networking.interfaces_client.Ipv4.Mode":{DHCP:[3,3,1,""],STATIC:[3,3,1,""],UNCONFIGURED:[3,3,1,""]},"com.vmware.appliance.networking.interfaces_client.Ipv6":{Address:[3,1,1,""],AddressInfo:[3,1,1,""],Config:[3,1,1,""],Info:[3,1,1,""],Origin:[3,1,1,""],Status:[3,1,1,""],get:[3,2,1,""],set:[3,2,1,""]},"com.vmware.appliance.networking.interfaces_client.Ipv6.Origin":{DHCP:[3,3,1,""],LINKLAYER:[3,3,1,""],MANUAL:[3,3,1,""],OTHER:[3,3,1,""],RANDOM:[3,3,1,""]},"com.vmware.appliance.networking.interfaces_client.Ipv6.Status":{DEPRECATED:[3,3,1,""],DUPLICATE:[3,3,1,""],INACCESSIBLE:[3,3,1,""],INVALID:[3,3,1,""],OPTIMISTIC:[3,3,1,""],PREFERRED:[3,3,1,""],TENTATIVE:[3,3,1,""],UNKNOWN:[3,3,1,""]},"com.vmware.appliance.networking_client":{Interfaces:[2,1,1,""],NoProxy:[2,1,1,""],Proxy:[2,1,1,""],StubFactory:[2,1,1,""]},"com.vmware.appliance.networking_client.Interfaces":{InterfaceInfo:[2,1,1,""],InterfaceStatus:[2,1,1,""],get:[2,2,1,""],list:[2,2,1,""]},"com.vmware.appliance.networking_client.Interfaces.InterfaceStatus":{down:[2,3,1,""],up:[2,3,1,""]},"com.vmware.appliance.networking_client.NoProxy":{get:[2,2,1,""],set:[2,2,1,""]},"com.vmware.appliance.networking_client.Proxy":{"delete":[2,2,1,""],Config:[2,1,1,""],Protocol:[2,1,1,""],ServerStatus:[2,1,1,""],TestResult:[2,1,1,""],get:[2,2,1,""],list:[2,2,1,""],set:[2,2,1,""],test:[2,2,1,""]},"com.vmware.appliance.networking_client.Proxy.Protocol":{FTP:[2,3,1,""],HTTP:[2,3,1,""],HTTPS:[2,3,1,""]},"com.vmware.appliance.networking_client.Proxy.ServerStatus":{SERVER_REACHABLE:[2,3,1,""],SERVER_UNREACHABLE:[2,3,1,""]},"com.vmware.appliance.ntp_client":{StubFactory:[2,1,1,""]},"com.vmware.appliance.recovery":{backup:[5,0,0,"-"],backup_client:[4,0,0,"-"],reconciliation_client:[4,0,0,"-"],restore_client:[4,0,0,"-"]},"com.vmware.appliance.recovery.backup":{job_client:[5,0,0,"-"],system_name_client:[5,0,0,"-"]},"com.vmware.appliance.recovery.backup.job_client":{Details:[5,1,1,""],StubFactory:[5,1,1,""]},"com.vmware.appliance.recovery.backup.job_client.Details":{BuildInfo:[5,1,1,""],FilterSpec:[5,1,1,""],Info:[5,1,1,""],Type:[5,1,1,""],list:[5,2,1,""]},"com.vmware.appliance.recovery.backup.job_client.Details.Type":{MANUAL:[5,3,1,""],SCHEDULED:[5,3,1,""]},"com.vmware.appliance.recovery.backup.system_name_client":{Archive:[5,1,1,""],StubFactory:[5,1,1,""]},"com.vmware.appliance.recovery.backup.system_name_client.Archive":{FilterSpec:[5,1,1,""],Info:[5,1,1,""],Summary:[5,1,1,""],get:[5,2,1,""],list:[5,2,1,""]},"com.vmware.appliance.recovery.backup_client":{Job:[4,1,1,""],LocationSpec:[4,1,1,""],Parts:[4,1,1,""],Schedules:[4,1,1,""],StubFactory:[4,1,1,""],SystemName:[4,1,1,""]},"com.vmware.appliance.recovery.backup_client.Job":{BackupJobStatus:[4,1,1,""],BackupRequest:[4,1,1,""],BackupRestoreProcessState:[4,1,1,""],LocalizableMessage:[4,1,1,""],LocationType:[4,1,1,""],ReturnResult:[4,1,1,""],ReturnStatus:[4,1,1,""],cancel:[4,2,1,""],create:[4,2,1,""],get:[4,2,1,""],list:[4,2,1,""]},"com.vmware.appliance.recovery.backup_client.Job.BackupRestoreProcessState":{FAILED:[4,3,1,""],INPROGRESS:[4,3,1,""],NONE:[4,3,1,""],SUCCEEDED:[4,3,1,""]},"com.vmware.appliance.recovery.backup_client.Job.LocationType":{FTP:[4,3,1,""],FTPS:[4,3,1,""],HTTP:[4,3,1,""],HTTPS:[4,3,1,""],NFS:[4,3,1,""],SCP:[4,3,1,""],SFTP:[4,3,1,""],SMB:[4,3,1,""]},"com.vmware.appliance.recovery.backup_client.Job.ReturnStatus":{FAIL:[4,3,1,""],OK:[4,3,1,""],WARNING:[4,3,1,""]},"com.vmware.appliance.recovery.backup_client.Parts":{LocalizableMessage:[4,1,1,""],Part:[4,1,1,""],get:[4,2,1,""],list:[4,2,1,""]},"com.vmware.appliance.recovery.backup_client.Schedules":{"delete":[4,2,1,""],CreateSpec:[4,1,1,""],DayOfWeek:[4,1,1,""],Info:[4,1,1,""],RecurrenceInfo:[4,1,1,""],RetentionInfo:[4,1,1,""],UpdateSpec:[4,1,1,""],create:[4,2,1,""],get:[4,2,1,""],list:[4,2,1,""],run:[4,2,1,""],update:[4,2,1,""]},"com.vmware.appliance.recovery.backup_client.Schedules.DayOfWeek":{FRIDAY:[4,3,1,""],MONDAY:[4,3,1,""],SATURDAY:[4,3,1,""],SUNDAY:[4,3,1,""],THURSDAY:[4,3,1,""],TUESDAY:[4,3,1,""],WEDNESDAY:[4,3,1,""]},"com.vmware.appliance.recovery.backup_client.SystemName":{list:[4,2,1,""]},"com.vmware.appliance.recovery.reconciliation_client":{Job:[4,1,1,""],StubFactory:[4,1,1,""]},"com.vmware.appliance.recovery.reconciliation_client.Job":{CreateSpec:[4,1,1,""],Info:[4,1,1,""],Status:[4,1,1,""],create:[4,2,1,""],get:[4,2,1,""]},"com.vmware.appliance.recovery.reconciliation_client.Job.Status":{FAILED:[4,3,1,""],NONE:[4,3,1,""],RUNNING:[4,3,1,""],SUCCEEDED:[4,3,1,""]},"com.vmware.appliance.recovery.restore_client":{Job:[4,1,1,""],StubFactory:[4,1,1,""]},"com.vmware.appliance.recovery.restore_client.Job":{BackupRestoreProcessState:[4,1,1,""],LocalizableMessage:[4,1,1,""],LocationType:[4,1,1,""],RestoreJobStatus:[4,1,1,""],RestoreRequest:[4,1,1,""],ReturnResult:[4,1,1,""],ReturnStatus:[4,1,1,""],cancel:[4,2,1,""],create:[4,2,1,""],get:[4,2,1,""]},"com.vmware.appliance.recovery.restore_client.Job.BackupRestoreProcessState":{FAILED:[4,3,1,""],INPROGRESS:[4,3,1,""],NONE:[4,3,1,""],SUCCEEDED:[4,3,1,""]},"com.vmware.appliance.recovery.restore_client.Job.LocationType":{FTP:[4,3,1,""],FTPS:[4,3,1,""],HTTP:[4,3,1,""],HTTPS:[4,3,1,""],NFS:[4,3,1,""],SCP:[4,3,1,""],SFTP:[4,3,1,""],SMB:[4,3,1,""]},"com.vmware.appliance.recovery.restore_client.Job.ReturnStatus":{FAIL:[4,3,1,""],OK:[4,3,1,""],WARNING:[4,3,1,""]},"com.vmware.appliance.recovery_client":{Backup:[2,1,1,""],Restore:[2,1,1,""],StubFactory:[2,1,1,""]},"com.vmware.appliance.recovery_client.Backup":{BackupRequest:[2,1,1,""],LocalizableMessage:[2,1,1,""],LocationType:[2,1,1,""],ReturnResult:[2,1,1,""],ReturnStatus:[2,1,1,""],validate:[2,2,1,""]},"com.vmware.appliance.recovery_client.Backup.LocationType":{FTP:[2,3,1,""],FTPS:[2,3,1,""],HTTP:[2,3,1,""],HTTPS:[2,3,1,""],NFS:[2,3,1,""],SCP:[2,3,1,""],SFTP:[2,3,1,""],SMB:[2,3,1,""]},"com.vmware.appliance.recovery_client.Backup.ReturnStatus":{FAIL:[2,3,1,""],OK:[2,3,1,""],WARNING:[2,3,1,""]},"com.vmware.appliance.recovery_client.Restore":{LocalizableMessage:[2,1,1,""],LocationType:[2,1,1,""],Metadata:[2,1,1,""],RestoreRequest:[2,1,1,""],validate:[2,2,1,""]},"com.vmware.appliance.recovery_client.Restore.LocationType":{FTP:[2,3,1,""],FTPS:[2,3,1,""],HTTP:[2,3,1,""],HTTPS:[2,3,1,""],NFS:[2,3,1,""],SCP:[2,3,1,""],SFTP:[2,3,1,""],SMB:[2,3,1,""]},"com.vmware.appliance.shutdown_client":{StubFactory:[2,1,1,""]},"com.vmware.appliance.system":{time_client:[6,0,0,"-"]},"com.vmware.appliance.system.time_client":{StubFactory:[6,1,1,""],Timezone:[6,1,1,""]},"com.vmware.appliance.system.time_client.Timezone":{get:[6,2,1,""],set:[6,2,1,""]},"com.vmware.appliance.system_client":{Storage:[2,1,1,""],StubFactory:[2,1,1,""],Time:[2,1,1,""],Uptime:[2,1,1,""],Version:[2,1,1,""]},"com.vmware.appliance.system_client.Storage":{StorageChange:[2,1,1,""],StorageMapping:[2,1,1,""],list:[2,2,1,""],resize:[2,2,1,""],resize_ex:[2,2,1,""]},"com.vmware.appliance.system_client.Time":{SystemTimeStruct:[2,1,1,""],get:[2,2,1,""]},"com.vmware.appliance.system_client.Uptime":{get:[2,2,1,""]},"com.vmware.appliance.system_client.Version":{VersionStruct:[2,1,1,""],get:[2,2,1,""]},"com.vmware.appliance.tymesync_client":{StubFactory:[2,1,1,""]},"com.vmware.appliance.update_client":{CommonInfo:[2,1,1,""],Pending:[2,1,1,""],Policy:[2,1,1,""],ServiceInfo:[2,1,1,""],Staged:[2,1,1,""],StubFactory:[2,1,1,""],Summary:[2,1,1,""]},"com.vmware.appliance.update_client.CommonInfo":{Category:[2,1,1,""],Priority:[2,1,1,""],Severity:[2,1,1,""]},"com.vmware.appliance.update_client.CommonInfo.Category":{FIX:[2,3,1,""],SECURITY:[2,3,1,""],UPDATE:[2,3,1,""],UPGRADE:[2,3,1,""]},"com.vmware.appliance.update_client.CommonInfo.Priority":{HIGH:[2,3,1,""],LOW:[2,3,1,""],MEDIUM:[2,3,1,""]},"com.vmware.appliance.update_client.CommonInfo.Severity":{CRITICAL:[2,3,1,""],IMPORTANT:[2,3,1,""],LOW:[2,3,1,""],MODERATE:[2,3,1,""]},"com.vmware.appliance.update_client.Pending":{Info:[2,1,1,""],PrecheckResult:[2,1,1,""],Question:[2,1,1,""],SourceType:[2,1,1,""],get:[2,2,1,""],install:[2,2,1,""],list:[2,2,1,""],precheck:[2,2,1,""],stage:[2,2,1,""],stage_and_install:[2,2,1,""],validate:[2,2,1,""]},"com.vmware.appliance.update_client.Pending.Question":{InputType:[2,1,1,""]},"com.vmware.appliance.update_client.Pending.Question.InputType":{BOOLEAN:[2,3,1,""],PASSWORD:[2,3,1,""],PLAIN_TEXT:[2,3,1,""]},"com.vmware.appliance.update_client.Pending.SourceType":{LAST_CHECK:[2,3,1,""],LOCAL:[2,3,1,""],LOCAL_AND_ONLINE:[2,3,1,""]},"com.vmware.appliance.update_client.Policy":{Config:[2,1,1,""],DayOfWeek:[2,1,1,""],Info:[2,1,1,""],Time:[2,1,1,""],get:[2,2,1,""],set:[2,2,1,""]},"com.vmware.appliance.update_client.Policy.DayOfWeek":{FRIDAY:[2,3,1,""],MONDAY:[2,3,1,""],SATURDAY:[2,3,1,""],SUNDAY:[2,3,1,""],THURSDAY:[2,3,1,""],TUESDAY:[2,3,1,""],WEDNESDAY:[2,3,1,""]},"com.vmware.appliance.update_client.Staged":{"delete":[2,2,1,""],Info:[2,1,1,""],get:[2,2,1,""]},"com.vmware.appliance.vmon_client":{Service:[2,1,1,""],StubFactory:[2,1,1,""]},"com.vmware.appliance.vmon_client.Service":{Health:[2,1,1,""],Info:[2,1,1,""],StartupType:[2,1,1,""],State:[2,1,1,""],UpdateSpec:[2,1,1,""],get:[2,2,1,""],list_details:[2,2,1,""],restart:[2,2,1,""],start:[2,2,1,""],stop:[2,2,1,""],update:[2,2,1,""]},"com.vmware.appliance.vmon_client.Service.Health":{DEGRADED:[2,3,1,""],HEALTHY:[2,3,1,""],HEALTHY_WITH_WARNINGS:[2,3,1,""]},"com.vmware.appliance.vmon_client.Service.StartupType":{AUTOMATIC:[2,3,1,""],DISABLED:[2,3,1,""],MANUAL:[2,3,1,""]},"com.vmware.appliance.vmon_client.Service.State":{STARTED:[2,3,1,""],STARTING:[2,3,1,""],STOPPED:[2,3,1,""],STOPPING:[2,3,1,""]},"com.vmware.appliance_client":{Health:[1,1,1,""],LocalAccounts:[1,1,1,""],Monitoring:[1,1,1,""],Networking:[1,1,1,""],Notification:[1,1,1,""],Notifications:[1,1,1,""],Ntp:[1,1,1,""],Recovery:[1,1,1,""],Services:[1,1,1,""],Shutdown:[1,1,1,""],StubFactory:[1,1,1,""],SubtaskInfo:[1,1,1,""],TaskInfo:[1,1,1,""],Timesync:[1,1,1,""],Update:[1,1,1,""]},"com.vmware.appliance_client.Health":{messages:[1,2,1,""]},"com.vmware.appliance_client.LocalAccounts":{"delete":[1,2,1,""],Config:[1,1,1,""],Info:[1,1,1,""],UpdateConfig:[1,1,1,""],create:[1,2,1,""],get:[1,2,1,""],list:[1,2,1,""],set:[1,2,1,""],update:[1,2,1,""]},"com.vmware.appliance_client.Monitoring":{FunctionType:[1,1,1,""],IntervalType:[1,1,1,""],MonitoredItem:[1,1,1,""],MonitoredItemData:[1,1,1,""],MonitoredItemDataRequest:[1,1,1,""],get:[1,2,1,""],list:[1,2,1,""],query:[1,2,1,""]},"com.vmware.appliance_client.Monitoring.FunctionType":{AVG:[1,3,1,""],COUNT:[1,3,1,""],MAX:[1,3,1,""],MIN:[1,3,1,""]},"com.vmware.appliance_client.Monitoring.IntervalType":{DAY1:[1,3,1,""],HOURS2:[1,3,1,""],HOURS6:[1,3,1,""],MINUTES30:[1,3,1,""],MINUTES5:[1,3,1,""]},"com.vmware.appliance_client.Networking":{ChangeSpec:[1,1,1,""],DNSInfo:[1,1,1,""],Info:[1,1,1,""],UpdateSpec:[1,1,1,""],change_task:[1,2,1,""],get:[1,2,1,""],reset:[1,2,1,""],update:[1,2,1,""]},"com.vmware.appliance_client.Networking.DNSInfo":{DNSMode:[1,1,1,""]},"com.vmware.appliance_client.Networking.DNSInfo.DNSMode":{DHCP:[1,3,1,""],STATIC:[1,3,1,""]},"com.vmware.appliance_client.Ntp":{LocalizableMessage:[1,1,1,""],ServerStatus:[1,1,1,""],TestRunStatus:[1,1,1,""],get:[1,2,1,""],set:[1,2,1,""],test:[1,2,1,""]},"com.vmware.appliance_client.Ntp.ServerStatus":{SERVER_REACHABLE:[1,3,1,""],SERVER_UNREACHABLE:[1,3,1,""]},"com.vmware.appliance_client.Recovery":{Info:[1,1,1,""],get:[1,2,1,""]},"com.vmware.appliance_client.Services":{Info:[1,1,1,""],State:[1,1,1,""],get:[1,2,1,""],list:[1,2,1,""],restart:[1,2,1,""],start:[1,2,1,""],stop:[1,2,1,""]},"com.vmware.appliance_client.Services.State":{STARTED:[1,3,1,""],STARTING:[1,3,1,""],STOPPED:[1,3,1,""],STOPPING:[1,3,1,""]},"com.vmware.appliance_client.Shutdown":{ShutdownConfig:[1,1,1,""],cancel:[1,2,1,""],get:[1,2,1,""],poweroff:[1,2,1,""],reboot:[1,2,1,""]},"com.vmware.appliance_client.Timesync":{TimeSyncMode:[1,1,1,""],get:[1,2,1,""],set:[1,2,1,""]},"com.vmware.appliance_client.Timesync.TimeSyncMode":{DISABLED:[1,3,1,""],HOST:[1,3,1,""],NTP:[1,3,1,""]},"com.vmware.appliance_client.Update":{Info:[1,1,1,""],State:[1,1,1,""],cancel:[1,2,1,""],get:[1,2,1,""]},"com.vmware.appliance_client.Update.State":{INSTALL_FAILED:[1,3,1,""],INSTALL_IN_PROGRESS:[1,3,1,""],ROLLBACK_IN_PROGRESS:[1,3,1,""],STAGE_IN_PROGRESS:[1,3,1,""],UPDATES_PENDING:[1,3,1,""],UP_TO_DATE:[1,3,1,""]},"com.vmware.cis":{tagging_client:[7,0,0,"-"],task_client:[7,0,0,"-"]},"com.vmware.cis.tagging_client":{Category:[7,1,1,""],CategoryModel:[7,1,1,""],StubFactory:[7,1,1,""],Tag:[7,1,1,""],TagAssociation:[7,1,1,""],TagModel:[7,1,1,""]},"com.vmware.cis.tagging_client.Category":{"delete":[7,2,1,""],CreateSpec:[7,1,1,""],UpdateSpec:[7,1,1,""],add_to_used_by:[7,2,1,""],create:[7,2,1,""],get:[7,2,1,""],list:[7,2,1,""],list_used_categories:[7,2,1,""],remove_from_used_by:[7,2,1,""],revoke_propagating_permissions:[7,2,1,""],update:[7,2,1,""]},"com.vmware.cis.tagging_client.CategoryModel":{Cardinality:[7,1,1,""]},"com.vmware.cis.tagging_client.CategoryModel.Cardinality":{MULTIPLE:[7,3,1,""],SINGLE:[7,3,1,""]},"com.vmware.cis.tagging_client.Tag":{"delete":[7,2,1,""],CreateSpec:[7,1,1,""],UpdateSpec:[7,1,1,""],add_to_used_by:[7,2,1,""],create:[7,2,1,""],get:[7,2,1,""],list:[7,2,1,""],list_tags_for_category:[7,2,1,""],list_used_tags:[7,2,1,""],remove_from_used_by:[7,2,1,""],revoke_propagating_permissions:[7,2,1,""],update:[7,2,1,""]},"com.vmware.cis.tagging_client.TagAssociation":{BatchResult:[7,1,1,""],ObjectToTags:[7,1,1,""],TagToObjects:[7,1,1,""],attach:[7,2,1,""],attach_multiple_tags_to_object:[7,2,1,""],attach_tag_to_multiple_objects:[7,2,1,""],detach:[7,2,1,""],detach_multiple_tags_from_object:[7,2,1,""],detach_tag_from_multiple_objects:[7,2,1,""],list_attachable_tags:[7,2,1,""],list_attached_objects:[7,2,1,""],list_attached_objects_on_tags:[7,2,1,""],list_attached_tags:[7,2,1,""],list_attached_tags_on_objects:[7,2,1,""]},"com.vmware.cis.task_client":{CommonInfo:[7,1,1,""],Info:[7,1,1,""],Progress:[7,1,1,""],Status:[7,1,1,""],StubFactory:[7,1,1,""]},"com.vmware.cis.task_client.Status":{BLOCKED:[7,3,1,""],FAILED:[7,3,1,""],PENDING:[7,3,1,""],RUNNING:[7,3,1,""],SUCCEEDED:[7,3,1,""]},"com.vmware.cis_client":{Session:[1,1,1,""],StubFactory:[1,1,1,""],Tasks:[1,1,1,""]},"com.vmware.cis_client.Session":{"delete":[1,2,1,""],Info:[1,1,1,""],create:[1,2,1,""],get:[1,2,1,""]},"com.vmware.cis_client.Tasks":{FilterSpec:[1,1,1,""],GetSpec:[1,1,1,""],RESOURCE_TYPE:[1,3,1,""],cancel:[1,2,1,""],get:[1,2,1,""],list:[1,2,1,""]},"com.vmware.content":{library:[9,0,0,"-"],library_client:[8,0,0,"-"],type:[11,0,0,"-"]},"com.vmware.content.library":{item:[10,0,0,"-"],item_client:[9,0,0,"-"]},"com.vmware.content.library.item":{downloadsession_client:[10,0,0,"-"],updatesession_client:[10,0,0,"-"]},"com.vmware.content.library.item.downloadsession_client":{File:[10,1,1,""],StubFactory:[10,1,1,""]},"com.vmware.content.library.item.downloadsession_client.File":{EndpointType:[10,1,1,""],Info:[10,1,1,""],PrepareStatus:[10,1,1,""],get:[10,2,1,""],list:[10,2,1,""],prepare:[10,2,1,""]},"com.vmware.content.library.item.downloadsession_client.File.EndpointType":{DIRECT:[10,3,1,""],HTTPS:[10,3,1,""]},"com.vmware.content.library.item.downloadsession_client.File.PrepareStatus":{ERROR:[10,3,1,""],PREPARED:[10,3,1,""],PREPARE_REQUESTED:[10,3,1,""],PREPARING:[10,3,1,""],UNPREPARED:[10,3,1,""]},"com.vmware.content.library.item.updatesession_client":{CertificateInfo:[10,1,1,""],File:[10,1,1,""],PreviewInfo:[10,1,1,""],PreviewWarningInfo:[10,1,1,""],StubFactory:[10,1,1,""],WarningBehavior:[10,1,1,""],WarningType:[10,1,1,""]},"com.vmware.content.library.item.updatesession_client.File":{AddSpec:[10,1,1,""],Info:[10,1,1,""],SourceType:[10,1,1,""],ValidationError:[10,1,1,""],ValidationResult:[10,1,1,""],add:[10,2,1,""],get:[10,2,1,""],list:[10,2,1,""],remove:[10,2,1,""],validate:[10,2,1,""]},"com.vmware.content.library.item.updatesession_client.File.SourceType":{NONE:[10,3,1,""],PULL:[10,3,1,""],PUSH:[10,3,1,""]},"com.vmware.content.library.item.updatesession_client.PreviewInfo":{State:[10,1,1,""]},"com.vmware.content.library.item.updatesession_client.PreviewInfo.State":{AVAILABLE:[10,3,1,""],NOT_APPLICABLE:[10,3,1,""],PREPARING:[10,3,1,""],UNAVAILABLE:[10,3,1,""]},"com.vmware.content.library.item.updatesession_client.WarningType":{EXPIRED_CERTIFICATE:[10,3,1,""],NOT_YET_VALID_CERTIFICATE:[10,3,1,""],SELF_SIGNED_CERTIFICATE:[10,3,1,""],UNTRUSTED_CERTIFICATE:[10,3,1,""]},"com.vmware.content.library.item_client":{Changes:[9,1,1,""],DownloadSession:[9,1,1,""],DownloadSessionModel:[9,1,1,""],File:[9,1,1,""],Storage:[9,1,1,""],StubFactory:[9,1,1,""],TransferEndpoint:[9,1,1,""],TransferStatus:[9,1,1,""],UpdateSession:[9,1,1,""],UpdateSessionModel:[9,1,1,""]},"com.vmware.content.library.item_client.Changes":{Info:[9,1,1,""],RESOURCE_TYPE:[9,3,1,""],Summary:[9,1,1,""],get:[9,2,1,""],list:[9,2,1,""]},"com.vmware.content.library.item_client.DownloadSession":{"delete":[9,2,1,""],RESOURCE_TYPE:[9,3,1,""],cancel:[9,2,1,""],create:[9,2,1,""],fail:[9,2,1,""],get:[9,2,1,""],keep_alive:[9,2,1,""],list:[9,2,1,""]},"com.vmware.content.library.item_client.DownloadSessionModel":{State:[9,1,1,""]},"com.vmware.content.library.item_client.DownloadSessionModel.State":{ACTIVE:[9,3,1,""],CANCELED:[9,3,1,""],ERROR:[9,3,1,""]},"com.vmware.content.library.item_client.File":{ChecksumAlgorithm:[9,1,1,""],ChecksumInfo:[9,1,1,""],Info:[9,1,1,""],get:[9,2,1,""],list:[9,2,1,""]},"com.vmware.content.library.item_client.File.ChecksumAlgorithm":{MD5:[9,3,1,""],SHA1:[9,3,1,""],SHA256:[9,3,1,""],SHA512:[9,3,1,""]},"com.vmware.content.library.item_client.Storage":{Info:[9,1,1,""],get:[9,2,1,""],list:[9,2,1,""]},"com.vmware.content.library.item_client.TransferStatus":{ERROR:[9,3,1,""],READY:[9,3,1,""],TRANSFERRING:[9,3,1,""],VALIDATING:[9,3,1,""],WAITING_FOR_TRANSFER:[9,3,1,""]},"com.vmware.content.library.item_client.UpdateSession":{"delete":[9,2,1,""],RESOURCE_TYPE:[9,3,1,""],cancel:[9,2,1,""],complete:[9,2,1,""],create:[9,2,1,""],fail:[9,2,1,""],get:[9,2,1,""],keep_alive:[9,2,1,""],list:[9,2,1,""],update:[9,2,1,""]},"com.vmware.content.library.item_client.UpdateSessionModel":{State:[9,1,1,""]},"com.vmware.content.library.item_client.UpdateSessionModel.State":{ACTIVE:[9,3,1,""],CANCELED:[9,3,1,""],DONE:[9,3,1,""],ERROR:[9,3,1,""]},"com.vmware.content.library_client":{Item:[8,1,1,""],ItemModel:[8,1,1,""],OptimizationInfo:[8,1,1,""],PublishInfo:[8,1,1,""],SourceInfo:[8,1,1,""],StorageBacking:[8,1,1,""],StubFactory:[8,1,1,""],SubscribedItem:[8,1,1,""],SubscriptionInfo:[8,1,1,""],Subscriptions:[8,1,1,""]},"com.vmware.content.library_client.Item":{"delete":[8,2,1,""],DestinationSpec:[8,1,1,""],FindSpec:[8,1,1,""],RESOURCE_TYPE:[8,3,1,""],copy:[8,2,1,""],create:[8,2,1,""],find:[8,2,1,""],get:[8,2,1,""],list:[8,2,1,""],publish:[8,2,1,""],update:[8,2,1,""]},"com.vmware.content.library_client.PublishInfo":{AuthenticationMethod:[8,1,1,""]},"com.vmware.content.library_client.PublishInfo.AuthenticationMethod":{BASIC:[8,3,1,""],NONE:[8,3,1,""]},"com.vmware.content.library_client.StorageBacking":{Type:[8,1,1,""]},"com.vmware.content.library_client.StorageBacking.Type":{DATASTORE:[8,3,1,""],OTHER:[8,3,1,""]},"com.vmware.content.library_client.SubscribedItem":{evict:[8,2,1,""],sync:[8,2,1,""]},"com.vmware.content.library_client.SubscriptionInfo":{AuthenticationMethod:[8,1,1,""]},"com.vmware.content.library_client.SubscriptionInfo.AuthenticationMethod":{BASIC:[8,3,1,""],NONE:[8,3,1,""]},"com.vmware.content.library_client.Subscriptions":{"delete":[8,2,1,""],CreateSpec:[8,1,1,""],CreateSpecNewSubscribedLibrary:[8,1,1,""],CreateSpecPlacement:[8,1,1,""],CreateSpecSubscribedLibrary:[8,1,1,""],CreateSpecVcenter:[8,1,1,""],Info:[8,1,1,""],Location:[8,1,1,""],PlacementInfo:[8,1,1,""],RESOURCE_TYPE:[8,3,1,""],Summary:[8,1,1,""],UpdateSpec:[8,1,1,""],UpdateSpecPlacement:[8,1,1,""],UpdateSpecVcenter:[8,1,1,""],VcenterInfo:[8,1,1,""],create:[8,2,1,""],get:[8,2,1,""],list:[8,2,1,""],update:[8,2,1,""]},"com.vmware.content.library_client.Subscriptions.CreateSpecSubscribedLibrary":{Target:[8,1,1,""]},"com.vmware.content.library_client.Subscriptions.CreateSpecSubscribedLibrary.Target":{CREATE_NEW:[8,3,1,""],USE_EXISTING:[8,3,1,""]},"com.vmware.content.library_client.Subscriptions.Location":{LOCAL:[8,3,1,""],REMOTE:[8,3,1,""]},"com.vmware.content.type":{ovf:[12,0,0,"-"],ovf_client:[11,0,0,"-"]},"com.vmware.content.type.ovf":{policy_client:[12,0,0,"-"]},"com.vmware.content.type.ovf.policy_client":{StoragePolicy:[12,1,1,""],StoragePolicyGroup:[12,1,1,""],StubFactory:[12,1,1,""]},"com.vmware.content.type.ovf_client":{Cpu:[11,1,1,""],Disk:[11,1,1,""],DiskController:[11,1,1,""],Drive:[11,1,1,""],Floppy:[11,1,1,""],Memory:[11,1,1,""],Network:[11,1,1,""],Nic:[11,1,1,""],OvfTemplate:[11,1,1,""],StubFactory:[11,1,1,""],USBController:[11,1,1,""],VAppTemplate:[11,1,1,""],VideoCard:[11,1,1,""],VmTemplate:[11,1,1,""]},"com.vmware.content_client":{Configuration:[1,1,1,""],ConfigurationModel:[1,1,1,""],Library:[1,1,1,""],LibraryModel:[1,1,1,""],LocalLibrary:[1,1,1,""],StubFactory:[1,1,1,""],SubscribedLibrary:[1,1,1,""],Type:[1,1,1,""]},"com.vmware.content_client.Configuration":{get:[1,2,1,""],update:[1,2,1,""]},"com.vmware.content_client.Library":{FindSpec:[1,1,1,""],RESOURCE_TYPE:[1,3,1,""],find:[1,2,1,""],get:[1,2,1,""],list:[1,2,1,""],update:[1,2,1,""]},"com.vmware.content_client.LibraryModel":{LibraryType:[1,1,1,""]},"com.vmware.content_client.LibraryModel.LibraryType":{LOCAL:[1,3,1,""],SUBSCRIBED:[1,3,1,""]},"com.vmware.content_client.LocalLibrary":{"delete":[1,2,1,""],DestinationSpec:[1,1,1,""],create:[1,2,1,""],get:[1,2,1,""],list:[1,2,1,""],publish:[1,2,1,""],update:[1,2,1,""]},"com.vmware.content_client.SubscribedLibrary":{"delete":[1,2,1,""],ProbeResult:[1,1,1,""],create:[1,2,1,""],evict:[1,2,1,""],get:[1,2,1,""],list:[1,2,1,""],probe:[1,2,1,""],sync:[1,2,1,""],update:[1,2,1,""]},"com.vmware.content_client.SubscribedLibrary.ProbeResult":{Status:[1,1,1,""]},"com.vmware.content_client.SubscribedLibrary.ProbeResult.Status":{CERTIFICATE_ERROR:[1,3,1,""],HOST_NOT_FOUND:[1,3,1,""],INVALID_CREDENTIALS:[1,3,1,""],INVALID_URL:[1,3,1,""],RESOURCE_NOT_FOUND:[1,3,1,""],SUCCESS:[1,3,1,""],TIMED_OUT:[1,3,1,""],UNKNOWN_ERROR:[1,3,1,""]},"com.vmware.content_client.Type":{Info:[1,1,1,""],list:[1,2,1,""]},"com.vmware.esx":{hcl:[14,0,0,"-"],hcl_client:[13,0,0,"-"],hosts:[15,0,0,"-"],hosts_client:[13,0,0,"-"],settings:[17,0,0,"-"],settings_client:[13,0,0,"-"]},"com.vmware.esx.hcl":{hosts_client:[14,0,0,"-"]},"com.vmware.esx.hcl.hosts_client":{CompatibilityReleases:[14,1,1,""],CompatibilityReport:[14,1,1,""],StubFactory:[14,1,1,""]},"com.vmware.esx.hcl.hosts_client.CompatibilityReleases":{EsxiCompatibilityReleases:[14,1,1,""],list:[14,2,1,""]},"com.vmware.esx.hcl.hosts_client.CompatibilityReport":{BiosConstraint:[14,1,1,""],DeviceConstraint:[14,1,1,""],DeviceHclInfo:[14,1,1,""],HclReport:[14,1,1,""],Result:[14,1,1,""],ServerCompatibility:[14,1,1,""],ServerHclInfo:[14,1,1,""],Spec:[14,1,1,""],create_task:[14,2,1,""],get:[14,2,1,""]},"com.vmware.esx.hcl_client":{CompatibilityData:[13,1,1,""],CompatibilityStatus:[13,1,1,""],Driver:[13,1,1,""],Firmware:[13,1,1,""],Notification:[13,1,1,""],Notifications:[13,1,1,""],PCIDevice:[13,1,1,""],Reports:[13,1,1,""],Server:[13,1,1,""],StubFactory:[13,1,1,""]},"com.vmware.esx.hcl_client.CompatibilityData":{Status:[13,1,1,""],get:[13,2,1,""],update_task:[13,2,1,""]},"com.vmware.esx.hcl_client.CompatibilityStatus":{CERTIFIED:[13,3,1,""],COMPATIBLE:[13,3,1,""],INCOMPATIBLE:[13,3,1,""],NOT_CERTIFIED:[13,3,1,""],UNAVAILABLE:[13,3,1,""]},"com.vmware.esx.hcl_client.Reports":{Location:[13,1,1,""],Token:[13,1,1,""],get:[13,2,1,""]},"com.vmware.esx.hosts":{health:[16,0,0,"-"],software_client:[15,0,0,"-"]},"com.vmware.esx.hosts.health":{perspectives_client:[16,0,0,"-"]},"com.vmware.esx.hosts.health.perspectives_client":{StubFactory:[16,1,1,""]},"com.vmware.esx.hosts.software_client":{InstalledComponents:[15,1,1,""],StubFactory:[15,1,1,""]},"com.vmware.esx.hosts.software_client.InstalledComponents":{InstalledComponentInfo:[15,1,1,""],list:[15,2,1,""]},"com.vmware.esx.hosts_client":{AddOnInfo:[13,1,1,""],BaseImageInfo:[13,1,1,""],ComponentInfo:[13,1,1,""],SoftwareInfo:[13,1,1,""],SolutionInfo:[13,1,1,""],StubFactory:[13,1,1,""]},"com.vmware.esx.settings":{clusters:[18,0,0,"-"],clusters_client:[17,0,0,"-"],defaults:[23,0,0,"-"],defaults_client:[17,0,0,"-"],depot_content:[26,0,0,"-"],depot_content_client:[17,0,0,"-"],depots_client:[17,0,0,"-"],hosts_client:[17,0,0,"-"]},"com.vmware.esx.settings.clusters":{enablement_client:[18,0,0,"-"],policies:[19,0,0,"-"],policies_client:[18,0,0,"-"],software:[20,0,0,"-"],software_client:[18,0,0,"-"]},"com.vmware.esx.settings.clusters.enablement_client":{Software:[18,1,1,""],StubFactory:[18,1,1,""]},"com.vmware.esx.settings.clusters.enablement_client.Software":{CheckResult:[18,1,1,""],CheckSpec:[18,1,1,""],CheckType:[18,1,1,""],EnableSpec:[18,1,1,""],Info:[18,1,1,""],check_task:[18,2,1,""],enable_task:[18,2,1,""],get:[18,2,1,""]},"com.vmware.esx.settings.clusters.enablement_client.Software.CheckType":{SOFTWARE:[18,3,1,""],SOFTWARE_SPECIFICATION_EXISTENCE:[18,3,1,""],STATELESSNESS:[18,3,1,""],VERSION:[18,3,1,""],VUM_REMEDIATION:[18,3,1,""]},"com.vmware.esx.settings.clusters.policies":{apply_client:[19,0,0,"-"]},"com.vmware.esx.settings.clusters.policies.apply_client":{Effective:[19,1,1,""],StubFactory:[19,1,1,""]},"com.vmware.esx.settings.clusters.policies.apply_client.Effective":{EffectivePolicySpec:[19,1,1,""],FailureAction:[19,1,1,""],get:[19,2,1,""]},"com.vmware.esx.settings.clusters.policies.apply_client.Effective.EffectivePolicySpec":{PreRemediationPowerAction:[19,1,1,""]},"com.vmware.esx.settings.clusters.policies.apply_client.Effective.EffectivePolicySpec.PreRemediationPowerAction":{DO_NOT_CHANGE_VMS_POWER_STATE:[19,3,1,""],POWER_OFF_VMS:[19,3,1,""],SUSPEND_VMS:[19,3,1,""]},"com.vmware.esx.settings.clusters.policies.apply_client.Effective.FailureAction":{Action:[19,1,1,""]},"com.vmware.esx.settings.clusters.policies.apply_client.Effective.FailureAction.Action":{FAIL:[19,3,1,""],RETRY:[19,3,1,""]},"com.vmware.esx.settings.clusters.policies_client":{Apply:[18,1,1,""],StubFactory:[18,1,1,""]},"com.vmware.esx.settings.clusters.policies_client.Apply":{ConfiguredPolicySpec:[18,1,1,""],FailureAction:[18,1,1,""],get:[18,2,1,""],set:[18,2,1,""]},"com.vmware.esx.settings.clusters.policies_client.Apply.ConfiguredPolicySpec":{PreRemediationPowerAction:[18,1,1,""]},"com.vmware.esx.settings.clusters.policies_client.Apply.ConfiguredPolicySpec.PreRemediationPowerAction":{DO_NOT_CHANGE_VMS_POWER_STATE:[18,3,1,""],POWER_OFF_VMS:[18,3,1,""],SUSPEND_VMS:[18,3,1,""]},"com.vmware.esx.settings.clusters.policies_client.Apply.FailureAction":{Action:[18,1,1,""]},"com.vmware.esx.settings.clusters.policies_client.Apply.FailureAction.Action":{FAIL:[18,3,1,""],RETRY:[18,3,1,""]},"com.vmware.esx.settings.clusters.software":{drafts:[21,0,0,"-"],drafts_client:[20,0,0,"-"],reports:[22,0,0,"-"],reports_client:[20,0,0,"-"]},"com.vmware.esx.settings.clusters.software.drafts":{software_client:[21,0,0,"-"]},"com.vmware.esx.settings.clusters.software.drafts.software_client":{AddOn:[21,1,1,""],BaseImage:[21,1,1,""],Components:[21,1,1,""],EffectiveComponents:[21,1,1,""],StubFactory:[21,1,1,""]},"com.vmware.esx.settings.clusters.software.drafts.software_client.AddOn":{"delete":[21,2,1,""],RESOURCE_TYPE:[21,3,1,""],get:[21,2,1,""],set:[21,2,1,""]},"com.vmware.esx.settings.clusters.software.drafts.software_client.BaseImage":{RESOURCE_TYPE:[21,3,1,""],get:[21,2,1,""],set:[21,2,1,""]},"com.vmware.esx.settings.clusters.software.drafts.software_client.Components":{"delete":[21,2,1,""],RESOURCE_TYPE:[21,3,1,""],UpdateSpec:[21,1,1,""],get:[21,2,1,""],list:[21,2,1,""],set:[21,2,1,""],update:[21,2,1,""]},"com.vmware.esx.settings.clusters.software.drafts.software_client.EffectiveComponents":{list:[21,2,1,""]},"com.vmware.esx.settings.clusters.software.drafts_client":{StubFactory:[20,1,1,""]},"com.vmware.esx.settings.clusters.software.reports":{hardware_compatibility_client:[22,0,0,"-"]},"com.vmware.esx.settings.clusters.software.reports.hardware_compatibility_client":{Details:[22,1,1,""],StubFactory:[22,1,1,""]},"com.vmware.esx.settings.clusters.software.reports.hardware_compatibility_client.Details":{get:[22,2,1,""]},"com.vmware.esx.settings.clusters.software.reports_client":{ApplyImpact:[20,1,1,""],CheckResult:[20,1,1,""],ComplianceStatus:[20,1,1,""],DriverFirmwareVersion:[20,1,1,""],HardwareCompatibility:[20,1,1,""],LastApplyResult:[20,1,1,""],LastCheckResult:[20,1,1,""],PciDevice:[20,1,1,""],PciDeviceCompliance:[20,1,1,""],PciDeviceComplianceInfo:[20,1,1,""],StubFactory:[20,1,1,""]},"com.vmware.esx.settings.clusters.software.reports_client.ApplyImpact":{ApplyImpactSpec:[20,1,1,""],ClusterImpact:[20,1,1,""],Impact:[20,1,1,""],get:[20,2,1,""]},"com.vmware.esx.settings.clusters.software.reports_client.ComplianceStatus":{COMPATIBLE:[20,3,1,""],HCL_DATA_UNAVAILABLE:[20,3,1,""],INCOMPATIBLE:[20,3,1,""],NO_FIRMWARE_PROVIDER:[20,3,1,""],UNAVAILABLE:[20,3,1,""]},"com.vmware.esx.settings.clusters.software.reports_client.HardwareCompatibility":{CheckSummary:[20,1,1,""],ComplianceStatus:[20,1,1,""],check_task:[20,2,1,""],get:[20,2,1,""]},"com.vmware.esx.settings.clusters.software.reports_client.HardwareCompatibility.ComplianceStatus":{COMPATIBLE:[20,3,1,""],HCL_DATA_UNAVAILABLE:[20,3,1,""],INCOMPATIBLE:[20,3,1,""],NO_FIRMWARE_PROVIDER:[20,3,1,""],UNAVAILABLE:[20,3,1,""]},"com.vmware.esx.settings.clusters.software.reports_client.LastApplyResult":{ApplyResult:[20,1,1,""],ApplyStatus:[20,1,1,""],get:[20,2,1,""]},"com.vmware.esx.settings.clusters.software.reports_client.LastApplyResult.ApplyStatus":{Status:[20,1,1,""]},"com.vmware.esx.settings.clusters.software.reports_client.LastApplyResult.ApplyStatus.Status":{ERROR:[20,3,1,""],OK:[20,3,1,""],SKIPPED:[20,3,1,""],TIMED_OUT:[20,3,1,""]},"com.vmware.esx.settings.clusters.software.reports_client.LastCheckResult":{CheckInfo:[20,1,1,""],CheckResult:[20,1,1,""],CheckStatus:[20,1,1,""],EntityCheckResult:[20,1,1,""],Status:[20,1,1,""],get:[20,2,1,""]},"com.vmware.esx.settings.clusters.software.reports_client.LastCheckResult.EntityCheckResult":{EntityType:[20,1,1,""]},"com.vmware.esx.settings.clusters.software.reports_client.LastCheckResult.EntityCheckResult.EntityType":{CLUSTER:[20,3,1,""],HOST:[20,3,1,""]},"com.vmware.esx.settings.clusters.software.reports_client.LastCheckResult.Status":{ERROR:[20,3,1,""],OK:[20,3,1,""],TIMEOUT:[20,3,1,""],WARNING:[20,3,1,""]},"com.vmware.esx.settings.clusters.software_client":{AddOn:[18,1,1,""],BaseImage:[18,1,1,""],Commits:[18,1,1,""],Compliance:[18,1,1,""],Components:[18,1,1,""],Drafts:[18,1,1,""],EffectiveComponents:[18,1,1,""],Recommendations:[18,1,1,""],Solutions:[18,1,1,""],StubFactory:[18,1,1,""]},"com.vmware.esx.settings.clusters.software_client.AddOn":{RESOURCE_TYPE:[18,3,1,""],get:[18,2,1,""]},"com.vmware.esx.settings.clusters.software_client.BaseImage":{RESOURCE_TYPE:[18,3,1,""],get:[18,2,1,""]},"com.vmware.esx.settings.clusters.software_client.Commits":{Info:[18,1,1,""],RESOURCE_TYPE:[18,3,1,""],get:[18,2,1,""]},"com.vmware.esx.settings.clusters.software_client.Commits.Info":{ApplyStatusType:[18,1,1,""]},"com.vmware.esx.settings.clusters.software_client.Commits.Info.ApplyStatusType":{APPLIED:[18,3,1,""],NOT_APPLIED:[18,3,1,""]},"com.vmware.esx.settings.clusters.software_client.Compliance":{RESOURCE_TYPE:[18,3,1,""],get:[18,2,1,""]},"com.vmware.esx.settings.clusters.software_client.Components":{RESOURCE_TYPE:[18,3,1,""],get:[18,2,1,""],list:[18,2,1,""]},"com.vmware.esx.settings.clusters.software_client.Drafts":{"delete":[18,2,1,""],CommitSpec:[18,1,1,""],FilterSpec:[18,1,1,""],ImportSpec:[18,1,1,""],Info:[18,1,1,""],Metadata:[18,1,1,""],RESOURCE_TYPE:[18,3,1,""],SourceType:[18,1,1,""],StatusType:[18,1,1,""],Summary:[18,1,1,""],ValidateResult:[18,1,1,""],commit_task:[18,2,1,""],create:[18,2,1,""],get:[18,2,1,""],import_software_spec:[18,2,1,""],list:[18,2,1,""],scan_task:[18,2,1,""],validate_task:[18,2,1,""]},"com.vmware.esx.settings.clusters.software_client.Drafts.SourceType":{CURRENT_SERIES_RECOMMENDATION:[18,3,1,""],JSON_STRING:[18,3,1,""],LATEST_RECOMMENDATION:[18,3,1,""],PULL:[18,3,1,""],PUSH:[18,3,1,""]},"com.vmware.esx.settings.clusters.software_client.Drafts.StatusType":{INVALID:[18,3,1,""],VALID:[18,3,1,""]},"com.vmware.esx.settings.clusters.software_client.EffectiveComponents":{list:[18,2,1,""]},"com.vmware.esx.settings.clusters.software_client.Recommendations":{ExplanationDetails:[18,1,1,""],Info:[18,1,1,""],generate_task:[18,2,1,""],get:[18,2,1,""]},"com.vmware.esx.settings.clusters.software_client.Solutions":{RESOURCE_TYPE:[18,3,1,""],delete_task:[18,2,1,""],get:[18,2,1,""],list:[18,2,1,""],set_task:[18,2,1,""]},"com.vmware.esx.settings.clusters_client":{DepotOverrides:[17,1,1,""],Software:[17,1,1,""],StubFactory:[17,1,1,""]},"com.vmware.esx.settings.clusters_client.DepotOverrides":{Depot:[17,1,1,""],Info:[17,1,1,""],add:[17,2,1,""],get:[17,2,1,""],remove:[17,2,1,""]},"com.vmware.esx.settings.clusters_client.Software":{"export":[17,2,1,""],ApplyResult:[17,1,1,""],ApplySpec:[17,1,1,""],ApplyStatus:[17,1,1,""],CheckInfo:[17,1,1,""],CheckResult:[17,1,1,""],CheckSpec:[17,1,1,""],CheckStatus:[17,1,1,""],EntityCheckResult:[17,1,1,""],ExportSpec:[17,1,1,""],ExportType:[17,1,1,""],Status:[17,1,1,""],apply_task:[17,2,1,""],check_task:[17,2,1,""],get:[17,2,1,""],scan_task:[17,2,1,""]},"com.vmware.esx.settings.clusters_client.Software.ApplyStatus":{Status:[17,1,1,""]},"com.vmware.esx.settings.clusters_client.Software.ApplyStatus.Status":{ERROR:[17,3,1,""],OK:[17,3,1,""],SKIPPED:[17,3,1,""],TIMED_OUT:[17,3,1,""]},"com.vmware.esx.settings.clusters_client.Software.EntityCheckResult":{EntityType:[17,1,1,""]},"com.vmware.esx.settings.clusters_client.Software.EntityCheckResult.EntityType":{CLUSTER:[17,3,1,""],HOST:[17,3,1,""]},"com.vmware.esx.settings.clusters_client.Software.ExportType":{ISO_IMAGE:[17,3,1,""],OFFLINE_BUNDLE:[17,3,1,""],SOFTWARE_SPEC:[17,3,1,""]},"com.vmware.esx.settings.clusters_client.Software.Status":{ERROR:[17,3,1,""],OK:[17,3,1,""],TIMEOUT:[17,3,1,""],WARNING:[17,3,1,""]},"com.vmware.esx.settings.defaults":{clusters:[24,0,0,"-"],clusters_client:[23,0,0,"-"]},"com.vmware.esx.settings.defaults.clusters":{policies:[25,0,0,"-"],policies_client:[24,0,0,"-"]},"com.vmware.esx.settings.defaults.clusters.policies":{apply_client:[25,0,0,"-"]},"com.vmware.esx.settings.defaults.clusters.policies.apply_client":{Effective:[25,1,1,""],StubFactory:[25,1,1,""]},"com.vmware.esx.settings.defaults.clusters.policies.apply_client.Effective":{EffectivePolicySpec:[25,1,1,""],FailureAction:[25,1,1,""],get:[25,2,1,""]},"com.vmware.esx.settings.defaults.clusters.policies.apply_client.Effective.EffectivePolicySpec":{PreRemediationPowerAction:[25,1,1,""]},"com.vmware.esx.settings.defaults.clusters.policies.apply_client.Effective.EffectivePolicySpec.PreRemediationPowerAction":{DO_NOT_CHANGE_VMS_POWER_STATE:[25,3,1,""],POWER_OFF_VMS:[25,3,1,""],SUSPEND_VMS:[25,3,1,""]},"com.vmware.esx.settings.defaults.clusters.policies.apply_client.Effective.FailureAction":{Action:[25,1,1,""]},"com.vmware.esx.settings.defaults.clusters.policies.apply_client.Effective.FailureAction.Action":{FAIL:[25,3,1,""],RETRY:[25,3,1,""]},"com.vmware.esx.settings.defaults.clusters.policies_client":{Apply:[24,1,1,""],StubFactory:[24,1,1,""]},"com.vmware.esx.settings.defaults.clusters.policies_client.Apply":{ConfiguredPolicySpec:[24,1,1,""],FailureAction:[24,1,1,""],get:[24,2,1,""],set:[24,2,1,""]},"com.vmware.esx.settings.defaults.clusters.policies_client.Apply.ConfiguredPolicySpec":{PreRemediationPowerAction:[24,1,1,""]},"com.vmware.esx.settings.defaults.clusters.policies_client.Apply.ConfiguredPolicySpec.PreRemediationPowerAction":{DO_NOT_CHANGE_VMS_POWER_STATE:[24,3,1,""],POWER_OFF_VMS:[24,3,1,""],SUSPEND_VMS:[24,3,1,""]},"com.vmware.esx.settings.defaults.clusters.policies_client.Apply.FailureAction":{Action:[24,1,1,""]},"com.vmware.esx.settings.defaults.clusters.policies_client.Apply.FailureAction.Action":{FAIL:[24,3,1,""],RETRY:[24,3,1,""]},"com.vmware.esx.settings.defaults.clusters_client":{StubFactory:[23,1,1,""]},"com.vmware.esx.settings.defaults_client":{StubFactory:[17,1,1,""]},"com.vmware.esx.settings.depot_content":{add_ons_client:[26,0,0,"-"],base_images_client:[26,0,0,"-"],components_client:[26,0,0,"-"]},"com.vmware.esx.settings.depot_content.add_ons_client":{StubFactory:[26,1,1,""],Versions:[26,1,1,""]},"com.vmware.esx.settings.depot_content.add_ons_client.Versions":{CategoryType:[26,1,1,""],ComponentInfo:[26,1,1,""],Info:[26,1,1,""],RemovedComponentInfo:[26,1,1,""],get:[26,2,1,""]},"com.vmware.esx.settings.depot_content.add_ons_client.Versions.CategoryType":{BUGFIX:[26,3,1,""],ENHANCEMENT:[26,3,1,""],SECURITY:[26,3,1,""]},"com.vmware.esx.settings.depot_content.base_images_client":{StubFactory:[26,1,1,""],Versions:[26,1,1,""]},"com.vmware.esx.settings.depot_content.base_images_client.Versions":{CategoryType:[26,1,1,""],ComponentVersionInfo:[26,1,1,""],Info:[26,1,1,""],get:[26,2,1,""]},"com.vmware.esx.settings.depot_content.base_images_client.Versions.CategoryType":{BUGFIX:[26,3,1,""],ENHANCEMENT:[26,3,1,""],SECURITY:[26,3,1,""]},"com.vmware.esx.settings.depot_content.components_client":{StubFactory:[26,1,1,""],Versions:[26,1,1,""]},"com.vmware.esx.settings.depot_content.components_client.Versions":{CategoryType:[26,1,1,""],Info:[26,1,1,""],UrgencyType:[26,1,1,""],get:[26,2,1,""]},"com.vmware.esx.settings.depot_content.components_client.Versions.CategoryType":{BUGFIX:[26,3,1,""],ENHANCEMENT:[26,3,1,""],GENERAL:[26,3,1,""],INFO:[26,3,1,""],MISC:[26,3,1,""],RECALL:[26,3,1,""],RECALL_FIX:[26,3,1,""],SECURITY:[26,3,1,""]},"com.vmware.esx.settings.depot_content.components_client.Versions.UrgencyType":{CRITICAL:[26,3,1,""],GENERAL:[26,3,1,""],IMPORTANT:[26,3,1,""],LOW:[26,3,1,""],MODERATE:[26,3,1,""]},"com.vmware.esx.settings.depot_content_client":{AddOns:[17,1,1,""],BaseImages:[17,1,1,""],Components:[17,1,1,""],StubFactory:[17,1,1,""]},"com.vmware.esx.settings.depot_content_client.AddOns":{AddOnVersionSummary:[17,1,1,""],CategoryType:[17,1,1,""],FilterSpec:[17,1,1,""],RESOURCE_TYPE:[17,3,1,""],Summary:[17,1,1,""],list:[17,2,1,""]},"com.vmware.esx.settings.depot_content_client.AddOns.CategoryType":{BUGFIX:[17,3,1,""],ENHANCEMENT:[17,3,1,""],SECURITY:[17,3,1,""]},"com.vmware.esx.settings.depot_content_client.BaseImages":{CategoryType:[17,1,1,""],FilterSpec:[17,1,1,""],RESOURCE_TYPE:[17,3,1,""],Summary:[17,1,1,""],list:[17,2,1,""]},"com.vmware.esx.settings.depot_content_client.BaseImages.CategoryType":{BUGFIX:[17,3,1,""],ENHANCEMENT:[17,3,1,""],SECURITY:[17,3,1,""]},"com.vmware.esx.settings.depot_content_client.Components":{CategoryType:[17,1,1,""],ComponentBundleType:[17,1,1,""],ComponentVersionSummary:[17,1,1,""],FilterSpec:[17,1,1,""],RESOURCE_TYPE:[17,3,1,""],Summary:[17,1,1,""],UrgencyType:[17,1,1,""],list:[17,2,1,""]},"com.vmware.esx.settings.depot_content_client.Components.CategoryType":{BUGFIX:[17,3,1,""],ENHANCEMENT:[17,3,1,""],GENERAL:[17,3,1,""],INFO:[17,3,1,""],MISC:[17,3,1,""],RECALL:[17,3,1,""],RECALL_FIX:[17,3,1,""],SECURITY:[17,3,1,""]},"com.vmware.esx.settings.depot_content_client.Components.ComponentBundleType":{ADD_ON:[17,3,1,""],BASE_IMAGE:[17,3,1,""],INDEPENDENT:[17,3,1,""]},"com.vmware.esx.settings.depot_content_client.Components.UrgencyType":{CRITICAL:[17,3,1,""],GENERAL:[17,3,1,""],IMPORTANT:[17,3,1,""],LOW:[17,3,1,""],MODERATE:[17,3,1,""]},"com.vmware.esx.settings.depots_client":{Offline:[17,1,1,""],Online:[17,1,1,""],StubFactory:[17,1,1,""],SyncSchedule:[17,1,1,""],Umds:[17,1,1,""]},"com.vmware.esx.settings.depots_client.Offline":{"delete":[17,2,1,""],CreateResult:[17,1,1,""],CreateSpec:[17,1,1,""],Info:[17,1,1,""],RESOURCE_TYPE:[17,3,1,""],SourceType:[17,1,1,""],Summary:[17,1,1,""],create_task:[17,2,1,""],get:[17,2,1,""],list:[17,2,1,""]},"com.vmware.esx.settings.depots_client.Offline.SourceType":{PULL:[17,3,1,""],PUSH:[17,3,1,""]},"com.vmware.esx.settings.depots_client.Online":{"delete":[17,2,1,""],CreateSpec:[17,1,1,""],Info:[17,1,1,""],RESOURCE_TYPE:[17,3,1,""],Summary:[17,1,1,""],UpdateSpec:[17,1,1,""],create:[17,2,1,""],get:[17,2,1,""],list:[17,2,1,""],update:[17,2,1,""]},"com.vmware.esx.settings.depots_client.SyncSchedule":{DayOfWeek:[17,1,1,""],Recurrence:[17,1,1,""],Schedule:[17,1,1,""],Spec:[17,1,1,""],get:[17,2,1,""],set:[17,2,1,""]},"com.vmware.esx.settings.depots_client.SyncSchedule.DayOfWeek":{FRIDAY:[17,3,1,""],MONDAY:[17,3,1,""],SATURDAY:[17,3,1,""],SUNDAY:[17,3,1,""],THURSDAY:[17,3,1,""],TUESDAY:[17,3,1,""],WEDNESDAY:[17,3,1,""]},"com.vmware.esx.settings.depots_client.SyncSchedule.Recurrence":{DAILY:[17,3,1,""],HOURLY:[17,3,1,""],MONTHLY_BY_DAY:[17,3,1,""],WEEKLY:[17,3,1,""]},"com.vmware.esx.settings.depots_client.Umds":{"delete":[17,2,1,""],Info:[17,1,1,""],SetSpec:[17,1,1,""],UpdateSpec:[17,1,1,""],get:[17,2,1,""],set:[17,2,1,""],update:[17,2,1,""]},"com.vmware.esx.settings.hosts_client":{Software:[17,1,1,""],StubFactory:[17,1,1,""]},"com.vmware.esx.settings.hosts_client.Software":{scan_task:[17,2,1,""]},"com.vmware.esx.settings_client":{AddOnCompliance:[13,1,1,""],AddOnDetails:[13,1,1,""],AddOnInfo:[13,1,1,""],AddOnSpec:[13,1,1,""],BaseImageCompliance:[13,1,1,""],BaseImageDetails:[13,1,1,""],BaseImageInfo:[13,1,1,""],BaseImageSpec:[13,1,1,""],ClusterCompliance:[13,1,1,""],ComplianceImpact:[13,1,1,""],ComplianceStatus:[13,1,1,""],ComponentCompliance:[13,1,1,""],ComponentDetails:[13,1,1,""],ComponentInfo:[13,1,1,""],ComponentOverrideInfo:[13,1,1,""],ComponentSource:[13,1,1,""],Depots:[13,1,1,""],EffectiveComponentDetails:[13,1,1,""],EffectiveComponentInfo:[13,1,1,""],HardwareModuleClass:[13,1,1,""],HardwareModuleDetails:[13,1,1,""],HardwareModuleFirmwareCompliance:[13,1,1,""],HardwareModuleFirmwareInfo:[13,1,1,""],HardwareSupportInfo:[13,1,1,""],HardwareSupportPackageCompliance:[13,1,1,""],HardwareSupportPackageInfo:[13,1,1,""],HardwareSupportPackageSpec:[13,1,1,""],HardwareSupportSpec:[13,1,1,""],HostCompliance:[13,1,1,""],HostInfo:[13,1,1,""],Notification:[13,1,1,""],Notifications:[13,1,1,""],SoftwareInfo:[13,1,1,""],SoftwareSpec:[13,1,1,""],SolutionCompliance:[13,1,1,""],SolutionComponentDetails:[13,1,1,""],SolutionComponentSpec:[13,1,1,""],SolutionDetails:[13,1,1,""],SolutionInfo:[13,1,1,""],SolutionSpec:[13,1,1,""],StubFactory:[13,1,1,""],TaskInfo:[13,1,1,""]},"com.vmware.esx.settings_client.ComplianceImpact":{MAINTENANCE_MODE_REQUIRED:[13,3,1,""],NO_IMPACT:[13,3,1,""],REBOOT_REQUIRED:[13,3,1,""],UNKNOWN:[13,3,1,""]},"com.vmware.esx.settings_client.ComplianceStatus":{COMPLIANT:[13,3,1,""],INCOMPATIBLE:[13,3,1,""],NON_COMPLIANT:[13,3,1,""],UNAVAILABLE:[13,3,1,""]},"com.vmware.esx.settings_client.ComponentSource":{ADD_ON:[13,3,1,""],BASE_IMAGE:[13,3,1,""],HARDWARE_SUPPORT_PACKAGE:[13,3,1,""],SOLUTION:[13,3,1,""],USER:[13,3,1,""]},"com.vmware.esx.settings_client.Depots":{sync_task:[13,2,1,""]},"com.vmware.esx.settings_client.HardwareModuleClass":{OTHER:[13,3,1,""],PCI_DEVICE:[13,3,1,""],SYSTEM_BIOS:[13,3,1,""]},"com.vmware.vapi":{metadata:[28,0,0,"-"],metadata_client:[27,0,0,"-"],std:[32,0,0,"-"],std_client:[27,0,0,"-"]},"com.vmware.vapi.metadata":{authentication:[29,0,0,"-"],authentication_client:[28,0,0,"-"],cli_client:[28,0,0,"-"],metamodel:[30,0,0,"-"],metamodel_client:[28,0,0,"-"],privilege:[31,0,0,"-"],privilege_client:[28,0,0,"-"]},"com.vmware.vapi.metadata.authentication":{service_client:[29,0,0,"-"]},"com.vmware.vapi.metadata.authentication.service_client":{Operation:[29,1,1,""],StubFactory:[29,1,1,""]},"com.vmware.vapi.metadata.authentication.service_client.Operation":{RESOURCE_TYPE:[29,3,1,""],get:[29,2,1,""],list:[29,2,1,""]},"com.vmware.vapi.metadata.authentication_client":{AuthenticationInfo:[28,1,1,""],Component:[28,1,1,""],ComponentData:[28,1,1,""],ComponentInfo:[28,1,1,""],OperationInfo:[28,1,1,""],Package:[28,1,1,""],PackageInfo:[28,1,1,""],Service:[28,1,1,""],ServiceInfo:[28,1,1,""],StubFactory:[28,1,1,""]},"com.vmware.vapi.metadata.authentication_client.AuthenticationInfo":{SchemeType:[28,1,1,""]},"com.vmware.vapi.metadata.authentication_client.AuthenticationInfo.SchemeType":{SESSIONLESS:[28,3,1,""],SESSION_AWARE:[28,3,1,""]},"com.vmware.vapi.metadata.authentication_client.Component":{RESOURCE_TYPE:[28,3,1,""],fingerprint:[28,2,1,""],get:[28,2,1,""],list:[28,2,1,""]},"com.vmware.vapi.metadata.authentication_client.Package":{RESOURCE_TYPE:[28,3,1,""],get:[28,2,1,""],list:[28,2,1,""]},"com.vmware.vapi.metadata.authentication_client.Service":{RESOURCE_TYPE:[28,3,1,""],get:[28,2,1,""],list:[28,2,1,""]},"com.vmware.vapi.metadata.cli_client":{Command:[28,1,1,""],Namespace:[28,1,1,""],StubFactory:[28,1,1,""]},"com.vmware.vapi.metadata.cli_client.Command":{FormatterType:[28,1,1,""],GenericType:[28,1,1,""],Identity:[28,1,1,""],Info:[28,1,1,""],OptionInfo:[28,1,1,""],OutputFieldInfo:[28,1,1,""],OutputInfo:[28,1,1,""],fingerprint:[28,2,1,""],get:[28,2,1,""],list:[28,2,1,""]},"com.vmware.vapi.metadata.cli_client.Command.FormatterType":{CSV:[28,3,1,""],HTML:[28,3,1,""],JSON:[28,3,1,""],SIMPLE:[28,3,1,""],TABLE:[28,3,1,""],XML:[28,3,1,""]},"com.vmware.vapi.metadata.cli_client.Command.GenericType":{LIST:[28,3,1,""],LIST_OPTIONAL:[28,3,1,""],NONE:[28,3,1,""],OPTIONAL:[28,3,1,""],OPTIONAL_LIST:[28,3,1,""]},"com.vmware.vapi.metadata.cli_client.Namespace":{Identity:[28,1,1,""],Info:[28,1,1,""],fingerprint:[28,2,1,""],get:[28,2,1,""],list:[28,2,1,""]},"com.vmware.vapi.metadata.metamodel":{resource_client:[30,0,0,"-"],service_client:[30,0,0,"-"]},"com.vmware.vapi.metadata.metamodel.resource_client":{Model:[30,1,1,""],StubFactory:[30,1,1,""]},"com.vmware.vapi.metadata.metamodel.resource_client.Model":{list:[30,2,1,""]},"com.vmware.vapi.metadata.metamodel.service_client":{Operation:[30,1,1,""],StubFactory:[30,1,1,""]},"com.vmware.vapi.metadata.metamodel.service_client.Operation":{RESOURCE_TYPE:[30,3,1,""],get:[30,2,1,""],list:[30,2,1,""]},"com.vmware.vapi.metadata.metamodel_client":{Component:[28,1,1,""],ComponentData:[28,1,1,""],ComponentInfo:[28,1,1,""],ConstantInfo:[28,1,1,""],ConstantValue:[28,1,1,""],ElementMap:[28,1,1,""],ElementValue:[28,1,1,""],Enumeration:[28,1,1,""],EnumerationInfo:[28,1,1,""],EnumerationValueInfo:[28,1,1,""],ErrorInfo:[28,1,1,""],FieldInfo:[28,1,1,""],GenericInstantiation:[28,1,1,""],MetadataIdentifier:[28,1,1,""],OperationInfo:[28,1,1,""],OperationResultInfo:[28,1,1,""],Package:[28,1,1,""],PackageInfo:[28,1,1,""],PrimitiveValue:[28,1,1,""],Resource:[28,1,1,""],Service:[28,1,1,""],ServiceInfo:[28,1,1,""],Structure:[28,1,1,""],StructureInfo:[28,1,1,""],StubFactory:[28,1,1,""],Type:[28,1,1,""],UserDefinedType:[28,1,1,""]},"com.vmware.vapi.metadata.metamodel_client.Component":{RESOURCE_TYPE:[28,3,1,""],fingerprint:[28,2,1,""],get:[28,2,1,""],list:[28,2,1,""]},"com.vmware.vapi.metadata.metamodel_client.ConstantValue":{Category:[28,1,1,""]},"com.vmware.vapi.metadata.metamodel_client.ConstantValue.Category":{LIST:[28,3,1,""],PRIMITIVE:[28,3,1,""]},"com.vmware.vapi.metadata.metamodel_client.ElementValue":{Type:[28,1,1,""]},"com.vmware.vapi.metadata.metamodel_client.ElementValue.Type":{LONG:[28,3,1,""],STRING:[28,3,1,""],STRING_LIST:[28,3,1,""],STRUCTURE_REFERENCE:[28,3,1,""],STRUCTURE_REFERENCE_LIST:[28,3,1,""]},"com.vmware.vapi.metadata.metamodel_client.Enumeration":{RESOURCE_TYPE:[28,3,1,""],get:[28,2,1,""],list:[28,2,1,""]},"com.vmware.vapi.metadata.metamodel_client.GenericInstantiation":{GenericType:[28,1,1,""]},"com.vmware.vapi.metadata.metamodel_client.GenericInstantiation.GenericType":{LIST:[28,3,1,""],MAP:[28,3,1,""],OPTIONAL:[28,3,1,""],SET:[28,3,1,""]},"com.vmware.vapi.metadata.metamodel_client.MetadataIdentifier":{CANONICAL_NAME:[28,3,1,""],COMPONENT:[28,3,1,""],CREATE:[28,3,1,""],CRUD:[28,3,1,""],HAS_FIELDS_OF:[28,3,1,""],INCLUDABLE:[28,3,1,""],INCLUDE:[28,3,1,""],IS_ONE_OF:[28,3,1,""],MODEL:[28,3,1,""],READ:[28,3,1,""],RESOURCE:[28,3,1,""],UNION_CASE:[28,3,1,""],UNION_TAG:[28,3,1,""],UPDATE:[28,3,1,""]},"com.vmware.vapi.metadata.metamodel_client.Package":{RESOURCE_TYPE:[28,3,1,""],get:[28,2,1,""],list:[28,2,1,""]},"com.vmware.vapi.metadata.metamodel_client.PrimitiveValue":{Type:[28,1,1,""]},"com.vmware.vapi.metadata.metamodel_client.PrimitiveValue.Type":{BOOLEAN:[28,3,1,""],DOUBLE:[28,3,1,""],LONG:[28,3,1,""],STRING:[28,3,1,""]},"com.vmware.vapi.metadata.metamodel_client.Resource":{RESOURCE_TYPE:[28,3,1,""],list:[28,2,1,""]},"com.vmware.vapi.metadata.metamodel_client.Service":{RESOURCE_TYPE:[28,3,1,""],get:[28,2,1,""],list:[28,2,1,""]},"com.vmware.vapi.metadata.metamodel_client.Structure":{RESOURCE_TYPE:[28,3,1,""],get:[28,2,1,""],list:[28,2,1,""]},"com.vmware.vapi.metadata.metamodel_client.StructureInfo":{Type:[28,1,1,""]},"com.vmware.vapi.metadata.metamodel_client.StructureInfo.Type":{ERROR:[28,3,1,""],STRUCTURE:[28,3,1,""]},"com.vmware.vapi.metadata.metamodel_client.Type":{BuiltinType:[28,1,1,""],Category:[28,1,1,""]},"com.vmware.vapi.metadata.metamodel_client.Type.BuiltinType":{ANY_ERROR:[28,3,1,""],BINARY:[28,3,1,""],BOOLEAN:[28,3,1,""],DATE_TIME:[28,3,1,""],DOUBLE:[28,3,1,""],DYNAMIC_STRUCTURE:[28,3,1,""],ID:[28,3,1,""],LONG:[28,3,1,""],OPAQUE:[28,3,1,""],SECRET:[28,3,1,""],STRING:[28,3,1,""],URI:[28,3,1,""],VOID:[28,3,1,""]},"com.vmware.vapi.metadata.metamodel_client.Type.Category":{BUILTIN:[28,3,1,""],GENERIC:[28,3,1,""],USER_DEFINED:[28,3,1,""]},"com.vmware.vapi.metadata.privilege":{service_client:[31,0,0,"-"]},"com.vmware.vapi.metadata.privilege.service_client":{Operation:[31,1,1,""],StubFactory:[31,1,1,""]},"com.vmware.vapi.metadata.privilege.service_client.Operation":{RESOURCE_TYPE:[31,3,1,""],get:[31,2,1,""],list:[31,2,1,""]},"com.vmware.vapi.metadata.privilege_client":{Component:[28,1,1,""],ComponentData:[28,1,1,""],ComponentInfo:[28,1,1,""],OperationInfo:[28,1,1,""],Package:[28,1,1,""],PackageInfo:[28,1,1,""],PrivilegeInfo:[28,1,1,""],Service:[28,1,1,""],ServiceInfo:[28,1,1,""],StubFactory:[28,1,1,""]},"com.vmware.vapi.metadata.privilege_client.Component":{RESOURCE_TYPE:[28,3,1,""],fingerprint:[28,2,1,""],get:[28,2,1,""],list:[28,2,1,""]},"com.vmware.vapi.metadata.privilege_client.Package":{RESOURCE_TYPE:[28,3,1,""],get:[28,2,1,""],list:[28,2,1,""]},"com.vmware.vapi.metadata.privilege_client.Service":{RESOURCE_TYPE:[28,3,1,""],get:[28,2,1,""],list:[28,2,1,""]},"com.vmware.vapi.metadata_client":{SourceCreateSpec:[27,1,1,""],SourceInfo:[27,1,1,""],SourceType:[27,1,1,""],StubFactory:[27,1,1,""]},"com.vmware.vapi.metadata_client.SourceType":{FILE:[27,3,1,""],REMOTE:[27,3,1,""]},"com.vmware.vapi.std":{errors_client:[32,0,0,"-"],interposition_client:[32,0,0,"-"]},"com.vmware.vapi.std.errors_client":{AlreadyExists:[32,4,1,""],AlreadyInDesiredState:[32,4,1,""],ArgumentLocations:[32,1,1,""],Canceled:[32,4,1,""],ConcurrentChange:[32,4,1,""],Error:[32,4,1,""],FeatureInUse:[32,4,1,""],FileLocations:[32,1,1,""],InternalServerError:[32,4,1,""],InvalidArgument:[32,4,1,""],InvalidElementConfiguration:[32,4,1,""],InvalidElementType:[32,4,1,""],InvalidRequest:[32,4,1,""],NotAllowedInCurrentState:[32,4,1,""],NotFound:[32,4,1,""],OperationNotFound:[32,4,1,""],ResourceBusy:[32,4,1,""],ResourceInUse:[32,4,1,""],ResourceInaccessible:[32,4,1,""],ServiceUnavailable:[32,4,1,""],StubFactory:[32,1,1,""],TimedOut:[32,4,1,""],TransientIndication:[32,1,1,""],UnableToAllocateResource:[32,4,1,""],Unauthenticated:[32,4,1,""],Unauthorized:[32,4,1,""],UnexpectedInput:[32,4,1,""],Unsupported:[32,4,1,""],UnverifiedPeer:[32,4,1,""]},"com.vmware.vapi.std.errors_client.Error":{Type:[32,1,1,""]},"com.vmware.vapi.std.errors_client.Error.Type":{ALREADY_EXISTS:[32,3,1,""],ALREADY_IN_DESIRED_STATE:[32,3,1,""],CANCELED:[32,3,1,""],CONCURRENT_CHANGE:[32,3,1,""],ERROR:[32,3,1,""],FEATURE_IN_USE:[32,3,1,""],INTERNAL_SERVER_ERROR:[32,3,1,""],INVALID_ARGUMENT:[32,3,1,""],INVALID_ELEMENT_CONFIGURATION:[32,3,1,""],INVALID_ELEMENT_TYPE:[32,3,1,""],INVALID_REQUEST:[32,3,1,""],NOT_ALLOWED_IN_CURRENT_STATE:[32,3,1,""],NOT_FOUND:[32,3,1,""],OPERATION_NOT_FOUND:[32,3,1,""],RESOURCE_BUSY:[32,3,1,""],RESOURCE_INACCESSIBLE:[32,3,1,""],RESOURCE_IN_USE:[32,3,1,""],SERVICE_UNAVAILABLE:[32,3,1,""],TIMED_OUT:[32,3,1,""],UNABLE_TO_ALLOCATE_RESOURCE:[32,3,1,""],UNAUTHENTICATED:[32,3,1,""],UNAUTHORIZED:[32,3,1,""],UNEXPECTED_INPUT:[32,3,1,""],UNSUPPORTED:[32,3,1,""],UNVERIFIED_PEER:[32,3,1,""]},"com.vmware.vapi.std.interposition_client":{InvocationRequest:[32,1,1,""],InvocationResult:[32,1,1,""],SecurityPrincipal:[32,1,1,""],StubFactory:[32,1,1,""]},"com.vmware.vapi.std.interposition_client.InvocationResult":{ResultType:[32,1,1,""]},"com.vmware.vapi.std.interposition_client.InvocationResult.ResultType":{ERROR_RESULT:[32,3,1,""],NORMAL_RESULT:[32,3,1,""]},"com.vmware.vapi.std_client":{AuthenticationScheme:[27,1,1,""],DynamicID:[27,1,1,""],LocalizableMessage:[27,1,1,""],LocalizationParam:[27,1,1,""],NestedLocalizableMessage:[27,1,1,""],StubFactory:[27,1,1,""]},"com.vmware.vapi.std_client.AuthenticationScheme":{NO_AUTHENTICATION:[27,3,1,""],OAUTH_ACCESS_TOKEN:[27,3,1,""],SAML_BEARER_TOKEN:[27,3,1,""],SAML_HOK_TOKEN:[27,3,1,""],SESSION_ID:[27,3,1,""],USER_PASSWORD:[27,3,1,""]},"com.vmware.vapi.std_client.LocalizationParam":{DateTimeFormat:[27,1,1,""]},"com.vmware.vapi.std_client.LocalizationParam.DateTimeFormat":{FULL_DATE:[27,3,1,""],FULL_DATE_TIME:[27,3,1,""],FULL_TIME:[27,3,1,""],LONG_DATE:[27,3,1,""],LONG_DATE_TIME:[27,3,1,""],LONG_TIME:[27,3,1,""],MED_DATE:[27,3,1,""],MED_DATE_TIME:[27,3,1,""],MED_TIME:[27,3,1,""],SHORT_DATE:[27,3,1,""],SHORT_DATE_TIME:[27,3,1,""],SHORT_TIME:[27,3,1,""]},"com.vmware.vapi_client":{StubFactory:[1,1,1,""]},"com.vmware.vcenter":{certificate_management:[34,0,0,"-"],certificate_management_client:[33,0,0,"-"],compute:[35,0,0,"-"],compute_client:[33,0,0,"-"],content:[40,0,0,"-"],datastore_client:[33,0,0,"-"],deployment:[42,0,0,"-"],deployment_client:[33,0,0,"-"],guest_client:[33,0,0,"-"],hvc:[45,0,0,"-"],hvc_client:[33,0,0,"-"],identity_client:[33,0,0,"-"],inventory_client:[33,0,0,"-"],iso_client:[33,0,0,"-"],lcm:[47,0,0,"-"],lcm_client:[33,0,0,"-"],namespace_management:[48,0,0,"-"],namespace_management_client:[33,0,0,"-"],namespaces:[49,0,0,"-"],namespaces_client:[33,0,0,"-"],ovf_client:[33,0,0,"-"],services_client:[33,0,0,"-"],storage:[50,0,0,"-"],storage_client:[33,0,0,"-"],system_config:[52,0,0,"-"],system_config_client:[33,0,0,"-"],tagging_client:[33,0,0,"-"],tokenservice_client:[33,0,0,"-"],topology_client:[33,0,0,"-"],trusted_infrastructure:[54,0,0,"-"],trusted_infrastructure_client:[33,0,0,"-"],vcha:[61,0,0,"-"],vcha_client:[33,0,0,"-"],vm:[62,0,0,"-"],vm_client:[33,0,0,"-"],vm_template:[66,0,0,"-"],vm_template_client:[33,0,0,"-"]},"com.vmware.vcenter.certificate_management":{vcenter_client:[34,0,0,"-"]},"com.vmware.vcenter.certificate_management.vcenter_client":{StubFactory:[34,1,1,""],Tls:[34,1,1,""],TlsCsr:[34,1,1,""],TrustedRootChains:[34,1,1,""],VmcaRoot:[34,1,1,""]},"com.vmware.vcenter.certificate_management.vcenter_client.Tls":{Info:[34,1,1,""],ReplaceSpec:[34,1,1,""],Spec:[34,1,1,""],get:[34,2,1,""],renew:[34,2,1,""],replace_vmca_signed:[34,2,1,""],set:[34,2,1,""]},"com.vmware.vcenter.certificate_management.vcenter_client.TlsCsr":{Info:[34,1,1,""],Spec:[34,1,1,""],create:[34,2,1,""]},"com.vmware.vcenter.certificate_management.vcenter_client.TrustedRootChains":{"delete":[34,2,1,""],CreateSpec:[34,1,1,""],Info:[34,1,1,""],Summary:[34,1,1,""],create:[34,2,1,""],get:[34,2,1,""],list:[34,2,1,""]},"com.vmware.vcenter.certificate_management.vcenter_client.VmcaRoot":{CreateSpec:[34,1,1,""],create:[34,2,1,""]},"com.vmware.vcenter.certificate_management_client":{StubFactory:[33,1,1,""],X509CertChain:[33,1,1,""]},"com.vmware.vcenter.compute":{policies:[36,0,0,"-"],policies_client:[35,0,0,"-"]},"com.vmware.vcenter.compute.policies":{capabilities:[37,0,0,"-"],capabilities_client:[36,0,0,"-"]},"com.vmware.vcenter.compute.policies.capabilities":{cluster_scale_in_ignore_vm_capabilities_client:[37,0,0,"-"],disable_drs_vmotion_client:[37,0,0,"-"],vm:[38,0,0,"-"],vm_host_affinity_client:[37,0,0,"-"],vm_host_anti_affinity_client:[37,0,0,"-"],vm_vm_affinity_client:[37,0,0,"-"],vm_vm_anti_affinity_client:[37,0,0,"-"]},"com.vmware.vcenter.compute.policies.capabilities.cluster_scale_in_ignore_vm_capabilities_client":{CreateSpec:[37,1,1,""],Info:[37,1,1,""],StubFactory:[37,1,1,""]},"com.vmware.vcenter.compute.policies.capabilities.cluster_scale_in_ignore_vm_capabilities_client.CreateSpec":{capability:[37,2,1,""]},"com.vmware.vcenter.compute.policies.capabilities.cluster_scale_in_ignore_vm_capabilities_client.Info":{capability:[37,2,1,""]},"com.vmware.vcenter.compute.policies.capabilities.disable_drs_vmotion_client":{CreateSpec:[37,1,1,""],Info:[37,1,1,""],StubFactory:[37,1,1,""]},"com.vmware.vcenter.compute.policies.capabilities.disable_drs_vmotion_client.CreateSpec":{capability:[37,2,1,""]},"com.vmware.vcenter.compute.policies.capabilities.disable_drs_vmotion_client.Info":{capability:[37,2,1,""]},"com.vmware.vcenter.compute.policies.capabilities.vm":{evacuation:[39,0,0,"-"]},"com.vmware.vcenter.compute.policies.capabilities.vm.evacuation":{vmotion_client:[39,0,0,"-"]},"com.vmware.vcenter.compute.policies.capabilities.vm.evacuation.vmotion_client":{CreateSpec:[39,1,1,""],Info:[39,1,1,""],StubFactory:[39,1,1,""]},"com.vmware.vcenter.compute.policies.capabilities.vm.evacuation.vmotion_client.CreateSpec":{capability:[39,2,1,""]},"com.vmware.vcenter.compute.policies.capabilities.vm.evacuation.vmotion_client.Info":{capability:[39,2,1,""]},"com.vmware.vcenter.compute.policies.capabilities.vm_host_affinity_client":{CreateSpec:[37,1,1,""],Info:[37,1,1,""],StubFactory:[37,1,1,""]},"com.vmware.vcenter.compute.policies.capabilities.vm_host_affinity_client.CreateSpec":{capability:[37,2,1,""]},"com.vmware.vcenter.compute.policies.capabilities.vm_host_affinity_client.Info":{capability:[37,2,1,""]},"com.vmware.vcenter.compute.policies.capabilities.vm_host_anti_affinity_client":{CreateSpec:[37,1,1,""],Info:[37,1,1,""],StubFactory:[37,1,1,""]},"com.vmware.vcenter.compute.policies.capabilities.vm_host_anti_affinity_client.CreateSpec":{capability:[37,2,1,""]},"com.vmware.vcenter.compute.policies.capabilities.vm_host_anti_affinity_client.Info":{capability:[37,2,1,""]},"com.vmware.vcenter.compute.policies.capabilities.vm_vm_affinity_client":{CreateSpec:[37,1,1,""],Info:[37,1,1,""],StubFactory:[37,1,1,""]},"com.vmware.vcenter.compute.policies.capabilities.vm_vm_affinity_client.CreateSpec":{capability:[37,2,1,""]},"com.vmware.vcenter.compute.policies.capabilities.vm_vm_affinity_client.Info":{capability:[37,2,1,""]},"com.vmware.vcenter.compute.policies.capabilities.vm_vm_anti_affinity_client":{CreateSpec:[37,1,1,""],Info:[37,1,1,""],StubFactory:[37,1,1,""]},"com.vmware.vcenter.compute.policies.capabilities.vm_vm_anti_affinity_client.CreateSpec":{capability:[37,2,1,""]},"com.vmware.vcenter.compute.policies.capabilities.vm_vm_anti_affinity_client.Info":{capability:[37,2,1,""]},"com.vmware.vcenter.compute.policies.capabilities_client":{StubFactory:[36,1,1,""]},"com.vmware.vcenter.compute.policies_client":{Capabilities:[35,1,1,""],CreateSpec:[35,1,1,""],Info:[35,1,1,""],ObjectCompliance:[35,1,1,""],Status:[35,1,1,""],StubFactory:[35,1,1,""],TagUsage:[35,1,1,""]},"com.vmware.vcenter.compute.policies_client.Capabilities":{Info:[35,1,1,""],RESOURCE_TYPE:[35,3,1,""],Summary:[35,1,1,""],get:[35,2,1,""],list:[35,2,1,""]},"com.vmware.vcenter.compute.policies_client.CreateSpec":{capability:[35,2,1,""]},"com.vmware.vcenter.compute.policies_client.Info":{capability:[35,2,1,""]},"com.vmware.vcenter.compute.policies_client.ObjectCompliance":{COMPLIANT:[35,3,1,""],NOT_APPLICABLE:[35,3,1,""],NOT_COMPLIANT:[35,3,1,""]},"com.vmware.vcenter.compute.policies_client.TagUsage":{FilterSpec:[35,1,1,""],Summary:[35,1,1,""],list:[35,2,1,""]},"com.vmware.vcenter.compute_client":{Policies:[33,1,1,""],StubFactory:[33,1,1,""]},"com.vmware.vcenter.compute_client.Policies":{"delete":[33,2,1,""],RESOURCE_TYPE:[33,3,1,""],Summary:[33,1,1,""],create:[33,2,1,""],get:[33,2,1,""],list:[33,2,1,""]},"com.vmware.vcenter.content":{registries:[41,0,0,"-"],registries_client:[40,0,0,"-"]},"com.vmware.vcenter.content.registries":{harbor_client:[41,0,0,"-"]},"com.vmware.vcenter.content.registries.harbor_client":{Projects:[41,1,1,""],StubFactory:[41,1,1,""]},"com.vmware.vcenter.content.registries.harbor_client.Projects":{"delete":[41,2,1,""],ConfigStatus:[41,1,1,""],CreateSpec:[41,1,1,""],Info:[41,1,1,""],Scope:[41,1,1,""],Summary:[41,1,1,""],create:[41,2,1,""],get:[41,2,1,""],list:[41,2,1,""],purge:[41,2,1,""]},"com.vmware.vcenter.content.registries.harbor_client.Projects.ConfigStatus":{ERROR:[41,3,1,""],PENDING:[41,3,1,""],READY:[41,3,1,""],REMOVING:[41,3,1,""]},"com.vmware.vcenter.content.registries.harbor_client.Projects.Scope":{PRIVATE:[41,3,1,""],PUBLIC:[41,3,1,""]},"com.vmware.vcenter.content.registries_client":{DayOfWeek:[40,1,1,""],Harbor:[40,1,1,""],Health:[40,1,1,""],Recurrence:[40,1,1,""],StubFactory:[40,1,1,""]},"com.vmware.vcenter.content.registries_client.DayOfWeek":{FRIDAY:[40,3,1,""],MONDAY:[40,3,1,""],SATURDAY:[40,3,1,""],SUNDAY:[40,3,1,""],THURSDAY:[40,3,1,""],TUESDAY:[40,3,1,""],WEDNESDAY:[40,3,1,""]},"com.vmware.vcenter.content.registries_client.Harbor":{"delete":[40,2,1,""],CreateSpec:[40,1,1,""],GarbageCollection:[40,1,1,""],Info:[40,1,1,""],StorageInfo:[40,1,1,""],StorageSpec:[40,1,1,""],Summary:[40,1,1,""],create:[40,2,1,""],get:[40,2,1,""],list:[40,2,1,""]},"com.vmware.vcenter.content.registries_client.Health":{Info:[40,1,1,""],Status:[40,1,1,""],get:[40,2,1,""]},"com.vmware.vcenter.content.registries_client.Health.Status":{DELETING:[40,3,1,""],ERROR:[40,3,1,""],RUNNING:[40,3,1,""],STARTING:[40,3,1,""],WARNING:[40,3,1,""]},"com.vmware.vcenter.content.registries_client.Recurrence":{DAILY:[40,3,1,""],NONE:[40,3,1,""],WEEKLY:[40,3,1,""]},"com.vmware.vcenter.datastore_client":{DefaultPolicy:[33,1,1,""],StubFactory:[33,1,1,""]},"com.vmware.vcenter.datastore_client.DefaultPolicy":{get:[33,2,1,""]},"com.vmware.vcenter.deployment":{install:[43,0,0,"-"],install_client:[42,0,0,"-"],migrate_client:[42,0,0,"-"]},"com.vmware.vcenter.deployment.install":{initial_config:[44,0,0,"-"],psc_client:[43,0,0,"-"]},"com.vmware.vcenter.deployment.install.initial_config":{remote_psc_client:[44,0,0,"-"]},"com.vmware.vcenter.deployment.install.initial_config.remote_psc_client":{StubFactory:[44,1,1,""],Thumbprint:[44,1,1,""]},"com.vmware.vcenter.deployment.install.initial_config.remote_psc_client.Thumbprint":{RemoteSpec:[44,1,1,""],get:[44,2,1,""]},"com.vmware.vcenter.deployment.install.psc_client":{Replicated:[43,1,1,""],Standalone:[43,1,1,""],StubFactory:[43,1,1,""]},"com.vmware.vcenter.deployment.install.psc_client.Replicated":{check:[43,2,1,""]},"com.vmware.vcenter.deployment.install.psc_client.Standalone":{check:[43,2,1,""]},"com.vmware.vcenter.deployment.install_client":{RemotePsc:[42,1,1,""],StubFactory:[42,1,1,""]},"com.vmware.vcenter.deployment.install_client.RemotePsc":{check:[42,2,1,""]},"com.vmware.vcenter.deployment.migrate_client":{ActiveDirectory:[42,1,1,""],ActiveDirectorySpec:[42,1,1,""],StubFactory:[42,1,1,""]},"com.vmware.vcenter.deployment.migrate_client.ActiveDirectory":{CheckSpec:[42,1,1,""],check:[42,2,1,""]},"com.vmware.vcenter.deployment_client":{ApplianceSize:[33,1,1,""],ApplianceState:[33,1,1,""],ApplianceType:[33,1,1,""],CheckInfo:[33,1,1,""],CheckStatus:[33,1,1,""],DataMigrationEstimate:[33,1,1,""],DataMigrationInfo:[33,1,1,""],HistoryMigrationOption:[33,1,1,""],HistoryMigrationSpec:[33,1,1,""],ImportHistory:[33,1,1,""],Install:[33,1,1,""],LocationSpec:[33,1,1,""],Migrate:[33,1,1,""],Notification:[33,1,1,""],Notifications:[33,1,1,""],Operation:[33,1,1,""],Question:[33,1,1,""],RemotePscSpec:[33,1,1,""],ReplicatedPscSpec:[33,1,1,""],ReplicatedSpec:[33,1,1,""],SourceInfo:[33,1,1,""],StandalonePscSpec:[33,1,1,""],StandaloneSpec:[33,1,1,""],StubFactory:[33,1,1,""],Upgrade:[33,1,1,""],VerificationMode:[33,1,1,""]},"com.vmware.vcenter.deployment_client.ApplianceSize":{LARGE:[33,3,1,""],MEDIUM:[33,3,1,""],SMALL:[33,3,1,""],TINY:[33,3,1,""],XLARGE:[33,3,1,""]},"com.vmware.vcenter.deployment_client.ApplianceState":{CONFIGURED:[33,3,1,""],CONFIG_IN_PROGRESS:[33,3,1,""],FAILED:[33,3,1,""],INITIALIZED:[33,3,1,""],NOT_INITIALIZED:[33,3,1,""],QUESTION_RAISED:[33,3,1,""]},"com.vmware.vcenter.deployment_client.ApplianceType":{PSC_EXTERNAL:[33,3,1,""],VCSA_EMBEDDED:[33,3,1,""],VCSA_EXTERNAL:[33,3,1,""]},"com.vmware.vcenter.deployment_client.CheckStatus":{FAILED:[33,3,1,""],SUCCESS:[33,3,1,""]},"com.vmware.vcenter.deployment_client.HistoryMigrationOption":{ALL:[33,3,1,""],EVENTS_TASKS:[33,3,1,""]},"com.vmware.vcenter.deployment_client.ImportHistory":{CreateSpec:[33,1,1,""],Info:[33,1,1,""],cancel:[33,2,1,""],get:[33,2,1,""],pause:[33,2,1,""],resume:[33,2,1,""],start:[33,2,1,""]},"com.vmware.vcenter.deployment_client.Install":{InstallSpec:[33,1,1,""],VcsaEmbeddedSpec:[33,1,1,""],cancel:[33,2,1,""],check:[33,2,1,""],get:[33,2,1,""],start:[33,2,1,""]},"com.vmware.vcenter.deployment_client.Migrate":{MigrateSpec:[33,1,1,""],MigrationAssistantSpec:[33,1,1,""],PscSpec:[33,1,1,""],SourceVcWindows:[33,1,1,""],VcsaEmbeddedSpec:[33,1,1,""],cancel:[33,2,1,""],check:[33,2,1,""],get:[33,2,1,""],start:[33,2,1,""]},"com.vmware.vcenter.deployment_client.Operation":{INSTALL:[33,3,1,""],MIGRATE:[33,3,1,""],RESTORE:[33,3,1,""],ROLLBACK:[33,3,1,""],UPGRADE:[33,3,1,""]},"com.vmware.vcenter.deployment_client.Question":{AnswerSpec:[33,1,1,""],Info:[33,1,1,""],Question:[33,1,1,""],QuestionType:[33,1,1,""],answer:[33,2,1,""],get:[33,2,1,""]},"com.vmware.vcenter.deployment_client.Question.QuestionType":{ABORT_RETRY_IGNORE:[33,3,1,""],OK_CANCEL:[33,3,1,""],YES_NO:[33,3,1,""]},"com.vmware.vcenter.deployment_client.Upgrade":{PscSpec:[33,1,1,""],SourceApplianceSpec:[33,1,1,""],UpgradeSpec:[33,1,1,""],VcsaEmbeddedSpec:[33,1,1,""],cancel:[33,2,1,""],check:[33,2,1,""],get:[33,2,1,""],start:[33,2,1,""]},"com.vmware.vcenter.deployment_client.VerificationMode":{NONE:[33,3,1,""],THUMBPRINT:[33,3,1,""]},"com.vmware.vcenter.guest_client":{AdapterMapping:[33,1,1,""],ConfigurationSpec:[33,1,1,""],CustomizationSpec:[33,1,1,""],CustomizationSpecs:[33,1,1,""],Domain:[33,1,1,""],GlobalDNSSettings:[33,1,1,""],GuiUnattended:[33,1,1,""],HostnameGenerator:[33,1,1,""],IPSettings:[33,1,1,""],Ipv4:[33,1,1,""],Ipv6:[33,1,1,""],Ipv6Address:[33,1,1,""],LinuxConfiguration:[33,1,1,""],StubFactory:[33,1,1,""],UserData:[33,1,1,""],WindowsConfiguration:[33,1,1,""],WindowsNetworkAdapterSettings:[33,1,1,""],WindowsSysprep:[33,1,1,""]},"com.vmware.vcenter.guest_client.CustomizationSpecs":{"delete":[33,2,1,""],"export":[33,2,1,""],CreateSpec:[33,1,1,""],FilterSpec:[33,1,1,""],Format:[33,1,1,""],Info:[33,1,1,""],Metadata:[33,1,1,""],OsType:[33,1,1,""],RESOURCE_TYPE:[33,3,1,""],Spec:[33,1,1,""],Summary:[33,1,1,""],create:[33,2,1,""],get:[33,2,1,""],import_specification:[33,2,1,""],list:[33,2,1,""],set:[33,2,1,""]},"com.vmware.vcenter.guest_client.CustomizationSpecs.Format":{JSON:[33,3,1,""],XML:[33,3,1,""]},"com.vmware.vcenter.guest_client.CustomizationSpecs.OsType":{LINUX:[33,3,1,""],WINDOWS:[33,3,1,""]},"com.vmware.vcenter.guest_client.Domain":{Type:[33,1,1,""]},"com.vmware.vcenter.guest_client.Domain.Type":{DOMAIN:[33,3,1,""],WORKGROUP:[33,3,1,""]},"com.vmware.vcenter.guest_client.HostnameGenerator":{Type:[33,1,1,""]},"com.vmware.vcenter.guest_client.HostnameGenerator.Type":{FIXED:[33,3,1,""],PREFIX:[33,3,1,""],USER_INPUT_REQUIRED:[33,3,1,""],VIRTUAL_MACHINE:[33,3,1,""]},"com.vmware.vcenter.guest_client.Ipv4":{Type:[33,1,1,""]},"com.vmware.vcenter.guest_client.Ipv4.Type":{DHCP:[33,3,1,""],STATIC:[33,3,1,""],USER_INPUT_REQUIRED:[33,3,1,""]},"com.vmware.vcenter.guest_client.Ipv6":{Type:[33,1,1,""]},"com.vmware.vcenter.guest_client.Ipv6.Type":{DHCP:[33,3,1,""],STATIC:[33,3,1,""],USER_INPUT_REQUIRED:[33,3,1,""]},"com.vmware.vcenter.guest_client.WindowsConfiguration":{RebootOption:[33,1,1,""]},"com.vmware.vcenter.guest_client.WindowsConfiguration.RebootOption":{NO_REBOOT:[33,3,1,""],REBOOT:[33,3,1,""],SHUTDOWN:[33,3,1,""]},"com.vmware.vcenter.guest_client.WindowsNetworkAdapterSettings":{NetBIOSMode:[33,1,1,""]},"com.vmware.vcenter.guest_client.WindowsNetworkAdapterSettings.NetBIOSMode":{DISABLE:[33,3,1,""],ENABLE:[33,3,1,""],USE_DHCP:[33,3,1,""]},"com.vmware.vcenter.hvc":{links:[46,0,0,"-"],links_client:[45,0,0,"-"],management_client:[45,0,0,"-"]},"com.vmware.vcenter.hvc.links":{sync_client:[46,0,0,"-"]},"com.vmware.vcenter.hvc.links.sync_client":{Providers:[46,1,1,""],StubFactory:[46,1,1,""]},"com.vmware.vcenter.hvc.links.sync_client.Providers":{Credentials:[46,1,1,""],Info:[46,1,1,""],RESOURCE_TYPE:[46,3,1,""],SessionInfo:[46,1,1,""],Status:[46,1,1,""],Summary:[46,1,1,""],get:[46,2,1,""],list:[46,2,1,""],start:[46,2,1,""]},"com.vmware.vcenter.hvc.links.sync_client.Providers.SessionInfo":{Stage:[46,1,1,""]},"com.vmware.vcenter.hvc.links.sync_client.Providers.SessionInfo.Stage":{CHANGE_APPLICATION:[46,3,1,""],CHANGE_DETECTION:[46,3,1,""],CHANGE_ENUMERATION:[46,3,1,""],COMPLETED:[46,3,1,""],FAILED:[46,3,1,""],WAITING:[46,3,1,""]},"com.vmware.vcenter.hvc.links.sync_client.Providers.Status":{FAILED:[46,3,1,""],NO_SYNC_FOUND:[46,3,1,""],SUCCEEDED:[46,3,1,""]},"com.vmware.vcenter.hvc.links_client":{StubFactory:[45,1,1,""],Sync:[45,1,1,""]},"com.vmware.vcenter.hvc.links_client.Sync":{Credentials:[45,1,1,""],reset:[45,2,1,""]},"com.vmware.vcenter.hvc.management_client":{Administrators:[45,1,1,""],StubFactory:[45,1,1,""]},"com.vmware.vcenter.hvc.management_client.Administrators":{add:[45,2,1,""],get:[45,2,1,""],remove:[45,2,1,""],set:[45,2,1,""]},"com.vmware.vcenter.hvc_client":{Links:[33,1,1,""],StubFactory:[33,1,1,""]},"com.vmware.vcenter.hvc_client.Links":{"delete":[33,2,1,""],CertificateInfo:[33,1,1,""],CreateSpec:[33,1,1,""],Credentials:[33,1,1,""],Summary:[33,1,1,""],create:[33,2,1,""],list:[33,2,1,""]},"com.vmware.vcenter.identity_client":{Providers:[33,1,1,""],StubFactory:[33,1,1,""]},"com.vmware.vcenter.identity_client.Providers":{"delete":[33,2,1,""],ActiveDirectoryOverLdap:[33,1,1,""],ConfigType:[33,1,1,""],CreateSpec:[33,1,1,""],IdmProtocol:[33,1,1,""],Info:[33,1,1,""],Oauth2AuthenticationMethod:[33,1,1,""],Oauth2CreateSpec:[33,1,1,""],Oauth2Info:[33,1,1,""],Oauth2Summary:[33,1,1,""],Oauth2UpdateSpec:[33,1,1,""],OidcCreateSpec:[33,1,1,""],OidcInfo:[33,1,1,""],OidcSummary:[33,1,1,""],OidcUpdateSpec:[33,1,1,""],Summary:[33,1,1,""],UpdateSpec:[33,1,1,""],create:[33,2,1,""],get:[33,2,1,""],list:[33,2,1,""],update:[33,2,1,""]},"com.vmware.vcenter.identity_client.Providers.ConfigType":{Oauth2:[33,3,1,""],Oidc:[33,3,1,""]},"com.vmware.vcenter.identity_client.Providers.IdmProtocol":{LDAP:[33,3,1,""],REST:[33,3,1,""],SCIM:[33,3,1,""]},"com.vmware.vcenter.identity_client.Providers.Oauth2AuthenticationMethod":{CLIENT_SECRET_BASIC:[33,3,1,""],CLIENT_SECRET_JWT:[33,3,1,""],CLIENT_SECRET_POST:[33,3,1,""],PRIVATE_KEY_JWT:[33,3,1,""]},"com.vmware.vcenter.inventory_client":{Datastore:[33,1,1,""],Network:[33,1,1,""],StubFactory:[33,1,1,""]},"com.vmware.vcenter.inventory_client.Datastore":{Info:[33,1,1,""],find:[33,2,1,""]},"com.vmware.vcenter.inventory_client.Network":{Info:[33,1,1,""],find:[33,2,1,""]},"com.vmware.vcenter.iso_client":{Image:[33,1,1,""],StubFactory:[33,1,1,""]},"com.vmware.vcenter.iso_client.Image":{mount:[33,2,1,""],unmount:[33,2,1,""]},"com.vmware.vcenter.lcm":{discovery_client:[47,0,0,"-"],update_client:[47,0,0,"-"]},"com.vmware.vcenter.lcm.discovery_client":{AssociatedProducts:[47,1,1,""],InteropReport:[47,1,1,""],Product:[47,1,1,""],ProductCatalog:[47,1,1,""],StubFactory:[47,1,1,""]},"com.vmware.vcenter.lcm.discovery_client.AssociatedProducts":{"delete":[47,2,1,""],CreateSpec:[47,1,1,""],RESOURCE_TYPE:[47,3,1,""],UpdateSpec:[47,1,1,""],create:[47,2,1,""],get:[47,2,1,""],list:[47,2,1,""],update:[47,2,1,""]},"com.vmware.vcenter.lcm.discovery_client.InteropReport":{ReleaseInfo:[47,1,1,""],Report:[47,1,1,""],ReportRow:[47,1,1,""],ReportSummary:[47,1,1,""],Result:[47,1,1,""],Spec:[47,1,1,""],create_task:[47,2,1,""]},"com.vmware.vcenter.lcm.discovery_client.ProductCatalog":{Summary:[47,1,1,""],list:[47,2,1,""]},"com.vmware.vcenter.lcm.update_client":{Pending:[47,1,1,""],PrecheckReport:[47,1,1,""],StubFactory:[47,1,1,""]},"com.vmware.vcenter.lcm.update_client.Pending":{Category:[47,1,1,""],Info:[47,1,1,""],ListResult:[47,1,1,""],RESOURCE_TYPE:[47,3,1,""],SeverityType:[47,1,1,""],Summary:[47,1,1,""],UpdateType:[47,1,1,""],get:[47,2,1,""],list:[47,2,1,""]},"com.vmware.vcenter.lcm.update_client.Pending.Category":{FIX:[47,3,1,""],SECURITY:[47,3,1,""],UPDATE:[47,3,1,""],UPGRADE:[47,3,1,""]},"com.vmware.vcenter.lcm.update_client.Pending.SeverityType":{CRITICAL:[47,3,1,""],IMPORTANT:[47,3,1,""],LOW:[47,3,1,""],MODERATE:[47,3,1,""]},"com.vmware.vcenter.lcm.update_client.Pending.UpdateType":{PATCH:[47,3,1,""],UPDATE:[47,3,1,""],UPGRADE:[47,3,1,""]},"com.vmware.vcenter.lcm.update_client.PrecheckReport":{RESOURCE_TYPE:[47,3,1,""],Report:[47,1,1,""],ReportSummary:[47,1,1,""],Result:[47,1,1,""],create_task:[47,2,1,""]},"com.vmware.vcenter.lcm_client":{Notification:[33,1,1,""],Notifications:[33,1,1,""],Reports:[33,1,1,""],StubFactory:[33,1,1,""]},"com.vmware.vcenter.lcm_client.Reports":{Location:[33,1,1,""],Token:[33,1,1,""],get:[33,2,1,""]},"com.vmware.vcenter.namespace_management":{software_client:[48,0,0,"-"],stats_client:[48,0,0,"-"]},"com.vmware.vcenter.namespace_management.software_client":{Clusters:[48,1,1,""],StubFactory:[48,1,1,""]},"com.vmware.vcenter.namespace_management.software_client.Clusters":{Info:[48,1,1,""],Message:[48,1,1,""],Result:[48,1,1,""],State:[48,1,1,""],Summary:[48,1,1,""],UpgradeProgress:[48,1,1,""],UpgradeSpec:[48,1,1,""],UpgradeStatus:[48,1,1,""],get:[48,2,1,""],list:[48,2,1,""],upgrade:[48,2,1,""],upgrade_multiple:[48,2,1,""]},"com.vmware.vcenter.namespace_management.software_client.Clusters.Message":{Severity:[48,1,1,""]},"com.vmware.vcenter.namespace_management.software_client.Clusters.Message.Severity":{ERROR:[48,3,1,""],INFO:[48,3,1,""],WARNING:[48,3,1,""]},"com.vmware.vcenter.namespace_management.software_client.Clusters.Result":{Res:[48,1,1,""]},"com.vmware.vcenter.namespace_management.software_client.Clusters.Result.Res":{REJECTED:[48,3,1,""],STARTED:[48,3,1,""]},"com.vmware.vcenter.namespace_management.software_client.Clusters.State":{ERROR:[48,3,1,""],PENDING:[48,3,1,""],READY:[48,3,1,""]},"com.vmware.vcenter.namespace_management.stats_client":{StubFactory:[48,1,1,""],TimeSeries:[48,1,1,""]},"com.vmware.vcenter.namespace_management.stats_client.TimeSeries":{PodIdentifier:[48,1,1,""],Spec:[48,1,1,""],TimeSeries:[48,1,1,""],get:[48,2,1,""]},"com.vmware.vcenter.namespace_management.stats_client.TimeSeries.Spec":{ObjType:[48,1,1,""]},"com.vmware.vcenter.namespace_management.stats_client.TimeSeries.Spec.ObjType":{CLUSTER:[48,3,1,""],NAMESPACE:[48,3,1,""],POD:[48,3,1,""]},"com.vmware.vcenter.namespace_management_client":{ClusterAvailableVersions:[33,1,1,""],ClusterCompatibility:[33,1,1,""],ClusterSizeInfo:[33,1,1,""],Clusters:[33,1,1,""],DistributedSwitchCompatibility:[33,1,1,""],EdgeClusterCompatibility:[33,1,1,""],HostsConfig:[33,1,1,""],Ipv4Cidr:[33,1,1,""],NamespaceResourceOptions:[33,1,1,""],SizingHint:[33,1,1,""],StubFactory:[33,1,1,""],SupportBundle:[33,1,1,""]},"com.vmware.vcenter.namespace_management_client.ClusterAvailableVersions":{Summary:[33,1,1,""],list:[33,2,1,""]},"com.vmware.vcenter.namespace_management_client.ClusterCompatibility":{FilterSpec:[33,1,1,""],Summary:[33,1,1,""],list:[33,2,1,""]},"com.vmware.vcenter.namespace_management_client.ClusterSizeInfo":{Info:[33,1,1,""],VmInfo:[33,1,1,""],get:[33,2,1,""]},"com.vmware.vcenter.namespace_management_client.Clusters":{ConfigStatus:[33,1,1,""],EnableSpec:[33,1,1,""],ImageRegistry:[33,1,1,""],ImageStorageSpec:[33,1,1,""],Info:[33,1,1,""],Ipv4Range:[33,1,1,""],KubernetesStatus:[33,1,1,""],Message:[33,1,1,""],NCPClusterNetworkEnableSpec:[33,1,1,""],NCPClusterNetworkInfo:[33,1,1,""],NCPClusterNetworkSetSpec:[33,1,1,""],NCPClusterNetworkUpdateSpec:[33,1,1,""],NetworkProvider:[33,1,1,""],NetworkSpec:[33,1,1,""],SetSpec:[33,1,1,""],Stats:[33,1,1,""],Summary:[33,1,1,""],UpdateSpec:[33,1,1,""],disable:[33,2,1,""],enable:[33,2,1,""],get:[33,2,1,""],list:[33,2,1,""],rotate_password:[33,2,1,""],set:[33,2,1,""],update:[33,2,1,""]},"com.vmware.vcenter.namespace_management_client.Clusters.ConfigStatus":{CONFIGURING:[33,3,1,""],ERROR:[33,3,1,""],REMOVING:[33,3,1,""],RUNNING:[33,3,1,""]},"com.vmware.vcenter.namespace_management_client.Clusters.KubernetesStatus":{ERROR:[33,3,1,""],READY:[33,3,1,""],WARNING:[33,3,1,""]},"com.vmware.vcenter.namespace_management_client.Clusters.Message":{Severity:[33,1,1,""]},"com.vmware.vcenter.namespace_management_client.Clusters.Message.Severity":{ERROR:[33,3,1,""],INFO:[33,3,1,""],WARNING:[33,3,1,""]},"com.vmware.vcenter.namespace_management_client.Clusters.NetworkProvider":{NSXT_CONTAINER_PLUGIN:[33,3,1,""]},"com.vmware.vcenter.namespace_management_client.Clusters.NetworkSpec":{Ipv4Mode:[33,1,1,""]},"com.vmware.vcenter.namespace_management_client.Clusters.NetworkSpec.Ipv4Mode":{DHCP:[33,3,1,""],STATICRANGE:[33,3,1,""]},"com.vmware.vcenter.namespace_management_client.DistributedSwitchCompatibility":{FilterSpec:[33,1,1,""],Summary:[33,1,1,""],list:[33,2,1,""]},"com.vmware.vcenter.namespace_management_client.EdgeClusterCompatibility":{FilterSpec:[33,1,1,""],Summary:[33,1,1,""],list:[33,2,1,""]},"com.vmware.vcenter.namespace_management_client.HostsConfig":{Info:[33,1,1,""],get:[33,2,1,""]},"com.vmware.vcenter.namespace_management_client.NamespaceResourceOptions":{Info:[33,1,1,""],get:[33,2,1,""]},"com.vmware.vcenter.namespace_management_client.SizingHint":{LARGE:[33,3,1,""],MEDIUM:[33,3,1,""],SMALL:[33,3,1,""],TINY:[33,3,1,""]},"com.vmware.vcenter.namespace_management_client.SupportBundle":{Location:[33,1,1,""],Token:[33,1,1,""],create:[33,2,1,""]},"com.vmware.vcenter.namespaces":{user_client:[49,0,0,"-"]},"com.vmware.vcenter.namespaces.user_client":{Instances:[49,1,1,""],StubFactory:[49,1,1,""]},"com.vmware.vcenter.namespaces.user_client.Instances":{Summary:[49,1,1,""],list:[49,2,1,""]},"com.vmware.vcenter.namespaces_client":{Access:[33,1,1,""],Container:[33,1,1,""],EndpointAddress:[33,1,1,""],IngressRuleValue:[33,1,1,""],Instances:[33,1,1,""],ResourceQuotaOptionsV1:[33,1,1,""],ResourceQuotaOptionsV1Update:[33,1,1,""],StubFactory:[33,1,1,""]},"com.vmware.vcenter.namespaces_client.Access":{"delete":[33,2,1,""],CreateSpec:[33,1,1,""],Info:[33,1,1,""],Role:[33,1,1,""],SetSpec:[33,1,1,""],SubjectType:[33,1,1,""],create:[33,2,1,""],get:[33,2,1,""],set:[33,2,1,""]},"com.vmware.vcenter.namespaces_client.Access.Role":{EDIT:[33,3,1,""],VIEW:[33,3,1,""]},"com.vmware.vcenter.namespaces_client.Access.SubjectType":{GROUP:[33,3,1,""],USER:[33,3,1,""]},"com.vmware.vcenter.namespaces_client.Instances":{"delete":[33,2,1,""],Access:[33,1,1,""],ConfigStatus:[33,1,1,""],CreateSpec:[33,1,1,""],Info:[33,1,1,""],Message:[33,1,1,""],RESOURCE_TYPE:[33,3,1,""],SetSpec:[33,1,1,""],Stats:[33,1,1,""],StorageSpec:[33,1,1,""],Summary:[33,1,1,""],UpdateSpec:[33,1,1,""],create:[33,2,1,""],get:[33,2,1,""],list:[33,2,1,""],set:[33,2,1,""],update:[33,2,1,""]},"com.vmware.vcenter.namespaces_client.Instances.ConfigStatus":{CONFIGURING:[33,3,1,""],ERROR:[33,3,1,""],REMOVING:[33,3,1,""],RUNNING:[33,3,1,""]},"com.vmware.vcenter.namespaces_client.Instances.Message":{MessageSeverity:[33,1,1,""]},"com.vmware.vcenter.namespaces_client.Instances.Message.MessageSeverity":{ERROR:[33,3,1,""],INFO:[33,3,1,""],WARNING:[33,3,1,""]},"com.vmware.vcenter.ovf_client":{CertificateParams:[33,1,1,""],DeploymentOption:[33,1,1,""],DeploymentOptionParams:[33,1,1,""],DiskProvisioningType:[33,1,1,""],ExportFlag:[33,1,1,""],ExtraConfig:[33,1,1,""],ExtraConfigParams:[33,1,1,""],ImportFlag:[33,1,1,""],IpAllocationParams:[33,1,1,""],LibraryItem:[33,1,1,""],OvfError:[33,1,1,""],OvfInfo:[33,1,1,""],OvfMessage:[33,1,1,""],OvfParams:[33,1,1,""],OvfWarning:[33,1,1,""],ParseIssue:[33,1,1,""],Property:[33,1,1,""],PropertyParams:[33,1,1,""],ScaleOutGroup:[33,1,1,""],ScaleOutParams:[33,1,1,""],SizeParams:[33,1,1,""],StubFactory:[33,1,1,""],UnknownSection:[33,1,1,""],UnknownSectionParams:[33,1,1,""],VcenterExtensionParams:[33,1,1,""]},"com.vmware.vcenter.ovf_client.DiskProvisioningType":{eagerZeroedThick:[33,3,1,""],thick:[33,3,1,""],thin:[33,3,1,""]},"com.vmware.vcenter.ovf_client.ExportFlag":{Info:[33,1,1,""],list:[33,2,1,""]},"com.vmware.vcenter.ovf_client.ImportFlag":{Info:[33,1,1,""],list:[33,2,1,""]},"com.vmware.vcenter.ovf_client.IpAllocationParams":{IpAllocationPolicy:[33,1,1,""],IpAllocationScheme:[33,1,1,""],IpProtocol:[33,1,1,""]},"com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationPolicy":{DHCP:[33,3,1,""],STATIC_IPPOOL:[33,3,1,""],STATIC_MANUAL:[33,3,1,""],TRANSIENT_IPPOOL:[33,3,1,""]},"com.vmware.vcenter.ovf_client.IpAllocationParams.IpAllocationScheme":{DHCP:[33,3,1,""],OVF_ENVIRONMENT:[33,3,1,""]},"com.vmware.vcenter.ovf_client.IpAllocationParams.IpProtocol":{IPV4:[33,3,1,""],IPV6:[33,3,1,""]},"com.vmware.vcenter.ovf_client.LibraryItem":{CreateResult:[33,1,1,""],CreateSpec:[33,1,1,""],CreateTarget:[33,1,1,""],DEPLOYABLE:[33,3,1,""],DeployableIdentity:[33,1,1,""],DeploymentResult:[33,1,1,""],DeploymentTarget:[33,1,1,""],OvfSummary:[33,1,1,""],ResourcePoolDeploymentSpec:[33,1,1,""],ResultInfo:[33,1,1,""],StorageGroupMapping:[33,1,1,""],create:[33,2,1,""],deploy:[33,2,1,""],filter:[33,2,1,""]},"com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping":{Type:[33,1,1,""]},"com.vmware.vcenter.ovf_client.LibraryItem.StorageGroupMapping.Type":{DATASTORE:[33,3,1,""],STORAGE_PROFILE:[33,3,1,""]},"com.vmware.vcenter.ovf_client.OvfMessage":{Category:[33,1,1,""]},"com.vmware.vcenter.ovf_client.OvfMessage.Category":{INPUT:[33,3,1,""],SERVER:[33,3,1,""],VALIDATION:[33,3,1,""]},"com.vmware.vcenter.ovf_client.ParseIssue":{Category:[33,1,1,""]},"com.vmware.vcenter.ovf_client.ParseIssue.Category":{ATTRIBUTE_ILLEGAL:[33,3,1,""],ATTRIBUTE_REQUIRED:[33,3,1,""],ELEMENT_ILLEGAL:[33,3,1,""],ELEMENT_REQUIRED:[33,3,1,""],ELEMENT_UNKNOWN:[33,3,1,""],EXPORT_ERROR:[33,3,1,""],GENERATE_ERROR:[33,3,1,""],INTERNAL_ERROR:[33,3,1,""],PARSE_ERROR:[33,3,1,""],SECTION_RESTRICTION:[33,3,1,""],SECTION_UNKNOWN:[33,3,1,""],VALIDATION_ERROR:[33,3,1,""],VALUE_ILLEGAL:[33,3,1,""]},"com.vmware.vcenter.services_client":{Service:[33,1,1,""],StubFactory:[33,1,1,""]},"com.vmware.vcenter.services_client.Service":{Health:[33,1,1,""],Info:[33,1,1,""],StartupType:[33,1,1,""],State:[33,1,1,""],UpdateSpec:[33,1,1,""],get:[33,2,1,""],list_details:[33,2,1,""],restart:[33,2,1,""],start:[33,2,1,""],stop:[33,2,1,""],update:[33,2,1,""]},"com.vmware.vcenter.services_client.Service.Health":{DEGRADED:[33,3,1,""],HEALTHY:[33,3,1,""],HEALTHY_WITH_WARNINGS:[33,3,1,""]},"com.vmware.vcenter.services_client.Service.StartupType":{AUTOMATIC:[33,3,1,""],DISABLED:[33,3,1,""],MANUAL:[33,3,1,""]},"com.vmware.vcenter.services_client.Service.State":{STARTED:[33,3,1,""],STARTING:[33,3,1,""],STOPPED:[33,3,1,""],STOPPING:[33,3,1,""]},"com.vmware.vcenter.storage":{policies:[51,0,0,"-"],policies_client:[50,0,0,"-"]},"com.vmware.vcenter.storage.policies":{compliance_client:[51,0,0,"-"]},"com.vmware.vcenter.storage.policies.compliance_client":{StubFactory:[51,1,1,""],VM:[51,1,1,""]},"com.vmware.vcenter.storage.policies.compliance_client.VM":{FilterSpec:[51,1,1,""],Info:[51,1,1,""],Status:[51,1,1,""],list:[51,2,1,""]},"com.vmware.vcenter.storage.policies.compliance_client.VM.Status":{COMPLIANT:[51,3,1,""],NON_COMPLIANT:[51,3,1,""],NOT_APPLICABLE:[51,3,1,""],OUT_OF_DATE:[51,3,1,""],UNKNOWN_COMPLIANCE:[51,3,1,""]},"com.vmware.vcenter.storage.policies_client":{Compliance:[50,1,1,""],StubFactory:[50,1,1,""],VM:[50,1,1,""]},"com.vmware.vcenter.storage.policies_client.Compliance":{FilterSpec:[50,1,1,""],Status:[50,1,1,""],Summary:[50,1,1,""],list:[50,2,1,""]},"com.vmware.vcenter.storage.policies_client.Compliance.Status":{COMPLIANT:[50,3,1,""],NON_COMPLIANT:[50,3,1,""],NOT_APPLICABLE:[50,3,1,""],OUT_OF_DATE:[50,3,1,""],UNKNOWN:[50,3,1,""]},"com.vmware.vcenter.storage.policies_client.VM":{Info:[50,1,1,""],list:[50,2,1,""]},"com.vmware.vcenter.storage_client":{Policies:[33,1,1,""],StubFactory:[33,1,1,""]},"com.vmware.vcenter.storage_client.Policies":{CompatibilityInfo:[33,1,1,""],CompatibleDatastoreInfo:[33,1,1,""],FilterSpec:[33,1,1,""],RESOURCE_TYPE:[33,3,1,""],Summary:[33,1,1,""],check_compatibility:[33,2,1,""],list:[33,2,1,""]},"com.vmware.vcenter.system_config":{features:[53,0,0,"-"]},"com.vmware.vcenter.system_config.features":{tech_preview_client:[53,0,0,"-"]},"com.vmware.vcenter.system_config.features.tech_preview_client":{StubFactory:[53,1,1,""]},"com.vmware.vcenter.system_config_client":{DeploymentType:[33,1,1,""],PscRegistration:[33,1,1,""],StubFactory:[33,1,1,""]},"com.vmware.vcenter.system_config_client.DeploymentType":{Info:[33,1,1,""],ReconfigureSpec:[33,1,1,""],get:[33,2,1,""],reconfigure:[33,2,1,""]},"com.vmware.vcenter.system_config_client.PscRegistration":{Info:[33,1,1,""],get:[33,2,1,""],repoint:[33,2,1,""]},"com.vmware.vcenter.tagging_client":{Associations:[33,1,1,""],StubFactory:[33,1,1,""]},"com.vmware.vcenter.tagging_client.Associations":{IterationSpec:[33,1,1,""],LastIterationStatus:[33,1,1,""],ListResult:[33,1,1,""],Summary:[33,1,1,""],list:[33,2,1,""]},"com.vmware.vcenter.tagging_client.Associations.LastIterationStatus":{END_OF_DATA:[33,3,1,""],READY:[33,3,1,""]},"com.vmware.vcenter.tokenservice_client":{Error:[33,4,1,""],InvalidGrant:[33,4,1,""],InvalidRequest:[33,4,1,""],InvalidScope:[33,4,1,""],StubFactory:[33,1,1,""],TokenExchange:[33,1,1,""]},"com.vmware.vcenter.tokenservice_client.TokenExchange":{ACCESS_TOKEN_TYPE:[33,3,1,""],BEARER_TOKEN_METHOD_TYPE:[33,3,1,""],ExchangeSpec:[33,1,1,""],ID_TOKEN_TYPE:[33,3,1,""],Info:[33,1,1,""],N_A_TOKEN_METHOD_TYPE:[33,3,1,""],REFRESH_TOKEN_TYPE:[33,3,1,""],SAML1_TOKEN_TYPE:[33,3,1,""],SAML2_TOKEN_TYPE:[33,3,1,""],TOKEN_EXCHANGE_GRANT:[33,3,1,""],exchange:[33,2,1,""]},"com.vmware.vcenter.topology_client":{Nodes:[33,1,1,""],ReplicationStatus:[33,1,1,""],StubFactory:[33,1,1,""]},"com.vmware.vcenter.topology_client.Nodes":{ApplianceType:[33,1,1,""],FilterSpec:[33,1,1,""],Info:[33,1,1,""],Summary:[33,1,1,""],get:[33,2,1,""],list:[33,2,1,""]},"com.vmware.vcenter.topology_client.Nodes.ApplianceType":{PSC_EXTERNAL:[33,3,1,""],VCSA_EMBEDDED:[33,3,1,""],VCSA_EXTERNAL:[33,3,1,""]},"com.vmware.vcenter.topology_client.ReplicationStatus":{FilterSpec:[33,1,1,""],Summary:[33,1,1,""],list:[33,2,1,""]},"com.vmware.vcenter.trusted_infrastructure":{attestation_client:[54,0,0,"-"],kms_client:[54,0,0,"-"],trust_authority_clusters:[55,0,0,"-"],trust_authority_clusters_client:[54,0,0,"-"],trust_authority_hosts_client:[54,0,0,"-"],trusted_clusters:[60,0,0,"-"]},"com.vmware.vcenter.trusted_infrastructure.attestation_client":{Services:[54,1,1,""],StubFactory:[54,1,1,""]},"com.vmware.vcenter.trusted_infrastructure.attestation_client.Services":{"delete":[54,2,1,""],CreateSpec:[54,1,1,""],FilterSpec:[54,1,1,""],Info:[54,1,1,""],RESOURCE_TYPE:[54,3,1,""],Summary:[54,1,1,""],create:[54,2,1,""],get:[54,2,1,""],list:[54,2,1,""]},"com.vmware.vcenter.trusted_infrastructure.kms_client":{Services:[54,1,1,""],StubFactory:[54,1,1,""]},"com.vmware.vcenter.trusted_infrastructure.kms_client.Services":{"delete":[54,2,1,""],CreateSpec:[54,1,1,""],FilterSpec:[54,1,1,""],Info:[54,1,1,""],RESOURCE_TYPE:[54,3,1,""],Summary:[54,1,1,""],create:[54,2,1,""],get:[54,2,1,""],list:[54,2,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters":{attestation:[56,0,0,"-"],attestation_client:[55,0,0,"-"],kms:[58,0,0,"-"],kms_client:[55,0,0,"-"]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation":{os:[57,0,0,"-"],tpm2_client:[56,0,0,"-"]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os":{esx_client:[57,0,0,"-"]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os.esx_client":{BaseImages:[57,1,1,""],StubFactory:[57,1,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os.esx_client.BaseImages":{FilterSpec:[57,1,1,""],Health:[57,1,1,""],Info:[57,1,1,""],RESOURCE_TYPE:[57,3,1,""],Summary:[57,1,1,""],delete_task:[57,2,1,""],get_task:[57,2,1,""],import_from_imgdb_task:[57,2,1,""],list_task:[57,2,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os.esx_client.BaseImages.Health":{ERROR:[57,3,1,""],NONE:[57,3,1,""],OK:[57,3,1,""],WARNING:[57,3,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2_client":{CaCertificates:[56,1,1,""],EndorsementKeys:[56,1,1,""],Settings:[56,1,1,""],StubFactory:[56,1,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2_client.CaCertificates":{CreateSpec:[56,1,1,""],Health:[56,1,1,""],Info:[56,1,1,""],RESOURCE_TYPE:[56,3,1,""],Summary:[56,1,1,""],create_task:[56,2,1,""],delete_task:[56,2,1,""],get_task:[56,2,1,""],list_task:[56,2,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2_client.CaCertificates.Health":{ERROR:[56,3,1,""],NONE:[56,3,1,""],OK:[56,3,1,""],WARNING:[56,3,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2_client.EndorsementKeys":{CreateSpec:[56,1,1,""],Health:[56,1,1,""],Info:[56,1,1,""],RESOURCE_TYPE:[56,3,1,""],Summary:[56,1,1,""],create_task:[56,2,1,""],delete_task:[56,2,1,""],get_task:[56,2,1,""],list_task:[56,2,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2_client.EndorsementKeys.Health":{ERROR:[56,3,1,""],NONE:[56,3,1,""],OK:[56,3,1,""],WARNING:[56,3,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2_client.Settings":{Health:[56,1,1,""],Info:[56,1,1,""],UpdateSpec:[56,1,1,""],get_task:[56,2,1,""],update_task:[56,2,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2_client.Settings.Health":{ERROR:[56,3,1,""],NONE:[56,3,1,""],OK:[56,3,1,""],WARNING:[56,3,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation_client":{ServiceStatus:[55,1,1,""],StubFactory:[55,1,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation_client.ServiceStatus":{Health:[55,1,1,""],Info:[55,1,1,""],get_task:[55,2,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation_client.ServiceStatus.Health":{ERROR:[55,3,1,""],NONE:[55,3,1,""],OK:[55,3,1,""],WARNING:[55,3,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms":{providers:[59,0,0,"-"],providers_client:[58,0,0,"-"]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers":{client_certificate_client:[59,0,0,"-"]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers.client_certificate_client":{Csr:[59,1,1,""],StubFactory:[59,1,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers.client_certificate_client.Csr":{Info:[59,1,1,""],create_task:[59,2,1,""],get_task:[59,2,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers_client":{ClientCertificate:[58,1,1,""],Credential:[58,1,1,""],CurrentPeerCertificates:[58,1,1,""],StubFactory:[58,1,1,""],TrustedPeerCertificates:[58,1,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers_client.ClientCertificate":{Info:[58,1,1,""],UpdateSpec:[58,1,1,""],create_task:[58,2,1,""],get_task:[58,2,1,""],update_task:[58,2,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers_client.Credential":{set_task:[58,2,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers_client.CurrentPeerCertificates":{FilterSpec:[58,1,1,""],Summary:[58,1,1,""],list_task:[58,2,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers_client.TrustedPeerCertificates":{Info:[58,1,1,""],UpdateSpec:[58,1,1,""],get_task:[58,2,1,""],update_task:[58,2,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms_client":{Providers:[55,1,1,""],ServiceStatus:[55,1,1,""],StubFactory:[55,1,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms_client.Providers":{CreateSpec:[55,1,1,""],Health:[55,1,1,""],Info:[55,1,1,""],KeyServerCreateSpec:[55,1,1,""],KeyServerInfo:[55,1,1,""],KeyServerUpdateSpec:[55,1,1,""],KmipServerCreateSpec:[55,1,1,""],KmipServerInfo:[55,1,1,""],KmipServerUpdateSpec:[55,1,1,""],RESOURCE_TYPE:[55,3,1,""],Server:[55,1,1,""],ServerInfo:[55,1,1,""],Status:[55,1,1,""],Summary:[55,1,1,""],UpdateSpec:[55,1,1,""],create_task:[55,2,1,""],delete_task:[55,2,1,""],get_task:[55,2,1,""],list_task:[55,2,1,""],update_task:[55,2,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms_client.Providers.Health":{ERROR:[55,3,1,""],NONE:[55,3,1,""],OK:[55,3,1,""],WARNING:[55,3,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms_client.Providers.KeyServerCreateSpec":{Type:[55,1,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms_client.Providers.KeyServerCreateSpec.Type":{KMIP:[55,3,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms_client.Providers.KeyServerInfo":{Type:[55,1,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms_client.Providers.KeyServerInfo.Type":{KMIP:[55,3,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms_client.Providers.KeyServerUpdateSpec":{Type:[55,1,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms_client.Providers.KeyServerUpdateSpec.Type":{KMIP:[55,3,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms_client.ServiceStatus":{Health:[55,1,1,""],Info:[55,1,1,""],get_task:[55,2,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms_client.ServiceStatus.Health":{ERROR:[55,3,1,""],NONE:[55,3,1,""],OK:[55,3,1,""],WARNING:[55,3,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters_client":{ConsumerPrincipals:[54,1,1,""],StubFactory:[54,1,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters_client.ConsumerPrincipals":{CreateSpec:[54,1,1,""],FilterSpec:[54,1,1,""],Health:[54,1,1,""],Info:[54,1,1,""],Summary:[54,1,1,""],create_task:[54,2,1,""],delete_task:[54,2,1,""],get_task:[54,2,1,""],list_task:[54,2,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters_client.ConsumerPrincipals.Health":{ERROR:[54,3,1,""],NONE:[54,3,1,""],OK:[54,3,1,""],WARNING:[54,3,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_hosts_client":{Attestation:[54,1,1,""],Kms:[54,1,1,""],StubFactory:[54,1,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_hosts_client.Attestation":{FilterSpec:[54,1,1,""],Info:[54,1,1,""],Summary:[54,1,1,""],SummaryType:[54,1,1,""],get:[54,2,1,""],list:[54,2,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_hosts_client.Attestation.SummaryType":{BRIEF:[54,3,1,""],FULL:[54,3,1,""],NORMAL:[54,3,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_hosts_client.Kms":{FilterSpec:[54,1,1,""],Info:[54,1,1,""],Summary:[54,1,1,""],SummaryType:[54,1,1,""],get:[54,2,1,""],list:[54,2,1,""]},"com.vmware.vcenter.trusted_infrastructure.trust_authority_hosts_client.Kms.SummaryType":{BRIEF:[54,3,1,""],FULL:[54,3,1,""],NORMAL:[54,3,1,""]},"com.vmware.vcenter.trusted_infrastructure.trusted_clusters":{attestation_client:[60,0,0,"-"],kms_client:[60,0,0,"-"]},"com.vmware.vcenter.trusted_infrastructure.trusted_clusters.attestation_client":{Services:[60,1,1,""],StubFactory:[60,1,1,""]},"com.vmware.vcenter.trusted_infrastructure.trusted_clusters.attestation_client.Services":{CreateSpec:[60,1,1,""],FilterSpec:[60,1,1,""],Info:[60,1,1,""],Summary:[60,1,1,""],create_task:[60,2,1,""],delete_task:[60,2,1,""],get:[60,2,1,""],list:[60,2,1,""]},"com.vmware.vcenter.trusted_infrastructure.trusted_clusters.attestation_client.Services.CreateSpec":{SourceType:[60,1,1,""]},"com.vmware.vcenter.trusted_infrastructure.trusted_clusters.attestation_client.Services.CreateSpec.SourceType":{CLUSTER:[60,3,1,""],SERVICE:[60,3,1,""]},"com.vmware.vcenter.trusted_infrastructure.trusted_clusters.kms_client":{Services:[60,1,1,""],StubFactory:[60,1,1,""]},"com.vmware.vcenter.trusted_infrastructure.trusted_clusters.kms_client.Services":{CreateSpec:[60,1,1,""],FilterSpec:[60,1,1,""],Info:[60,1,1,""],Summary:[60,1,1,""],create_task:[60,2,1,""],delete_task:[60,2,1,""],get:[60,2,1,""],list:[60,2,1,""]},"com.vmware.vcenter.trusted_infrastructure.trusted_clusters.kms_client.Services.CreateSpec":{SourceType:[60,1,1,""]},"com.vmware.vcenter.trusted_infrastructure.trusted_clusters.kms_client.Services.CreateSpec.SourceType":{CLUSTER:[60,3,1,""],SERVICE:[60,3,1,""]},"com.vmware.vcenter.trusted_infrastructure_client":{NetworkAddress:[33,1,1,""],Principal:[33,1,1,""],StsPrincipal:[33,1,1,""],StsPrincipalId:[33,1,1,""],StsPrincipalType:[33,1,1,""],StubFactory:[33,1,1,""],TrustAuthorityClusters:[33,1,1,""],X509CertChain:[33,1,1,""]},"com.vmware.vcenter.trusted_infrastructure_client.Principal":{Info:[33,1,1,""],get:[33,2,1,""]},"com.vmware.vcenter.trusted_infrastructure_client.StsPrincipalType":{STS_GROUP:[33,3,1,""],STS_USER:[33,3,1,""]},"com.vmware.vcenter.trusted_infrastructure_client.TrustAuthorityClusters":{FilterSpec:[33,1,1,""],Info:[33,1,1,""],State:[33,1,1,""],Summary:[33,1,1,""],UpdateSpec:[33,1,1,""],get:[33,2,1,""],list:[33,2,1,""],update_task:[33,2,1,""]},"com.vmware.vcenter.trusted_infrastructure_client.TrustAuthorityClusters.State":{DISABLE:[33,3,1,""],ENABLE:[33,3,1,""]},"com.vmware.vcenter.vcha":{cluster_client:[61,0,0,"-"]},"com.vmware.vcenter.vcha.cluster_client":{Active:[61,1,1,""],DeploymentType:[61,1,1,""],Mode:[61,1,1,""],Passive:[61,1,1,""],StubFactory:[61,1,1,""],Witness:[61,1,1,""]},"com.vmware.vcenter.vcha.cluster_client.Active":{Info:[61,1,1,""],get:[61,2,1,""]},"com.vmware.vcenter.vcha.cluster_client.DeploymentType":{Info:[61,1,1,""],Type:[61,1,1,""],get:[61,2,1,""]},"com.vmware.vcenter.vcha.cluster_client.DeploymentType.Type":{AUTO:[61,3,1,""],MANUAL:[61,3,1,""],NONE:[61,3,1,""]},"com.vmware.vcenter.vcha.cluster_client.Mode":{ClusterMode:[61,1,1,""],Info:[61,1,1,""],get:[61,2,1,""],set_task:[61,2,1,""]},"com.vmware.vcenter.vcha.cluster_client.Mode.ClusterMode":{DISABLED:[61,3,1,""],ENABLED:[61,3,1,""],MAINTENANCE:[61,3,1,""]},"com.vmware.vcenter.vcha.cluster_client.Passive":{CheckResult:[61,1,1,""],CheckSpec:[61,1,1,""],RedeploySpec:[61,1,1,""],check:[61,2,1,""],redeploy_task:[61,2,1,""]},"com.vmware.vcenter.vcha.cluster_client.Witness":{CheckResult:[61,1,1,""],CheckSpec:[61,1,1,""],RedeploySpec:[61,1,1,""],check:[61,2,1,""],redeploy_task:[61,2,1,""]},"com.vmware.vcenter.vcha_client":{CertificateInfo:[33,1,1,""],Cluster:[33,1,1,""],ConnectionSpec:[33,1,1,""],CredentialsSpec:[33,1,1,""],DiskInfo:[33,1,1,""],DiskSpec:[33,1,1,""],IpFamily:[33,1,1,""],IpSpec:[33,1,1,""],Ipv4Spec:[33,1,1,""],Ipv6Spec:[33,1,1,""],NetworkType:[33,1,1,""],Operations:[33,1,1,""],PlacementInfo:[33,1,1,""],PlacementSpec:[33,1,1,""],StubFactory:[33,1,1,""]},"com.vmware.vcenter.vcha_client.Cluster":{ActiveSpec:[33,1,1,""],ClusterMode:[33,1,1,""],ClusterState:[33,1,1,""],ConfigState:[33,1,1,""],DeploySpec:[33,1,1,""],ErrorCondition:[33,1,1,""],Info:[33,1,1,""],IpFamily:[33,1,1,""],IpInfo:[33,1,1,""],Ipv4Info:[33,1,1,""],Ipv6Info:[33,1,1,""],NodeInfo:[33,1,1,""],NodeRole:[33,1,1,""],NodeRuntimeInfo:[33,1,1,""],NodeState:[33,1,1,""],NodeVmInfo:[33,1,1,""],PassiveSpec:[33,1,1,""],Type:[33,1,1,""],UndeploySpec:[33,1,1,""],VmInfo:[33,1,1,""],WitnessInfo:[33,1,1,""],WitnessSpec:[33,1,1,""],deploy_task:[33,2,1,""],failover_task:[33,2,1,""],get:[33,2,1,""],undeploy_task:[33,2,1,""]},"com.vmware.vcenter.vcha_client.Cluster.ClusterMode":{DISABLED:[33,3,1,""],ENABLED:[33,3,1,""],MAINTENANCE:[33,3,1,""]},"com.vmware.vcenter.vcha_client.Cluster.ClusterState":{DEGRADED:[33,3,1,""],HEALTHY:[33,3,1,""],ISOLATED:[33,3,1,""]},"com.vmware.vcenter.vcha_client.Cluster.ConfigState":{CONFIGURED:[33,3,1,""],INVALID:[33,3,1,""],NOTCONFIGURED:[33,3,1,""],PREPARED:[33,3,1,""]},"com.vmware.vcenter.vcha_client.Cluster.IpFamily":{IPV4:[33,3,1,""],IPV6:[33,3,1,""]},"com.vmware.vcenter.vcha_client.Cluster.NodeRole":{ACTIVE:[33,3,1,""],PASSIVE:[33,3,1,""],WITNESS:[33,3,1,""]},"com.vmware.vcenter.vcha_client.Cluster.NodeState":{DOWN:[33,3,1,""],UP:[33,3,1,""]},"com.vmware.vcenter.vcha_client.Cluster.Type":{AUTO:[33,3,1,""],MANUAL:[33,3,1,""]},"com.vmware.vcenter.vcha_client.IpFamily":{IPV4:[33,3,1,""],IPV6:[33,3,1,""]},"com.vmware.vcenter.vcha_client.NetworkType":{DISTRIBUTED_PORTGROUP:[33,3,1,""],STANDARD_PORTGROUP:[33,3,1,""]},"com.vmware.vcenter.vcha_client.Operations":{CLUSTER_DEPLOY_OP:[33,3,1,""],CLUSTER_FAILOVER_OP:[33,3,1,""],CLUSTER_GET_OP:[33,3,1,""],CLUSTER_UNDEPLOY_OP:[33,3,1,""],Info:[33,1,1,""],MODE_GET_OP:[33,3,1,""],MODE_SET_OP:[33,3,1,""],PASSIVE_REDEPLOY_OP:[33,3,1,""],WITNESS_REDEPLOY_OP:[33,3,1,""],get:[33,2,1,""]},"com.vmware.vcenter.vm":{compute_client:[62,0,0,"-"],console_client:[62,0,0,"-"],guest:[63,0,0,"-"],guest_client:[62,0,0,"-"],hardware:[64,0,0,"-"],hardware_client:[62,0,0,"-"],storage:[65,0,0,"-"],storage_client:[62,0,0,"-"],tools_client:[62,0,0,"-"]},"com.vmware.vcenter.vm.compute_client":{Policies:[62,1,1,""],StubFactory:[62,1,1,""]},"com.vmware.vcenter.vm.compute_client.Policies":{Info:[62,1,1,""],get:[62,2,1,""]},"com.vmware.vcenter.vm.console_client":{StubFactory:[62,1,1,""],Tickets:[62,1,1,""]},"com.vmware.vcenter.vm.console_client.Tickets":{CreateSpec:[62,1,1,""],Summary:[62,1,1,""],Type:[62,1,1,""],create:[62,2,1,""]},"com.vmware.vcenter.vm.console_client.Tickets.Type":{VMRC:[62,3,1,""],WEBMKS:[62,3,1,""]},"com.vmware.vcenter.vm.guest":{networking_client:[63,0,0,"-"]},"com.vmware.vcenter.vm.guest.networking_client":{Interfaces:[63,1,1,""],Routes:[63,1,1,""],StubFactory:[63,1,1,""]},"com.vmware.vcenter.vm.guest.networking_client.Interfaces":{Info:[63,1,1,""],IpAddressInfo:[63,1,1,""],IpAddressOrigin:[63,1,1,""],IpAddressStatus:[63,1,1,""],IpConfigInfo:[63,1,1,""],list:[63,2,1,""]},"com.vmware.vcenter.vm.guest.networking_client.Interfaces.IpAddressOrigin":{DHCP:[63,3,1,""],LINKLAYER:[63,3,1,""],MANUAL:[63,3,1,""],OTHER:[63,3,1,""],RANDOM:[63,3,1,""]},"com.vmware.vcenter.vm.guest.networking_client.Interfaces.IpAddressStatus":{DEPRECATED:[63,3,1,""],DUPLICATE:[63,3,1,""],INACCESSIBLE:[63,3,1,""],INVALID:[63,3,1,""],PREFERRED:[63,3,1,""],TENTATIVE:[63,3,1,""],UNKNOWN:[63,3,1,""]},"com.vmware.vcenter.vm.guest.networking_client.Routes":{Info:[63,1,1,""],list:[63,2,1,""]},"com.vmware.vcenter.vm.guest_client":{Customization:[62,1,1,""],DhcpConfigInfo:[62,1,1,""],DnsAssignedValues:[62,1,1,""],DnsConfigInfo:[62,1,1,""],Identity:[62,1,1,""],LocalFilesystem:[62,1,1,""],Networking:[62,1,1,""],Power:[62,1,1,""],StubFactory:[62,1,1,""]},"com.vmware.vcenter.vm.guest_client.Customization":{SetSpec:[62,1,1,""],set:[62,2,1,""]},"com.vmware.vcenter.vm.guest_client.Identity":{Info:[62,1,1,""],get:[62,2,1,""]},"com.vmware.vcenter.vm.guest_client.LocalFilesystem":{Info:[62,1,1,""],VirtualDiskMapping:[62,1,1,""],get:[62,2,1,""]},"com.vmware.vcenter.vm.guest_client.Networking":{Info:[62,1,1,""],get:[62,2,1,""]},"com.vmware.vcenter.vm.guest_client.Power":{Info:[62,1,1,""],State:[62,1,1,""],get:[62,2,1,""],reboot:[62,2,1,""],shutdown:[62,2,1,""],standby:[62,2,1,""]},"com.vmware.vcenter.vm.guest_client.Power.State":{NOT_RUNNING:[62,3,1,""],RESETTING:[62,3,1,""],RUNNING:[62,3,1,""],SHUTTING_DOWN:[62,3,1,""],STANDBY:[62,3,1,""],UNAVAILABLE:[62,3,1,""]},"com.vmware.vcenter.vm.hardware":{adapter_client:[64,0,0,"-"],boot_client:[64,0,0,"-"]},"com.vmware.vcenter.vm.hardware.adapter_client":{Sata:[64,1,1,""],Scsi:[64,1,1,""],StubFactory:[64,1,1,""]},"com.vmware.vcenter.vm.hardware.adapter_client.Sata":{"delete":[64,2,1,""],CreateSpec:[64,1,1,""],Info:[64,1,1,""],RESOURCE_TYPE:[64,3,1,""],Summary:[64,1,1,""],Type:[64,1,1,""],create:[64,2,1,""],get:[64,2,1,""],list:[64,2,1,""]},"com.vmware.vcenter.vm.hardware.adapter_client.Sata.Type":{AHCI:[64,3,1,""]},"com.vmware.vcenter.vm.hardware.adapter_client.Scsi":{"delete":[64,2,1,""],CreateSpec:[64,1,1,""],Info:[64,1,1,""],RESOURCE_TYPE:[64,3,1,""],Sharing:[64,1,1,""],Summary:[64,1,1,""],Type:[64,1,1,""],UpdateSpec:[64,1,1,""],create:[64,2,1,""],get:[64,2,1,""],list:[64,2,1,""],update:[64,2,1,""]},"com.vmware.vcenter.vm.hardware.adapter_client.Scsi.Sharing":{NONE:[64,3,1,""],PHYSICAL:[64,3,1,""],VIRTUAL:[64,3,1,""]},"com.vmware.vcenter.vm.hardware.adapter_client.Scsi.Type":{BUSLOGIC:[64,3,1,""],LSILOGIC:[64,3,1,""],LSILOGICSAS:[64,3,1,""],PVSCSI:[64,3,1,""]},"com.vmware.vcenter.vm.hardware.boot_client":{Device:[64,1,1,""],StubFactory:[64,1,1,""]},"com.vmware.vcenter.vm.hardware.boot_client.Device":{Entry:[64,1,1,""],EntryCreateSpec:[64,1,1,""],Type:[64,1,1,""],get:[64,2,1,""],set:[64,2,1,""]},"com.vmware.vcenter.vm.hardware.boot_client.Device.Type":{CDROM:[64,3,1,""],DISK:[64,3,1,""],ETHERNET:[64,3,1,""],FLOPPY:[64,3,1,""]},"com.vmware.vcenter.vm.hardware_client":{Boot:[62,1,1,""],Cdrom:[62,1,1,""],ConnectionCreateSpec:[62,1,1,""],ConnectionInfo:[62,1,1,""],ConnectionState:[62,1,1,""],ConnectionUpdateSpec:[62,1,1,""],Cpu:[62,1,1,""],Disk:[62,1,1,""],Ethernet:[62,1,1,""],Floppy:[62,1,1,""],IdeAddressInfo:[62,1,1,""],IdeAddressSpec:[62,1,1,""],Memory:[62,1,1,""],Parallel:[62,1,1,""],SataAddressInfo:[62,1,1,""],SataAddressSpec:[62,1,1,""],ScsiAddressInfo:[62,1,1,""],ScsiAddressSpec:[62,1,1,""],Serial:[62,1,1,""],StubFactory:[62,1,1,""]},"com.vmware.vcenter.vm.hardware_client.Boot":{CreateSpec:[62,1,1,""],Info:[62,1,1,""],NetworkProtocol:[62,1,1,""],Type:[62,1,1,""],UpdateSpec:[62,1,1,""],get:[62,2,1,""],update:[62,2,1,""]},"com.vmware.vcenter.vm.hardware_client.Boot.NetworkProtocol":{IPV4:[62,3,1,""],IPV6:[62,3,1,""]},"com.vmware.vcenter.vm.hardware_client.Boot.Type":{BIOS:[62,3,1,""],EFI:[62,3,1,""]},"com.vmware.vcenter.vm.hardware_client.Cdrom":{"delete":[62,2,1,""],BackingInfo:[62,1,1,""],BackingSpec:[62,1,1,""],BackingType:[62,1,1,""],CreateSpec:[62,1,1,""],DeviceAccessType:[62,1,1,""],HostBusAdapterType:[62,1,1,""],Info:[62,1,1,""],RESOURCE_TYPE:[62,3,1,""],Summary:[62,1,1,""],UpdateSpec:[62,1,1,""],connect:[62,2,1,""],create:[62,2,1,""],disconnect:[62,2,1,""],get:[62,2,1,""],list:[62,2,1,""],update:[62,2,1,""]},"com.vmware.vcenter.vm.hardware_client.Cdrom.BackingType":{CLIENT_DEVICE:[62,3,1,""],HOST_DEVICE:[62,3,1,""],ISO_FILE:[62,3,1,""]},"com.vmware.vcenter.vm.hardware_client.Cdrom.DeviceAccessType":{EMULATION:[62,3,1,""],PASSTHRU:[62,3,1,""],PASSTHRU_EXCLUSIVE:[62,3,1,""]},"com.vmware.vcenter.vm.hardware_client.Cdrom.HostBusAdapterType":{IDE:[62,3,1,""],SATA:[62,3,1,""]},"com.vmware.vcenter.vm.hardware_client.ConnectionState":{CONNECTED:[62,3,1,""],NOT_CONNECTED:[62,3,1,""],RECOVERABLE_ERROR:[62,3,1,""],UNKNOWN:[62,3,1,""],UNRECOVERABLE_ERROR:[62,3,1,""]},"com.vmware.vcenter.vm.hardware_client.Cpu":{Info:[62,1,1,""],UpdateSpec:[62,1,1,""],get:[62,2,1,""],update:[62,2,1,""]},"com.vmware.vcenter.vm.hardware_client.Disk":{"delete":[62,2,1,""],BackingInfo:[62,1,1,""],BackingSpec:[62,1,1,""],BackingType:[62,1,1,""],CreateSpec:[62,1,1,""],HostBusAdapterType:[62,1,1,""],Info:[62,1,1,""],RESOURCE_TYPE:[62,3,1,""],StoragePolicySpec:[62,1,1,""],Summary:[62,1,1,""],UpdateSpec:[62,1,1,""],VmdkCreateSpec:[62,1,1,""],create:[62,2,1,""],get:[62,2,1,""],list:[62,2,1,""],update:[62,2,1,""]},"com.vmware.vcenter.vm.hardware_client.Disk.BackingType":{VMDK_FILE:[62,3,1,""]},"com.vmware.vcenter.vm.hardware_client.Disk.HostBusAdapterType":{IDE:[62,3,1,""],SATA:[62,3,1,""],SCSI:[62,3,1,""]},"com.vmware.vcenter.vm.hardware_client.Ethernet":{"delete":[62,2,1,""],BackingInfo:[62,1,1,""],BackingSpec:[62,1,1,""],BackingType:[62,1,1,""],CreateSpec:[62,1,1,""],EmulationType:[62,1,1,""],Info:[62,1,1,""],MacAddressType:[62,1,1,""],RESOURCE_TYPE:[62,3,1,""],Summary:[62,1,1,""],UpdateSpec:[62,1,1,""],connect:[62,2,1,""],create:[62,2,1,""],disconnect:[62,2,1,""],get:[62,2,1,""],list:[62,2,1,""],update:[62,2,1,""]},"com.vmware.vcenter.vm.hardware_client.Ethernet.BackingType":{DISTRIBUTED_PORTGROUP:[62,3,1,""],HOST_DEVICE:[62,3,1,""],OPAQUE_NETWORK:[62,3,1,""],STANDARD_PORTGROUP:[62,3,1,""]},"com.vmware.vcenter.vm.hardware_client.Ethernet.EmulationType":{E1000:[62,3,1,""],E1000E:[62,3,1,""],PCNET32:[62,3,1,""],VMXNET2:[62,3,1,""],VMXNET3:[62,3,1,""],VMXNET:[62,3,1,""]},"com.vmware.vcenter.vm.hardware_client.Ethernet.MacAddressType":{ASSIGNED:[62,3,1,""],GENERATED:[62,3,1,""],MANUAL:[62,3,1,""]},"com.vmware.vcenter.vm.hardware_client.Floppy":{"delete":[62,2,1,""],BackingInfo:[62,1,1,""],BackingSpec:[62,1,1,""],BackingType:[62,1,1,""],CreateSpec:[62,1,1,""],Info:[62,1,1,""],RESOURCE_TYPE:[62,3,1,""],Summary:[62,1,1,""],UpdateSpec:[62,1,1,""],connect:[62,2,1,""],create:[62,2,1,""],disconnect:[62,2,1,""],get:[62,2,1,""],list:[62,2,1,""],update:[62,2,1,""]},"com.vmware.vcenter.vm.hardware_client.Floppy.BackingType":{CLIENT_DEVICE:[62,3,1,""],HOST_DEVICE:[62,3,1,""],IMAGE_FILE:[62,3,1,""]},"com.vmware.vcenter.vm.hardware_client.Memory":{Info:[62,1,1,""],UpdateSpec:[62,1,1,""],get:[62,2,1,""],update:[62,2,1,""]},"com.vmware.vcenter.vm.hardware_client.Parallel":{"delete":[62,2,1,""],BackingInfo:[62,1,1,""],BackingSpec:[62,1,1,""],BackingType:[62,1,1,""],CreateSpec:[62,1,1,""],Info:[62,1,1,""],RESOURCE_TYPE:[62,3,1,""],Summary:[62,1,1,""],UpdateSpec:[62,1,1,""],connect:[62,2,1,""],create:[62,2,1,""],disconnect:[62,2,1,""],get:[62,2,1,""],list:[62,2,1,""],update:[62,2,1,""]},"com.vmware.vcenter.vm.hardware_client.Parallel.BackingType":{FILE:[62,3,1,""],HOST_DEVICE:[62,3,1,""]},"com.vmware.vcenter.vm.hardware_client.Serial":{"delete":[62,2,1,""],BackingInfo:[62,1,1,""],BackingSpec:[62,1,1,""],BackingType:[62,1,1,""],CreateSpec:[62,1,1,""],Info:[62,1,1,""],RESOURCE_TYPE:[62,3,1,""],Summary:[62,1,1,""],UpdateSpec:[62,1,1,""],connect:[62,2,1,""],create:[62,2,1,""],disconnect:[62,2,1,""],get:[62,2,1,""],list:[62,2,1,""],update:[62,2,1,""]},"com.vmware.vcenter.vm.hardware_client.Serial.BackingType":{FILE:[62,3,1,""],HOST_DEVICE:[62,3,1,""],NETWORK_CLIENT:[62,3,1,""],NETWORK_SERVER:[62,3,1,""],PIPE_CLIENT:[62,3,1,""],PIPE_SERVER:[62,3,1,""]},"com.vmware.vcenter.vm.storage":{policy_client:[65,0,0,"-"]},"com.vmware.vcenter.vm.storage.policy_client":{Compliance:[65,1,1,""],StubFactory:[65,1,1,""]},"com.vmware.vcenter.vm.storage.policy_client.Compliance":{CheckSpec:[65,1,1,""],Info:[65,1,1,""],Status:[65,1,1,""],VmComplianceInfo:[65,1,1,""],check:[65,2,1,""],get:[65,2,1,""]},"com.vmware.vcenter.vm.storage.policy_client.Compliance.Status":{COMPLIANT:[65,3,1,""],NON_COMPLIANT:[65,3,1,""],NOT_APPLICABLE:[65,3,1,""],OUT_OF_DATE:[65,3,1,""],UNKNOWN_COMPLIANCE:[65,3,1,""]},"com.vmware.vcenter.vm.storage_client":{Policy:[62,1,1,""],StubFactory:[62,1,1,""]},"com.vmware.vcenter.vm.storage_client.Policy":{DiskPolicySpec:[62,1,1,""],Info:[62,1,1,""],UpdateSpec:[62,1,1,""],VmHomePolicySpec:[62,1,1,""],get:[62,2,1,""],update:[62,2,1,""]},"com.vmware.vcenter.vm.storage_client.Policy.DiskPolicySpec":{PolicyType:[62,1,1,""]},"com.vmware.vcenter.vm.storage_client.Policy.DiskPolicySpec.PolicyType":{USE_DEFAULT_POLICY:[62,3,1,""],USE_SPECIFIED_POLICY:[62,3,1,""]},"com.vmware.vcenter.vm.storage_client.Policy.VmHomePolicySpec":{PolicyType:[62,1,1,""]},"com.vmware.vcenter.vm.storage_client.Policy.VmHomePolicySpec.PolicyType":{USE_DEFAULT_POLICY:[62,3,1,""],USE_SPECIFIED_POLICY:[62,3,1,""]},"com.vmware.vcenter.vm.tools_client":{Installer:[62,1,1,""],StubFactory:[62,1,1,""]},"com.vmware.vcenter.vm.tools_client.Installer":{Info:[62,1,1,""],connect:[62,2,1,""],disconnect:[62,2,1,""],get:[62,2,1,""]},"com.vmware.vcenter.vm_client":{GuestOS:[33,1,1,""],GuestOSFamily:[33,1,1,""],Hardware:[33,1,1,""],Identity:[33,1,1,""],LibraryItem:[33,1,1,""],Power:[33,1,1,""],StubFactory:[33,1,1,""],Tools:[33,1,1,""]},"com.vmware.vcenter.vm_client.GuestOS":{AMAZONLINUX2_64:[33,3,1,""],ASIANUX_3:[33,3,1,""],ASIANUX_3_64:[33,3,1,""],ASIANUX_4:[33,3,1,""],ASIANUX_4_64:[33,3,1,""],ASIANUX_5_64:[33,3,1,""],ASIANUX_7_64:[33,3,1,""],ASIANUX_8_64:[33,3,1,""],CENTOS:[33,3,1,""],CENTOS_64:[33,3,1,""],CENTOS_6:[33,3,1,""],CENTOS_6_64:[33,3,1,""],CENTOS_7:[33,3,1,""],CENTOS_7_64:[33,3,1,""],CENTOS_8_64:[33,3,1,""],COREOS_64:[33,3,1,""],CRXPOD_1:[33,3,1,""],DARWIN:[33,3,1,""],DARWIN_10:[33,3,1,""],DARWIN_10_64:[33,3,1,""],DARWIN_11:[33,3,1,""],DARWIN_11_64:[33,3,1,""],DARWIN_12_64:[33,3,1,""],DARWIN_13_64:[33,3,1,""],DARWIN_14_64:[33,3,1,""],DARWIN_15_64:[33,3,1,""],DARWIN_16_64:[33,3,1,""],DARWIN_17_64:[33,3,1,""],DARWIN_18_64:[33,3,1,""],DARWIN_19_64:[33,3,1,""],DARWIN_64:[33,3,1,""],DEBIAN_10:[33,3,1,""],DEBIAN_10_64:[33,3,1,""],DEBIAN_11:[33,3,1,""],DEBIAN_11_64:[33,3,1,""],DEBIAN_4:[33,3,1,""],DEBIAN_4_64:[33,3,1,""],DEBIAN_5:[33,3,1,""],DEBIAN_5_64:[33,3,1,""],DEBIAN_6:[33,3,1,""],DEBIAN_6_64:[33,3,1,""],DEBIAN_7:[33,3,1,""],DEBIAN_7_64:[33,3,1,""],DEBIAN_8:[33,3,1,""],DEBIAN_8_64:[33,3,1,""],DEBIAN_9:[33,3,1,""],DEBIAN_9_64:[33,3,1,""],DOS:[33,3,1,""],ECOMSTATION:[33,3,1,""],ECOMSTATION_2:[33,3,1,""],FEDORA:[33,3,1,""],FEDORA_64:[33,3,1,""],FREEBSD:[33,3,1,""],FREEBSD_11:[33,3,1,""],FREEBSD_11_64:[33,3,1,""],FREEBSD_12:[33,3,1,""],FREEBSD_12_64:[33,3,1,""],FREEBSD_64:[33,3,1,""],GENERIC_LINUX:[33,3,1,""],MANDRAKE:[33,3,1,""],MANDRIVA:[33,3,1,""],MANDRIVA_64:[33,3,1,""],NETWARE_4:[33,3,1,""],NETWARE_5:[33,3,1,""],NETWARE_6:[33,3,1,""],NLD_9:[33,3,1,""],OES:[33,3,1,""],OPENSERVER_5:[33,3,1,""],OPENSERVER_6:[33,3,1,""],OPENSUSE:[33,3,1,""],OPENSUSE_64:[33,3,1,""],ORACLE_LINUX:[33,3,1,""],ORACLE_LINUX_64:[33,3,1,""],ORACLE_LINUX_6:[33,3,1,""],ORACLE_LINUX_6_64:[33,3,1,""],ORACLE_LINUX_7:[33,3,1,""],ORACLE_LINUX_7_64:[33,3,1,""],ORACLE_LINUX_8_64:[33,3,1,""],OS2:[33,3,1,""],OTHER:[33,3,1,""],OTHER_24X_LINUX:[33,3,1,""],OTHER_24X_LINUX_64:[33,3,1,""],OTHER_26X_LINUX:[33,3,1,""],OTHER_26X_LINUX_64:[33,3,1,""],OTHER_3X_LINUX:[33,3,1,""],OTHER_3X_LINUX_64:[33,3,1,""],OTHER_4X_LINUX:[33,3,1,""],OTHER_4X_LINUX_64:[33,3,1,""],OTHER_64:[33,3,1,""],OTHER_LINUX:[33,3,1,""],OTHER_LINUX_64:[33,3,1,""],REDHAT:[33,3,1,""],RHEL_2:[33,3,1,""],RHEL_3:[33,3,1,""],RHEL_3_64:[33,3,1,""],RHEL_4:[33,3,1,""],RHEL_4_64:[33,3,1,""],RHEL_5:[33,3,1,""],RHEL_5_64:[33,3,1,""],RHEL_6:[33,3,1,""],RHEL_6_64:[33,3,1,""],RHEL_7:[33,3,1,""],RHEL_7_64:[33,3,1,""],RHEL_8_64:[33,3,1,""],SJDS:[33,3,1,""],SLES:[33,3,1,""],SLES_10:[33,3,1,""],SLES_10_64:[33,3,1,""],SLES_11:[33,3,1,""],SLES_11_64:[33,3,1,""],SLES_12:[33,3,1,""],SLES_12_64:[33,3,1,""],SLES_15_64:[33,3,1,""],SLES_64:[33,3,1,""],SOLARIS_10:[33,3,1,""],SOLARIS_10_64:[33,3,1,""],SOLARIS_11_64:[33,3,1,""],SOLARIS_6:[33,3,1,""],SOLARIS_7:[33,3,1,""],SOLARIS_8:[33,3,1,""],SOLARIS_9:[33,3,1,""],SUSE:[33,3,1,""],SUSE_64:[33,3,1,""],TURBO_LINUX:[33,3,1,""],TURBO_LINUX_64:[33,3,1,""],UBUNTU:[33,3,1,""],UBUNTU_64:[33,3,1,""],UNIXWARE_7:[33,3,1,""],VMKERNEL:[33,3,1,""],VMKERNEL_5:[33,3,1,""],VMKERNEL_65:[33,3,1,""],VMKERNEL_6:[33,3,1,""],VMKERNEL_7:[33,3,1,""],VMWARE_PHOTON_64:[33,3,1,""],WINDOWS_7:[33,3,1,""],WINDOWS_7_64:[33,3,1,""],WINDOWS_7_SERVER_64:[33,3,1,""],WINDOWS_8:[33,3,1,""],WINDOWS_8_64:[33,3,1,""],WINDOWS_8_SERVER_64:[33,3,1,""],WINDOWS_9:[33,3,1,""],WINDOWS_9_64:[33,3,1,""],WINDOWS_9_SERVER_64:[33,3,1,""],WINDOWS_HYPERV:[33,3,1,""],WINDOWS_SERVER_2019:[33,3,1,""],WIN_2000_ADV_SERV:[33,3,1,""],WIN_2000_PRO:[33,3,1,""],WIN_2000_SERV:[33,3,1,""],WIN_31:[33,3,1,""],WIN_95:[33,3,1,""],WIN_98:[33,3,1,""],WIN_LONGHORN:[33,3,1,""],WIN_LONGHORN_64:[33,3,1,""],WIN_ME:[33,3,1,""],WIN_NET_BUSINESS:[33,3,1,""],WIN_NET_DATACENTER:[33,3,1,""],WIN_NET_DATACENTER_64:[33,3,1,""],WIN_NET_ENTERPRISE:[33,3,1,""],WIN_NET_ENTERPRISE_64:[33,3,1,""],WIN_NET_STANDARD:[33,3,1,""],WIN_NET_STANDARD_64:[33,3,1,""],WIN_NET_WEB:[33,3,1,""],WIN_NT:[33,3,1,""],WIN_VISTA:[33,3,1,""],WIN_VISTA_64:[33,3,1,""],WIN_XP_HOME:[33,3,1,""],WIN_XP_PRO:[33,3,1,""],WIN_XP_PRO_64:[33,3,1,""]},"com.vmware.vcenter.vm_client.GuestOSFamily":{DARWIN:[33,3,1,""],LINUX:[33,3,1,""],NETWARE:[33,3,1,""],OTHER:[33,3,1,""],SOLARIS:[33,3,1,""],WINDOWS:[33,3,1,""]},"com.vmware.vcenter.vm_client.Hardware":{Info:[33,1,1,""],UpdateSpec:[33,1,1,""],UpgradePolicy:[33,1,1,""],UpgradeStatus:[33,1,1,""],Version:[33,1,1,""],get:[33,2,1,""],update:[33,2,1,""],upgrade:[33,2,1,""]},"com.vmware.vcenter.vm_client.Hardware.UpgradePolicy":{AFTER_CLEAN_SHUTDOWN:[33,3,1,""],ALWAYS:[33,3,1,""],NEVER:[33,3,1,""]},"com.vmware.vcenter.vm_client.Hardware.UpgradeStatus":{FAILED:[33,3,1,""],NONE:[33,3,1,""],PENDING:[33,3,1,""],SUCCESS:[33,3,1,""]},"com.vmware.vcenter.vm_client.Hardware.Version":{VMX_03:[33,3,1,""],VMX_04:[33,3,1,""],VMX_06:[33,3,1,""],VMX_07:[33,3,1,""],VMX_08:[33,3,1,""],VMX_09:[33,3,1,""],VMX_10:[33,3,1,""],VMX_11:[33,3,1,""],VMX_12:[33,3,1,""],VMX_13:[33,3,1,""],VMX_14:[33,3,1,""],VMX_15:[33,3,1,""],VMX_16:[33,3,1,""],VMX_17:[33,3,1,""]},"com.vmware.vcenter.vm_client.Identity":{Info:[33,1,1,""]},"com.vmware.vcenter.vm_client.LibraryItem":{CheckOutInfo:[33,1,1,""],Info:[33,1,1,""],get:[33,2,1,""]},"com.vmware.vcenter.vm_client.Power":{Info:[33,1,1,""],State:[33,1,1,""],get:[33,2,1,""],reset:[33,2,1,""],start:[33,2,1,""],stop:[33,2,1,""],suspend:[33,2,1,""]},"com.vmware.vcenter.vm_client.Power.State":{POWERED_OFF:[33,3,1,""],POWERED_ON:[33,3,1,""],SUSPENDED:[33,3,1,""]},"com.vmware.vcenter.vm_client.Tools":{Info:[33,1,1,""],RunState:[33,1,1,""],ToolsInstallType:[33,1,1,""],UpdateSpec:[33,1,1,""],UpgradePolicy:[33,1,1,""],VersionStatus:[33,1,1,""],get:[33,2,1,""],update:[33,2,1,""],upgrade:[33,2,1,""]},"com.vmware.vcenter.vm_client.Tools.RunState":{EXECUTING_SCRIPTS:[33,3,1,""],NOT_RUNNING:[33,3,1,""],RUNNING:[33,3,1,""]},"com.vmware.vcenter.vm_client.Tools.ToolsInstallType":{MSI:[33,3,1,""],OPEN_VM_TOOLS:[33,3,1,""],OSP:[33,3,1,""],TAR:[33,3,1,""],UNKNOWN:[33,3,1,""]},"com.vmware.vcenter.vm_client.Tools.UpgradePolicy":{MANUAL:[33,3,1,""],UPGRADE_AT_POWER_CYCLE:[33,3,1,""]},"com.vmware.vcenter.vm_client.Tools.VersionStatus":{BLACKLISTED:[33,3,1,""],CURRENT:[33,3,1,""],NOT_INSTALLED:[33,3,1,""],SUPPORTED_NEW:[33,3,1,""],SUPPORTED_OLD:[33,3,1,""],TOO_NEW:[33,3,1,""],TOO_OLD_UNSUPPORTED:[33,3,1,""],UNMANAGED:[33,3,1,""]},"com.vmware.vcenter.vm_template":{library_items_client:[66,0,0,"-"]},"com.vmware.vcenter.vm_template.library_items_client":{CheckOuts:[66,1,1,""],StubFactory:[66,1,1,""],Versions:[66,1,1,""]},"com.vmware.vcenter.vm_template.library_items_client.CheckOuts":{"delete":[66,2,1,""],CheckInSpec:[66,1,1,""],CheckOutSpec:[66,1,1,""],Info:[66,1,1,""],PlacementSpec:[66,1,1,""],Summary:[66,1,1,""],check_in:[66,2,1,""],check_out:[66,2,1,""],get:[66,2,1,""],list:[66,2,1,""]},"com.vmware.vcenter.vm_template.library_items_client.Versions":{"delete":[66,2,1,""],Info:[66,1,1,""],RESOURCE_TYPE:[66,3,1,""],RollbackSpec:[66,1,1,""],Summary:[66,1,1,""],get:[66,2,1,""],list:[66,2,1,""],rollback:[66,2,1,""]},"com.vmware.vcenter.vm_template_client":{LibraryItems:[33,1,1,""],StubFactory:[33,1,1,""]},"com.vmware.vcenter.vm_template_client.LibraryItems":{CpuInfo:[33,1,1,""],CpuUpdateSpec:[33,1,1,""],CreatePlacementSpec:[33,1,1,""],CreateSpec:[33,1,1,""],CreateSpecDiskStorage:[33,1,1,""],CreateSpecDiskStoragePolicy:[33,1,1,""],CreateSpecVmHomeStorage:[33,1,1,""],CreateSpecVmHomeStoragePolicy:[33,1,1,""],DeployPlacementSpec:[33,1,1,""],DeploySpec:[33,1,1,""],DeploySpecDiskStorage:[33,1,1,""],DeploySpecDiskStoragePolicy:[33,1,1,""],DeploySpecVmHomeStorage:[33,1,1,""],DeploySpecVmHomeStoragePolicy:[33,1,1,""],DiskInfo:[33,1,1,""],DiskStorageInfo:[33,1,1,""],DiskUpdateSpec:[33,1,1,""],EthernetInfo:[33,1,1,""],EthernetUpdateSpec:[33,1,1,""],GuestCustomizationSpec:[33,1,1,""],HardwareCustomizationSpec:[33,1,1,""],Info:[33,1,1,""],MemoryInfo:[33,1,1,""],MemoryUpdateSpec:[33,1,1,""],VmHomeStorageInfo:[33,1,1,""],create:[33,2,1,""],deploy:[33,2,1,""],get:[33,2,1,""]},"com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy":{Type:[33,1,1,""]},"com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecDiskStoragePolicy.Type":{USE_SPECIFIED_POLICY:[33,3,1,""]},"com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy":{Type:[33,1,1,""]},"com.vmware.vcenter.vm_template_client.LibraryItems.CreateSpecVmHomeStoragePolicy.Type":{USE_SPECIFIED_POLICY:[33,3,1,""]},"com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy":{Type:[33,1,1,""]},"com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecDiskStoragePolicy.Type":{USE_SOURCE_POLICY:[33,3,1,""],USE_SPECIFIED_POLICY:[33,3,1,""]},"com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy":{Type:[33,1,1,""]},"com.vmware.vcenter.vm_template_client.LibraryItems.DeploySpecVmHomeStoragePolicy.Type":{USE_SOURCE_POLICY:[33,3,1,""],USE_SPECIFIED_POLICY:[33,3,1,""]},"com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo":{MacAddressType:[33,1,1,""],NetworkBackingType:[33,1,1,""]},"com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.MacAddressType":{ASSIGNED:[33,3,1,""],GENERATED:[33,3,1,""],MANUAL:[33,3,1,""]},"com.vmware.vcenter.vm_template_client.LibraryItems.EthernetInfo.NetworkBackingType":{DISTRIBUTED_PORTGROUP:[33,3,1,""],HOST_DEVICE:[33,3,1,""],OPAQUE_NETWORK:[33,3,1,""],STANDARD_PORTGROUP:[33,3,1,""]},"com.vmware.vcenter_client":{Cluster:[1,1,1,""],Datacenter:[1,1,1,""],Datastore:[1,1,1,""],Deployment:[1,1,1,""],Folder:[1,1,1,""],Host:[1,1,1,""],Network:[1,1,1,""],ResourcePool:[1,1,1,""],StubFactory:[1,1,1,""],VM:[1,1,1,""]},"com.vmware.vcenter_client.Cluster":{FilterSpec:[1,1,1,""],Info:[1,1,1,""],RESOURCE_TYPE:[1,3,1,""],Summary:[1,1,1,""],get:[1,2,1,""],list:[1,2,1,""]},"com.vmware.vcenter_client.Datacenter":{"delete":[1,2,1,""],CreateSpec:[1,1,1,""],FilterSpec:[1,1,1,""],Info:[1,1,1,""],RESOURCE_TYPE:[1,3,1,""],Summary:[1,1,1,""],create:[1,2,1,""],get:[1,2,1,""],list:[1,2,1,""]},"com.vmware.vcenter_client.Datastore":{FilterSpec:[1,1,1,""],Info:[1,1,1,""],RESOURCE_TYPE:[1,3,1,""],Summary:[1,1,1,""],Type:[1,1,1,""],get:[1,2,1,""],list:[1,2,1,""]},"com.vmware.vcenter_client.Datastore.Type":{CIFS:[1,3,1,""],NFS41:[1,3,1,""],NFS:[1,3,1,""],VFFS:[1,3,1,""],VMFS:[1,3,1,""],VSAN:[1,3,1,""],VVOL:[1,3,1,""]},"com.vmware.vcenter_client.Deployment":{Info:[1,1,1,""],Task:[1,1,1,""],get:[1,2,1,""],rollback:[1,2,1,""]},"com.vmware.vcenter_client.Folder":{FilterSpec:[1,1,1,""],RESOURCE_TYPE:[1,3,1,""],Summary:[1,1,1,""],Type:[1,1,1,""],list:[1,2,1,""]},"com.vmware.vcenter_client.Folder.Type":{DATACENTER:[1,3,1,""],DATASTORE:[1,3,1,""],HOST:[1,3,1,""],NETWORK:[1,3,1,""],VIRTUAL_MACHINE:[1,3,1,""]},"com.vmware.vcenter_client.Host":{"delete":[1,2,1,""],ConnectionState:[1,1,1,""],CreateSpec:[1,1,1,""],FilterSpec:[1,1,1,""],PowerState:[1,1,1,""],RESOURCE_TYPE:[1,3,1,""],Summary:[1,1,1,""],connect:[1,2,1,""],create:[1,2,1,""],disconnect:[1,2,1,""],list:[1,2,1,""]},"com.vmware.vcenter_client.Host.ConnectionState":{CONNECTED:[1,3,1,""],DISCONNECTED:[1,3,1,""],NOT_RESPONDING:[1,3,1,""]},"com.vmware.vcenter_client.Host.CreateSpec":{ThumbprintVerification:[1,1,1,""]},"com.vmware.vcenter_client.Host.CreateSpec.ThumbprintVerification":{NONE:[1,3,1,""],THUMBPRINT:[1,3,1,""]},"com.vmware.vcenter_client.Host.PowerState":{POWERED_OFF:[1,3,1,""],POWERED_ON:[1,3,1,""],STANDBY:[1,3,1,""]},"com.vmware.vcenter_client.Network":{FilterSpec:[1,1,1,""],RESOURCE_TYPE:[1,3,1,""],Summary:[1,1,1,""],Type:[1,1,1,""],list:[1,2,1,""]},"com.vmware.vcenter_client.Network.Type":{DISTRIBUTED_PORTGROUP:[1,3,1,""],OPAQUE_NETWORK:[1,3,1,""],STANDARD_PORTGROUP:[1,3,1,""]},"com.vmware.vcenter_client.ResourcePool":{"delete":[1,2,1,""],CreateSpec:[1,1,1,""],FilterSpec:[1,1,1,""],Info:[1,1,1,""],RESOURCE_TYPE:[1,3,1,""],ResourceAllocationCreateSpec:[1,1,1,""],ResourceAllocationInfo:[1,1,1,""],ResourceAllocationUpdateSpec:[1,1,1,""],SharesInfo:[1,1,1,""],Summary:[1,1,1,""],UpdateSpec:[1,1,1,""],create:[1,2,1,""],get:[1,2,1,""],list:[1,2,1,""],update:[1,2,1,""]},"com.vmware.vcenter_client.ResourcePool.SharesInfo":{Level:[1,1,1,""]},"com.vmware.vcenter_client.ResourcePool.SharesInfo.Level":{CUSTOM:[1,3,1,""],HIGH:[1,3,1,""],LOW:[1,3,1,""],NORMAL:[1,3,1,""]},"com.vmware.vcenter_client.VM":{"delete":[1,2,1,""],ClonePlacementSpec:[1,1,1,""],CloneSpec:[1,1,1,""],ComputePlacementSpec:[1,1,1,""],CreateSpec:[1,1,1,""],DiskCloneSpec:[1,1,1,""],DiskRelocateSpec:[1,1,1,""],FilterSpec:[1,1,1,""],GuestCustomizationSpec:[1,1,1,""],Info:[1,1,1,""],InstantClonePlacementSpec:[1,1,1,""],InstantCloneSpec:[1,1,1,""],InventoryPlacementSpec:[1,1,1,""],PlacementSpec:[1,1,1,""],RESOURCE_TYPE:[1,3,1,""],RegisterPlacementSpec:[1,1,1,""],RegisterSpec:[1,1,1,""],RelocatePlacementSpec:[1,1,1,""],RelocateSpec:[1,1,1,""],StoragePlacementSpec:[1,1,1,""],StoragePolicySpec:[1,1,1,""],Summary:[1,1,1,""],clone:[1,2,1,""],clone_task:[1,2,1,""],create:[1,2,1,""],get:[1,2,1,""],instant_clone:[1,2,1,""],list:[1,2,1,""],register:[1,2,1,""],relocate:[1,2,1,""],relocate_task:[1,2,1,""],unregister:[1,2,1,""]},"com.vmware.vstats_client":{AcqSpecs:[1,1,1,""],CidMid:[1,1,1,""],CounterMetadata:[1,1,1,""],CounterSets:[1,1,1,""],Counters:[1,1,1,""],Data:[1,1,1,""],Metrics:[1,1,1,""],Providers:[1,1,1,""],QueryPredicate:[1,1,1,""],ResourceAddressSchemas:[1,1,1,""],ResourceAddresses:[1,1,1,""],ResourceTypes:[1,1,1,""],RsrcId:[1,1,1,""],StubFactory:[1,1,1,""],UserInfo:[1,1,1,""]},"com.vmware.vstats_client.AcqSpecs":{"delete":[1,2,1,""],CounterSpec:[1,1,1,""],CreateSpec:[1,1,1,""],FilterSpec:[1,1,1,""],Info:[1,1,1,""],ListResult:[1,1,1,""],RESOURCE_TYPE:[1,3,1,""],Status:[1,1,1,""],UpdateSpec:[1,1,1,""],create:[1,2,1,""],get:[1,2,1,""],list:[1,2,1,""],update:[1,2,1,""]},"com.vmware.vstats_client.AcqSpecs.Status":{DISABLED:[1,3,1,""],ENABLED:[1,3,1,""],EXPIRED:[1,3,1,""]},"com.vmware.vstats_client.CounterMetadata":{CounterEditionStatus:[1,1,1,""],FilterSpec:[1,1,1,""],Info:[1,1,1,""],MetricUnits:[1,1,1,""],SampleType:[1,1,1,""],UnitsFactor:[1,1,1,""],get:[1,2,1,""],get_default:[1,2,1,""],list:[1,2,1,""]},"com.vmware.vstats_client.CounterMetadata.CounterEditionStatus":{CURRENT:[1,3,1,""],DEFAULT:[1,3,1,""],DEPRECATED:[1,3,1,""],EXPERIMENTAL:[1,3,1,""],REMOVED:[1,3,1,""]},"com.vmware.vstats_client.CounterMetadata.MetricUnits":{AMPERE:[1,3,1,""],BIT:[1,3,1,""],BITSPERSECOND:[1,3,1,""],BYTE:[1,3,1,""],BYTESPERSECOND:[1,3,1,""],CANDELA:[1,3,1,""],CELSIUS:[1,3,1,""],GRAM:[1,3,1,""],HERTZ:[1,3,1,""],JOULE:[1,3,1,""],KELVIN:[1,3,1,""],KILOGRAM:[1,3,1,""],METER:[1,3,1,""],METERSPERSECOND:[1,3,1,""],METERSPERSECONDSQUARED:[1,3,1,""],MOLE:[1,3,1,""],NUMBER:[1,3,1,""],PERCENT:[1,3,1,""],SECOND:[1,3,1,""],VOLT:[1,3,1,""],VOLTAMPERE:[1,3,1,""],WATT:[1,3,1,""]},"com.vmware.vstats_client.CounterMetadata.SampleType":{ABSOLUTE:[1,3,1,""],DELTA:[1,3,1,""],FRACTION:[1,3,1,""],LOGN:[1,3,1,""],RATE:[1,3,1,""],RAW:[1,3,1,""]},"com.vmware.vstats_client.CounterMetadata.UnitsFactor":{ATTO:[1,3,1,""],CENTI:[1,3,1,""],DECA:[1,3,1,""],DECI:[1,3,1,""],EXA:[1,3,1,""],EXBI:[1,3,1,""],FEMTO:[1,3,1,""],GIBI:[1,3,1,""],GIGA:[1,3,1,""],HECTO:[1,3,1,""],KIBI:[1,3,1,""],KILO:[1,3,1,""],MEBI:[1,3,1,""],MEGA:[1,3,1,""],MICRO:[1,3,1,""],MILLI:[1,3,1,""],NANO:[1,3,1,""],ONE:[1,3,1,""],PEBI:[1,3,1,""],PETA:[1,3,1,""],PIKO:[1,3,1,""],TEBI:[1,3,1,""],TERA:[1,3,1,""],YOBI:[1,3,1,""],YOCTO:[1,3,1,""],YOTTA:[1,3,1,""],ZEBI:[1,3,1,""],ZEPTO:[1,3,1,""],ZETTA:[1,3,1,""]},"com.vmware.vstats_client.CounterSets":{Info:[1,1,1,""],RESOURCE_TYPE:[1,3,1,""],get:[1,2,1,""],list:[1,2,1,""]},"com.vmware.vstats_client.Counters":{FilterSpec:[1,1,1,""],Info:[1,1,1,""],RESOURCE_TYPE:[1,3,1,""],get:[1,2,1,""],list:[1,2,1,""]},"com.vmware.vstats_client.Data":{DataPoint:[1,1,1,""],DataPointsResult:[1,1,1,""],FilterSpec:[1,1,1,""],query_data_points:[1,2,1,""]},"com.vmware.vstats_client.Metrics":{RESOURCE_TYPE:[1,3,1,""],Summary:[1,1,1,""],list:[1,2,1,""]},"com.vmware.vstats_client.Providers":{RESOURCE_TYPE:[1,3,1,""],Summary:[1,1,1,""],list:[1,2,1,""]},"com.vmware.vstats_client.QueryPredicate":{ALL:[1,3,1,""],EQUAL:[1,3,1,""]},"com.vmware.vstats_client.ResourceAddressSchemas":{Info:[1,1,1,""],QueryCapabilities:[1,1,1,""],RESOURCE_TYPE:[1,3,1,""],ResourceIdDefinition:[1,1,1,""],get:[1,2,1,""]},"com.vmware.vstats_client.ResourceAddressSchemas.QueryCapabilities":{EQUAL:[1,3,1,""],EQUAL_ALL:[1,3,1,""]},"com.vmware.vstats_client.ResourceAddresses":{FilterSpec:[1,1,1,""],Info:[1,1,1,""],ListResult:[1,1,1,""],RESOURCE_TYPE:[1,3,1,""],get:[1,2,1,""],list:[1,2,1,""]},"com.vmware.vstats_client.ResourceTypes":{RESOURCE_TYPE:[1,3,1,""],Summary:[1,1,1,""],list:[1,2,1,""]},"vmware.vapi":{core:[70,0,0,"-"],exception:[70,0,0,"-"],lib:[71,0,0,"-"],message:[70,0,0,"-"],security:[72,0,0,"-"],vsphere:[74,0,0,"-"]},"vmware.vapi.core":{ApiInterface:[70,1,1,""],ApiProvider:[70,1,1,""],ApplicationContext:[70,1,1,""],CustomDict:[70,1,1,""],ExecutionContext:[70,1,1,""],InterfaceDefinition:[70,1,1,""],InterfaceIdentifier:[70,1,1,""],MethodDefinition:[70,1,1,""],MethodIdentifier:[70,1,1,""],MethodResult:[70,1,1,""],ProviderDefinition:[70,1,1,""],RuntimeData:[70,1,1,""],SecurityContext:[70,1,1,""]},"vmware.vapi.core.ApiInterface":{get_definition:[70,2,1,""],get_identifier:[70,2,1,""],get_method_definition:[70,2,1,""],invoke:[70,2,1,""]},"vmware.vapi.core.ApiProvider":{invoke:[70,2,1,""]},"vmware.vapi.core.CustomDict":{setdefault:[70,2,1,""],update:[70,2,1,""]},"vmware.vapi.core.InterfaceDefinition":{get_identifier:[70,2,1,""],get_method_identifiers:[70,2,1,""]},"vmware.vapi.core.InterfaceIdentifier":{get_name:[70,2,1,""]},"vmware.vapi.core.MethodDefinition":{get_error_definition:[70,2,1,""],get_error_definitions:[70,2,1,""],get_identifier:[70,2,1,""],get_input_definition:[70,2,1,""],get_output_definition:[70,2,1,""]},"vmware.vapi.core.MethodIdentifier":{get_interface_identifier:[70,2,1,""],get_name:[70,2,1,""]},"vmware.vapi.core.MethodResult":{error:[70,2,1,""],output:[70,2,1,""],success:[70,2,1,""]},"vmware.vapi.core.ProviderDefinition":{get_identifier:[70,2,1,""]},"vmware.vapi.exception":{CoreException:[70,4,1,""]},"vmware.vapi.exception.CoreException":{messages:[70,2,1,""]},"vmware.vapi.message":{Message:[70,1,1,""],MessageBundle:[70,1,1,""],MessageFactory:[70,1,1,""],MessageFormatter:[70,1,1,""]},"vmware.vapi.message.MessageBundle":{get:[70,2,1,""]},"vmware.vapi.message.MessageFactory":{get_message:[70,2,1,""]},"vmware.vapi.message.MessageFormatter":{format_msg:[70,2,1,""]},"vmware.vapi.security":{client:[73,0,0,"-"],session:[72,0,0,"-"],user_password:[72,0,0,"-"]},"vmware.vapi.security.client":{security_context_filter:[73,0,0,"-"]},"vmware.vapi.security.client.security_context_filter":{LegacySecurityContextFilter:[73,1,1,""],SecurityContextFilter:[73,1,1,""]},"vmware.vapi.security.client.security_context_filter.LegacySecurityContextFilter":{get_max_retries:[73,2,1,""],get_security_context:[73,2,1,""],set_security_context:[73,2,1,""],should_retry:[73,2,1,""]},"vmware.vapi.security.client.security_context_filter.SecurityContextFilter":{get_max_retries:[73,2,1,""],get_security_context:[73,2,1,""],invoke:[73,2,1,""],should_retry:[73,2,1,""]},"vmware.vapi.security.session":{SessionSecurityContextParser:[72,1,1,""],create_session_security_context:[72,5,1,""]},"vmware.vapi.security.session.SessionSecurityContextParser":{build:[72,2,1,""]},"vmware.vapi.security.user_password":{UserPasswordSecurityContextParser:[72,1,1,""],create_user_password_security_context:[72,5,1,""]},"vmware.vapi.security.user_password.UserPasswordSecurityContextParser":{build:[72,2,1,""]},com:{vmware:[1,0,0,"-"]},vmware:{vapi:[70,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","class","Python class"],"2":["py","method","Python method"],"3":["py","attribute","Python attribute"],"4":["py","exception","Python exception"],"5":["py","function","Python function"]},objtypes:{"0":"py:module","1":"py:class","2":"py:method","3":"py:attribute","4":"py:exception","5":"py:function"},terms:{"03t19":27,"100gb":13,"10s":1,"11e9":32,"123456789abc":[1,33],"20c":3,"26t12":27,"27da1358":32,"29ff":3,"2ba4":32,"43cd":[1,8,9,40],"451z":27,"6ede0f429751":[1,8,9,40],"6eff":[62,63],"941z":27,"abstract":[9,33,70,73],"boolean":[1,2,28],"break":[2,33,47],"byte":[1,8,9,10,28,33,62],"case":[1,3,7,8,9,10,13,14,28,32,33,34,40,41,47,55,62,64,70],"catch":[32,33],"class":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,39,40,41,42,43,44,45,46,47,48,49,50,51,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,70,72,73],"default":[0,1,2,3,4,5,8,9,10,13,17,19,27,28,33,34,40,55,62,63,64,66,68,70],"enum":[1,2,3,4,5,7,8,9,10,13,17,18,19,20,24,25,26,27,28,32,33,35,40,41,46,47,48,50,51,54,55,56,57,60,61,62,63,64,65,67],"export":[2,17,33,47],"final":13,"float":[1,2,27,28,33],"function":[1,2,8,13,28,33,47,55,56],"import":[2,9,10,17,18,26,33,47,57,62,67],"int":[27,73],"long":[1,2,3,4,5,7,8,9,10,11,17,18,19,24,25,27,28,33,34,40,41,44,46,47,48,55,62,63,64],"new":[1,2,3,4,5,7,8,9,10,13,17,18,19,20,21,24,25,26,27,28,32,33,34,35,37,39,40,41,45,46,47,48,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,67,73],"null":[1,4,8,10,18,19,20,25,33,34,47],"public":[1,8,10,32,33,34,41,47,56,58,61],"return":[1,2,3,4,5,6,7,8,9,10,11,13,14,15,17,18,19,20,21,22,24,25,26,27,28,29,30,31,32,33,34,35,37,39,40,41,42,43,44,45,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,70,72,73],"short":[1,2,9,13,27,33,62],"static":[1,3,33,61,62],"switch":[32,33,62],"throw":[1,33],"transient":32,"true":[1,2,7,8,10,11,17,18,28,33,47,48,61,62,65,70,73],"try":[10,17,18,20,32,33,62],"void":28,"while":[1,3,8,9,17,18,20,33,40,41,45,46,47,48,49,50,51,54,62,63,64,65,66],AWS:[33,35,36,37,39,45,46,58,62],Added:47,Adding:56,Bus:[62,64],But:[17,28],DNS:[1,3,33,42,44,62,63],DOS:33,DRS:[1,32,33,37],Dns:34,For:[1,2,3,7,8,9,10,13,17,18,27,28,32,33,55,56,58,62,63,66],IDE:[1,11,32,62,64],IDs:[1,2,4,20,54,60],IPs:[33,47],Ids:1,Its:13,KMS:58,Kms:54,NFS:[1,2,4,8],NOT:33,Not:[4,33,54,55,56,57],OES:33,ONE:1,One:[1,28,30,32,33],Res:48,SAS:64,STS:[1,33,54],Such:27,TLS:[1,2,33,34,54,58,60],The:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,39,40,41,42,43,44,45,46,47,48,49,50,51,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,70,72],There:[1,9,10,13,14,28,32,33,64,65],These:[1,8,9,13,17,27,28,33,35,37,39,45,46,48,58,62,70],Tls:34,Use:[4,7,8,27,33,62],Used:[1,32],Using:[28,30,56],VMs:[1,18,19,24,25,33,48,62],Will:2,With:56,Yes:[2,33],__setitem__:70,a871:[1,8,9,40],abc:45,abcd:[1,33],abil:[2,28,33,47,62],abl:[1,9,33,56],abort:[9,33],abort_retry_ignor:33,about:[1,2,3,4,5,7,8,9,10,11,13,14,15,17,18,19,20,21,22,24,25,26,27,28,29,30,31,32,33,35,37,39,40,41,42,43,46,47,48,49,50,51,54,55,60,61,62,63,64,65,66,70],abov:[3,7,10,27,28,34],absent:13,absolut:[1,27],accept:[1,3,9,17,28,32,33,54,60,62],accept_all_eula:33,accept_eula:17,access:[1,2,8,9,10,27,32,33,34,35,37,39,40,41,45,46,49,58,62,63,64,66],access_cli:[0,1,68],access_list:33,access_token:33,access_token_typ:33,access_url:41,accesstoken:27,accident:1,accompani:[2,13,14,15,17,18,19,20,21,22,24,25,26,33,47,48],accord:33,account:[1,2,14,33],acct:33,acm:[27,34],acq_spec:1,acqspec:1,acquir:[27,32,33,62],acquisit:1,acronym:28,across:[1,17,28,33,54],act:[1,9,33],action:[1,18,19,24,25,32,33,40,55,56,57,62],activ:[1,8,9,10,18,33,42,55,61,62],active_directori:33,active_directory_domain:33,active_directory_over_ldap:33,active_loc:33,activedirectori:42,activedirectoryoverldap:33,activedirectoryspec:[33,42],activespec:33,actor_token:33,actor_token_typ:33,actual:[1,2,8,9,27,28,33,35,62],adapt:[1,8,9,32,33,62,63,64],adapter_cli:[0,1,33,62,68],adaptermap:33,add:[1,3,7,10,13,17,18,21,26,28,32,45,47,55,56,58,62,64,73],add_on:[13,17,18,21,26],add_ons_cli:[0,1,13,17,68],add_to_used_bi:7,added:[1,2,3,4,5,6,7,8,9,10,13,21,27,28,32,33,34,42,43,44,45,47,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66],adding:[1,8,10,27,58,62,70],addit:[1,3,8,13,17,18,20,27,28,32,33,70],additional_param:33,additional_paramet:33,addlibraryitem:[8,33],addnewdisk:33,addon:[13,17,18,21],addoncompli:13,addondetail:13,addoninfo:[13,18,21],addonspec:[13,21],addonversionsummari:17,addremovedevic:33,address:[1,2,3,11,13,17,27,32,33,34,42,44,49,54,55,60,61,62,63,64,70],address_count:33,address_rang:33,addresscount:33,addressinfo:3,addspec:10,addsubscript:8,addtion:33,adher:[2,4,32],admin:[2,4],admin_group:33,administ:[33,34],administr:[1,2,4,8,33,40,45,49,56],admiss:[18,19,24,25],adopt:48,advanc:[8,33],advancedconfig:33,affect:[1,8,17,18,19,20,23,25,33,66],affin:[33,37],affinit:33,after:[1,2,4,5,8,9,10,13,17,18,19,24,25,27,28,32,33,34,42,47,61,62,65,66,70,73],after_clean_shutdown:33,again:[1,17,33],against:[1,8,10,13,14,17,18,33,35,37,39,45,46,47,51,56,59,62],agent:[1,13],aggreg:[1,17,20,28],agreement:[1,17,33],ahci:64,alarm:[1,33,48],alg:27,algorithm:[9,27,33,34],alia:54,aliv:9,all:[1,2,3,4,5,7,8,9,10,11,13,14,15,17,18,19,20,21,24,25,26,27,28,30,32,33,34,35,37,39,40,41,45,47,48,50,54,55,56,57,58,60,61,62,63,65,66,70],all_with_def:33,alloc:[1,32,33],allocatespac:[1,33],allow:[1,2,3,4,8,9,10,17,18,21,27,32,33,37,41,47,56,59,61,62,67],allow_guest_control:62,allowed_valu:2,allowedvalu:2,alon:33,along:[1,3,9,18,28,32,33,66,70],alphanumer:[33,41],alreadi:[1,2,4,7,8,9,10,17,18,21,32,33,34,40,41,46,47,54,55,57,58,60,62,66],already_exist:32,already_in_desired_st:32,alreadyexist:[1,2,4,7,8,17,18,32,33,34,40,41,47,54,55,56,57,60,66],alreadyindesiredst:[1,2,17,32,33,62],also:[1,2,7,8,9,13,14,17,27,28,30,32,33,35,56,62,63,70],alter:1,altern:34,although:[3,32,33],alto:[10,33,34],alwai:[1,2,3,8,9,10,28,33,48,56],amazon:33,amazonlinux2_64:33,ambigu:1,amd:62,among:[33,64],amount:[1,7,9,11,32,33,40,48,62],amper:1,ani:[1,2,3,4,5,6,7,8,9,10,13,14,17,18,21,27,28,29,30,31,32,33,35,40,41,47,48,50,51,54,55,56,58,59,60,61,62,63,64,65,66],annot:[28,33],anonym:[9,10,32],anoth:[1,2,8,9,17,18,28,32,33,62,64,66],answer:[2,33],answer_v:33,answerspec:33,anti:37,any_error:28,anymor:1,anywher:[28,33,41],apd:32,api:[1,2,3,4,5,6,7,8,9,10,13,14,17,18,19,20,24,25,26,27,28,32,33,34,35,37,39,40,41,42,43,44,45,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,67,70,73],api_serv:33,api_server_cluster_endpoint:33,api_server_management_endpoint:33,apiinterfac:70,apimethod:70,apiprovid:[70,73],apiproviderfilt:73,apiserv:33,apiserverclusterendpoint:33,apiservermanagementendpoint:33,aplic:2,app:33,appear:[1,3,13,33,64],append:33,appl:62,appli:[1,2,3,8,10,13,17,18,19,20,24,25,28,33,35,39,41,46,47,50,51,62,65,66],applianc:[0,1,8,13,17,18,33,34,42,43,53,68],appliance_cli:[0,2,68],appliancelocalaccount:2,appliances:33,appliancest:[1,33],appliancetyp:33,applic:[1,2,8,10,18,19,20,25,28,32,33,35,37,39,45,46,47,50,51,62,65],application_context:70,applicationcontext:70,applmgmt:[1,2],apply_cli:[0,1,13,17,18,23,24],apply_statu:18,apply_task:17,applyimpact:20,applyimpactspec:20,applyresult:[17,20],applyspec:17,applystatu:[17,20],applystatustyp:18,approach:48,appropri:[27,33,62],approv:58,approximate_download_s:33,approximate_flat_deployment_s:33,approximate_sparse_deployment_s:33,appserv:7,arbitrari:[2,27,28],archiv:[4,5,62],area:[2,33],aren:[9,10],arg:[1,2,4,27,70],argument:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,17,18,19,20,21,24,25,26,27,28,32,33,34,35,37,39,40,41,42,43,44,45,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,70],argumentloc:32,around:[8,33],articl:[17,26,33],asap:2,ascii:[1,2,4],asianux:33,asianux_3:33,asianux_3_64:33,asianux_4:33,asianux_4_64:33,asianux_5_64:33,asianux_7_64:33,asianux_8_64:33,ask:62,aspect:[1,33],aspx:33,assert:33,assign:[1,3,7,13,28,31,33,41,61,62,63],assignvmtopool:1,assist:[2,33,47],associ:[1,2,4,5,7,8,9,10,11,13,15,17,18,19,20,21,22,27,28,29,30,31,33,34,37,39,40,45,46,47,48,50,51,55,62,63,65,66,70],associable_typ:7,associatedproduct:47,assos:13,assosi:47,assum:[2,33,61],assumpt:33,asynchron:[1,8,33],atapi:62,atleast:51,atom:1,attach:[7,32,33,62,65],attach_multiple_tags_to_object:7,attach_tag_to_multiple_object:7,attack:[2,47],attempt:[1,2,8,13,18,19,24,25,32,33,58,62,64,66],attent:[33,54,55,56,57,61],attest:[0,1,33,54,55,60],attestation_cli:[0,1,33,68],atto:1,attribut:[1,2,3,4,5,7,8,9,10,11,12,13,14,15,17,18,19,20,21,24,25,26,27,28,32,33,34,35,37,39,40,41,42,44,45,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,67],attribute_illeg:33,attribute_requir:33,attrit:67,audienc:33,auth_endpoint:33,auth_query_param:33,authendpoint:33,authent:[0,1,2,4,7,8,9,13,14,15,17,18,19,20,21,22,24,25,26,27,28,32,33,40,41,42,43,44,45,46,47,48,49,50,51,54,55,56,57,58,59,60,62,64,65,66,68,70,72],authentication_cli:[0,1,27,29,68],authentication_head:33,authentication_method:[8,33],authenticationinfo:28,authenticationmethod:8,authenticationschem:27,authentinc:61,author:[1,2,8,9,18,27,28,32,33,34,45,46,49,54,56,57,58,60,66,72],authority_information_access_uri:34,auto:[2,3,11,33,47,61],auto_answ:33,auto_connect:11,auto_detect:62,auto_failover_allow:33,auto_logon:33,auto_logon_count:33,auto_stag:2,auto_upd:2,auto_update_support:33,autoconf:[3,63],autoconfigur:[3,63],autodetect:62,autom:[1,33,35,37,39,45,46,62],automat:[1,2,3,8,9,11,17,33,41,47,61,62,63,66],automatic_sync_en:[1,8],automatic_sync_start_hour:1,automatic_sync_stop_hour:1,autorun:62,auxillari:13,avail:[1,2,3,7,8,9,10,13,14,15,17,18,19,20,21,22,24,25,26,27,28,33,35,37,39,45,46,47,48,54,55,56,57,61,62,63,64,66,70],availab:33,available_vers:48,avali:2,avamar:[10,33],averag:1,avg:1,avoid:[32,33],awai:37,awar:[28,47],axi:1,b210:32,b8a2a2e3:[1,8,9,40],back:[1,2,4,8,9,10,33,40,62,63,66,67],backend:50,background:[2,46],backin:2,backing_typ:33,backinginfo:62,backingspec:[1,62],backingtyp:62,backup:[0,1,2,4,8,10,66,68],backup_cli:[0,1,2,5,68],backup_password:[2,4],backupjob:4,backupjobstatu:4,backuppassword:[2,4],backuprequest:[2,4],backuprestoreprocessst:4,backward:[1,33,35,37,39,45,46,62],balanc:33,band:70,bandwidth:[1,17],base64:[33,34,40,72],base64encod:33,base:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,39,40,41,42,43,44,45,46,47,48,49,50,51,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,70,72,73],base_imag:[13,17,18,21,26],base_image_explanation_detail:18,base_image_vers:20,base_images_cli:[0,1,13,17,68],baseimag:[17,18,21,57],baseimagecompli:13,baseimagedetail:13,baseimageinfo:[13,18,21],baseimagespec:[13,20,21],bash:2,basi:[1,33,40],basic:[8,11,28,32,33,40,41,47,48,54,60,62],basicconstraint:34,batch:[7,21,33,48],batchresult:7,bb5a:3,bearer:[1,27,28,33],bearer_token:28,bearer_token_method_typ:33,becaus:[1,2,3,5,7,8,13,17,32,33,50,51,62,63,64,65,66],becom:[1,7,8,9,10,33,50,51,65,66],been:[1,2,5,7,8,9,10,17,18,19,20,24,25,28,32,33,37,41,46,48,56,57,58,62,63,64,66],befor:[1,2,4,5,7,8,9,17,18,19,20,24,25,28,32,33,48,62,70],begin:[1,33,48,62],behalf:33,behavior:[1,5,8,9,10,17,33,35,48,56,58,62,65],behind:[1,33],being:[1,2,3,8,9,10,13,17,18,20,27,28,32,33,40,41,46,62,63,64,66],believ:[2,47],belong:[1,7,8,11,28,33,54,60,62,64,66],below:63,best:[1,33],between:[1,2,33,41,45,46,47,54,61,64,70],beyond:[1,33,35,36,37,39,45,46,48,62],bin:33,binari:28,bind:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,39,40,41,42,43,44,45,46,47,48,49,50,51,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67],bio:[13,14,33,62,64],bios_constraint:14,bios_uuid:[1,33],biosconstraint:14,biosuuid:33,bit:[1,3,28,33,34,62,63],bitspersecond:1,blacklist:33,blank:[1,33],block:[1,2,5,7,11,13,33],bodi:33,bool:[1,2,3,4,5,7,8,9,10,11,13,17,18,19,20,24,25,27,28,32,33,34,47,48,50,55,56,58,61,62,65,66,70,73],boolean_valu:28,boot:[1,18,19,24,25,62,64],boot_client:[0,1,33,62,68],boot_devic:1,boot_imgdb:57,bootabl:64,both:[1,8,10,13,33,47,66,67],bottom:3,bound:[1,32,62,64],boundari:28,box:[2,33],boxnam:2,brain:33,breach:2,bridg:32,brief:54,broadcom:13,buffer:62,bug:[2,33,47],bugfix:[17,26],build:[2,5,11,27,47,72],build_numb:5,buildinfo:5,built:28,builtin:28,builtin_typ:28,builtintyp:28,bundl:[1,2,4,17,33,47,70],bundle_typ:17,bus:[1,33,62,64],buse:64,busi:[1,3,32,33,62,64,66],buslog:64,button:32,bypass:2,bytes_transf:10,bytespersecond:1,cacertif:56,cach:[1,8,9,17,28,65],calcul:[1,7,9,10,28,33],california:[10,33,34],call:[1,2,7,8,9,13,14,17,18,20,28,33,41,47,49,59,63,70,73],caller:[1,2,10,13,14,15,17,18,19,20,21,22,24,25,26,33,34,42,43,44,55,56,57,58,59],can:[1,2,3,4,5,7,8,9,10,13,14,17,18,20,27,28,30,32,33,34,35,37,39,40,41,42,43,45,46,47,48,49,50,51,54,56,57,58,60,62,63,64,65,66,67,70],cancel:[1,2,4,5,7,9,13,32,33,45],candela:1,cannot:[1,2,3,4,6,7,8,9,13,14,18,32,33,39,41,47,50,58,61,62,63,64,65,66],canon:[28,32],canonical_nam:28,canonicalnam:28,capabilities_cli:[0,1,33,35,68],capabl:[0,1,33,35,36,65],capac:[1,8,11,33,40,62],capas:2,capit:28,captur:[33,62],card:[11,13],cardin:7,cass:65,catalog:[8,27,47],categori:[1,2,7,17,26,28,32,33,35,47,63],category_id:7,category_nam:35,categorymodel:7,categorytyp:[17,26],caught:[56,70],caus:[1,8,32,33,62,65,70],cc771830:33,cdef:[1,33],cdrom:[1,2,33,62,64],ceip:[13,14,33],ceip_en:33,celsiu:1,center:62,centi:1,cento:33,centos_64:33,centos_6:33,centos_6_64:33,centos_7:33,centos_7_64:33,centos_8_64:33,cert:[34,56],cert_chain:[33,34,40,56],certain:[1,2,9,32,47,70],certif:[1,8,9,10,32,33,34,40,54,56,58,59,60,61],certifi:13,certificate_error:1,certificate_info:10,certificate_manag:[0,1,33,68],certificate_management_cli:[0,1,34,68],certificateauthor:40,certificateinfo:[10,33,61],certificatemanag:34,certificateparam:33,certificatesigningrequest:33,cetain:1,cfg_list:2,cfglist:2,chain:[8,33,34,40,54,56,60,73],challeng:32,chang:[1,2,4,5,7,8,9,10,11,13,18,19,24,25,27,28,32,33,35,37,39,45,46,47,56,61,62,64,66],change_appl:46,change_detect:46,change_enumer:46,change_lag:33,change_task:1,changespec:1,channel:9,charact:[2,4,8,9,28,33,41],characterist:[1,28],check:[1,2,4,7,8,9,13,14,17,18,20,22,28,33,42,43,47,48,61,62,64,65,66,70,72],check_compat:33,check_in:66,check_out:[33,66],check_schedul:2,check_spec:65,check_status:[17,20],check_task:[17,18,20],check_tim:[2,18,65],checkbox:2,checkinfo:[17,20,33,42,43],checkinspec:66,checkintempl:66,checkout:66,checkoutinfo:33,checkoutspec:66,checkouttempl:66,checkresult:[17,18,20,22,61],checks_to_skip:18,checkspec:[17,18,42,61,65],checkstatu:[17,20,33],checksum:[9,10],checksum_info:[9,10],checksumalgorithm:9,checksuminfo:[9,10],checksummari:20,checktyp:18,child:[1,28,33],children:[1,28,33],chipset:13,choic:[33,62],choos:[1,8,28,33,62,64,66],chosen:[1,8,17,18,21,33,55,62,63,64,66],cid:1,cid_mid:1,cidmid:1,cidr:[3,33],cif:1,circumst:[1,33],cis:[0,1,2,5,13,14,17,18,20,33,35,37,39,68],cis_client:[0,68],citi:33,claim:33,claim_map:33,class_cod:13,class_id:33,classic:33,classid:33,classmethod:70,cldr:27,clean:[9,33,62],clean_power_off:33,cleanli:33,cleanup:[8,20,33],clear:[33,62],cli:[2,27,28],cli_client:[0,1,27,68],click:32,client:[1,2,4,5,7,8,9,10,11,13,14,17,18,20,21,26,27,28,32,33,34,35,37,39,40,41,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,68,69,70,72],client_affin:33,client_certificate_cli:[0,1,33,54,55,58],client_devic:62,client_error_messag:9,client_id:33,client_progress:9,client_secret:33,client_secret_bas:33,client_secret_jwt:33,client_secret_post:33,client_token:[1,8,9,33,40],client_trust_serv:55,clientcertif:58,clientid:33,clientprofil:54,clobber:1,clock:4,clone:[1,33,61],clone_task:1,cloneplacementspec:1,clonespec:1,close:32,cloud:[33,35,36,37,39,45,46,62],cloudadmingroup:45,clsuter:20,cluster:[0,1,8,13,15,17,23,32,33,37,40,41,48,54,55,56,57,58,59,60,61,66,68],cluster_cli:[0,1,33,68],cluster_deploy_op:33,cluster_distributed_switch:33,cluster_failover_op:33,cluster_get_op:33,cluster_nam:[33,48],cluster_scale_in_ignore_vm_cap:37,cluster_scale_in_ignore_vm_capabilities_cli:[0,1,33,35,36],cluster_undeploy_op:33,clusteravailablevers:33,clustercompat:33,clustercompli:[13,18],clustercomputeresourc:[1,8,17,18,19,20,21,22,33,40,48,54,55,56,57,58,59,60,66],clusterimpact:20,clustermod:[33,61],clusters_cli:[0,1,13,68],clustersizeinfo:33,clusterst:33,code:[2,17,20,33],coexist:18,coldmigr:1,collect:[1,11,12,18,28,33,34,40,41],colon:[62,63],column_numb:33,com:[67,68],combin:[2,5,20,27,32,33],come:[2,8,33],comma:[3,33],command:[1,28,32,33],command_line_opt:33,comment:[2,4,5],comment_substr:5,commit:[1,13,17,18,20],commit_task:18,commit_tim:18,commitspec:18,common:[1,2,7,8,32,33,34,35],common_nam:34,commoninfo:[1,2,7],commonli:[1,5,8,9,33,35,62,64,66],commonnam:34,commun:[1,2,3,4,5,7,8,9,10,13,17,18,19,20,24,25,26,27,28,32,33,35,40,41,46,47,48,50,51,54,55,56,57,58,60,61,62,63,64,65,67],compar:[8,20,28,33,47],compat:[1,8,13,14,17,20,32,33,35,37,39,45,46,47,62],compatibility_guide_link:20,compatibilitydata:13,compatibilityinfo:33,compatibilityreleas:14,compatibilityreport:[13,14],compatibilitystatu:[13,14],compatibl:[13,14],compatible_count:47,compatible_datastor:33,compatible_devic:20,compatible_releas:47,compatible_vers:20,compatibledatastoreinfo:33,compatiblil:33,complet:[1,2,4,5,7,8,9,10,13,17,20,28,32,33,34,46,47,48,50,51,62,64,65,66,70],completed_work:46,completion_tim:46,complianc:[13,18,20,22,33,35,50,51,62,65],compliance_cli:[0,1,33,50,68],complianceimpact:13,compliancestatu:[13,20,22,50],compliant:[13,20,35,50,51,55,65],compliant_host:13,compon:[1,7,13,15,17,18,20,21,26,27,28,33,48,54,70],component_class:13,component_id:28,componentbundletyp:17,componentcompli:13,componentdata:28,componentdetail:13,componentinfo:[13,18,21,26,28],componentoverrideinfo:13,components_cli:[0,1,13,17,68],components_to_delet:21,components_to_set:21,componentsourc:13,componentversioninfo:26,componentversionsummari:17,compos:1,composit:[1,27],compress:33,compris:[1,21,33],compromis:[2,47],comput:[0,1,13,20,28,32,33,50,51,62,65,66,68],compute_cli:[0,1,35,37,39,68],compute_polici:62,computeplacementspec:1,computepolici:33,computer_nam:33,concaten:33,concept:[1,33,70],concern:7,concret:9,concurr:[1,8],concurrent_chang:32,concurrentchang:[1,18,32],condit:[32,33],confidenti:[2,18,19,24,25,47],config:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,39,40,41,42,43,44,45,46,47,48,49,50,51,53,54,55,56,57,58,59,60,61,62,63,64,65,66],config_in_progress:33,config_map_count:33,config_map_count_unset:33,config_spec:2,config_st:33,config_statu:[33,41],config_tag:33,configmap:33,configmapcount:33,configst:33,configstatu:[33,41],configtag:33,configtyp:33,configur:[1,2,3,4,5,6,7,8,9,10,13,14,15,17,18,19,20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,40,41,42,43,44,45,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66],configuration_spec:33,configurationmodel:[1,8],configurationspec:33,configuraton:32,configuredpolicyspec:[18,24],confirm:[62,64],conflict:[1,13,33],conform:[1,8,9,27],conifgur:64,connect:[1,2,3,9,11,27,32,33,42,44,45,46,54,55,58,61,62,64,68,69,70],connection_cooki:62,connection_st:1,connection_timeout:55,connectioncreatespec:62,connectioninfo:62,connectionspec:33,connectionst:[1,62],connectionstatu:2,connectionupdatespec:62,conserv:[27,48],consid:[8,10,14,17,33,37,58],consist:[1,13,33,47,54,56,57,62,63],consol:[2,62],console_cli:[0,1,33,68],consolecli:2,constant:[1,27,28],constantinfo:28,constantvalu:28,constitut:33,constrain:62,constraint:[1,13,14,18,21,33,34,62,70],construct:[7,27,33,70],consum:[1,9,32,33,62],consumerprincip:54,consumpt:[1,32],contact:[1,8,26,32,58],contain:[1,2,3,4,5,7,8,9,10,11,13,14,15,17,18,19,20,21,22,24,25,26,27,28,29,30,31,32,33,34,35,37,39,40,41,42,44,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,67,70,72],containt:28,contant:28,content:[0,1,2,17,18,28,33,62,66,68],content_cli:[0,8,11,68],content_vers:[8,9],contentlib:8,contentlibrari:[1,8,9,10,33,40,41,66],conter:1,context:[1,27,28,32,33,63,70,72,73],contigu:[62,63],contin:33,continu:[1,33],contract:[32,70],control:[1,2,11,18,19,20,24,25,33,48],conveni:[2,27,28],convent:28,convers:[3,33],convert:[27,33],cooki:[62,72],copi:[1,8,9,10,13,18,21,32,33,66],copyright:[18,19,24,25],core:[1,33,62,68,69,72,73],core_events_task:33,core_events_tasks_with_def:33,coreexcept:70,coreo:33,coreos_64:33,cores_per_socket:[33,62],corpor:[10,33],correct:[10,27,32],correctli:[9,10,33,41,62],correpsond:3,correspod:70,correspond:[1,3,5,7,8,13,20,28,29,30,31,33,47,48,63,70],corrupt:33,cost:28,could:[1,2,7,8,9,14,17,27,28,32,33,34,40,41,47,48,54,62,64],count:[1,5,33,47,62],counter:[1,48],counter_set:1,countereditionstatu:1,counterexampl:32,countermetadata:1,counterpart:33,counterset:1,counterspec:1,countri:34,cpu:[1,11,13,14,32,33,62],cpu_alloc:1,cpu_capac:33,cpu_count:1,cpu_featur:13,cpu_limit:33,cpu_limit_default:33,cpu_limit_default_unset:33,cpu_limit_unset:33,cpu_request_default:33,cpu_request_default_unset:33,cpu_seri:[13,14],cpu_upd:33,cpu_us:33,cpuinfo:33,cpuupdatespec:33,crash:[1,33],creat:[1,2,3,4,5,6,7,8,9,10,13,14,15,17,18,19,20,21,22,24,25,26,27,28,29,30,31,32,33,34,35,37,39,40,41,42,43,44,45,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,67,72,73],create_new:8,create_resource_quota_typ:33,create_session_security_context:72,create_spec:[1,7,8,9,33],create_spec_typ:[33,35],create_task:[14,17,47,54,55,56,58,59,60],create_tim:17,create_user_password_security_context:72,created_tim:1,createfromexist:1,createlocallibrari:1,createplacementspec:33,createpool:1,createresult:[17,33],createspec:[1,4,7,8,17,33,34,35,37,39,40,41,47,54,55,56,60,62,64,67],createspecdiskstorag:33,createspecdiskstoragepolici:33,createspecnewsubscribedlibrari:8,createspecplac:8,createspecsubscribedlibrari:8,createspecvcent:8,createspecvmhomestorag:33,createspecvmhomestoragepolici:33,createsubscribedlibrari:1,createtarget:33,creation:[1,8,9,14,18,33,34,40,41,47,56,62,64],creation_tim:[1,8,18,40,41],creationtim:41,credenti:[1,28,32,33,42,43,45,46,58,61,72],credentialsspec:[33,61],criteria:[1,7,33,57],critic:[2,17,26,34,47],crud:28,crx:33,crxpod_1:33,csp:33,csr:[34,58,59],csv:[28,33,47],csv_report:47,csvreport:47,ctrl:32,ctx:[70,73],current:[1,2,3,4,5,7,8,9,10,13,14,15,17,18,19,20,21,24,25,26,27,28,32,33,35,37,39,40,41,46,47,48,50,51,54,55,56,57,58,60,61,62,63,64,65,66,67],current_compatibility_releas:14,current_password:[1,8],current_series_recommend:18,current_session_info:46,current_sourc:13,current_vers:48,currentpeercertif:58,custom:[1,2,4,5,13,14,28,33,47,62,70],custom_url:2,customdict:70,customization_spec:33,customizationspec:[33,62],cycl:33,d663bd873d93:32,d9ff:[62,63],daemon:1,daemon_set_count:33,daemon_set_count_unset:33,daemonset:33,daemonsetcount:33,dai:[1,2,4,17,34,40],daili:[1,17,40],darwin:33,darwin_10:33,darwin_10_64:33,darwin_11:33,darwin_11_64:33,darwin_12_64:33,darwin_13_64:33,darwin_14_64:33,darwin_15_64:33,darwin_16_64:33,darwin_17_64:33,darwin_18_64:33,darwin_19_64:33,darwin_64:33,data:[1,2,3,4,5,7,8,9,10,11,12,13,14,15,17,18,19,20,21,24,25,26,27,28,30,32,33,34,35,37,39,40,41,42,44,45,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,70,73],data_item:2,data_migration_info:33,data_point:1,data_set:33,databas:[2,33,47],databaseserv:7,databasestorag:2,datacent:[1,33],datacenter_nam:33,datadefinit:70,dataitem:2,datamigrationestim:33,datamigrationinfo:33,datapoint:1,datapointsresult:1,datastor:[1,8,9,10,32,33,50,51,61,62,65],datastore_cli:[0,1,68],datastore_fold:1,datastore_id:[1,8,33],datastore_nam:33,datastore_path:1,datator:1,datavalu:[2,7,13,32,70],date:[1,2,8,9,13,17,26,27,33,34,40,41,47,48,50,51,65,66],date_cr:47,date_tim:28,datetim:[1,2,4,5,7,8,9,13,14,17,18,20,26,27,28,33,34,40,41,46,47,48,65,66],datetimeformat:27,day1:1,day_of_month:17,day_of_week:[17,40],dayofweek:[2,4,17,40],days_after_password_expir:1,db8:[62,63],dcui:2,ddthh:27,deal:[62,63],dealloc:33,debian:33,debian_10:33,debian_10_64:33,debian_11:33,debian_11_64:33,debian_4:33,debian_4_64:33,debian_5:33,debian_5_64:33,debian_6:33,debian_6_64:33,debian_7:33,debian_7_64:33,debian_8:33,debian_8_64:33,debian_9:33,debian_9_64:33,debug:[33,62],deca:1,deci:1,decid:[32,33,48],decim:[27,62,63],declar:[1,28],decommiss:1,decreas:62,decrypt:[2,4],dectect:11,deem:61,def_msg:70,default_answ:[2,33],default_choic:33,default_datastore_id:33,default_gatewai:[3,33],default_image_registri:33,default_image_repositori:33,default_ingress_tls_certif:33,default_kubernetes_service_content_librari:33,default_messag:[1,2,4,27],default_pod_cidr:33,default_service_cidr:33,default_url:2,defaultansw:2,defaultgatewai:3,defaultpolici:33,defaults_cli:[0,1,13,68],defaultvalu:33,defaut:2,defer:33,defer_import:33,defin:[1,2,3,4,5,7,8,9,10,13,17,18,19,20,24,25,26,27,28,30,32,33,35,40,41,46,47,50,51,54,55,61,62,63,64,65,66,67],definit:[1,2,3,4,5,7,8,9,10,13,17,18,19,20,24,25,26,27,28,29,30,31,32,33,35,40,41,46,47,48,50,51,54,55,56,57,60,61,62,63,64,65,70],definiton:28,defint:28,degrad:[2,33,61],degre:[2,47,62],deing:33,delai:[1,8,62],deleg:1,delet:[1,2,4,7,8,9,10,17,18,21,27,28,32,33,34,40,41,45,47,54,55,56,62,64,66],delete_task:[18,54,55,56,57,60],deletelibraryitem:[8,66],deletelocallibrari:1,deletesubscribedlibrari:1,deletesubscript:8,delimit:33,deliv:1,dell:13,delta:1,demand:[1,8,33],deni:[1,2,3,33],denot:[33,63],depend:[1,8,9,10,13,14,27,33,48,62,73],deploi:[1,28,33,40,41,42,47,61],deploy:[0,1,2,4,33,47,61,68],deploy_task:33,deployableident:33,deployment_cli:[0,1,42,43,68],deployment_count:33,deployment_count_unset:33,deployment_opt:33,deployment_s:33,deployment_spec:33,deployment_typ:[33,61],deploymentcount:33,deploymentopt:33,deploymentoptionparam:33,deploymentoptionsect:33,deploymentresult:33,deploymenttarget:33,deploymenttyp:[33,61],deployplacementspec:33,deployspec:33,deployspecdiskstorag:33,deployspecdiskstoragepolici:33,deployspecvmhomestorag:33,deployspecvmhomestoragepolici:33,deploytempl:33,depo:47,depot:[13,17,18,26],depot_cont:[0,1,13,17,68],depot_content_cli:[0,1,13,68],depotoverrid:17,depots_cli:[0,1,13,68],deprec:[1,3,63],der:9,deriv:[1,33,62],descipript:13,descr:1,describ:[1,2,3,7,8,9,10,13,14,15,17,18,19,20,21,24,25,26,28,32,33,34,35,40,41,48,54,55,56,57,58,60,62,63,64,66,70],descript:[1,2,3,4,5,7,8,9,10,11,12,13,17,18,19,20,24,25,26,27,28,32,33,35,37,39,40,41,46,47,48,50,51,54,55,56,57,60,61,62,63,64,65,67,70],description_kei:[2,33],descriptor:[1,10,11,33],descriv:1,design:[1,28,33],desir:[1,2,3,13,17,18,19,20,21,22,23,25,32,33,41,48,55],desired_vers:48,desktop:33,despit:48,destin:[1,2,3,4,8,33,46,63],destination_create_spec:8,destinationspec:[1,8],destroi:[33,62],detach:[7,62],detach_multiple_tags_from_object:7,detach_tag_from_multiple_object:7,detail:[1,2,4,5,9,10,13,14,15,17,18,19,20,21,22,24,25,26,27,28,30,33,34,35,40,41,47,48,50,51,54,55,56,57,58,60,62,70],detect:[1,8,11,33,46,47,62],determin:[1,3,8,9,10,13,17,33,54,60,62,63,64,65],develop:62,devic:[1,2,8,13,14,20,32,33,62,63,64],device_access_typ:62,device_constraint:14,deviceaccesstyp:62,deviceconstraint:14,devicehclinfo:14,deviceid:33,devicenam:20,devices_hcl:14,devop:33,dhcp:[1,3,33,62,63],dhcpconfiginfo:[62,63],diagnost:[2,27],dict:[1,2,4,5,13,15,17,18,20,21,27,28,33,48,50,51,62,65,70],dictat:33,dictionari:70,did:[1,13,17,20,32,33],didn:32,differ:[1,2,3,7,8,9,13,17,18,20,22,27,28,32,33,46,64],differenti:[1,33],difficult:[2,47],difficulti:[2,47],digest:27,digit:[1,2,4,27,33,62,63],dik:62,direct:[1,2,7,9,10,33,56],directli:[9,10,33],directori:[10,32,33,42,62,65],dirti:33,disabl:[1,2,4,8,17,18,19,24,25,32,33,37,61],disable_dpm:[18,19,24,25],disable_drs_vmot:37,disable_drs_vmotion_cli:[0,1,33,35,36],disable_hac:[18,19,24,25],disabledrsvmot:37,disagr:1,disambigu:1,disassoci:33,discard:66,disclaim:[20,33],disclos:[1,32],disconnect:[1,62],disconnect_all_n:1,discourag:8,discov:[1,27,32,33,47],discover:14,discoveri:33,discovery_cli:[0,1,33,68],discovery_endpoint:33,discret:[2,33],discrimin:[32,35,37,39],discript:26,disjoint:[1,33,66],disk:[1,2,8,9,11,12,32,33,50,51,62,64,65,66],disk_capac:11,disk_control:11,disk_storag:33,disk_storage_overrid:33,diskclonespec:1,diskcontrol:11,diskcontrollersubtyp:11,diskcontrollertyp:11,diskinfo:33,diskpolicyspec:62,diskprovisioningtyp:33,diskrelocatespec:1,disks_to_remov:[1,33],disks_to_upd:[1,33],disksect:33,diskspec:33,diskstorag:33,diskstorageinfo:33,diskstorageoverrid:33,diskupdatespec:33,dispatch:32,displai:[1,2,7,11,13,15,17,18,20,26,27,28,32,33,57],display:11,display_nam:[13,15,17,18,20,26,28,33,57],display_vers:[13,15,17,18,26],displaynam:57,disposit:33,disregard:33,dissoci:47,distinct:13,distinguish:[33,34],distribut:[1,33,41,62],distributed_port:62,distributed_portgroup:[1,33,62],distributed_switch:33,distributed_switch_uuid:62,distributedswitchcompat:33,distributedvirtualportgroup:33,dns:[1,3,62,63],dns_client:[0,1,2,68],dns_domain:33,dns_label:33,dns_server:[33,42],dns_suffix_list:33,dns_valu:[62,63],dnsassignedvalu:[62,63],dnsconfiginfo:[62,63],dnsinfo:1,dnsmode:1,dnsserverconfig:[1,3],dnsservermod:3,do_not_change_vms_power_st:[18,19,24,25],doc:33,docker:[33,41],document:[1,13,17,18,19,20,21,22,24,25,28,32,33],doe:[1,2,3,4,5,7,8,9,10,11,14,18,28,29,30,31,32,33,34,35,37,39,40,41,45,46,48,50,51,61,62,65,66,67,70],doesn:[1,2,4,10,17,27,28,32,33,35,47,50,54,56,62,64,70,72],doing:32,domain:[3,8,32,33,34,42,45,62],domain_nam:[33,62],domain_password:33,domain_usernam:33,domainnam:33,doman:3,domin:8,done:[1,2,8,9,13,18,19,20,24,25,28,33],dot:[28,62,63],doubl:28,double_valu:28,down:[1,2,33,62],downgrad:32,download:[1,2,9,10,13,14,17,33,47,57],download_endpoint:10,download_file_token:33,download_session_id:[9,10],downloadsess:[9,10,33],downloadsession_cli:[0,1,8,9,68],downloadsessionmodel:9,dpm:[1,18,19,24,25],draft:[0,1,13,17,18,20,33],drafts_client:[0,1,13,17,18],drift:13,drive:[1,11,33,62,64],driven:33,driver:[13,14,20],driver_nam:20,driver_vers:20,driverfirmwarevers:20,drop:3,drs_enabl:1,due:[1,13,17,18,32,33,34,62,64],duplic:[3,8,63],durat:[1,5,32,34],dure:[1,2,4,5,6,8,9,10,13,17,18,19,20,24,25,28,33,47,48,56,61],dvd:11,dynam:[2,28,32,33,62],dynamic_structur:28,dynamicid:[1,2,4,5,7,13,27,32,33],e1000:62,each:[1,2,4,7,8,9,13,14,20,28,32,33,34,35,37,40,47,48,49,56,57,59,62,63,64,66,70],eager:33,eagerzeroedthick:33,earli:[1,33,35,37,39,45,46,62],earlier:[9,32,33],earliest:2,easi:28,easier:1,easili:56,echo:33,ecomst:33,ecomstation_2:33,edg:33,edge_clust:33,edgeclustercompat:33,edit:[1,7,33,50,51,65],editpool:1,effect:[1,2,3,8,9,10,13,18,19,21,25,28,32,33,34,62],effectivecompon:[18,21],effectivecomponentdetail:13,effectivecomponentinfo:[13,18,21],effectivepolicyspec:[19,25],effici:[10,28,62],effort:1,efi:62,efi_legacy_boot:62,egress:33,egress_cidr:33,ehci:11,ehci_pci_slot_numb:11,eight:[62,63],either:[1,8,9,10,14,18,28,33,46,56,61,62,70,72],element:[1,7,27,28,29,30,31,32,33,35,63],element_illeg:33,element_requir:33,element_typ:28,element_unknown:33,elementmap:28,elementvalu:28,elen:28,elif:33,elig:7,els:[13,21,33,61,67,73],email:[1,17,26,34],email_address:[17,34],emailaddress:34,emb:62,embed:[1,2,4,33],embodi:62,emc:[10,33],empti:[1,2,3,4,7,8,9,10,13,17,18,20,27,28,32,33,35,47,50,51,55,56,57,58,59,62,64,65],emul:[62,64],emulationtyp:62,en_u:27,enabl:[1,2,4,8,9,11,17,18,19,24,25,28,33,40,41,48,60,61,62],enable3d:11,enable_quick_boot:[18,19,24,25],enable_task:18,enablement_cli:[0,1,13,17,68],enablespec:[18,33],encapsul:[9,33,55,70],encod:[9,28,33,34,72],encount:[17,20,32,33,47,50],encrypt:[2,4,33],encryption_kei:2,end:[1,2,4,17,27,33,34,48],end_of_data:33,end_tim:[1,2,4,5,7,13,17,20,33],end_timestamp:5,endors:56,endorsementkei:56,endpoint:[1,8,9,10,17,18,32,33,45,46,49,55],endpoint_typ:10,endpointaddress:33,endpointtyp:10,enforc:28,engin:[18,33,34],english:[1,2,4,27,28,70],enhanc:[17,26,33,61],enough:[1,32,70],enpoint:[17,18],ensur:[1,10,33],enter:[1,18,19,24,25,62],enter_setup_mod:62,enterpris:33,entir:[8,18,33,56],entireti:33,entiti:[1,7,17,18,20,28,30,32,33,50,51,65,67],entitit:[17,20],entity_metadata:67,entity_result:[17,20],entitycheckresult:[17,20],entitytyp:[17,20],entri:[1,2,8,10,13,14,64],entrycreatespec:[1,64],enumer:[1,2,3,4,5,7,8,9,10,13,17,18,19,20,24,25,26,27,28,32,33,35,40,41,45,46,47,48,50,51,54,55,56,57,60,61,62,63,64,65],enumeration_id:28,enumerationinfo:28,enumerationvalueinfo:28,environ:[1,2,17,33,35,37,39,40,45,46,47,54,60,62],environemnt:47,ephemer:[33,62],ephemeral_storage_polici:33,epoch:[1,2],equal:[1,8,17,33,34],equal_al:1,equival:[1,5,17,32,33,35,48,58,65],error:[1,2,3,4,5,6,7,8,9,10,13,14,15,17,18,19,20,21,22,24,25,26,28,32,33,34,40,41,44,45,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,70,73],error_count:47,error_messag:[1,7,9,10,58],error_nam:70,error_result:32,error_typ:32,error_valu:73,errorcondit:33,errordefinit:70,errorinfo:28,errors_cli:[0,1,2,3,4,5,6,7,8,9,10,13,14,15,17,18,19,20,21,22,24,25,26,27,28,29,30,31,33,34,35,40,41,42,43,44,45,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,68],errorvalu:[70,73],essenti:2,establish:[1,28,32,33,54],estim:[2,33,47],estimated_export_tim:33,estimated_import_tim:33,estimated_time_to_instal:2,estimated_time_to_rollback:2,estimated_time_to_upd:47,estimatedtimetoinstal:2,estimatedtimetorollback:2,esx01:62,esx:[0,1,33,54,57,62,68],esx_client:[0,1,33,54,55,56],esxi:[1,13,14,17,18,19,20,22,23,24,25,33],esxicompatibilityreleas:14,etc:[1,2,13,18,27,28,33],eth0:1,ethernet:[1,8,33,62,63,64],ethernetinfo:33,ethernetupdatespec:33,eula:[2,17,33],europ:33,evacu:[0,1,18,19,24,25,33,35,36,37,38],evacuate_offline_vm:[18,19,24,25],evalu:48,even:[1,2,8,13,33,62,70],event:[8,33,48],events_task:33,ever:18,everi:[1,8,11,13,17,28,32,33,58],everydai:4,everyon:41,evict:[1,8],evictlibraryitem:8,evictsubscribedlibrari:1,evolv:1,exa:1,exact:[27,28,32],exactli:[8,33,62],examin:33,exampl:[1,2,3,4,5,7,8,9,10,13,17,18,20,27,28,32,33,34,40,56,62,63,66],exbi:1,exce:[1,2,8,17,33,54],exceed:66,except:[1,2,4,5,7,8,9,13,18,27,28,32,33,34,37,41,44,46,48,64,65,68,69],excess:32,exchang:[1,33],exchangespec:33,exclud:[1,18,33],exclude_kei:33,exclude_result:1,exclus:[62,70],execut:[1,2,4,5,6,8,9,10,13,14,15,17,18,19,20,21,24,25,26,27,28,33,34,35,47,54,56,57,60,61,62,66,70,73],execute_url:47,executing_script:33,executioncontext:[70,73],exisit:18,exisitng:33,exist:[1,2,3,4,5,7,8,9,10,13,14,17,18,21,28,29,30,31,32,33,34,35,40,41,43,45,46,48,54,55,56,58,59,61,62,63,66],existing_migration_assist:33,exit:1,expand:[1,9],expandable_reserv:1,expandablereserv:1,expect:[1,3,9,28,32,33],experi:[13,14,33],experienc:2,experiment:[1,33],expir:[1,2,9,10,13,27,32,33,62],expiration_tim:9,expired_certif:10,expires_in:33,expiri:[13,33],explain:[13,67],explan:[18,28],explanationdetail:18,explicit:[2,8,28,32,33],explicitli:[1,2,9,64,65],exploit:[2,47],export_error:33,export_iso_imag:17,export_offline_bundl:17,export_software_spec:17,exportflag:33,exportspec:17,exporttyp:17,expos:[1,27,28,32,33,55,70],ext3:62,extend:[2,9,34],extended_key_usag:34,extens:[27,33,34,62],extern:[33,42,43,58],extra:[1,9,11,33,70],extra_config:33,extraconfig:33,extraconfigparam:33,extrem:[2,47],facet:27,facil:1,facilit:[32,33],fact:[32,33],factor:[1,33],factori:[27,70],fail:[1,2,3,4,5,7,8,9,10,13,17,18,19,20,24,25,32,33,34,37,40,41,46,47,48,54,56,58,61,62,64,65,66],failed_host:[17,20],failov:[33,61],failover_ip:[33,61],failover_task:33,failur:[1,2,3,7,8,9,13,14,15,17,18,19,20,21,22,24,25,26,33,42,43,46,47,56,62,65,70],failure_act:[18,19,24,25],failure_caus:65,failureact:[18,19,24,25],fall:[1,33,63],fallback:[27,33],fals:[1,2,7,8,10,18,28,33,48,61,62,70,73],famili:[33,62],far:10,fashion:33,faster:1,fatal:[33,40,61],fault:[1,32,33,62],fc00:3,fe04:[62,63],fe94:3,feasibl:39,featur:[0,1,2,8,13,18,32,33,35,37,39,45,46,47,52,62,68],feature_in_us:32,featureinus:[2,4,32],feder:33,fedora:33,fedora_64:33,feedback:[1,33,35,37,39,45,46,62],femto:1,fetch:[7,10,17,20,27],few:1,fewer:[28,33],field:[1,2,4,7,13,20,27,28,30,32,33,34,47,48,55,62,63,70],field_nam:28,fieldinfo:28,figur:[28,33],file:[1,8,9,10,11,13,14,17,18,27,28,29,31,32,33,57,62,66,67],file_id:[17,18],file_nam:[9,10,27],file_spec:10,fileloc:32,filepath:[27,67],filesystem:62,fileupload:[17,18],fill:33,filter:[1,5,7,8,9,17,18,33,35,50,51,54,58,60,73],filter_spec:[1,5],filterspec:[1,5,17,18,33,35,50,51,54,57,58,60],filtrat:54,find:[1,8,18,32,33,62,72],findspec:[1,8],finest:1,fingerprint:[28,33],finish:[4,9,10,33],finished_at:33,firewal:3,firewall_cli:[0,1,2,68],firmwar:[13,14,20,62],firmware_vers:20,first:[1,2,3,8,9,18,28,32,33,41,56,63,67,72],firstboot:4,firstnam:33,fit:[1,32,33],five:[1,9],fix:[1,2,17,26,32,33,47],fixed_nam:33,flag:[1,2,4,5,7,8,10,13,17,33,47,50,62],flash:1,flat:33,floating_ip:33,floppi:[1,11,62,64],flush:33,folder:[1,8,10,32,33,66,67],folder_id:33,follow:[1,2,3,4,8,9,10,13,14,15,17,18,19,20,21,24,25,26,27,28,33,34,35,41,47,54,56,58,60,61,64,66,67,70],forc:[1,2,3,8,33,46,48],force_add:1,force_delet:33,force_sync_cont:8,forceadd:1,forcefulli:[1,8],forcesynccont:8,foreign:33,forev:4,form:[2,9,10,27,32,33],formal:1,format:[1,2,4,8,9,17,27,28,32,33,34,40,47,56,57,58,70],format_msg:70,formatt:[28,70],formattertyp:28,formed:33,forward:[2,62],found:[1,2,3,8,9,13,14,17,18,20,22,26,32,33,40,41,46,54,55,56,57,58,59,60,62,63,64,66,70],four:[62,63],fqdn:[2,3,14,49],fraction:[1,27],frame:62,framework:[28,33],free:[1,8,9,33,62],free_spac:[1,62],freebsd:33,freebsd_11:33,freebsd_11_64:33,freebsd_12:33,freebsd_12_64:33,freebsd_64:33,frequenc:[17,40],fresh:45,fridai:[2,4,17,40],friednli:33,friendli:[33,54],frobozz:13,from:[1,2,3,7,8,9,10,11,13,17,18,20,21,26,27,28,32,33,34,37,39,41,45,46,47,54,56,57,58,60,61,62,63,64,65,66,67,70],front:[1,33],frozen:1,ftp:[2,4],fulfil:[32,33],full:[1,9,27,33,54,62],full_dat:27,full_date_tim:27,full_nam:[1,33,62],full_tim:27,fulli:[1,2,3,9,10,28,32,33],fullnam:1,functiontyp:1,fundament:1,funtion:[56,57],further:[1,3,13,14,20],fusion:62,futur:[1,8,21,33,37,47,66,67],gain:33,garbag:[40,41],garbage_collect:40,garbagecollect:40,gatewai:[3,33,63],gateway_address:63,gateway_ip:33,gather:[1,48],gender:27,gener:[1,2,3,4,7,8,9,10,11,13,14,17,18,20,26,28,32,33,34,40,41,47,54,56,57,58,59,60,62,63,67,70],generate_error:33,generate_task:18,generated_at:14,generic_instanti:28,generic_linux:33,generic_typ:28,genericinstanti:28,generictyp:28,get:[1,2,3,4,5,6,7,8,9,10,13,14,15,16,17,18,19,20,21,22,24,25,26,28,29,30,31,32,33,34,35,37,39,40,41,44,45,46,47,48,54,55,56,57,58,59,60,61,62,64,65,66,67,70,73],get_default:1,get_definit:70,get_error_definit:70,get_identifi:70,get_input_definit:70,get_interface_identifi:70,get_max_retri:73,get_messag:70,get_method_definit:70,get_method_identifi:70,get_nam:70,get_output_definit:70,get_security_context:73,get_task:[54,55,56,57,58,59],getconfigur:1,getspec:1,gibi:1,giga:1,gigabyt:1,give:[2,8,13,14,15,17,18,19,20,21,22,24,25,26,33,47],given:[1,2,3,4,5,7,8,9,10,13,14,17,18,19,20,21,24,25,26,30,33,34,42,47,49,50,51,55,56,60,62,64,70],global:[1,2,3,8,33,61],global_dns_set:33,globaldnsset:33,gnu:33,going:[9,33,48],good:17,grai:[2,33],gram:1,grant:33,grant_typ:33,granular:[28,62],graphic:[1,11],graphics_memory_s:11,grave:33,greater:[9,13,14,17,62],green:[2,3],group:[1,7,11,12,13,18,28,32,33,45,54,56,60,62,63],group_id:[12,33],group_nam:[33,45],groupid:54,groups_base_dn:33,groups_claim:33,grow:[1,7],guarante:[1,8,9,10,33,35,37,39,40,45,46,62],guard:33,guess:33,guest:[0,1,2,32,33,47,62,64,68],guest_client:[0,1,63,68],guest_custom:33,guest_customization_spec:1,guest_o:[1,33],guestcustomizationspec:[1,33],guesto:[1,33,62],guestosfamili:[33,62],gui:[1,2,32],gui_run_once_command:33,gui_unattend:33,guid:[1,8,14,20],guirunonc:33,guiunattend:33,ha_en:1,ha_ip:[33,61],ha_network:33,ha_network_nam:33,ha_network_typ:33,had:[1,32,33],halt:1,handl:[1,27,28,32,33],handoff:55,hanetwork:33,hanetworktyp:33,happen:[8,13,32,33,61,62],harbor:[40,41],harbor_cli:[0,1,33,40,68],hard:[2,11,50,62],hardwar:[0,1,13,14,20,32,33,50,51,56,62,63,65,68],hardware_cli:[0,1,33,64,68],hardware_compatibility_cli:[0,1,13,17,18,20],hardware_custom:33,hardware_modul:13,hardware_support:13,hardware_support_packag:13,hardware_vers:1,hardwarecompat:[13,14,20],hardwarecustomizationspec:33,hardwaremoduleclass:13,hardwaremoduledetail:13,hardwaremodulefirmwarecompli:13,hardwaremodulefirmwareinfo:13,hardwaresupportinfo:13,hardwaresupportpackagecompli:13,hardwaresupportpackageinfo:13,hardwaresupportpackagespec:13,hardwaresupportspec:13,harwar:20,has:[1,2,3,4,5,7,8,9,10,13,14,17,18,19,20,24,25,27,28,31,32,33,35,42,46,47,48,56,57,58,61,62,63,64,65,66,67,70,72],has_error:10,has_fields_of:28,has_password:1,hasfieldsof:28,hash:[1,8,9,33],hasn:[10,13,18],hat:33,haul:1,have:[1,2,3,4,5,7,8,9,10,13,14,15,17,18,19,20,21,24,25,26,28,29,31,32,33,34,35,37,40,41,47,48,50,51,54,58,60,62,64,65,66,67,70,72],hcl:[0,1,13,20,22,68],hcl_client:[0,1,14,68],hcl_data_unavail:20,hclreport:14,header:[1,13,32,33,72],health:[0,1,2,3,13,15,33,40,54,55,56,57,68],health_client:[0,1,68],health_except:33,health_messag:[2,33],health_stat:33,health_warn:33,healthi:[2,33,54,55,61],healthlevel:2,healthy_with_warn:[2,33],heartbeat:[1,33,61],hecto:1,hello:32,help:[1,13,28,32,33],helper:72,henc:[3,7,34],here:[7,8,33,48],hertz:1,hexadecim:[1,33,62,63],hexadem:33,hide:8,hierarchi:28,high:[1,2,9,28,33,61],higher:63,highest:18,histor:[1,5,33],histori:[9,33],historymigrationopt:33,historymigrationspec:33,hmac:33,hold:[27,33],holder:[27,28],home:[1,33,50,51,62,65],homogen:33,hop:63,hopkinton:[10,33],host:[0,1,2,8,13,14,17,18,19,20,22,24,25,32,33,34,37,39,40,47,48,54,56,57,58,60,62,63,64,66,68],host_devic:[33,62],host_fold:1,host_id:33,host_impact:20,host_info:[13,17,20],host_nam:[33,62],host_not_found:1,host_statu:[17,20],host_tag:37,hostbusadaptertyp:62,hostcompli:13,hostinfo:[13,17,20],hostnam:[1,2,3,8,33,34,47,54,56,62],hostnamegener:33,hosts_client:[0,1,68],hostsconfig:33,hostsystem:[1,8,13,14,15,17,20,33,37,54,66],hot:[32,62,64],hot_add_en:62,hot_add_increment_size_mib:62,hot_add_limit_mib:62,hot_remove_en:62,hotadden:62,hotaddincrements:62,hotremoveen:62,hour:[1,2,4,17,40],hourli:17,hours2:1,hours6:1,how:[1,2,3,8,10,13,17,18,19,20,24,25,28,33,40,47,62,63,67],howev:[1,3,9,10,17,33,54,55,56,57],hsm:[13,20],hsp:13,html:[3,17,28,33,62],http:[1,2,3,4,8,9,10,13,17,18,27,32,33,44,48,62,72],https_port:[8,33,44],hub:33,human:[1,8,13,15,17,20,26,27,32,33],hvc:[0,1,33,68],hvc_client:[0,1,68],hybrid:[33,45],hyper:33,hyphen:33,id_:70,id_token:33,id_token_typ:33,id_valu:1,ide:62,ideaddressinfo:62,ideaddressspec:62,idempot:[1,7,8,9,40],idenfi:33,ident:[1,28,32,33,62],identif:[1,9,33,62,70],identifi:[1,2,3,4,5,7,8,9,10,11,13,14,15,17,18,19,20,21,22,26,27,28,29,30,31,32,33,34,35,37,39,40,41,45,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,70,72,73],identity_cli:[0,1,68],idl:[27,28],idm:33,idm_endpoint:33,idm_protocol:33,idmprotocol:33,ietf:33,ifac:70,ifnon:62,ignor:[1,2,3,4,8,9,10,17,28,33,37,48],ignore_precheck_warn:48,ignore_warn:4,ignoreprecheckwarn:48,illeg:33,imag:[13,17,18,20,21,26,33,40,41,57,62],image_fil:62,image_storag:33,imageregistri:33,imagestoragespec:33,imgdb:57,immedi:[1,8,10,33,62],impact:[2,13,18,19,20,24,25,47],implement:[1,27,28,32,33,70],impli:[1,7,17,48,65],implicitli:[13,33],import_from_imgdb_task:57,import_profile_task:2,import_software_spec:18,import_specif:33,importflag:33,importhistori:33,importprofilespec:2,importspec:18,improv:[2,13,14,33],inaccess:[3,33,62,63],inaccur:33,inact:1,inactive_after_password_expir:1,inactive_at:1,inadvertantli:32,inbas:26,inbound:3,inc:[10,18,19,24,25,33],includ:[1,2,4,5,7,8,9,10,13,14,18,27,28,32,33,54,61,62,64,65,66,67],include_kei:33,inclus:1,incom:[3,33],incompat:[13,20,33,47],incompatibility_reason:33,incompatible_count:47,incompatible_devic:20,incompatible_driver_firmwar:20,incompatible_host:13,inconsist:33,incorrect:32,increas:[33,62],increment:[1,7,8,9,11,33,48],independ:[1,17,62,63],indetermin:9,index:[17,30,33,63,68],indic:[1,2,3,4,5,7,8,9,10,11,13,14,17,20,27,28,32,33,35,37,39,46,47,48,50,56,57,62,63,70],individu:[1,3,4,7,8,9,13,33,48,63],infer:33,info:[1,2,3,4,5,7,8,9,10,13,17,18,26,27,28,33,34,35,37,39,40,41,46,47,48,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66],info_typ:[33,35],infom:1,infomr:4,inform:[1,2,3,4,5,7,8,9,10,11,12,13,14,15,17,18,20,21,26,27,28,29,30,31,32,33,34,35,37,39,40,41,42,43,44,45,46,47,48,49,50,51,54,55,56,57,60,61,62,63,64,65,66,70],infraprofil:2,infraprofile_cli:[0,1,68],infrastructur:[1,27,28,32,33,55,70],ingress:33,ingress_cidr:33,ingressrulevalu:33,init:33,initi:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,39,40,41,42,43,44,45,46,47,48,49,50,51,53,54,55,56,57,58,59,60,61,62,63,64,65,66,70,72,73],initial_config:[0,1,33,42,43],inprogress:4,input:[1,2,7,14,27,28,32,33,34,62,70,73],input_:70,input_valu:[70,73],inputtyp:2,insensit:[1,8,33],insid:[32,33,62],inspect:[9,33],instal:[0,1,2,8,13,15,32,33,42,47,62,68],install_attempt_count:33,install_cli:[0,1,33,68],install_fail:1,install_in_progress:1,install_progress:33,install_tim:2,install_typ:33,installed_product:47,installedcompon:15,installedcomponentinfo:15,installspec:33,instanc:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,39,40,41,42,43,44,45,46,47,48,49,50,51,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,70],instance_count:33,instance_id:33,instance_uuid:33,instanceid:33,instant:1,instant_clon:1,instant_clone_frozen:1,instantan:10,instantclon:1,instantcloneplacementspec:1,instantclonespec:1,instanti:[1,2,3,4,5,7,8,9,10,11,13,17,18,19,20,24,25,26,27,28,32,33,35,40,41,46,47,48,50,51,54,55,56,57,60,61,62,63,64,65,67],instead:[8,10,17,32],insuffici:[33,61],intact:61,integ:[1,28,33],integr:[2,40,47],intend:[9,32,33],intent:[33,35],interact:[1,2,32,33],interfac:[1,2,3,4,5,7,8,9,10,11,13,17,18,19,20,24,25,26,27,28,30,32,33,34,35,40,41,46,47,48,50,51,54,55,56,57,58,59,60,61,62,63,64,65,70],interface_index:63,interface_nam:[2,3],interfacedefinit:70,interfaceidentifi:70,interfaceinfo:[1,2],interfaces_cli:[0,1,2,68],interfacestatu:2,interfer:8,intermedi:56,intern:[1,2,13,14,15,17,18,19,20,21,22,24,25,26,33,47],internal_error:33,internal_server_error:[32,70],internalservererror:[14,15,32,33],internationaliz:1,internet:[1,2,47,63],interop:[33,47],interoper:[47,55],interopreport:47,interpos:32,interposition_cli:[0,1,27,68],interpret:9,interv:[1,46],intervaltyp:1,intervent:[33,41,48],intial:1,introduc:[2,47],introspect:70,invalid:[1,2,3,4,6,7,8,9,10,17,18,24,32,33,34,42,43,48,54,55,56,57,58,60,61,62,63,64,66],invalid_argu:32,invalid_credenti:1,invalid_element_configur:32,invalid_element_typ:32,invalid_fil:10,invalid_request:32,invalid_url:1,invalidargu:[1,2,4,6,7,8,9,10,17,18,24,32,33,34,40,41,42,43,47,48,50,51,54,55,56,57,58,59,60,61,62,64,66],invalidelementconfigur:[8,32,61],invalidelementtyp:[1,8,9,32],invalidgr:33,invalidrequest:[32,33],invalidscop:33,inventori:[1,7,13,33,62,66],inventory_cli:[0,1,68],inventoryplacementspec:1,invoc:[7,28,32,33,48,70,73],invocationrequest:32,invocationresult:32,invok:[1,7,9,10,28,32,33,48,51,58,65,70,73],involv:[1,33,64],ip_address:[33,62,63],ip_allocation_polici:33,ip_famili:33,ip_protocol:33,ipaddress:[34,63],ipaddressinfo:63,ipaddressorigin:63,ipaddressorigintc:63,ipaddressstatu:63,ipaddressstatustc:63,ipallocationparam:33,ipallocationpolici:33,ipallocationschem:33,ipassignmentsect:33,ipconfiginfo:63,ipfamili:33,ipinfo:33,ipprotocol:33,ipset:33,ipspec:[33,61],ipv4:[1,2,3,33,62,63],ipv4_en:62,ipv4cidr:33,ipv4info:33,ipv4mod:33,ipv4rang:33,ipv4spec:33,ipv6:[1,2,3,33,62,63],ipv6_en:[1,62],ipv6address:33,ipv6info:33,ipv6spec:33,iri:28,is_ca:34,is_connect:62,is_default:33,is_one_of:28,is_self_sign:33,is_stat:3,is_transi:32,is_valid:33,is_vapp_templ:11,isca:34,isdefault:33,island:33,isn:[1,32,63],iso:[2,17,33,47,62],iso_cli:[0,1,68],iso_fil:62,iso_imag:17,isol:[2,33,47],isoneof:28,issu:[1,2,17,20,33,47,54,55,56,57,60,62],issued_token_typ:33,issuer:[10,33,34,54],issuer_alia:54,issuer_dn:34,item:[0,1,2,7,8,9,11,27,33,37,66,68],item_cli:[0,1,8,10,68],itemmodel:[1,8,9],iter:[33,70],iterationspec:33,its:[1,2,3,5,7,8,9,10,13,14,17,21,28,32,33,39,47,48,50,51,56,60,62,65,66],itself:[1,13,27,32,48],jan:27,java:33,javadoc:28,job:[4,5,33],job_client:[0,1,2,4,68],job_count:33,job_count_unset:33,jobcount:33,join:[33,42],joul:1,json:[1,2,8,18,27,28,32,33,67],json_str:18,just:[8,28,33],jwt:33,keep:[8,9],keep_al:9,keep_in_storag:10,keepal:28,kei:[1,2,4,5,10,13,15,17,18,20,21,27,28,32,33,34,48,50,51,54,55,56,58,59,60,62,65,70],kelvin:1,kept:[10,33],kernel:33,key_serv:55,key_siz:34,key_usag:34,keyerror:70,keyservercreatespec:55,keyserverinfo:55,keyserverupdatespec:55,keysiz:34,keyusag:34,keyword:28,kibi:1,kill:1,kilo:1,kilobyt:1,kilogram:1,kind:[1,28,32],kmip:[55,58],kmip_serv:55,kmipservercreatespec:55,kmipserverinfo:55,kmipserverupdatespec:55,kms:[0,1,33,54,55,60],kms_client:[0,1,33,68],know:9,knowledg:33,known:[1,13,27,28,32,33,50,51,62,65],kubeconfig:33,kubectl:33,kubernet:[33,40],kubernetes_statu:33,kubernetes_status_messag:33,kubernetesstatu:33,kwarg:70,label:[1,2,33,62,64],lack:[1,70],lan:62,lanc:62,languag:[1,2,3,4,5,7,8,9,10,13,17,18,19,20,24,25,26,27,28,30,32,33,35,40,41,46,47,48,50,51,54,55,56,57,60,61,62,63,64,65,70],laps:1,larg:[1,28,33],larger:[1,33],last:[1,2,8,13,14,17,18,33,41,46,47,48],last_accessed_tim:1,last_check:2,last_check_tim:47,last_modifi:33,last_modified_tim:[1,8],last_password_chang:1,last_sync_tim:[1,8,46],last_upgraded_d:48,lastapplyresult:20,lastcheck:2,lastcheckresult:20,lastiterationstatu:33,lastnam:33,later:[7,33,56],latest:[1,2,8,13,17,18,33,50,51,66],latest_query_tim:1,latest_recommend:18,launch:18,lax:33,layer:[27,72],lazi:33,lazili:1,lcm:[0,1,33,68],lcm_client:[0,1,47,68],ldap:[1,33],lead:[1,2,9,33,47],leaf:56,leas:[1,9],least:[1,2,4,10,33,37,62],leav:[1,2,3,8,9,33],left:[1,8,33,62],legaci:[33,62],legacysecuritycontextfilt:73,legibl:1,length:[1,2,4,9,28,33,34,48,63],less:[1,18,28,33,34,51,62],lesser:13,let:[18,33,48],letter:[2,4,33],level:[1,2,17,28,41,47,48,54,56,57],leverag:2,lib:[8,68,69,70],librari:[0,1,8,11,28,33,66,68],library_cli:[0,1,9,68],library_id:[1,8,33],library_id_par:11,library_item:[9,33],library_item_content_vers:9,library_item_id:[8,9,33],library_items_cli:[0,1,33,68],libraryid:33,libraryitem:33,libraryitemid:33,librarymodel:[1,8,11],librarytyp:1,licens:[1,17,32,33,60],life:33,lifecycl:[1,9,13,17,33,40,41,62],lifecycleset:[17,18,19,24,25,26],lifecyclesoftwareremedi:20,lifecyclesoftwarespecif:[15,17,18,21],lifetim:[1,9,33],like:[1,27,32,33],limit:[1,5,8,11,32,33,40,45,54,66],limitrang:33,line:[28,32,33],line_numb:33,link:[0,1,3,9,10,14,17,18,20,26,33,45,47,54,61,62,63,68],linklay:[3,63],links_client:[0,1,33,68],linux:[1,7,33,62],linux_config:33,linuxconfigur:33,list:[1,2,3,4,5,7,8,9,10,11,13,14,15,17,18,20,21,26,27,28,29,30,31,32,33,34,35,37,40,41,42,45,46,47,48,49,50,51,54,55,56,57,58,60,61,62,63,64,65,66,70],list_attachable_tag:7,list_attached_object:7,list_attached_objects_on_tag:7,list_attached_tag:7,list_attached_tags_on_object:7,list_detail:[2,33],list_opt:28,list_tags_for_categori:7,list_task:[54,55,56,57,58],list_used_categori:7,list_used_tag:7,list_valu:28,listen:2,listresult:[1,33,47],live:[2,13,33,66],load:[2,33],loadbalanc:33,loc_spec:[4,5],local:[1,2,3,4,8,9,13,14,27,28,32,33,34,45,46,62,63,70],local_account:1,local_accounts_cli:[0,1,68],local_and_onlin:2,localaccount:1,localaccounts_cli:[0,1,68],localfilesystem:62,localhost:2,localiz:[1,2,4,20,27,32,33,46,54,70],localizablemessag:[1,2,4,5,7,9,10,13,14,17,18,20,27,32,33,40,41,46,48,54,55,56,57,58,61,62,65],localizationparam:27,locallibrari:[1,8],locat:[1,2,4,5,8,9,10,13,14,17,18,32,33,40,47,48,61,62],location_password:[2,4],location_typ:[2,4],location_us:[2,4,5],locationpassword:[2,4],locationspec:[4,5,33],locationtyp:[2,4],locationus:[2,4],lock:[1,33],log:[1,2,28,33],logarithm:1,logging_cli:[0,1,68],logic:[1,8,28,33,64],login:[1,2,4,27,28,33],login_bann:33,logn:1,logon:33,logout:[2,28],logout_endpoint:33,long_dat:27,long_date_tim:27,long_opt:28,long_tim:27,long_valu:28,longer:[1,2,9,32,33,63],longhorn:33,look:[18,33],lookup:[1,2,33],lose:1,loss:[33,62],lost:1,lot:28,low:[1,2,3,17,26,47],lower:28,lowercas:[2,4],lsi:64,lsilog:64,lsilogicsa:64,lun:32,mac:[2,11,33,62,63],mac_address:[11,33,62,63],mac_typ:[33,62],macaddresstyp:[33,62],machin:[1,2,8,11,12,32,33,34,37,39,50,51,61,62,63,64,65,66],made:[1,2,7,8,9,10,17,32,33,62,64,66],mai:[1,2,3,4,5,7,8,9,10,11,13,17,18,19,20,24,25,26,27,28,32,33,35,37,40,41,46,47,48,50,51,54,55,56,57,59,60,61,62,63,64,65,66,67,70,73],main:28,maintain:1,mainten:[13,18,19,24,25,32,33,37,61],maintenance_mode_requir:13,major:[33,47],make:[1,7,9,10,28,32,33,45,46,49,62,63,66],make_default:33,makedefault:33,malform:[32,33],manag:[1,2,3,4,7,8,9,13,17,18,19,20,21,22,23,25,27,28,33,34,35,40,41,48,50,53,55,56,57,58,60,61,62,64,66],manageclusterregistryresourc:40,managedobject:1,management_cli:[0,1,33,68],management_network:33,management_network_nam:33,management_network_typ:33,management_vcenter_nam:33,management_vcenter_server_guid:33,managementnetworktyp:33,manageregistri:40,manageregistryproject:41,managetrustedhost:54,mandrak:33,mandriva:33,mandriva_64:33,mani:[28,32,33],manifest:[10,33],manipul:[1,2,9,61,62,64],manner:[17,20],manual:[1,2,3,5,8,33,47,61,62,63],manual_control:2,manual_failover_allow:33,manufactur:[13,33],map:[1,2,4,5,13,17,18,21,28,33,51,62],map_key_typ:28,map_value_typ:28,mark:[33,62],marker:33,markup:28,mask:[2,3,33,63],massachusett:[10,33],master:[33,48,55,62],master_dn:33,master_dns_nam:33,master_dns_search_domain:33,master_host:49,master_key_id:55,master_management_network:33,master_ntp_serv:33,master_storage_polici:33,master_vm_info:33,masterkeyid:55,match:[1,2,3,5,8,9,14,17,18,27,28,32,33,35,48,50,51,54,56,58,60],matrix:47,max:[1,5,33,73],max_count:4,max_dai:2,max_days_between_password_chang:1,max_result:5,maximum:[1,2,9,33,40,62],maximum_concurrent_item_sync:1,maximum_instance_count:33,maynot:47,mbp:1,md5:[9,33],mean:[1,2,5,7,8,9,17,27,32,33,35,47],meant:[1,58],measur:1,meatadata:1,mebi:1,mebibyt:[1,33,40,62],mechan:[3,27,28,32,33],med_dat:27,med_date_tim:27,med_tim:27,media:33,medium:[2,9,27,33],meet:7,mega:1,megabyt:[1,2,4,11],mem:2,member:[1,8,32,33,40,41,55,56,57,66],membership:[12,32,33],memo:1,memo_:1,memori:[1,2,11,32,33,62],memory_alloc:1,memory_capac:33,memory_limit:33,memory_limit_default:33,memory_limit_default_unset:33,memory_limit_unset:33,memory_request_default:33,memory_request_default_unset:33,memory_size_mib:1,memory_upd:33,memory_us:33,memoryinfo:33,memoryupdatespec:33,mention:[27,63],messag:[1,2,3,4,5,7,9,10,13,14,15,17,18,19,20,21,22,24,25,26,27,32,33,40,41,46,47,48,54,61,66,68,69],messagebundl:70,messagefactori:70,messageformatt:70,messagesever:33,messagestatu:3,messsag:70,meta:33,metadata:[0,1,2,7,8,10,13,17,18,27,33,57,67,68],metadata_cli:[0,1,67,68],metadata_vers:8,metadataidentifi:28,metamodel:[0,1,27,28,68],metamodel_cli:[0,1,27,30,68],meter:1,meterspersecond:1,meterspersecondsquar:1,method:[1,2,3,4,5,6,7,8,9,10,11,13,14,15,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,37,39,40,41,42,43,44,45,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,67,70,72,73],method_id:70,methoddefinit:70,methodidentifi:70,methodresult:[70,73],metric:1,metricunit:1,mhz:[1,11,33],micro:1,microsoft:33,mid:1,midnight:1,might:[1,2,9,28,32,33,35,37,39,45,46,58,62],migrat:[1,8,33,37,39,42],migrate_cli:[0,1,33,68],migrate_progress:33,migratespec:33,migrationassistantspec:33,millennium:33,milli:1,millisecond:[28,62],min:1,min_dai:2,min_days_between_password_chang:1,min_vers:17,minim:[2,47],minimum:[1,2,17,33],minimum_instance_count:33,minor:[33,47],minut:[1,2,4,9,13,17,32,33,40,47,62],minutes30:1,minutes5:1,mirror:[3,33],misc:[17,26],mismatch:10,miss:[1,10,13,18,33],missing_fil:10,mitig:[2,28,47],mixtur:64,mjr:33,mnr:33,mode:[1,3,13,18,19,24,25,32,33,37,45,61,62,64],mode_get_op:33,mode_set_op:33,model:[1,13,14,27,28,30,33],model_compat:14,model_nam:13,moder:[2,17,26,47],modif:[1,9,33],modifi:[1,4,7,8,9,10,28,32,33,34,47,54,62,64],modul:[0,38,52,67,68,69],moid:[1,14],mole:1,mon:[1,27],mondai:[2,4,17,40],monitor:[1,2,28,32,33,61,62],monitoreditem:1,monitoreditemdata:1,monitoreditemdatarequest:1,monitoring_cli:[0,1,68],month:[1,17],monthli:17,monthly_by_dai:17,more:[1,2,3,4,7,8,9,10,13,14,15,17,18,19,20,21,22,24,25,26,27,28,30,32,33,47,50,51,55,58,61,62,64,65],most:[1,5,9,10,17,18,20,28,33,51,63,65,66],mostli:28,mount:[8,33,62],move:[1,8,10,32,33],msb:63,msg:70,msg_bundl:70,msg_id:70,msg_protocol:27,msi:33,much:20,multipl:[1,2,3,4,5,7,8,9,11,13,14,21,28,33,35,62,63,64,65],multiple_host_access:1,multipli:1,must:[1,2,3,4,5,7,8,9,10,11,13,14,15,17,18,19,20,21,22,26,27,28,29,30,31,33,34,35,37,39,40,41,45,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,70],mutual:70,mylibrari:8,n_a:33,n_a_token_method_typ:33,name:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,17,18,19,20,21,24,25,26,27,28,32,33,34,35,37,39,40,41,42,44,45,46,47,48,49,50,51,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,70,72],name_kei:[2,33],namespac:[0,1,27,28,33,40,41,48,68],namespace_manag:[0,1,33,68],namespace_management_cli:[0,1,68],namespaceinst:40,namespaceresourceopt:33,namespaces_cli:[0,1,68],namespaces_licens:33,namespaces_support:33,nano:1,nativ:[27,33],natur:1,ncp_cluster_network_info:33,ncp_cluster_network_spec:33,ncpclusternetworkenablespec:33,ncpclusternetworkinfo:33,ncpclusternetworksetspec:33,ncpclusternetworkupdatespec:33,necessari:[1,9,10,27,33,50,54,57,60,65],nedw:2,need:[1,2,7,8,9,10,13,14,17,18,24,27,28,32,33,34,35,37,39,41,48,62,70,73],neg:62,neither:65,nest:[1,2,4,27],nestedlocalizablemessag:27,net:[1,3,33],net_bios_mod:33,netbio:33,netbiosmod:33,netboot:62,netmask:[3,33],netwar:33,netware_4:33,netware_5:33,netware_6:33,network:[0,1,2,8,11,20,32,33,34,61,62,63,68],network_cli:62,network_fold:1,network_loc:62,network_map:33,network_nam:[11,62],network_protocol:62,network_provid:33,network_serv:62,networkaddress:[33,54,55,60],networkbackingtyp:33,networkd:1,networking_cli:[0,1,33,62,68],networkprotocol:62,networkprovid:33,networksect:33,networkspec:33,networktyp:33,never:[1,3,18,32,33,62,64,70],new_siz:2,new_subscribed_librari:8,new_vmdk:62,newer:[1,2,3,4,5,7,8,9,10,13,17,18,19,20,24,25,26,27,28,32,33,35,40,41,46,47,48,50,51,54,55,56,57,60,61,62,63,64,65,67],newer_compatibility_releas:14,newli:[1,8,33,41,47,54,62,64,72],newlin:9,newtwork:1,newvmdk:62,next:[1,17,33,41,62,63],next_provid:73,nfs41:1,nfs:8,nfsv3:8,nfsv4:8,nic0:[1,2,3],nic1:2,nic:[1,3,11,13,32,33,61,62,63,64],nics_to_upd:1,nld_9:33,nmumber:1,no_authent:27,no_firmware_provid:20,no_impact:13,no_reboot:33,no_rx_loss:62,no_sync_found:46,node1:33,node2:33,node:[1,2,4,5,13,28,32,33,48,55,61,62],nodeinfo:33,noderol:33,noderuntimeinfo:33,nodesin:33,nodest:33,nodevminfo:33,non:[1,2,7,8,9,13,18,33,43,49,62,63],non_compli:[13,50,51,65],non_compliant_host:13,none:[1,2,3,4,5,7,8,9,10,11,12,13,14,15,17,18,19,20,21,24,25,26,27,28,32,33,34,35,37,39,40,41,42,44,45,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,70,72,73],noproxi:2,nor:[1,65],normal:[1,8,32,54,55],normal_result:32,not_allowed_in_current_st:32,not_appli:18,not_applic:[10,35,50,51,65],not_certifi:13,not_compli:35,not_connect:62,not_found:32,not_initi:33,not_instal:33,not_respond:1,not_run:[33,62],not_yet_valid_certif:10,notallowedincurrentst:[1,2,3,4,8,9,10,13,14,17,18,32,33,41,42,43,47,61,62,64,66],notat:[33,62,63],notconfigur:33,note:[1,8,9,13,14,20,33,47,62,64],notfound:[1,2,3,4,5,7,8,9,10,13,14,15,17,18,19,20,21,22,26,28,29,30,31,32,33,34,35,40,41,45,46,47,48,50,54,55,56,57,58,59,60,61,62,63,64,66],noth:2,notic:[8,20],notif:[1,2,13,14,17,18,20,33,47],notifi:32,noun:28,nov:33,novel:33,now:9,nsx:33,nsx_edge_clust:33,nsxe:33,nsxedgeclust:33,nsxt_container_plugin:33,ntf:62,ntp:[1,2,33],ntp_client:[0,1,68],num_cores_per_socket:33,num_cpu:[11,33],num_displai:11,num_supported_pod:33,num_supported_servic:33,number:[1,2,4,5,7,8,10,11,13,17,18,19,24,25,27,28,33,34,41,47,48,57,62,63,64,66,73],numer:[1,2,4],nvme:1,oauth2:[27,33],oauth2authenticationmethod:33,oauth2createspec:33,oauth2info:33,oauth2summari:33,oauth2updatespec:33,oauth:[27,33],oauth_access_token:27,oav:[3,33],obj_typ:48,object:[1,7,9,13,20,32,33,35,40,48,50,51,62,63,66,70,72],object_id:7,objectcompli:[35,62],objecttotag:7,objtyp:48,obtain:[1,7,17,20,33,58,63],occur:[1,2,4,5,6,8,32,33,40,54,58,59,61,70,73],ocean:33,octet:33,oem:[13,17,18,21,26],off:[1,2,8,18,19,24,25,32,33,62,66],offer:[1,36,37,39],offici:[13,33,47],offlin:17,offline_bundl:17,often:[1,17,33,40],oid:34,oidc:33,oidccreatespec:33,oidcinfo:33,oidcsummari:33,oidcupdatespec:33,ok_cancel:33,old:[1,33,66],old_password:1,old_siz:2,older:[2,33,67],oldest:5,omit:[7,33,64],on_demand:[1,8],on_error:73,onc:[1,8,9,10,28,33,59,62,63],one:[1,2,3,4,5,7,8,9,10,11,13,14,17,18,20,21,27,28,31,32,33,34,37,40,51,54,55,56,58,61,62,64,65,66,67],ones:63,ongo:[9,33,46],onli:[1,2,3,4,5,7,8,9,10,13,14,17,18,19,20,24,25,27,28,32,33,34,35,37,39,40,41,45,46,47,48,54,55,56,60,61,62,63,64,67,70],onlin:[2,13,17],ons:[13,17],onto:[1,8,33,66],onward:34,ooki:62,opaqu:[1,28,33,54,62,70],opaque_network:[1,33,62],opaque_network_id:62,opaque_network_typ:62,opaquenetwork:33,open:[1,33,62],open_vm_tool:33,openserv:33,openserver_5:33,openserver_6:33,opensus:33,opensuse_64:33,oper:[1,2,3,4,5,6,7,8,9,10,11,13,14,17,18,19,20,21,24,25,28,29,30,31,32,33,40,45,46,47,48,50,56,57,58,61,62,63,64,65,66,70,73],operation_id:[28,29,30,31,32,70,73],operation_input:32,operation_not_found:32,operationg:62,operationinfo:[28,29,30,31],operationnotfound:32,operationresultinfo:28,operations_readi:62,opert:17,optim:[1,8,62],optimist:[3,8],optimization_info:1,optimizationinfo:[1,8],optimize_remote_publish:8,option:[1,2,3,4,5,7,8,9,10,11,13,17,18,19,20,24,25,27,28,32,33,40,41,46,47,48,54,55,56,58,60,62,64],optional_list:28,optioninfo:28,optmiz:8,oracl:33,oracle_linux:33,oracle_linux_64:33,oracle_linux_6:33,oracle_linux_6_64:33,oracle_linux_7:33,oracle_linux_7_64:33,oracle_linux_8_64:33,orang:[2,3],orchestr:33,order:[1,2,3,7,8,28,33,56,62,63,64],ore:1,org:[32,33,48],org_id:33,organ:[28,33,34],organization_unit:34,orgid:33,origin:[1,2,3,7,8,33,62,63],os2:33,os_descript:11,os_typ:[11,33],osp:33,ostyp:33,other:[1,2,3,7,8,9,10,13,20,22,32,33,37,47,48,55,58,59,60,61,62,63,70],other_24x_linux:33,other_24x_linux_64:33,other_26x_linux:33,other_26x_linux_64:33,other_3x_linux:33,other_3x_linux_64:33,other_4x_linux:33,other_4x_linux_64:33,other_64:33,other_linux:33,other_linux_64:33,otherwis:[1,7,11,18,32,33,34,62,70],out:[1,8,13,17,20,28,32,33,50,51,62,64,65,66,70],out_of_d:[50,51,65],outbound:2,outcom:7,output:[28,32,33,62,70],output_field:28,output_field_list:28,outputfieldinfo:28,outputinfo:28,outsid:[1,33],outstand:46,ova:10,over:[1,8,9,20,33,37,61,62,70],overal:[1,2,3,13,20,33,40,65],overall_compli:65,overhead:9,overlap:33,overrid:[13,17,33,70],overridden:[1,13],overridden_compon:13,overriden:17,overrun:62,overview:62,overwrit:[3,17,21,32,33,59],overwritten:[18,33,58,62],ovf2:33,ovf:[0,1,8,10,11,33,68],ovf_client:[0,1,8,68],ovf_environ:33,ovf_library_item_id:33,ovferror:33,ovfinfo:33,ovfmessag:33,ovfparam:33,ovfsummari:33,ovftempl:11,ovfwarn:33,own:[8,14,27,32,33],owner:[18,33,62],pack:62,packag:68,package_id:28,packageinfo:28,packet:[3,63],packetr:1,page:[1,2,3,4,5,7,8,9,10,13,17,18,19,20,24,25,26,27,28,32,33,35,40,41,46,47,48,50,51,54,55,56,57,60,61,62,63,64,65,67,68],pair:[14,33,58,70],palo:[10,33,34],parallel:[1,18,62],parallel_port:1,parallel_ports_to_upd:1,parallelport:[1,62],param:[17,27,28,33],paramet:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,39,40,41,42,43,44,45,46,47,48,49,50,51,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,70,72,73],parameteriz:33,paravirtu:64,parent:[1,2,4,5,7,8,11,13,32,33,62],parent_fold:1,parent_resource_pool:1,parentref:33,pars:[32,33],parse_error:33,parseissu:33,parser:72,part:[1,2,4,5,7,8,10,13,14,17,18,20,28,32,33,54,58,62,70],parti:[27,33,34,59],partial:[1,7,33,61],particip:8,particular:[1,2,3,8,12,13,17,20,27,28,32,33,35,47],partit:[2,62],partner:33,partner_avail:33,partner_hostnam:33,pasrs:33,pass:[1,2,4,5,6,7,8,9,11,13,14,17,20,21,26,27,28,32,33,35,37,39,40,41,42,43,46,47,48,49,50,51,54,55,56,57,60,62,63,64,65,66,67,70,73],passiv:[33,61],passive_redeploy_op:33,passivespec:33,passthru:62,passthru_exclus:62,password:[1,2,4,8,27,28,32,33,42,45,46,58,72],password_expir:1,password_expires_at:1,pasword:1,patch:[2,14,18,33,47],path:[1,2,4,8,9,27,28,33,34,62],path_length_constraint:34,pattern:1,paus:33,payload:[17,32,47],pci:[11,13,14,20,33,62,64],pci_address:13,pci_devic:13,pci_device_compli:20,pci_slot_numb:[11,62,64],pcidevic:[13,14,20],pcidevicecompli:20,pcidevicecomplianceinfo:20,pcnet32:62,pebi:1,peer:58,peform:1,pem:[33,34,56,58],pend:[1,2,7,33,41,47,48,62],pending_upd:47,per:[1,3,27,33,62],percent:[1,2],percentag:4,perform:[1,2,3,4,5,7,8,9,10,13,17,18,20,32,33,42,43,45,46,48,54,61,62,64,66],period:[1,9,17,33,34,62],perl:33,perm:33,permiss:[1,7,11,33,42],permit:[3,62],persist:[1,8,30,33],persist_json_en:[1,8],persistent_volume_claim_count:33,persistent_volume_claim_count_unset:33,persistentvolumeclaim:33,persistentvolumeclaimcount:33,person:[27,33],perspect:[16,32,33,62],perspectives_cli:[0,1,13,15,68],pertain:[20,22,33],peta:1,phase:[1,20,47],photon:33,phrase:[27,28],physic:[32,33,62,64],pick:[1,13],pico:1,pid:1,piec:[2,4,27,28],piko:1,pipe:62,pipe_cli:62,pipe_serv:62,pkg:13,place:[1,8,33,50,51,62,65,66],placehold:1,placement:[1,8,33,61,66],placementinfo:[8,33,61],placementspec:[1,33,61,66],plain:2,plain_text:2,plan:33,plane:[33,48],platform:[1,33,56],pleas:1,plug:[32,33],plugin:[1,8,33],plural:27,pnid:[1,2,3,34],pod:[33,48],pod_cidr:33,pod_count:33,pod_count_unset:33,pod_nam:48,podcidr:33,podcount:33,podidentifi:48,point:[1,8,18,28,32,33,47],pointless:32,polici:[0,1,2,3,8,11,12,13,17,18,23,24,32,33,35,40,50,54,62,65,68],policies_cli:[0,1,13,17,23,33,62,68],policy_cli:[0,1,8,11,33,62,68],policytyp:62,poll:[28,46,62],polling_interval_in_second:46,pool:[1,8,33,66],popul:[20,27,33,65],populateds:33,port:[1,2,3,8,27,32,33,44,54,55,62],portgroup:[33,62],portion:[32,62,63],posit:[1,27,33,63],possibl:[1,2,4,8,10,13,14,17,18,19,20,22,24,25,26,27,28,32,33,47,54,55,61,62],possible_answ:33,post:[32,33],postcustom:33,potenti:1,power:[1,18,19,24,25,32,33,37,62,64,66],power_off_vm:[18,19,24,25],power_on:1,power_st:1,powered_off:[1,33],powered_on:[1,33,66],poweroff:[1,33],poweron:[1,33],powerst:[1,62],pr1459646:62,pr1459647:62,pre:[1,33,47,48,61],pre_remediation_power_act:[18,19,24,25],preced:32,precehck:47,precheck:[2,4,33,47,48],precheckreport:47,precheckresult:2,precis:[27,28],precondit:1,precustom:33,predefin:1,predic:1,prefer:[1,3,8,33,62,63],prefix:[3,33,63],prefix_length:63,prefixlength:63,prem:33,prepar:[10,33],prepare_request:10,preparestatu:10,preremediationpoweract:[18,19,24,25],prerequisit:1,present:[1,8,9,13,14,17,18,20,26,27,28,32,33,34,47,55,56,57,62,63,70,72],preserv:28,preserve_mac:33,press:32,prevent:[1,2,32,33,62],preview:[1,9,10,33,35,37,39,45,46,53,62],preview_info:9,previewinfo:[9,10],previewwarninginfo:10,previou:[2,33,47,66],previous:[1,17,18,28,32,33],primari:[28,32,33,34,62],primarili:1,primit:28,primitive_valu:28,primitivevalu:28,princip:[32,33,54],principalid:32,print:[28,67],prior:[1,32,33],prioriti:2,privaci:63,privat:[1,27,34,41,58],private_kei:58,private_key_jwt:33,priveleg:[33,50,62],privileg:[0,1,7,8,9,10,13,14,15,17,18,19,20,21,24,25,26,27,28,32,33,34,35,40,41,48,50,51,54,60,61,62,64,65,66,68],privilege_cli:[0,1,27,31,68],privilege_info:28,privilegeinfo:28,probe:1,proberesult:1,probesubscript:1,problem:[1,2,32,33,61],proce:[48,56],procedur:33,process:[1,2,3,4,8,9,10,32,33,47,50,62],processor:[33,62],produc:[1,13,33],product:[1,2,5,33,35,37,39,45,46,47,62],product_kei:33,product_nam:47,productcatalog:47,productsect:33,profession:33,profil:[2,33,50,51,54,65],profile_spec:2,profileinfo:2,profilespec:2,profilesspec:2,progess:48,program:[1,13,14,32,33,67],progress:[1,2,4,5,7,9,13,17,18,32,33,45,46,47,48],project:[1,40,41,54],propag:[2,7,11],proper:[1,27,33],properli:[2,33],properti:[1,2,8,9,10,33,35,37,39,63,64,70],property_path:28,propertyparam:33,propertypath:28,proportion:1,protocol:[2,3,27,32,33,55,56,62,63,70],prototyp:33,provid:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,39,40,41,42,43,44,45,46,47,48,49,50,51,53,54,55,56,57,58,60,61,62,63,64,65,66,67,70,73],providerdefinit:70,providers_cli:[0,1,33,54,55],provis:[1,9,33,58],proxi:[2,55,62],proxy_serv:55,psc:[33,42,43,44],psc_client:[0,1,33,42,68],psc_extern:33,psc_hostnam:33,pscregistr:33,pscspec:33,public_kei:56,public_key_uri:33,publicli:8,publish:[1,8],publish_info:1,publish_url:8,publishinfo:[1,8],publishlibrari:1,publishlibraryitem:8,pull:[9,10,17,18],pullloc:[17,18],pure:33,purg:[41,66],purpos:[1,28,32,33],push:[9,10,17,18],put:[1,10,28,32,33,37],pvscsi:64,pxe:62,python:33,qualifi:[1,3,28,32,33],quarter:1,quer:62,queri:[1,2,3,7,8,9,13,14,17,18,20,30,33,35,47,48,51,54,62,66],query_data_point:1,query_opt:1,querycap:1,querydatapoint:1,querypred:1,question:[2,33],question_id:33,question_rais:33,questiontyp:33,queue:32,quick:[18,19,24,25],quit:28,quorum:33,quota:[33,40],rais:[1,2,3,4,5,6,7,8,9,10,13,14,15,17,18,19,20,21,22,24,25,26,28,29,30,31,33,34,35,40,41,42,43,44,45,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,70],ram:11,random:[3,17,63],randomli:3,rang:[1,17,32,33,62,63],rare:1,rate:[1,2,47],rather:[1,10,33,56],raw:[1,62],reacabl:3,reach:[1,10,13,17,33,40,41],reachabl:[1,2,3,33,42,43,63],react:[32,33],read:[1,3,6,7,8,9,13,14,15,17,18,19,20,21,24,25,26,28,32,33,34,35,40,41,48,54,61,62,64,66],readabl:[1,8,13,15,17,20,26,27,33],readi:[9,10,33,41,48,62],readstorag:[9,10],readstsinfo:33,readtrustedhost:[33,54,60],real:1,realli:32,realm:32,reason:[1,10,28,32,33,66],reboot:[1,2,13,33,47,62],reboot_requir:[2,13,47],rebootopt:33,recal:[17,26],recall_fix:[17,26],receiv:[1,9,10,32,33,67,70],recent:[1,5,17,18,20,33,65],reclaim:41,recogn:[1,32,33],recommend:[1,2,8,18,33,35,37,39,45,46,62,66],reconcili:4,reconciliation_cli:[0,1,2,68],reconfigur:[1,33,62],reconfigurespec:33,reconnect:1,record:[1,47],recov:1,recover:62,recoverable_error:62,recoveri:[0,1,2,68],recovery_cli:[0,1,68],recurr:[4,17,40],recurrence_info:4,recurrenceinfo:4,recurs:27,red:[2,3,33],redeploi:[33,61],redeploy_task:61,redeployspec:61,redhat:33,redirect:[33,47],refer:[1,4,5,8,9,11,12,14,27,28,33,63],referenc:[1,8,9,10,13,15,17,18,19,20,21,33,54,60,66],reflect:[1,28,33],refresh:[3,17,33],refresh_token:33,refresh_token_typ:33,regain:62,regard:[13,17,18,26,55,56,57,70],regexp:2,region:33,regist:[1,2,13,18,28,32,33,42,46,47,54,56,60],registerplacementspec:1,registerspec:1,registr:[27,33],registration_accept:33,registri:[0,1,33,40,68],registries_cli:[0,1,33,68],reject:[1,2,3,48,56,62],rel:[1,8,63],relat:[1,4,7,8,17,26,33,48,50,51,56,61,62],releas:[1,2,8,13,14,17,26,33,47],release_d:[2,13,17,26,33,47],release_not:[33,47],released:2,releaseinfo:47,relev:[1,2,3,4,5,7,8,9,10,13,16,17,18,19,20,24,25,27,28,32,33,40,41,46,48,54,55,60,62,64],reli:1,relinquish:62,reload:1,reloc:1,relocate_task:1,relocateplacementspec:1,relocatespec:[1,33],remain:[1,8,28,33,39,50,51,55,56,61,65],remedi:[13,17,18,19,24,25],remot:[1,2,5,8,9,27,33,42,43,44,45,46,55,56,58,62,67],remote_addr:27,remote_psc:33,remote_psc_cli:[0,1,33,42,43],remotepsc:42,remotepscspec:[33,42],remotespec:44,remov:[1,7,8,9,10,17,21,26,32,33,41,45,47,54,55,56,57,60,62,64],remove_from_used_bi:7,removed_compon:26,removedcomponentinfo:26,render:[11,27,33],render_typ:11,renew:[1,34],repeat:33,repeatedli:59,replac:[1,3,8,13,33,34,58],replace_vmca_sign:34,replacespec:34,replic:[32,33,43,55,61],replica:[33,46],replica_set_count:33,replica_set_count_unset:33,replicaset:33,replicasetcount:33,replicatedpscspec:[33,43],replicatedspec:33,replication_controller_count:33,replication_controller_count_unset:33,replication_partn:33,replicationcontrol:33,replicationcontrollercount:33,replicationstatu:33,repoint:33,report:[0,1,2,4,7,8,9,13,14,17,18,20,27,28,32,33,40,41,45,46,47,48,49,50,51,54,60,62,63,64,65,66,70],report_token:13,reportrow:47,reports_cli:[0,1,13,17,18,22],reportsummari:47,repositori:[1,2,33,40,41],repres:[1,2,3,4,5,7,8,9,10,13,14,17,18,19,20,24,25,26,27,28,32,33,35,40,41,46,47,48,50,51,54,55,56,57,60,61,62,63,64,65,67,70],represent:[1,2,10,33],request:[1,2,4,8,9,10,13,14,17,20,27,28,32,33,34,40,41,45,46,48,49,50,51,58,59,61,62,63,64,65,66,70,72,73],requested_token_typ:33,requir:[1,2,4,8,9,10,11,12,13,14,15,17,18,19,20,21,24,25,26,27,28,32,33,34,35,39,40,41,43,48,50,51,54,55,56,57,60,61,62,64,65,66,70],require_certificate_valid:56,require_endorsement_kei:56,required_free_disk_space_on_sourc:33,res:48,reserv:[1,11,18,19,24,25],reset:[1,17,32,33,45,62],reset_groups_claim:33,reset_upn_claim:33,resid:[7,9,13,64],resiz:2,resize_ex:2,resolut:[1,2,13,33],resolv:[1,33,44,62],resourc:[1,2,3,4,5,7,8,9,10,11,13,14,15,17,18,19,20,21,22,26,27,28,29,30,31,32,33,35,37,39,40,41,45,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66],resource_address_schema:1,resource_busi:32,resource_cli:[0,1,27,28,68],resource_id:[1,28,30,33],resource_in_us:32,resource_inaccess:32,resource_not_found:1,resource_pool:[1,8,33,66],resource_pool_id:33,resource_spec:33,resource_typ:[1,8,9,17,18,21,28,29,30,31,33,35,46,47,54,55,56,57,62,64,66],resourceaddress:1,resourceaddressschema:1,resourceallocationcreatespec:1,resourceallocationinfo:1,resourceallocationupdatespec:1,resourcebusi:[1,3,9,32,33,46,54,62,64,66],resourceiddefinit:1,resourceinaccess:[1,8,13,14,32,33,54,62,64,66],resourceinus:[1,32,33,62,64],resourcepool:[1,8,33,66],resourcepooldeploymentspec:33,resourcequotaoptionsv1:33,resourcequotaoptionsv1upd:33,resourcetyp:1,respect:[1,13,20,22,33,64,70],respond:[1,8,9,32,33,40,41,45,46,48,49,50,51,62,63,64,65,66],respons:[10,13,14,17,18,20,28,32,33,47,48,54,67,70],rest:[1,27,32,33,56,57,72],restart:[1,2,33,34],restor:[1,2,4,8,10,33],restore_cli:[0,1,2,68],restorejobstatu:4,restorerequest:[2,4],restrict:[2,3,7,14,33],resubmit:32,result:[1,2,3,4,5,7,8,9,10,13,14,17,18,20,22,28,32,33,35,40,47,48,50,51,58,59,63,66,70,73],result_spec:1,result_typ:32,resultinfo:33,resulttyp:32,resum:33,retain:[4,28,33,62,66],retent:4,retention_info:4,retentioninfo:4,retreiv:[2,28],retri:[18,19,24,25,33,62,73],retriev:[1,7,9,10,17,18,26,27,28,29,30,31,32,33,34,35,40,47,54,58,61,62,63,65,73],retry_count:[18,19,24,25],retry_delai:[18,19,24,25,62],return_al:1,returnresult:[2,4],returnstatu:[2,4],rev:33,review:[10,14,58],revis:33,revok:[7,33],revoke_propagating_permiss:7,rfc1123:33,rfc6749:33,rfc7235:32,rfc:[3,28,62,63],rhel_2:33,rhel_3:33,rhel_3_64:33,rhel_4:33,rhel_4_64:33,rhel_5:33,rhel_5_64:33,rhel_6:33,rhel_6_64:33,rhel_7:33,rhel_7_64:33,rhel_8_64:33,rhttpproxi:34,rich:11,rid:1,right:[18,19,24,25,33,62],robo:17,role:[1,33],roll:[8,33],rollback:[1,2,8,33,66],rollback_in_progress:1,rollbackspec:66,rom:[1,33,62,64],root:[1,11,33,34,56],root_cert:34,root_password:33,rotat:33,rotate_password:33,rough:[2,47],rout:63,router:63,rpc:32,rpm:33,rs256:27,rsrc:1,rsrc_addr:1,rsrcaddr:1,rsrcaddrschema:1,rsrcid:1,rsrctype:1,rule:[2,3,33],run:[1,2,3,4,5,7,13,17,20,32,33,39,40,46,47,48,54,61,62,63,66],run_stat:33,running_in_progress:1,runstat:[33,62],runtim:[27,33,62,64,70],runtime_data:70,runtimedata:70,sai:[7,18,32],said:[13,28,29,31,33],same:[1,2,3,4,5,7,8,9,10,11,12,13,14,15,17,18,19,20,21,24,25,26,27,28,30,32,33,34,35,37,39,40,41,42,44,45,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66],saml1:33,saml1_token_typ:33,saml2:33,saml2_token_typ:33,saml:[1,27,28,32,33],saml_bearer_token:27,saml_hok_token:[27,28],samltoken:27,sampl:[1,27,48],sampletyp:1,san:1,saniti:33,sata:[1,11,62,64],sata_adapt:1,sataadapt:[1,64],sataaddressinfo:62,sataaddressspec:62,satisfi:[33,43,62],saturdai:[2,4,17,40],save:[1,66],say_hello:32,scale:[1,33,37],scaleoutgroup:33,scaleoutparam:33,scaleoutsect:33,scan:[13,17,18,20],scan_task:[17,18],scan_tim:[13,20],scenario:[1,2,8,10,34,47],schedul:[2,4,5,9,17,32,33,40,41],schema:[1,33],scheme:[1,9,10,17,18,27,28,29,32,33,72,73],scheme_typ:28,schemeid:27,schemetyp:28,scim:33,sco:33,scope:[30,33,41],scp:[2,4],script:33,script_text:33,scsi:[1,11,32,62,64],scsi_adapt:1,scsiadapt:[1,64],scsiaddressinfo:[62,64],scsiaddressspec:62,sddc:33,sdk:[1,62,67],search:[1,2,3,8,33,57,62,68],search_domain:62,searchabl:7,second:[1,2,3,5,18,19,24,25,33,55,61,63],secondari:[32,33,62],seconds_since_epoch:2,secret:[28,33],secret_count:33,secret_count_unset:33,secretcount:33,section:[17,32,33],section_restrict:33,section_unknown:33,secur:[1,2,17,26,27,28,32,33,47,54,68,69,70],security_context:[70,73],security_context_filt:[68,69,70,72],securitycontext:[27,70,72,73],securitycontextfilt:73,securitycontextpars:72,securityprincip:32,see:[1,2,3,4,5,7,8,9,10,11,13,17,18,19,20,24,25,26,27,28,32,33,35,37,39,40,41,46,47,48,50,51,54,55,56,57,58,60,61,62,63,64,65,67],segment:28,select:[1,4,13,28,33,47,48],selected_by_default:4,selected_kei:33,self:[1,10,32,33,58,61],self_sign:10,self_signed_certif:10,semant:1,send:[2,3,56,63,67],send_test_messag:2,sensit:[28,33],sent:[1,2,17,27,32,48,62,70],sentenc:28,separ:[1,3,14,28,33,62,63],sequenc:[1,28,32,48,64],seri:[13,14,18,48],serial:[1,62],serial_numb:34,serial_port:1,serial_ports_to_upd:1,serialnumb:34,serialport:[1,62],seriou:2,serv:[1,8,9,32,33,61,62],server:[1,2,3,4,5,7,8,9,10,13,14,17,18,19,20,24,25,26,27,28,32,33,34,35,37,39,40,41,42,43,46,47,48,50,51,54,55,56,57,58,59,60,61,62,63,64,65,67,70],server_endpoint:33,server_guid:[1,8],server_hcl:14,server_nam:58,server_reach:[1,2],server_trust_cli:55,server_unreach:[1,2],servercompat:14,serverhclinfo:14,serverinfo:55,serverstatu:[1,2],servic:[1,2,4,5,7,8,9,10,13,15,17,18,19,20,21,22,24,25,26,27,28,29,30,31,32,33,34,45,50,51,54,55,56,58,59,60,62,64,65,67,70,73],service_cidr:33,service_cli:[0,1,27,28,68],service_count:33,service_count_unset:33,service_id:[28,29,30,31,32,70,73],service_unavail:32,servicecidr:33,servicecount:33,serviceinfo:[2,28],services_cli:[0,1,68],services_will_be_stop:2,servicestatu:55,serviceunavail:[1,2,13,15,17,18,19,20,21,22,24,25,26,32,33,50,51,62,63,64,65],session:[1,2,9,10,13,27,28,32,33,45,46,68,69,70],session_awar:28,session_id:[27,28,72],session_manag:28,sessionid:27,sessioninfo:46,sessionless:28,sessionsecuritycontextpars:72,set:[0,1,2,3,4,5,6,7,8,9,10,11,13,14,27,28,30,32,33,34,35,37,40,45,46,47,48,50,51,54,55,56,57,58,60,62,63,64,65,68,70,73],set_id:1,set_security_context:73,set_task:[18,58,61],setdefault:70,setid:1,setspec:[17,33,62],settings_cli:[0,1,17,18,20,21,68],setup:[20,33,62],sever:[2,7,14,27,33,47,48],severitytyp:47,sftp:[2,4],sha1:[1,9,33,44],sha256:9,sha512:9,sha:[8,9,33],shall:33,share:[1,8,11,33,37,39,64],sharesinfo:1,she:32,shell:[2,33],shellconfig:2,ship:27,short_dat:27,short_date_tim:27,short_datetim:27,short_messag:9,short_opt:28,short_tim:27,shorter:[9,54],shoud:62,shoudl:2,should:[1,2,3,4,5,7,8,9,10,13,14,17,18,19,20,24,25,27,28,32,33,34,35,40,41,42,48,50,51,55,56,58,61,62,63,64,65,66,70,73],should_retri:73,shouldn:[1,17],show:[10,13,14,20],shown:2,shrink:7,shut:62,shutdown:[1,2,33,62],shutdown_cli:[0,1,68],shutdown_tim:1,shutdownconfig:1,shutdowntim:1,shutting_down:62,side:[1,9,10,63,70],sign:[1,10,27,28,32,33,34,54,56,58,59],signatur:[27,34],signature_algorithm:34,signific:[2,47,63],significantli:[2,47],similar:[28,33],similarli:[7,56,70],simpl:28,sinc:[1,2,5,10,28,32,33,35,37,39,40,45,46,62,64,65,67],singl:[1,2,3,7,8,9,13,18,19,24,25,27,28,33],site:33,sitenam:33,situat:1,situt:32,six:1,size:[1,2,4,5,8,9,10,11,32,33,34,62],size_hint:33,size_mib:[33,62],sizemib:62,sizeparam:33,sizinghint:33,sjd:33,skip:[17,18,20,33],skip_software_check:18,skipped_host:[17,20],slaac:3,slave:62,sle:33,sles_10:33,sles_10_64:33,sles_11:33,sles_11_64:33,sles_12:33,sles_12_64:33,sles_15_64:33,sles_64:33,slot:[11,33],small:33,smb:[2,4,8],smbio:[1,33],snapshot:[10,32],snat:33,soap:[32,33,66],socket:[33,62],sofia:33,soft:62,softwar:[0,1,2,13,15,17,18,19,23,24,25,33,47,48,57],software_cli:[0,1,13,17,20,33,68],software_spec:[17,18],software_specification_exist:18,softwareinfo:[13,17,18],softwarepackag:2,softwarespec:13,solari:33,solaris_10:33,solaris_10_64:33,solaris_11_64:33,solaris_6:33,solaris_7:33,solaris_8:33,solaris_9:33,sole:[48,62],solici:33,solut:[13,17,18,33,54],solutioncompli:13,solutioncomponentdetail:13,solutioncomponentspec:13,solutiondetail:13,solutioninfo:[13,18],solutionspec:[13,18],some:[1,2,7,9,10,13,14,15,17,18,20,21,22,28,30,32,33,35,37,39,40,45,46,47,50,62],someth:56,sometim:1,soon:[1,2],sooner:2,sort:17,sortabl:7,sourc:[1,2,3,8,10,13,17,18,27,28,33,46,60,63,66,67],source_appli:33,source_endpoint:10,source_id:8,source_info:[8,33,67],source_librari:8,source_library_item_id:8,source_loc:33,source_svc:67,source_typ:[2,10,17,18],source_vc_window:33,source_vm:33,sourceappliancespec:33,sourcecreatespec:27,sourceinfo:[8,27,33],sourcetyp:[2,10,17,18,27,60,67],sourcevcwindow:33,space:[1,2,4,33,41,62],spars:33,spbm:[33,65],spec:[1,2,4,5,8,14,17,18,20,21,24,33,34,40,41,42,43,44,47,48,54,55,56,57,58,60,61,62,64,66,67],specfic:18,special:[2,4,67],specif:[1,2,3,4,5,7,8,9,10,13,14,16,17,18,19,20,21,24,25,26,27,28,32,33,35,37,39,40,41,45,46,47,48,54,57,60,61,62,63,64,66,70],specifi:[1,2,3,4,5,7,8,9,10,11,13,14,17,18,19,20,21,24,25,27,28,29,32,33,34,35,37,40,41,44,45,46,47,48,50,51,54,56,58,60,61,62,63,64,65,66,67,70],speed:1,split:33,spsstorageprofil:[33,40],squar:1,ssh:[2,4,32,33],ssh_thumbprint:33,ssh_verifi:33,sshverifi:33,ssid:[13,20],ssl:[1,8,9,32,33,34,61],ssl_certificate_thumbprint:9,ssl_thumbprint:[1,8,33],ssl_verifi:33,sslthumbprint:33,sslverifi:33,sso:[1,2,4,8,32,33,45,68,69,70],sso_admin_password:33,sso_admin_user_nam:[2,4],sso_admin_user_password:[2,4],sso_admin_usernam:33,sso_domain:33,sso_domain_nam:33,sso_login_requir:2,sso_password:1,sso_site_nam:33,sso_us:1,sssz:27,stabl:33,stack:[32,33],stage:[1,2,9,46],stage_and_instal:2,stage_in_progress:1,staging_complet:2,stai:[1,9,10],stamp:1,stand:33,standalon:[1,17,18,32,33,43],standalonepscspec:[33,43],standalonespec:33,standard:[1,8,9,27,32,33,62],standard_portgroup:[1,33,62],standbi:[1,33,62],standlon:17,start:[1,2,4,5,7,8,10,11,13,17,20,28,32,33,34,40,41,46,48,62,64],start_connect:[11,62],start_tim:[1,2,4,5,7,13,17,20,33,46],start_timestamp:5,started_at:33,starting_address:33,startingaddress:33,starttimeout:[1,2,33],startup:[1,2,33],startup_typ:[2,33],startuptyp:[2,33],stat:[1,33,48],stat_id:1,stat_summari:33,state:[1,2,3,4,7,9,10,13,17,18,19,20,21,22,23,24,25,28,32,33,34,35,41,42,43,45,48,54,55,56,57,61,62,63,64,66],state_or_provinc:34,stateful_set_count:33,stateful_set_count_unset:33,statefulset:33,statefulsetcount:33,stateless:[3,18,63],statement:28,static_ippool:33,static_manu:33,staticrang:33,statist:[1,33,48],stats_client:[0,1,33,68],statu:[1,2,3,4,5,7,8,9,10,13,14,16,17,18,20,22,27,33,35,40,41,46,48,50,51,53,54,55,56,57,58,62,63,65],status:[1,3,33,50,51],status_avail:33,status_messag:46,statustyp:18,std:[0,1,2,3,4,5,6,7,8,9,10,13,14,15,17,18,19,20,21,22,24,25,26,27,28,29,30,31,33,34,35,40,41,42,43,44,45,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,68],std_client:[0,1,2,4,5,7,9,10,13,14,17,18,20,32,33,40,41,46,48,54,55,56,57,58,61,62,65,68],stdlib:[1,2,14,17,18,20,47,54,55,56,57,58,59,60],step:[1,7,20,33],still:[1,2,8,33,47,62],stop:[1,2,3,33,40],storag:[0,1,2,8,9,10,11,12,20,32,33,40,41,62,66,68],storage1:1,storage_back:[1,8,9],storage_capac:33,storage_cli:[0,1,68],storage_group:33,storage_map:33,storage_polici:[1,11,33,62],storage_policy_group:11,storage_profil:33,storage_profile_id:33,storage_provis:33,storage_request_limit:33,storage_request_limit_unset:33,storage_spec:33,storage_tot:1,storage_uri:[8,9],storage_us:33,storageback:[1,8,9],storagechang:2,storagegroupmap:33,storagegroupsect:33,storageinfo:40,storagemap:2,storageplacementspec:1,storagepod:33,storagepolici:[1,11,12,33,50,62,65],storagepolicygroup:[11,12],storagepolicyspec:[1,62],storageprofil:33,storagesect:33,storagespec:[33,40],store:[1,8,9,18,28,33,34,41,54,60,61,62,66,73],str:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,17,18,19,20,21,22,24,25,26,27,28,29,30,31,32,33,34,35,37,39,40,41,42,44,45,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,67,70,72,73],stream:[9,33],string:[1,2,3,4,5,7,8,9,10,13,17,18,19,20,24,25,26,27,28,32,33,34,35,40,41,46,47,48,50,51,54,55,56,57,58,60,61,62,63,64,65,67,70,72],string_list:28,string_valu:28,strong:1,strongli:8,struct:[1,2,3,4,5,7,8,9,10,11,12,13,14,15,17,18,19,20,21,24,25,26,27,28,32,33,34,35,37,39,40,41,42,44,45,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,70],structdefinit:70,structur:[1,2,3,4,5,11,27,28,30,32,33,35,48,61],structure_id:28,structure_refer:28,structure_reference_list:28,structureinfo:28,structvalu:[70,73],sts:32,sts_group:33,sts_user:33,stsprincip:[33,54],stsprincipalid:33,stsprincipaltyp:33,stub:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,39,40,41,42,43,44,45,46,47,48,49,50,51,53,54,55,56,57,58,59,60,61,62,63,64,65,66],stub_config:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,39,40,41,42,43,44,45,46,47,48,49,50,51,53,54,55,56,57,58,59,60,61,62,63,64,65,66],stubconfigur:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,39,40,41,42,43,44,45,46,47,48,49,50,51,53,54,55,56,57,58,59,60,61,62,63,64,65,66],stubfactori:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,39,40,41,42,43,44,45,46,47,48,49,50,51,53,54,55,56,57,58,59,60,61,62,63,64,65,66],stubfactorybas:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,39,40,41,42,43,44,45,46,47,48,49,50,51,53,54,55,56,57,58,59,60,61,62,63,64,65,66],style:[27,28],sub:11,sub_class_cod:13,sub_typ:11,subject:[1,3,10,33,34],subject_alt_nam:34,subject_alternative_nam:34,subject_dn:34,subject_token:33,subject_token_typ:33,subject_typ:33,subjectaltnam:34,subjecttyp:33,submodul:[0,38,52,68,69],subnet:33,subnet_mask:33,subnetmask:33,subpackag:68,subscrib:[1,7,8,9,33,66],subscribed_librari:8,subscribed_library_loc:8,subscribed_library_nam:8,subscribed_library_plac:8,subscribed_library_vcent:8,subscribed_library_vcenter_hostnam:8,subscribeditem:8,subscribedlibrari:[1,8],subscribedlibraryloc:8,subscribedlibraryplac:8,subscript:[1,7,8],subscription_info:1,subscription_url:[1,8],subscriptioninfo:[1,8],subsequ:[1,2,17,32,33],substitut:27,subsystem:[1,2,13,64],subtask:[1,13],subtask_ord:1,subtaskinfo:1,subtyp:11,succe:[32,33],succeed:[1,2,4,5,7,10,13,33,46],succes:10,success:[1,2,3,7,17,20,27,33,42,43,45,46,47,48,61,70],successful_host:[17,20],successfulli:[4,7,17,18,20,32,33,56,64,70],sucess:20,suffici:1,suffix:33,suggest:[33,47],suitabl:[1,8,33,34,62,66],sum:[1,8,33,40],summar:[28,55,56,57],summari:[1,2,5,8,9,17,18,20,26,28,33,34,35,40,41,46,47,48,49,50,54,55,56,57,58,60,62,64,66],summary_result:20,summary_typ:54,summarytyp:54,sun:33,sundai:[2,4,17,40],superadmin:1,supervisor:33,suppli:[1,13,33,41,47],support:[1,2,3,4,5,7,8,9,10,13,14,17,18,19,20,24,25,26,27,28,32,33,34,35,36,37,39,40,41,45,46,47,48,50,51,54,55,56,57,60,61,62,63,64,65,67],supportbundl:33,supported_allocation_schem:33,supported_ip_allocation_polici:33,supported_ip_protocol:33,supported_new:33,supported_old:33,supported_releas:14,suppos:18,suse:33,suse_64:33,suspend:[18,19,24,25,32,33,62,64],suspend_vm:[18,19,24,25],svid:[13,20],swap:[2,3],sxs:33,symbol:[62,63],sync:[1,8,13,17,26,33,45,46],sync_client:[0,1,33,45,68],sync_task:13,synchron:[1,2,8,33,46],synclibrari:1,synclibraryitem:8,syncschedul:17,syntax:[32,33],sysprep:33,sysprep_xml:33,sysprepxml:33,system:[0,1,2,3,4,5,7,8,9,10,11,13,15,17,18,19,20,21,22,25,28,32,33,34,35,40,41,45,46,47,48,49,50,51,53,54,56,58,60,61,62,63,64,65,66,67,68],system_bio:13,system_cli:[0,1,68],system_config:[0,1,33,68],system_config_cli:[0,1,68],system_defin:17,system_nam:[4,5],system_name_cli:[0,1,2,4,68],systemnam:4,systemtimestruct:2,tabl:28,tag:[1,7,8,28,32,33,35,37,39],tag_id:7,tag_nam:35,tag_typ:35,tagassoci:7,tagging_cli:[0,1,68],tagmodel:7,tagtoobject:7,tagtyp:35,tagusag:35,tailor:33,take:[1,2,27,32,33,34,40,47,62],taken:[1,2,5,14,18,19,24,25,33,47],tar:33,target:[1,2,4,5,7,8,9,13,14,20,22,32,33,47,62],target_product:47,target_releas:14,target_sourc:13,target_vers:47,targetvers:47,task:[1,2,4,5,7,8,13,14,17,18,19,20,24,25,32,33,47,54,55,56,57,58,59,60,62],task_client:[0,1,2,5,13,33,68],taskinfo:[1,2,13],tcp:2,tear:33,tebi:1,tech:53,tech_preview:53,tech_preview_cli:[0,1,33,52,68],technet:33,technolog:[1,33,35,37,39,45,46,62],tell:28,temperatur:1,templat:[1,8,11,27,33,62,66,70],template_library_item:[33,66],temporari:9,tenanc:33,tent:[3,63],tera:1,term:[1,2,8,33,54,57,60,62],termin:[1,9,28,33],test:[1,2,3,33,35,37,39,45,46,62],testresult:2,testrunstatu:1,teststatu:3,teststatusinfo:3,text:[1,2,4,28,33],tgz:57,tha:33,than:[1,2,3,4,5,7,8,9,10,13,14,17,18,28,32,33,34,50,51,56,61,62,63,64,65],theattribut:[32,33],thei:[1,2,7,8,10,27,28,32,33,37,54,62,70],them:[1,28,32,33,35,37,39,45,46,62],therebi:10,therefor:1,thi:[1,2,3,4,5,6,7,8,9,10,11,13,14,17,18,19,20,21,24,25,26,27,28,30,32,33,34,35,37,39,40,41,42,43,44,45,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,67,70,72,73],thick:33,thin:[1,33],thin_provisioning_support:1,third:[27,34,59],thirti:1,those:[1,2,7,8,9,32,33,47,58],though:1,three:[28,33,34],threshold:40,through:[1,2,3,8,9,33,41,47,62,63],thrown:[1,7,33],thu:[1,2,7,8,33],thumbprint:[1,8,9,33,34,44],thumbprint_verif:1,thumbprintverif:1,thursdai:[2,4,17,40],ticket:62,till:[10,33],time:[1,2,4,5,6,7,8,9,10,11,13,14,17,18,19,20,24,25,27,28,32,33,40,41,46,47,48,56,59,62,64,65,66],time_cli:[0,1,2,68],time_stamp:48,time_zon:33,timed_out:[1,17,20,32],timedout:[1,2,13,17,32,33],timeout:[1,2,9,17,20,32,33,55],timeseri:48,timestamp:[1,2,4,5,18,27,33,48],timesync:1,timesyncmod:1,timezon:[2,6,28],tini:33,tip:33,tls_endpoint_certif:33,tls_management_endpoint_certif:33,tlscsr:34,tlsendpointcertif:33,tme:33,todai:7,todo:32,togeth:[28,49],toggl:8,token:[1,8,9,13,27,28,32,33,40,54],token_endpoint:33,token_exchange_gr:33,token_typ:33,tokenexchang:33,tokenservice_cli:[0,1,68],toler:[32,33,62],too:[32,33],too_new:33,too_old_unsupport:33,took:5,tool:[1,32,33,62,63],tools_client:[0,1,33,68],toolsinstalltyp:33,top:[3,13,28,32,33,47],topolog:33,topology_cli:[0,1,68],total:[7,17,33,40,46,48,62],total_work:46,tpm2:56,tpm2_client:[0,1,33,54,55],tpm:56,track:[8,9,10,33],tracking_sn:1,traffic:[1,3,62],transfer:[1,5,9,10,33,62],transferendpoint:[9,10],transferstatu:[9,10],transform:33,transient_ippool:33,transientind:32,transit:[10,33,61],translat:[9,28,33],transmit:9,transport:[2,32,70],treat:8,tree:28,trigger:[1,8,32,33,41,46],truncat:[9,33],trust:[10,32,33,34,54,55,56,57,58,60],trust_authority_clust:[0,1,33,54,60,68],trust_authority_clusters_cli:[0,1,33,68],trust_authority_hosts_cli:[0,1,33,68],trustauthorityclust:[33,54,60],trusted_ca:[54,60],trusted_clust:[0,1,33,54,68],trusted_infrastructur:[0,1,33,68],trusted_infrastructure_cli:[0,1,54,55,56,60,68],trustedadmin:[33,54,60],trustedpeercertif:58,trustedrootchain:34,trustworthi:[32,58],truth:[1,60],tss:48,tty1:2,tty2:2,tuesdai:[2,4,17,40],turbo_linux:33,turbo_linux_64:33,turbolinux:33,turn:[1,8,33,62],two:[1,28,32,33,34,64,67],tyme:2,tymesync_cli:[0,1,68],type:[0,1,2,3,4,5,6,7,8,9,10,13,14,15,17,18,19,20,21,22,24,25,26,27,28,29,30,31,32,33,34,35,37,39,40,41,42,43,44,45,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,68,70,72,73],typeintrospect:1,typic:[1,13,27,32,33,56],ubuntu:33,ubuntu_64:33,udp:2,ui_access_url:40,ui_opt:33,uioption:33,umd:[13,17],unabl:[1,27,32,33,50,51,62,64,65],unable_to_allocate_resourc:32,unabletoallocateresourc:[1,2,32,33,50,51,60,62,64,66],unattend:33,unauthent:[1,2,7,8,9,13,14,15,17,18,19,20,21,22,24,25,26,32,33,40,41,42,43,44,47,48,49,50,51,54,55,56,57,58,59,60,62,64,65,66],unauthor:[1,2,7,8,9,10,13,14,15,17,18,19,20,21,24,25,26,32,33,34,35,40,41,45,46,48,50,51,54,60,61,62,64,65,66],unavai:2,unavail:[1,10,13,18,20,32,33,62],unavailable_host:13,unc:8,unchang:[1,2,8,33,55,56,62,64],uncondit:1,unconfigur:[3,33],undefin:[1,58],undeploi:33,undeploy_task:33,undeployspec:33,under:[1,4,33,63],undergo:32,underli:[1,9,10],underscor:28,understand:[1,9,33],unexpect:[32,33],unexpected_input:32,unexpectedinput:32,unexpectedli:33,unicast:63,unicod:[27,28],uninterrupt:48,union:32,union_cas:28,union_tag:28,unioncas:28,uniontag:28,uniqu:[1,3,7,8,9,13,27,28,32,33,34,35,37,39,40,45,46,47,48,54,55,56,57,60,62,63,70],unit:[1,8,17,34,62],unitsfactor:1,univers:[1,8,9,40,62],unix:[1,48],unix_tim:48,unixwar:33,unixware_7:33,unknown:[1,2,3,8,13,14,15,17,18,19,20,21,22,24,25,26,32,33,47,50,62,63,67,70],unknown_compli:[51,65],unknown_error:1,unknown_sect:33,unknownsect:33,unknownsectionparam:33,unless:[1,2,9,10,33],unlik:9,unmanag:33,unmount:33,unord:70,unprepar:10,unprocess:1,unpublish:8,unqiu:54,unreach:[1,2],unrecover:62,unrecoverable_error:62,unregist:1,unreserv:1,unrestrict:33,unset:[1,8,17,18,24,33,54,55,57,60,61],unspecifi:[1,2,8,17,20,32,33],unsubscrib:7,unsupport:[1,14,17,32,33,34,40,48,51,62,64],until:[4,9,10,28,33,50,51,58,64,65],untrust:58,untrusted_certif:10,unus:8,unverified_p:32,unverifiedp:[32,33,61],unwil:33,up_to_d:1,updat:[1,2,3,4,7,8,9,10,13,17,18,21,28,33,45,47,54,55,56,58,62,64,66,70],update2:2,update_cli:[0,1,33,68],update_count:47,update_resource_quota_typ:33,update_session_id:[9,10],update_spec:[1,7,8,9],update_task:[13,33,55,56,58],update_tim:41,update_typ:[2,47],updateconfig:1,updateconfigur:1,updated_at:13,updatelibrari:1,updatelibraryitem:8,updatelocallibrari:1,updates_pend:1,updatesess:[8,9,10],updatesession_cli:[0,1,8,9,68],updatesessionmodel:[9,10],updatespec:[1,2,4,7,8,17,21,33,47,55,56,58,62,64],updatespecplac:8,updatespecvcent:8,updatesubscribedlibrari:1,updatesubscript:8,updatetim:41,updatetyp:47,upgrad:[2,32,33,47,48],upgrade_at_power_cycl:33,upgrade_count:47,upgrade_error:33,upgrade_multipl:48,upgrade_polici:33,upgrade_progress:33,upgrade_statu:[33,48],upgrade_vers:33,upgradepolici:33,upgradeprogress:48,upgradespec:[33,48],upgradestatu:[33,48],upload:[1,8,9,10,17,18],upload_endpoint:10,upn:33,upn_claim:33,upon:[2,8,10,33,40,41],uppercas:[2,4],upt:62,upt_compatibility_en:62,uptim:2,urgenc:[17,26],urgencytyp:[17,26],uri:[8,9,10,13,28,33,34,47,62],url:[1,2,4,5,8,9,10,13,17,18,32,33,40,41,47],urn:33,usabl:1,usag:[1,28,32,33,35,36,37,39,45,46,62],usb:[11,64],usb_control:11,usbcontrol:11,usbcontrollertyp:11,use:[1,2,3,4,5,7,8,9,10,11,13,17,18,19,20,24,25,26,27,28,32,33,35,40,41,46,47,48,50,51,54,55,56,57,58,60,61,62,63,64,65,67,70],use_auto_detect:11,use_default_polici:62,use_dhcp:33,use_exist:8,use_source_polici:33,use_specified_polici:[33,62],used:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,17,18,19,20,21,22,24,25,26,27,28,29,30,31,32,33,34,35,37,39,40,41,42,43,44,45,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,70,72],used_bi:7,used_by_ent:7,used_by_vsan:13,useful:[9,27,32,33,62],user:[1,2,3,4,5,7,8,9,10,13,17,18,27,28,32,33,35,40,41,42,45,46,47,48,49,50,51,54,60,61,62,64,65,66,72],user_cli:[0,1,33,68],user_data:[2,33],user_defin:28,user_defined_typ:28,user_info:1,user_input_requir:33,user_nam:[1,8,33,45,46,72],user_pass:[27,28],user_password:[27,68,69,70],userdata:33,userdefinedtyp:28,userinfo:1,usernam:[1,2,4,5,8,27,28,32,33,42,55,72],userpasswordsecuritycontextpars:72,users_base_dn:33,uses:[1,27,33,35,64],using:[1,2,7,8,9,10,14,17,18,27,28,32,33,34,35,37,39,41,42,45,46,62,63,64,66,70],usual:[1,27,33],utc:[1,28],utf8:28,utf:[28,33],util:[1,33,40],uuid:[1,8,9,32,33,40,56,62],v42:13,v_san_data_onli:20,val:1,valid:[1,2,3,4,7,8,9,10,12,13,14,17,18,20,22,27,28,32,33,42,43,46,51,54,56,58,60,61,62,63,64],valid_from:34,valid_to:34,validaiton:20,validate_task:[2,18],validateresult:18,validation_error:33,validationerror:10,validationresult:[2,10],validationstatu:2,validfrom:34,validto:34,valu:[1,2,3,4,5,7,8,9,10,11,13,14,15,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,37,39,40,41,43,46,47,48,49,50,51,54,55,56,57,60,61,62,63,64,65,66,67,70,73],value_illeg:33,vami:47,vapi:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,33,34,35,36,37,39,40,41,42,43,44,45,46,47,48,49,50,51,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69],vapi_cli:[0,68],vapierror:[32,33],vapiinterfac:[1,2,3,4,5,6,7,8,9,10,13,14,15,17,18,19,20,21,22,24,25,26,28,29,30,31,33,34,35,40,41,42,43,44,45,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66],vapistruct:[1,2,3,4,5,7,8,9,10,11,12,13,14,15,17,18,19,20,21,24,25,26,27,28,32,33,34,35,37,39,40,41,42,44,45,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66],vapp:[11,33],vapp_nam:11,vapp_templ:11,vapptempl:11,variabl:[2,28,33,67,70],variable_disk_s:33,variou:[1,2,9,18,28,33,48,70],vc_spec:[33,61],vcenter:[0,1,2,4,8,13,14,17,18,32,68],vcenter_cli:[0,33,68],vcenterextensionparam:33,vcenterfqdn:[17,18],vcenterinfo:8,vcenterserv:1,vcg_link:14,vcha:[0,1,33,68],vcha_client:[0,1,61,68],vcident:33,vcintegr:[13,14,15,17,18,19,20,21,24,25,26],vcpu:1,vcsa:[2,33,34],vcsa_embed:33,vcsa_extern:[33,42],vcsaembeddedspec:33,vcserver:[33,61],vcsp:8,vcva:33,vec:34,veloc:1,vendor:[1,13,17,20,26,33],verb:28,verbos:54,verif:[1,33],verifi:[1,3,8,9,10,32,33,56,62,63],verificationmod:33,versa:33,version1:32,version2:32,version:[1,2,3,4,5,7,8,9,10,11,13,15,17,18,19,20,21,22,24,25,26,27,28,32,33,34,35,40,41,46,47,48,50,51,54,55,56,57,60,61,62,63,64,65,66,67],version_nam:5,version_numb:33,version_statu:33,versionstatu:[33,62],versionstruct:2,verson:33,vff:1,via:[1,18,27,33],vib:18,vice:33,vid:[13,20],video:11,video_card:11,video_ram_s:11,videocard:11,view:[7,11,33,54,60],vim:33,violat:32,virtual:[1,2,8,11,12,32,33,34,37,39,50,51,61,62,63,64,65,66],virtual_machin:[1,33],virtual_system_id:33,virtualapp:33,virtualcent:[1,33],virtualdisk:62,virtualdiskmap:62,virtualhardwaresect:33,virtualmachin:[1,33,37,39,50,51,62,63,64,65,66],virtualmachineconfigspec:33,visibl:[1,2,4,8,9,10,33],vista:33,visual:1,vitrual:11,vm_capabl:37,vm_client:[0,1,62,68],vm_count:11,vm_folder:1,vm_home:[50,51,62,65],vm_home_storag:33,vm_host_affin:37,vm_host_affinity_cli:[0,1,33,35,36],vm_host_anti_affin:37,vm_host_anti_affinity_cli:[0,1,33,35,36],vm_name:[11,33],vm_tag:[37,39],vm_templat:[0,1,11,33,68],vm_template_cli:[0,1,68],vm_vm_affin:37,vm_vm_affinity_cli:[0,1,33,35,36],vm_vm_anti_affin:37,vm_vm_anti_affinity_cli:[0,1,33,35,36],vmca:34,vmcaroot:34,vmcomplianceinfo:65,vmdk:62,vmdk_file:62,vmdkcreatespec:62,vmf:[1,8,9,32],vmhome:[50,65],vmhomepolicyspec:62,vmhomestorageinfo:33,vminfo:33,vmkernel:33,vmkernel_5:33,vmkernel_65:33,vmkernel_6:33,vmkernel_7:33,vmodl:32,vmon:2,vmon_client:[0,1,68],vmotion:[37,39],vmotion_cli:[0,1,33,35,36,37,38],vmrc:62,vms:[1,33,51],vmtemplat:11,vmtx:33,vmw:33,vmware:[0,67,68],vmware_photon_64:33,vmx:[1,33],vmx_03:33,vmx_04:33,vmx_06:33,vmx_07:33,vmx_08:33,vmx_09:33,vmx_10:33,vmx_11:33,vmx_12:33,vmx_13:33,vmx_14:33,vmx_15:33,vmx_16:33,vmx_17:33,vmxnet2:62,vmxnet3:62,vmxnet:62,volt:1,voltamper:1,volum:[1,8,9,33],vsan:[1,13,14,20,62],vservicedepend:33,vsphere:[1,2,3,4,5,6,7,8,9,10,17,20,27,28,32,33,34,40,41,42,43,44,47,48,50,51,54,55,56,57,58,59,60,61,62,63,65,66,69,70],vspheredistributedswitch:33,vstat:1,vstats_client:[0,68],vswitch:32,vulner:[2,47],vum:[2,17,18],vum_remedi:18,vvol:[1,62],wai:[1,17,28,32,33],wait:[10,18,19,24,25,32,33,46,62],waiting_for_transf:[9,10],wake:62,wake_on_lan_en:62,want:[1,7,9,10,13,28,32,33,67],warn:[1,2,4,5,9,10,13,17,20,33,35,37,39,40,45,46,47,48,54,55,56,57,61,62],warn_dai:2,warn_days_before_password_expir:1,warning_behavior:9,warning_count:47,warningbehavior:[9,10],warningtyp:10,warrant:33,wasn:10,wast:1,watt:1,wcp:[33,48],wcp_support_bundle_token:33,web:[1,2,33,62],webmk:62,wednesdai:[2,4,17,40],week:[1,4,17,40],weekdai:2,weekli:[17,40],well:[1,2,8,10,11,13,28,32,33,47],were:[2,3,13,17,20,32,33,42,43,48],werkzeug:72,what:[1,2,8,18,19,20,24,25,28,32,33,48],when:[1,2,3,4,5,7,8,9,10,11,13,14,17,18,19,20,21,24,25,26,27,28,32,33,34,35,37,39,40,41,42,43,46,47,48,49,50,51,54,55,56,57,58,60,62,63,64,65,66,67,70],whenev:[39,62],where:[1,2,8,10,13,14,17,18,20,33,45,47,62,63],wherea:33,whether:[1,2,4,5,7,8,9,10,11,13,17,18,28,32,33,42,43,47,48,50,55,56,57,58,62,66,73],which:[1,2,3,4,5,7,8,9,10,11,13,14,17,18,19,20,24,25,26,27,28,32,33,34,35,37,40,41,42,46,47,48,50,51,54,55,56,57,60,61,62,63,64,65,66,67],whichev:9,who:[1,2,5,7,9,10,13,32,33,66],whole:[56,60],whom:33,whose:[1,2,8,9,27,28,32,33,47],why:[1,2,4,5,7,10,13,18,32,33,70],wide:63,wiki:48,wikipedia:48,willing:32,win:[33,63],win_2000_adv_serv:33,win_2000_pro:33,win_2000_serv:33,win_31:33,win_95:33,win_98:33,win_longhorn:33,win_longhorn_64:33,win_m:33,win_net_busi:33,win_net_datacent:33,win_net_datacenter_64:33,win_net_enterpris:33,win_net_enterprise_64:33,win_net_standard:33,win_net_standard_64:33,win_net_web:33,win_nt:33,win_vista:33,win_vista_64:33,win_xp_hom:33,win_xp_pro:33,win_xp_pro_64:33,window:[1,7,8,33,62],windows_7:33,windows_7_64:33,windows_7_server_64:33,windows_8:33,windows_8_64:33,windows_8_server_64:33,windows_9:33,windows_9_64:33,windows_9_server_64:33,windows_config:33,windows_hyperv:33,windows_server_2019:33,windowsconfigur:33,windowsnetworkadapterset:33,windowssysprep:33,wins_serv:[33,63],wipe:33,wire:70,wit:[33,61],within:[1,2,3,7,8,9,10,11,17,18,19,20,24,25,27,28,32,33,35,37,39,48,63,66,70],without:[1,2,7,8,9,21,32,33,50,51],witness_redeploy_op:33,witnessinfo:33,witnessspec:33,won:[9,10,33,54],word:[8,28,33,62,70],work:[1,7,8,9,13,14,18,21,33,46,48,62],workaround:62,worker:[33,48],worker_dn:33,worker_vm_info:33,workflow:48,workgroup:33,workload:54,workstat:[33,62],worm:2,would:[1,2,7,8,13,17,18,24,28,32,33,34,47,62,67],wrapper:72,write:[1,17,18,21,24,32],wrong:32,www:[3,17,32,33,62],x509:[10,33,58],x509certchain:[33,34,54,56,60],x64:33,xhci:11,xlarg:33,xml:[17,28,32,33],xxx:1,xyz:[18,45],year:[1,34],yellow:2,yes_no:33,yet:[1,2,10,13,32,33,48,58],yield:62,yield_on_pol:62,yobi:1,yocto:1,yotta:1,you:[1,2,3,4,5,7,8,9,10,13,14,15,17,18,19,20,21,24,25,26,27,28,30,32,33,34,35,40,41,46,47,48,50,51,54,55,56,57,60,61,62,63,64,65,66,67],your:[2,7,8,33,67],yyyi:27,zebi:1,zepto:1,zero:[2,9,10,28,33,63],zetta:1,zip:17,zone:[6,33]},titles:["com package","com.vmware package","com.vmware.appliance package","com.vmware.appliance.networking package","com.vmware.appliance.recovery package","com.vmware.appliance.recovery.backup package","com.vmware.appliance.system package","com.vmware.cis package","com.vmware.content package","com.vmware.content.library package","com.vmware.content.library.item package","com.vmware.content.type package","com.vmware.content.type.ovf package","com.vmware.esx package","com.vmware.esx.hcl package","com.vmware.esx.hosts package","com.vmware.esx.hosts.health package","com.vmware.esx.settings package","com.vmware.esx.settings.clusters package","com.vmware.esx.settings.clusters.policies package","com.vmware.esx.settings.clusters.software package","com.vmware.esx.settings.clusters.software.drafts package","com.vmware.esx.settings.clusters.software.reports package","com.vmware.esx.settings.defaults package","com.vmware.esx.settings.defaults.clusters package","com.vmware.esx.settings.defaults.clusters.policies package","com.vmware.esx.settings.depot_content package","com.vmware.vapi package","com.vmware.vapi.metadata package","com.vmware.vapi.metadata.authentication package","com.vmware.vapi.metadata.metamodel package","com.vmware.vapi.metadata.privilege package","com.vmware.vapi.std package","com.vmware.vcenter package","com.vmware.vcenter.certificate_management package","com.vmware.vcenter.compute package","com.vmware.vcenter.compute.policies package","com.vmware.vcenter.compute.policies.capabilities package","com.vmware.vcenter.compute.policies.capabilities.vm package","com.vmware.vcenter.compute.policies.capabilities.vm.evacuation package","com.vmware.vcenter.content package","com.vmware.vcenter.content.registries package","com.vmware.vcenter.deployment package","com.vmware.vcenter.deployment.install package","com.vmware.vcenter.deployment.install.initial_config package","com.vmware.vcenter.hvc package","com.vmware.vcenter.hvc.links package","com.vmware.vcenter.lcm package","com.vmware.vcenter.namespace_management package","com.vmware.vcenter.namespaces package","com.vmware.vcenter.storage package","com.vmware.vcenter.storage.policies package","com.vmware.vcenter.system_config package","com.vmware.vcenter.system_config.features package","com.vmware.vcenter.trusted_infrastructure package","com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters package","com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation package","com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.os package","com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms package","com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers package","com.vmware.vcenter.trusted_infrastructure.trusted_clusters package","com.vmware.vcenter.vcha package","com.vmware.vcenter.vm package","com.vmware.vcenter.vm.guest package","com.vmware.vcenter.vm.hardware package","com.vmware.vcenter.vm.storage package","com.vmware.vcenter.vm_template package","Interface definition language to python mapping for enumerated types","Welcome to vSphere Automation SDK for Python.\u2019s documentation!","vmware package","vmware.vapi package","vmware.vapi.lib package","vmware.vapi.security package","vmware.vapi.security.client package","vmware.vapi.vsphere package"],titleterms:{"default":[23,24,25],access_cli:2,adapter_cli:64,add_ons_cli:26,applianc:[2,3,4,5,6],appliance_cli:1,apply_cli:[19,25],attest:[56,57],attestation_cli:[54,55,60],authent:29,authentication_cli:28,autom:68,backup:5,backup_cli:4,base_images_cli:26,boot_client:64,capabilities_cli:36,capabl:[37,38,39],certificate_manag:34,certificate_management_cli:33,cis:7,cis_client:1,cli_client:28,client:[73,74],client_certificate_cli:59,cluster:[18,19,20,21,22,24,25],cluster_cli:61,cluster_scale_in_ignore_vm_capabilities_cli:37,clusters_cli:[17,23],code:67,com:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66],compliance_cli:51,components_cli:26,comput:[35,36,37,38,39],compute_cli:[33,62],connect:71,console_cli:62,content:[8,9,10,11,12,40,41],content_cli:1,core:70,datastore_cli:33,defaults_cli:17,definit:67,deploy:[42,43,44],deployment_cli:33,depot_cont:26,depot_content_cli:17,depots_cli:17,disable_drs_vmotion_cli:37,discovery_cli:47,dns_client:3,document:[67,68],downloadsession_cli:10,draft:21,drafts_client:20,enablement_cli:18,enumer:67,errors_cli:32,esx:[13,14,15,16,17,18,19,20,21,22,23,24,25,26],esx_client:57,evacu:39,exampl:67,except:70,featur:53,firewall_cli:3,guest:63,guest_client:[33,62],harbor_cli:41,hardwar:64,hardware_cli:62,hardware_compatibility_cli:22,hcl:14,hcl_client:13,health:16,health_client:2,host:[15,16],hosts_client:[13,14,17],hvc:[45,46],hvc_client:33,identity_cli:33,indic:68,infraprofile_cli:2,initial_config:44,instal:[43,44],install_cli:42,interfac:67,interfaces_cli:3,interposition_cli:32,inventory_cli:33,iso_cli:33,item:10,item_cli:9,job_client:5,kms:[58,59],kms_client:[54,55,60],languag:67,lcm:47,lcm_client:33,lib:71,librari:[9,10],library_cli:8,library_items_cli:66,link:46,links_client:45,local_accounts_cli:2,localaccounts_cli:2,logging_cli:2,management_cli:45,map:67,messag:70,metadata:[28,29,30,31],metadata_cli:27,metamodel:30,metamodel_cli:28,migrate_cli:42,modul:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,39,40,41,42,43,44,45,46,47,48,49,50,51,53,54,55,56,57,58,59,60,61,62,63,64,65,66,70,71,72,73,74],monitoring_cli:2,namespac:49,namespace_manag:48,namespace_management_cli:33,namespaces_cli:33,network:3,networking_cli:[2,63],ntp_client:2,ovf:12,ovf_client:[11,33],packag:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,69,70,71,72,73,74],perspectives_cli:16,polici:[19,25,36,37,38,39,51],policies_cli:[18,24,35,50],policy_cli:[12,65],privileg:31,privilege_cli:28,provid:59,providers_cli:58,psc_client:43,python:[67,68],reconciliation_cli:4,recoveri:[4,5],recovery_cli:2,registri:41,registries_cli:40,remote_psc_cli:44,report:22,reports_cli:20,resource_cli:30,restore_cli:4,sdk:68,secur:[72,73],security_context_filt:73,service_cli:[29,30,31],services_cli:33,session:72,set:[17,18,19,20,21,22,23,24,25,26],settings_cli:13,shutdown_cli:2,softwar:[20,21,22],software_cli:[15,18,21,48],sso:72,stats_client:48,std:32,std_client:27,storag:[50,51,65],storage_cli:[33,62],submodul:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,39,40,41,42,43,44,45,46,47,48,49,50,51,53,54,55,56,57,58,59,60,61,62,63,64,65,66,70,71,72,73,74],subpackag:[0,1,2,4,8,9,11,13,15,17,18,20,23,24,27,28,33,35,36,37,38,40,42,43,45,50,52,54,55,56,58,62,69,70,72],sync_client:46,system:6,system_cli:2,system_config:[52,53],system_config_cli:33,system_name_cli:5,tabl:68,tagging_cli:[7,33],task_client:7,tech_preview_cli:53,time_cli:6,tokenservice_cli:33,tools_client:62,topology_cli:33,tpm2_client:56,trust_authority_clust:[55,56,57,58,59],trust_authority_clusters_cli:54,trust_authority_hosts_cli:54,trusted_clust:60,trusted_infrastructur:[54,55,56,57,58,59,60],trusted_infrastructure_cli:33,tymesync_cli:2,type:[11,12,67],update_cli:[2,47],updatesession_cli:10,user_cli:49,user_password:72,vapi:[27,28,29,30,31,32,70,71,72,73,74],vapi_cli:1,vcenter:[33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66],vcenter_cli:[1,34],vcha:61,vcha_client:33,vm_client:33,vm_host_affinity_cli:37,vm_host_anti_affinity_cli:37,vm_templat:66,vm_template_cli:33,vm_vm_affinity_cli:37,vm_vm_anti_affinity_cli:37,vmon_client:2,vmotion_cli:39,vmware:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,69,70,71,72,73,74],vsphere:[68,74],vstats_client:1,welcom:68}}) \ No newline at end of file diff --git a/vsphere/7.0.0.1/vmware.html b/vsphere/7.0.0.1/vmware.html new file mode 100644 index 00000000..db46118e --- /dev/null +++ b/vsphere/7.0.0.1/vmware.html @@ -0,0 +1,256 @@ + + + + + + + + + + + vmware package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/vmware.vapi.html b/vsphere/7.0.0.1/vmware.vapi.html new file mode 100644 index 00000000..7abbdd18 --- /dev/null +++ b/vsphere/7.0.0.1/vmware.vapi.html @@ -0,0 +1,925 @@ + + + + + + + + + + + vmware.vapi package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

vmware.vapi package

+ +
+

Submodules

+
+
+

vmware.vapi.core module

+

Core Protocol Definition classes

+
+
+class vmware.vapi.core.ApiInterface
+

Bases: object

+

The ApiInterface interface provides introspection APIs for a +vAPI interface; it is implemented by API providers.

+

Initialize the Api Interface instance

+
+
+get_definition()
+

Returns interface definition

+
+
Return type
+

InterfaceDefinition

+
+
Returns
+

Interface definition

+
+
+
+ +
+
+get_identifier()
+

Returns interface identifier

+
+
Return type
+

InterfaceIdentifier

+
+
Returns
+

Interface identifier

+
+
+
+ +
+
+get_method_definition(method_id)
+

Returns the method definition

+
+
Return type
+

MethodDefinition

+
+
Returns
+

Method definition

+
+
+
+ +
+
+invoke(ctx, method_id, input_value)
+

Invokes the specified method using the execution context and +the input provided

+
+
Parameters
+
    +
  • ctx (ExecutionContext) – Execution context for this method

  • +
  • method_id (MethodIdentifier) – Method identifier

  • +
  • input_value (vmware.vapi.data.value.StructValue) – Method input parameters

  • +
+
+
Return type
+

MethodResult

+
+
Returns
+

Result of the method invocation

+
+
+
+ +
+ +
+
+class vmware.vapi.core.ApiProvider
+

Bases: object

+

The ApiProvider interface is used for invocation of operations

+
+
+abstract invoke(service_id, operation_id, input_value, ctx)
+

Invokes the specified method using the input value and the +the execution context provided

+
+
Parameters
+
    +
  • service_id (str) – Service identifier

  • +
  • operation_id (str) – Operation identifier

  • +
  • input_value (vmware.vapi.data.value.StructValue) – Input parameters for the method

  • +
  • ctx (ExecutionContext) – Execution context for the method

  • +
+
+
Return type
+

MethodResult

+
+
Returns
+

Result of the method invocation

+
+
+
+ +
+ +
+
+class vmware.vapi.core.ApplicationContext(*args, **kwargs)
+

Bases: vmware.vapi.core.CustomDict

+

Interface representing additional data associated with the request for +method execution represented by this ExecutionContext. +The additional data format is key-value pairs of String.

+

This additional data is provided by the client initiating the +execution, it is then transported as is over the wire and is +available for the provider-side service implementations on the server. +This extra data is completely opaque for the infrastructure, in other +words it is a contract between the client and the service implementation +only.

+
+ +
+
+class vmware.vapi.core.CustomDict
+

Bases: dict

+

Interface for implementing Custom dict classes with additional constraints.

+

Overriding __setitem__ as not enough for adding additional constraints on +key/value pairs of dictionaries. We also have to override update and +setdefault, so that even they use __setitem__.

+
+
+setdefault(k[, d]) → D.get(k,d), also set D[k]=d if k not in D
+
+ +
+
+update([E, ]**F) → None. Update D from dict/iterable E and F.
+

If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] +If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v +In either case, this is followed by: for k in F: D[k] = F[k]

+
+ +
+ +
+
+class vmware.vapi.core.ExecutionContext(application_context=None, security_context=None, runtime_data=None)
+

Bases: object

+

This class provides out-of-band context information that is passed along +with a method invocation

+

Initialize Execution Context

+
+ +
+
+class vmware.vapi.core.InterfaceDefinition(id_, method_ids)
+

Bases: object

+

The InterfaceDefinition class contains detailed information about a +vAPI interface. This should contain all the information required +to address an interface in the vAPI runtime.

+

Initialize the InterfaceDefinition

+
+
Parameters
+
    +
  • id (InterfaceIdentifier) – InterfaceIdentifier of this interface

  • +
  • method_ids (list of MethodIdentifier) – List of method identifiers of the methods exposed by +this interface

  • +
+
+
+
+
+get_identifier()
+

Returns the interface identifier

+
+
Return type
+

InterfaceIdentifier

+
+
Returns
+

Returns the interface identifer of this interface

+
+
+
+ +
+
+get_method_identifiers()
+

Returns the list of method identifiers of the methods exposed by this +interface. Each method identifier is unique within an interface. The +method identifiers returned are unordered

+
+
Return type
+

list of MethodIdentifier

+
+
Returns
+

List of method identifiers of the methods exposed by this +interface

+
+
+
+ +
+ +
+
+class vmware.vapi.core.InterfaceIdentifier(iface)
+

Bases: object

+

InterfaceIdentifier has the information required to uniquely +address a vAPI interface

+

Initialize an InterfaceIdentifier

+
+
Parameters
+

iface (str) – String identifier of the interface

+
+
+
+
+get_name()
+

Returns the string identifier of the interface

+
+
Return type
+

str

+
+
Returns
+

String identifier of the interface

+
+
+
+ +
+ +
+
+class vmware.vapi.core.MethodDefinition(id_, input_, output, errors)
+

Bases: object

+

This class contains detailed information about a vAPI method. This should +contain all the information required to address a method in the vAPI +runtime.

+

Initialize MethodDefinition

+
+
Parameters
+
    +
  • id (MethodIdentifier) – MethodIdentifier of this method

  • +
  • input (vmware.vapi.data.definition.StructDefinition) – Struct definition corresponding to the method’s input +parameters

  • +
  • output (vmware.vapi.data.definition.DataDefinition) – Data definition of the method’s output

  • +
  • errors (iterable of +vmware.vapi.data.definition.ErrorDefinition) – Error definitions describing the errors that this method +can report

  • +
+
+
+
+
+get_error_definition(error_name)
+

Returns the error definition with the specified name reported by this +method or None if this method doesn’t report an error with the specified +name.

+
+
Parameters
+

error_name (str) – Name of the error definition to return

+
+
Return type
+

vmware.vapi.data.definition.ErrorDefinition

+
+
Returns
+

Error definition with the specified name reported by this +method or None if this method doesn’t report an error with the +specified name.

+
+
+
+ +
+
+get_error_definitions()
+

Returns a set of error definitions describing the errors that this +method can report

+
+
Return type
+

set of +vmware.vapi.data.definition.ErrorDefinition

+
+
Returns
+

Set of error definitions describing the errors that this +method can report

+
+
+
+ +
+
+get_identifier()
+

Returns the method identifier

+
+
Return type
+

MethodIdentifier

+
+
Returns
+

MethodIdentifier of this method

+
+
+
+ +
+
+get_input_definition()
+

Returns the struct definition corresponding to the method’s input +parameters. The field names in the struct definition are the parameter +names and the field values correspond to the data definition of the +respective fields.

+
+
Return type
+

vmware.vapi.data.definition.StructDefinition

+
+
Returns
+

StructDefinition correspoding to the method’s input

+
+
+
+ +
+
+get_output_definition()
+

Returns the data definition of the method’s output

+
+
Return type
+

vmware.vapi.data.definition.DataDefinition

+
+
Returns
+

Data definition of the method’s output

+
+
+
+ +
+ +
+
+class vmware.vapi.core.MethodIdentifier(iface, method)
+

Bases: object

+

This class identifies a ApiMethod instance

+

Initialize the MethodIdentifier

+
+
Parameters
+
    +
  • iface (InterfaceIdentifier) – InterfaceIdentifier of this method

  • +
  • method (str) – String identifier of this method

  • +
+
+
+
+
+get_interface_identifier()
+

Returns the interface identifier of the method

+
+
Return type
+

InterfaceIdentifier

+
+
Returns
+

InterfaceIdentifier of this method

+
+
+
+ +
+
+get_name()
+

Returns the string identifier of the method

+
+
Return type
+

str

+
+
Returns
+

String identifier of the method

+
+
+
+ +
+ +
+
+class vmware.vapi.core.MethodResult(output=None, error=None)
+

Bases: object

+

The MethodResult class contains the result of a method call. +It contains either the output of the method invocation or +an error reported by the method invocation. These are mutually +exclusive.

+
+
Variables
+
+
+
+

Initialize MethodResult

+
+
Parameters
+
    +
  • output (vmware.vapi.data.value.DataValue) – Method output

  • +
  • error (vmware.vapi.data.value.ErrorValue) – Method error

  • +
+
+
+
+
+property error
+
+
Return type
+

vmware.vapi.data.value.ErrorValue

+
+
Returns
+

Method error

+
+
+
+ +
+
+property output
+
+
Return type
+

vmware.vapi.data.value.DataValue

+
+
Returns
+

Method output

+
+
+
+ +
+
+success()
+

Check if the method completed successfully.

+
+
Return type
+

bool

+
+
Returns
+

False if the method reported an error, True otherwise

+
+
+
+ +
+ +
+
+class vmware.vapi.core.ProviderDefinition(name)
+

Bases: object

+

The ProviderDefinition class contains details information about a +vAPI provider

+

Initialize the ProviderDefinition

+
+
Parameters
+

name (str) – Name of the provider

+
+
+
+
+get_identifier()
+

Returns the provider identifier.

+
+
Return type
+

str

+
+
Returns
+

Provider identifier

+
+
+
+ +
+ +
+
+class vmware.vapi.core.RuntimeData(*args, **kwargs)
+

Bases: vmware.vapi.core.CustomDict

+

Implementations of this interface will provide custom runtime data.

+
+ +
+
+class vmware.vapi.core.SecurityContext(*args, **kwargs)
+

Bases: vmware.vapi.core.CustomDict

+

Implementations of this interface will provide all needed data for +authentication for the given invocation.

+
+ +
+
+

vmware.vapi.exception module

+

vAPI CoreException Class

+
+
+exception vmware.vapi.exception.CoreException(message, cause=None)
+

Bases: Exception

+

This exception is raised by various components of the vAPI runtime +infrastructure to indicate failures in that infrastructure.

+

Server-side the exception is caught by specific components and an +internal_server_error is reported to the client that invoked the +request. Client-side the exception may be raised for certain failures +before a request was sent to the server or after the response was +received from the server. Similarly, server-side the exception may +be raised for failures that occur when a provider implementation +invokes the vAPI runtime.

+

This exception is not part of the vAPI message protocol, and it must +never be raised by provider implementations.

+
+
Variables
+

messages – Generator of error messages describing why the Exception +was raised

+
+
+

Initialize CoreException

+
+
Parameters
+

message (vmware.vapi.message.Message) – Description regarding why the Exception was raised

+
+
+
+
+property messages
+
+
Return type
+

generator of vmware.vapi.message.Message

+
+
Returns
+

Generator of error messages describing why the Exception +was raised

+
+
+
+ +
+ +
+
+

vmware.vapi.message module

+

vAPI Message class

+
+
+class vmware.vapi.message.Message(id_, def_msg, *args)
+

Bases: object

+

This class encapsulates the concept of a localizable message.

+
+
Variables
+
    +
  • id – The unique message identifier

  • +
  • def_msg – An english language default

  • +
  • args – The arguments to be used for the messsage

  • +
+
+
+

Initializes the message object

+
+
Parameters
+
    +
  • id (string) – The unique message identifier

  • +
  • def_msg (string) – An english language default

  • +
  • args (list of string) – The arguments to be used for the messsage

  • +
+
+
+
+ +
+
+class vmware.vapi.message.MessageBundle(messages)
+

Bases: object

+

Base class for all message bundle classes.

+

Initialize MessageBundle.

+
+
Parameters
+

messages (dict of str, str) – Dictionary with message identifiers as keys and +message templates as values.

+
+
+
+
+get(msg_id)
+

Returns the message template for the given message identifier

+
+
Parameters
+

msg_id (str) – Message identifier

+
+
Return type
+

str

+
+
Returns
+

Message template

+
+
Raises
+

KeyError – If the message identifier is not found

+
+
+
+ +
+ +
+
+class vmware.vapi.message.MessageFactory(msg_bundle, formatter)
+

Bases: object

+

A factory class to generate localizable messages

+

Initializes the message object

+
+
Parameters
+
    +
  • messages – The message dictionary for the message factory

  • +
  • formatter (vmware.vapi.formatter.MessageFormatter) – Formatter for the message

  • +
+
+
+
+
+get_message(id_, *args)
+

Return a message object for the given id with the given args. +If the message is not found, a default unknown message is returned.

+
+
Parameters
+
    +
  • id (string) – The unique message identifier

  • +
  • args (list of object) – The arguments to be used for constructing this message

  • +
+
+
Return type
+

Message

+
+
Returns
+

The message object constructed using the given arguments

+
+
+
+ +
+ +
+
+class vmware.vapi.message.MessageFormatter
+

Bases: object

+

Base class for all message formatter classes

+
+
+classmethod format_msg(msg, args)
+

Format the message using the specified arguments

+
+
Parameters
+
    +
  • msg (str) – Message template

  • +
  • args (list of object) – Arguments for the message

  • +
+
+
Return type
+

str

+
+
Returns
+

Localized message

+
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/vmware.vapi.lib.html b/vsphere/7.0.0.1/vmware.vapi.lib.html new file mode 100644 index 00000000..1d72b3dc --- /dev/null +++ b/vsphere/7.0.0.1/vmware.vapi.lib.html @@ -0,0 +1,231 @@ + + + + + + + + + + + vmware.vapi.lib package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

vmware.vapi.lib package

+
+

Submodules

+
+
+

vmware.vapi.lib.connect module

+
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/vmware.vapi.security.client.html b/vsphere/7.0.0.1/vmware.vapi.security.client.html new file mode 100644 index 00000000..695d2b84 --- /dev/null +++ b/vsphere/7.0.0.1/vmware.vapi.security.client.html @@ -0,0 +1,398 @@ + + + + + + + + + + + vmware.vapi.security.client package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

vmware.vapi.security.client package

+
+

Submodules

+
+
+

vmware.vapi.security.client.security_context_filter module

+

SecurityContext API Provider filter

+
+
+class vmware.vapi.security.client.security_context_filter.LegacySecurityContextFilter(next_provider=None, security_context=None)
+

Bases: vmware.vapi.security.client.security_context_filter.SecurityContextFilter

+

SecurityContextFilter in API Provider chain adds the security +context to the execution context passed in.

+

Initialize SecurityContextFilter

+
+
Parameters
+
+
+
+
+
+get_max_retries()
+

Get the max number of retries

+
+
Return type
+

int

+
+
Returns
+

Number of retries

+
+
+
+ +
+
+get_security_context(on_error)
+

Retrieve the stored security context.

+
+
Parameters
+

on_error (bool) – Whether this method is called after getting an error

+
+
Return type
+

vmware.vapi.core.SecurityContext or None

+
+
Returns
+

Security context or None

+
+
+
+ +
+
+set_security_context(security_context)
+

Set security context

+
+
Parameters
+

security_context (vmware.vapi.core.SecurityContext) – Security context

+
+
+
+ +
+
+should_retry(error_value)
+

Returns whether the request should be retried or not based on the error.

+
+
Parameters
+

error_value (vmware.vapi.data.value.ErrorValue) – Method error

+
+
Return type
+

bool

+
+
Returns
+

Returns True if request should be retried based on the error +value provided else False

+
+
+
+ +
+ +
+
+class vmware.vapi.security.client.security_context_filter.SecurityContextFilter(next_provider=None)
+

Bases: vmware.vapi.provider.filter.ApiProviderFilter

+

SecurityContextFilter in API Provider chain adds the security +context to the execution context passed in.

+

Initialize SecurityContextFilter

+
+
Parameters
+

next_provider (vmware.vapi.core.ApiProvider) – API Provider to invoke the requests

+
+
+
+
+abstract get_max_retries()
+

Get the max number of retries

+
+
Return type
+

int

+
+
Returns
+

Number of retries

+
+
+
+ +
+
+abstract get_security_context(on_error)
+

Retrieve security context. If this method is called after an error +occured and the request needs to be retried, then a new security context +may be created depending on the scheme.

+
+
Parameters
+

on_error (bool) – Whether this method is called after getting an error

+
+
Return type
+

vmware.vapi.core.SecurityContext

+
+
Returns
+

Security context

+
+
+
+ +
+
+invoke(service_id, operation_id, input_value, ctx)
+

Invoke an API request

+
+
Parameters
+
    +
  • service_id (str) – Service identifier

  • +
  • operation_id (str) – Operation identifier

  • +
  • input_value (vmware.vapi.data.value.StructValue) – Method input parameters

  • +
  • ctx (vmware.vapi.core.ExecutionContext) – Execution context for this method

  • +
+
+
Return type
+

vmware.vapi.core.MethodResult

+
+
Returns
+

Result of the method invocation

+
+
+
+ +
+
+abstract should_retry(error_value)
+

Returns whether the request should be retried or not based on the error.

+
+
Parameters
+

error_value (vmware.vapi.data.value.ErrorValue) – Method error

+
+
Return type
+

bool

+
+
Returns
+

Returns True if request should be retried based on the error +value provided else False

+
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/vmware.vapi.security.html b/vsphere/7.0.0.1/vmware.vapi.security.html new file mode 100644 index 00000000..8f812f0e --- /dev/null +++ b/vsphere/7.0.0.1/vmware.vapi.security.html @@ -0,0 +1,353 @@ + + + + + + + + + + + vmware.vapi.security package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

vmware.vapi.security package

+ +
+

Submodules

+
+
+

vmware.vapi.security.session module

+

Session Security Helper

+
+
+class vmware.vapi.security.session.SessionSecurityContextParser
+

Bases: vmware.vapi.security.rest.SecurityContextParser

+

Security context parser used by the REST presentation layer +that builds a security context if the REST request has session +identifier either in the header or in the cookie.

+

Initialize SessionSecurityContextParser

+
+
+build(request)
+

Build the security context if the request has the header +that contains the session identifier or a cookie that has +the session identifier.

+

The method will first check for session identifier in the cookie, +if it is not present, then it will check in the HTTP headers. +The session security context is created based on the first session +identifier it finds.

+
+
Parameters
+

request (werkzeug.wrappers.Request) – Request object

+
+
Return type
+

vmware.vapi.core.SecurityContext or None

+
+
Returns
+

Security context object

+
+
+
+ +
+ +
+
+vmware.vapi.security.session.create_session_security_context(session_id)
+

Create a security context for Session Id based authentication +scheme

+
+
Parameters
+

session_id (str) – Session ID

+
+
Return type
+

vmware.vapi.core.SecurityContext

+
+
Returns
+

Newly created security context

+
+
+
+ +
+
+

vmware.vapi.security.sso module

+
+
+

vmware.vapi.security.user_password module

+

User password Security Helper

+
+
+class vmware.vapi.security.user_password.UserPasswordSecurityContextParser
+

Bases: vmware.vapi.security.rest.SecurityContextParser

+

Security context parser used by the REST presentation layer +that builds a security context if the REST request has +username/password credentials in the HTTP header.

+

Initialize UserPasswordSecurityContextParser

+
+
+build(request)
+

Build the security context if the request has authorization +header that contains base64 encoded string of username/password.

+

If the request authorization header doesn’t have the username/password, +this method returns None.

+
+
Parameters
+

request (werkzeug.wrappers.Request) – Request object

+
+
Return type
+

vmware.vapi.core.SecurityContext or None

+
+
Returns
+

Security context object

+
+
+
+ +
+ +
+
+vmware.vapi.security.user_password.create_user_password_security_context(user_name, password)
+

Create a security context for Username-Password based authentication +scheme

+
+
Parameters
+
    +
  • user_name (str) – Name of the user

  • +
  • password (str) – Password of the user

  • +
+
+
Return type
+

vmware.vapi.core.SecurityContext

+
+
Returns
+

Newly created security context

+
+
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vsphere/7.0.0.1/vmware.vapi.vsphere.html b/vsphere/7.0.0.1/vmware.vapi.vsphere.html new file mode 100644 index 00000000..f5b1fd1d --- /dev/null +++ b/vsphere/7.0.0.1/vmware.vapi.vsphere.html @@ -0,0 +1,228 @@ + + + + + + + + + + + vmware.vapi.vsphere package — vSphere Automation SDK for Python. 7.0.0.1 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

vmware.vapi.vsphere package

+
+

Submodules

+
+
+

vmware.vapi.vsphere.client module

+
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + + \ No newline at end of file