com.vmware.esx.settings.clusters.software.reports package

Subpackages

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: VapiInterface

The Details class provides methods to retrieve selected results from a previously initiated HCL compliance scan.

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 and any possible resolution(s).

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.HardwareCompatibility.Read.

  • The resource ClusterComputeResource referenced by the parameter cluster requires VcIntegrity.HardwareCompatibility.Read.

class com.vmware.esx.settings.clusters.software.reports.hardware_compatibility_client.StubFactory(stub_config)

Bases: StubFactoryBase

Initialize StubFactoryBase

Parameters:

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