diff --git a/vsphere/7.0.2.0/vmware.vapi.vsphere.html b/vsphere/7.0.2.0/vmware.vapi.vsphere.html index bf35d571..b8381d11 100644 --- a/vsphere/7.0.2.0/vmware.vapi.vsphere.html +++ b/vsphere/7.0.2.0/vmware.vapi.vsphere.html @@ -182,6 +182,80 @@
vSphere Client
+vmware.vapi.vsphere.client.
StubFactory
(stub_config)¶Bases: vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
+stub_config (vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
vmware.vapi.vsphere.client.
VsphereClient
(session, server, username, password, bearer_token, hok_token, private_key)¶Bases: vmware.vapi.bindings.stub.ApiClient
vSphere Client class that provides access to stubs for all services in the +vSphere API
+Initialize VsphereClient by creating a parent stub factory instance +of all vSphere components.
+session (requests.Session
) – Requests HTTP session instance. If not specified,
then one is automatically created and used
+:type server: str
+:param server: vCenter host name or IP address
+:type username: str
+:param username: Name of the user
+:type password: str
+:param password: Password of the user
+:type bearer_token: str
+:param bearer_token: SAML Bearer Token
+:type hok_token: str
+:param hok_token: SAML Hok Token
+:type private_key: str
+:param private_key: Absolute file path of the private key of the user
vmware.vapi.vsphere.client.
create_vsphere_client
(server, username=None, password=None, bearer_token=None, hok_token=None, private_key=None, session=None)¶Helper method to create an instance of the vSphere API client. +Please provide one of the following options to authenticate:
++++
+- +
username and password,
- +
bearer_token,
- +
hok_token and private_key
server (str
) – vCenter host name or IP address
username (str
) – Name of the user
password (str
) – Password of the user
bearer_token (str
) – SAML Bearer Token
hok_token (str
) – SAML Hok Token
private_key (str
) – Absolute file path of the private key of the user
session (requests.Session
or None
) – Requests HTTP session instance. If not specified, then one
+is automatically created and used
vmware.vapi.vmc.client.VsphereClient
Vsphere Client instance
+