com.vmware package

Subpackages

Submodules

com.vmware.vmc_client module

class com.vmware.vmc_client.Locale(config)

Bases: vmware.vapi.bindings.stub.VapiInterface

Parameters

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

set(vmc_locale)

Sets the locale for the session which is used for translating responses.

Parameters

vmc_locale (com.vmware.vmc.model_client.VmcLocale) – The locale to be set. (required)

Return type

com.vmware.vmc.model_client.VmcLocale

Returns

com.vmware.vmc.model.VmcLocale

Raise

com.vmware.vapi.std.errors_client.Unauthenticated Unauthorized

Raise

com.vmware.vapi.std.errors_client.Unauthorized Forbidden

class com.vmware.vmc_client.Orgs(config)

Bases: vmware.vapi.bindings.stub.VapiInterface

Parameters

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

get(org)

Get details of organization

Parameters

org (str) – Organization identifier. (required)

Return type

com.vmware.vmc.model_client.Organization

Returns

com.vmware.vmc.model.Organization

Raise

com.vmware.vapi.std.errors_client.Unauthenticated Unauthorized

Raise

com.vmware.vapi.std.errors_client.Unauthorized Forbidden

Raise

com.vmware.vapi.std.errors_client.NotFound Organization doesn’t exist

list()

Return a list of all organizations the calling user (based on credential) is authorized on.

Return type

list of com.vmware.vmc.model_client.Organization

Returns

Raise

com.vmware.vapi.std.errors_client.Unauthenticated Unauthorized

Raise

com.vmware.vapi.std.errors_client.Unauthorized Forbidden

class com.vmware.vmc_client.StubFactory(stub_config)

Bases: vmware.vapi.bindings.stub.StubFactoryBase

Initialize StubFactoryBase

Parameters

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance