com.vmware.appliance.system package
Submodules
com.vmware.appliance.system.security_client module
- class com.vmware.appliance.system.security_client.GlobalFips(config)
 Bases:
vmware.vapi.bindings.stub.VapiInterfaceThe
GlobalFipsclass provides methods to enable/disable appliance FIPS mode. 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 Info(enabled=None)
 Bases:
vmware.vapi.bindings.struct.VapiStructTip
The arguments are used to initialize data attributes with the same names.
- Parameters
 enabled (
bool) – FIPS setting state. This attribute was added in vSphere API 7.0.1.0.
- class UpdateSpec(enabled=None)
 Bases:
vmware.vapi.bindings.struct.VapiStructTip
The arguments are used to initialize data attributes with the same names.
- Parameters
 enabled (
boolorNone) – FIPS setting state. This attribute was added in vSphere API 7.0.1.0. If None, the value is unchanged.
- get()
 Get current appliance FIPS settings. This method was added in vSphere API 7.0.1.0.
- Return type
 - Returns
 Current FIPS settings state.
- Raise
 com.vmware.vapi.std.errors_client.ErrorGeneric error
- update(spec)
 Enable/Disable Global FIPS mode for the appliance.
Caution: Changing the value of this setting will reboot the Appliance.. This method was added in vSphere API 7.0.1.0.
- Parameters
 spec (
GlobalFips.UpdateSpec) –- Raise
 com.vmware.vapi.std.errors_client.ErrorGeneric error
- class com.vmware.appliance.system.security_client.StubFactory(stub_config)
 Bases:
vmware.vapi.bindings.stub.StubFactoryBaseInitialize StubFactoryBase
- Parameters
 stub_config (
vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance
com.vmware.appliance.system.time_client module
- class com.vmware.appliance.system.time_client.StubFactory(stub_config)
 Bases:
vmware.vapi.bindings.stub.StubFactoryBaseInitialize 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.VapiInterfaceThe
Timezoneclass 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.Errorif 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.InvalidArgumentif passed arguments are invalid.- Raise
 com.vmware.vapi.std.errors_client.Errorif any error occurs during the execution of the operation.