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:
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:
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:
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
orNone
) – 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.