com.vmware.vcenter.trusted_infrastructure package
Subpackages
- com.vmware.vcenter.trusted_infrastructure.hosts package
 - com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters package
- Subpackages
- com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation package
 - com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms package
 
 - Submodules
 - com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation_client module
 - com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms_client module
 
 - Subpackages
 - com.vmware.vcenter.trusted_infrastructure.trusted_clusters 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.VapiInterfaceThe
Servicesclass contains information about the registered instances of the Attestation Service in vCenter. This class was added in vSphere API 7.0.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.VapiStructThe
Services.CreateSpecclass contains the data necessary for registering an Attestation Service instance to the environment. This class was added in vSphere API 7.0.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.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.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.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.0.
- class FilterSpec(services=None, address=None, group=None, trust_authority_cluster=None)
 Bases:
vmware.vapi.bindings.struct.VapiStructThe
Services.FilterSpecclass contains the data necessary for identifying an Attestation Service instance. This class was added in vSphere API 7.0.0.0.Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
 services (
setofstrorNone) – A set of IDs by which to filter the services. This attribute was added in vSphere API 7.0.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 (
listofcom.vmware.vcenter.trusted_infrastructure_client.NetworkAddressorNone) – A set of address by which to filter. This attribute was added in vSphere API 7.0.0.0. If None, the services will not be filtered by address.group (
setofstrorNone) – 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.0. If None, the services will not be filtered by group.trust_authority_cluster (
setofstrorNone) – The cluster specifies the Trust Authority Cluster this Attestation Service belongs to. This attribute was added in vSphere API 7.0.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.VapiStructThe
Services.Infoclass contains all the stored information about a registered Attestation Service instance. This class was added in vSphere API 7.0.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.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.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.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.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.0.
- class Summary(service=None, address=None, group=None, trust_authority_cluster=None)
 Bases:
vmware.vapi.bindings.struct.VapiStructThe
Services.Summaryclass contains basic information about a registered Attestation Service instance. This class was added in vSphere API 7.0.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.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.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.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.0.
- create(spec)
 Registers a new Attestation Service instance in this vCenter. This method was added in vSphere API 7.0.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.AlreadyExistsif there is already a Attestation Service instance with the same Address.- Raise
 com.vmware.vapi.std.errors_client.Errorif there is a generic error.- Raise
 com.vmware.vapi.std.errors_client.InvalidArgumentif the CreateSpec contains invalid data.- Raise
 com.vmware.vapi.std.errors_client.Unauthenticatedif the user can not be authenticated.- Raise
 com.vmware.vapi.std.errors_client.Unauthorizedif 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.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.Errorif an error occurred while deleting the service.- Raise
 com.vmware.vapi.std.errors_client.Errorif there is a generic error.- Raise
 com.vmware.vapi.std.errors_client.NotFoundif the Attestation Service instance is not found.- Raise
 com.vmware.vapi.std.errors_client.ResourceBusyif the Attestation Service instance is used by a configuration on a cluster level.- Raise
 com.vmware.vapi.std.errors_client.Unauthenticatedif the user can not be authenticated.- Raise
 com.vmware.vapi.std.errors_client.Unauthorizedif 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.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
 - Returns
 Detailed information about the specified Attestation Service instance.
- Raise
 com.vmware.vapi.std.errors_client.Errorif an error occurred while getting the data.- Raise
 com.vmware.vapi.std.errors_client.NotFoundif there is no registered Attestation Service instance with the specified ID.- Raise
 com.vmware.vapi.std.errors_client.Unauthenticatedif the user can not be authenticated.- Raise
 com.vmware.vapi.std.errors_client.Unauthorizedif 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.0.
- Parameters
 spec (
Services.FilterSpecorNone) – Return only services matching the specified filters. If {\@term.unset} return all services.- Return type
 - Returns
 Detailed information about all registered Attestation Service instances in this vCenter.
- Raise
 com.vmware.vapi.std.errors_client.Errorif an error occurred while getting the data.- Raise
 com.vmware.vapi.std.errors_client.Unauthenticatedif the user can not be authenticated.- Raise
 com.vmware.vapi.std.errors_client.Unauthorizedif 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.StubFactoryBaseInitialize StubFactoryBase
