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.