com.vmware package¶
Subpackages¶
- com.vmware.vmc package
- Subpackages
- com.vmware.vmc.orgs package
- Subpackages
- com.vmware.vmc.orgs.aws package
- com.vmware.vmc.orgs.sddcs package
- Submodules
- com.vmware.vmc.orgs.account_link_client module
- com.vmware.vmc.orgs.reservations_client module
- com.vmware.vmc.orgs.sddcs_client module
- com.vmware.vmc.orgs.storage_client module
- com.vmware.vmc.orgs.subscriptions_client module
- com.vmware.vmc.orgs.tbrs_client module
- Subpackages
- com.vmware.vmc.orgs package
- Submodules
- com.vmware.vmc.model_client module
- com.vmware.vmc.orgs_client module
- 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
- 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
- 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
- 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