- Parameters
 stub_config (
vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance
com.vmware.vcenter.trusted_infrastructure.hosts_client module
The com.vmware.vcenter.trusted_infrastructure.hosts_client module provides
classes to manage trusted infrastructure hosts.
- class com.vmware.vcenter.trusted_infrastructure.hosts_client.StubFactory(stub_config)
 Bases:
vmware.vapi.bindings.stub.StubFactoryBaseInitialize 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.VapiInterfaceThe
Servicesclass contains information about the registered instances of the Key Provider Service in vCenter. This class was added in vSphere API 7.0.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.VapiStructThe
Services.CreateSpecclass contains the data necessary for registering a Key Provider Service instance to the environment. This class was added in vSphere API 7.0.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.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.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.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.0.
- class FilterSpec(services=None, address=None, group=None, trust_authority_cluster=None)
 Bases:
vmware.vapi.bindings.struct.VapiStructThe
Services.FilterSpecclass contains the data necessary for identifying a Key Provider Service instance. This class was added in vSphere API 7.0.0.0.Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
 services (
setofstrorNone) – A set of IDs by which to filter the services. This attribute was added in vSphere API 7.0.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 (
listofcom.vmware.vcenter.trusted_infrastructure_client.NetworkAddressorNone) – A set of address by which to filter. This attribute was added in vSphere API 7.0.0.0. If None, the services will not be filtered by address.group (
setofstrorNone) – 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.0. If None, the Services will not be filtered by group.trust_authority_cluster (
setofstrorNone) – The cluster specifies the Trust Authority Cluster this Key Provider Service belongs to. This attribute was added in vSphere API 7.0.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.VapiStructThe
Services.Infoclass contains all the stored information about a registered Key Provider Service instance. This class was added in vSphere API 7.0.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.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.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.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.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.0.
- class Summary(service=None, address=None, group=None, trust_authority_cluster=None)
 Bases:
vmware.vapi.bindings.struct.VapiStructThe
Services.Summaryclass contains basic information about a registered Key Provider Service instance. This class was added in vSphere API 7.0.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.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.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.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.0.
- create(spec)
 Registers a Key Provider Service instance in this vCenter. This method was added in vSphere API 7.0.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.AlreadyExistsif there is already a Key Provider Service instance with the same Address.- Raise
 com.vmware.vapi.std.errors_client.Errorif there is a generic error.- Raise
 com.vmware.vapi.std.errors_client.InvalidArgumentif the CreateSpec contains invalid data.- Raise
 com.vmware.vapi.std.errors_client.Unauthenticatedif the user can not be authenticated.- Raise
 com.vmware.vapi.std.errors_client.Unauthorizedif 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.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.Errorif an error occurred while deleting the service.- Raise
 com.vmware.vapi.std.errors_client.NotFoundif the Key Provider Service instance is not found.- Raise
 com.vmware.vapi.std.errors_client.ResourceBusyif the Key Provider Service instance is used by a configuration on a cluster level.- Raise
 com.vmware.vapi.std.errors_client.Unauthenticatedif the user can not be authenticated.- Raise
 com.vmware.vapi.std.errors_client.Unauthorizedif 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.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
 - Returns
 Detailed information about the specified Key Provider Service instance.
- Raise
 com.vmware.vapi.std.errors_client.Errorif an error occurred while getting the data.- Raise
 com.vmware.vapi.std.errors_client.NotFoundif there is no Key Provider Service instance with the specified ID.- Raise
 com.vmware.vapi.std.errors_client.Unauthenticatedif the user can not be authenticated.- Raise
 com.vmware.vapi.std.errors_client.Unauthorizedif 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.0.
- Parameters
 spec (
Services.FilterSpecorNone) – Return only services matching the specified filters. If {\@term.unset} return all services.- Return type
 - Returns
 Basic information about all registered Key Provider Service instances in this vCenter.
- Raise
 com.vmware.vapi.std.errors_client.Errorif an error occurred while getting the data.- Raise
 com.vmware.vapi.std.errors_client.Unauthenticatedif the user can not be authenticated.- Raise
 com.vmware.vapi.std.errors_client.Unauthorizedif 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.StubFactoryBaseInitialize StubFactoryBase
- Parameters
 stub_config (
vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance
com.vmware.vcenter.trusted_infrastructure.trusted_clusters_client module
The com.vmware.vcenter.trusted_infrastructure.trusted_clusters_client
module provides classes for configuring Trusted Clusters.
- class com.vmware.vcenter.trusted_infrastructure.trusted_clusters_client.ServicesAppliedConfig(config)
 Bases:
vmware.vapi.bindings.stub.VapiInterfaceThe
ServicesAppliedConfigclass provides information about the aggregate health of the applied Trust Authority Component configurations on the Trusted Clusters. The desired state of the Trust Authority Component configurations is stored within vCenter, while the applied configuration is stored on the hosts in the cluster and is a copy of the desired state. TheServicesAppliedConfigclass is available for all clusters, not only Trusted Clusters. When an applied Trust Authority Component configuration is found outside of a Trusted Cluster it is considered anServicesAppliedConfig.Health.ERROR. TheServicesAppliedConfigclass is able to make the applied Trust Authority Component configuration consistent with the desired state when individual host configurations have diverged from the desired state. This class was added in vSphere API 7.0.1.0.- Parameters
 config (
vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.
- class Health(string)
 Bases:
vmware.vapi.bindings.enum.EnumThe
ServicesAppliedConfig.Healthclass is an indicator for the consistency of all applied Trust Authority Component configurations in a cluster with respect to the desired state. This enumeration was added in vSphere API 7.0.1.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 theHealthinstance.
- ERROR = Health(string='ERROR')
 Some applied Trust Authority Component configurations have diverged from the desired state. This class attribute was added in vSphere API 7.0.1.0.
- NONE = Health(string='NONE')
 The consistency of some applied configurations is unknown. This class attribute was added in vSphere API 7.0.1.0.
- OK = Health(string='OK')
 All the applied Trust Authority Component configurations are consistent with the desired state. This class attribute was added in vSphere API 7.0.1.0.
- class Info(health=None, details=None)
 Bases:
vmware.vapi.bindings.struct.VapiStructThe
ServicesAppliedConfig.Infoclass contains detailed information about the health of the applied Trust Authority Component configurations in a cluster. This class was added in vSphere API 7.0.1.0.Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
 health (
ServicesAppliedConfig.Health) – The health value which indicates whether the configuration applied to the cluster differs from the desired state. This attribute was added in vSphere API 7.0.1.0.details (
listofcom.vmware.vapi.std_client.LocalizableMessage) – Details regarding the health. When theServicesAppliedConfig.Healthis notServicesAppliedConfig.Health.OK, this member will provide a detailed description of the issues present. This attribute was added in vSphere API 7.0.1.0.
- delete_task(cluster)
 Delete all Trust Authority Components configuration that has been applied to the given cluster. This method has no affect on the desired state, it only removes applied Trust Authority Component configurations from any Trusted Hosts within the given cluster. This method was added in vSphere API 7.0.1.0.
- Parameters
 cluster (
str) – The ID of the cluster against which the operation will be executed. The parameter must be an identifier for the resource type:ClusterComputeResource.- Raise
 com.vmware.vapi.std.errors_client.Errorif there is a generic error.- Raise
 com.vmware.vapi.std.errors_client.InvalidArgumentif the cluster ID is empty.- Raise
 com.vmware.vapi.std.errors_client.NotFoundif no cluster corresponding to the given ID is found within this vCenter.- Raise
 com.vmware.vapi.std.errors_client.ResourceBusyif there are ongoing mutating operations.- Raise
 com.vmware.vapi.std.errors_client.Unauthenticatedif the caller is not authenticated.
- get_task(cluster)
 Returns detailed information about the health of the applied Trust Authority Component configurations in the given cluster. This method was added in vSphere API 7.0.1.0.
- Parameters
 cluster (
str) – The ID of the cluster against 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.Errorif there is a generic error.- Raise
 com.vmware.vapi.std.errors_client.InvalidArgumentif the cluster ID is empty.- Raise
 com.vmware.vapi.std.errors_client.NotFoundif no cluster corresponding to the given ID is found within this vCenter.- Raise
 com.vmware.vapi.std.errors_client.ResourceBusyif there are ongoing mutating operations.- Raise
 com.vmware.vapi.std.errors_client.Unauthenticatedif the caller is not authenticated.
- update_task(cluster)
 Update all applied Trust Authority Component configuration on the given cluster to be consistent with the desired state. This method has no affect on the desired state, apart from it being used as a reference point for the remediation. If the cluster is not a Trusted Cluster, the method will remove all Trust Authority Component configuration from the Trusted Hosts in the cluster, if such hosts are found. This method was added in vSphere API 7.0.1.0.
- Parameters
 cluster (
str) – The ID of the cluster against which the operation will be executed. The parameter must be an identifier for the resource type:ClusterComputeResource.- Raise
 com.vmware.vapi.std.errors_client.Errorif there is a generic error.- Raise
 com.vmware.vapi.std.errors_client.InvalidArgumentif the cluster ID is empty.- Raise
 com.vmware.vapi.std.errors_client.NotFoundif no cluster corresponding to the given ID is found within this vCenter.- Raise
 com.vmware.vapi.std.errors_client.ResourceBusyif there are ongoing mutating operations.- Raise
 com.vmware.vapi.std.errors_client.Unauthenticatedif the caller is not authenticated.
- class com.vmware.vcenter.trusted_infrastructure.trusted_clusters_client.StubFactory(stub_config)
 Bases:
vmware.vapi.bindings.stub.StubFactoryBaseInitialize StubFactoryBase
- Parameters
 stub_config (
vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance