com.vmware package

Subpackages

Submodules

com.vmware.vmc_client module

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.Unauthorized Forbidden
Raise:com.vmware.vapi.std.errors_client.NotFound Organization doesn’t exist
Raise:com.vmware.vapi.std.errors_client.Unauthenticated Unauthorized
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.Unauthorized Forbidden
Raise:com.vmware.vapi.std.errors_client.Unauthenticated Unauthorized
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