com.vmware.vmc.orgs.sddcs.clusters package¶
Submodules¶
com.vmware.vmc.orgs.sddcs.clusters.config_client module¶
-
class
com.vmware.vmc.orgs.sddcs.clusters.config_client.
Constraints
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
get
(org, sddc, cluster, expected_num_hosts=None)¶ This API provides the storage choices available when reconfiguring storage in a cluster. The constraints returned will give vSAN reconfiguration biases and available vSAN capacities per reconfiguration bias. The constraints also indicate the default vSAN capacity per reconfiguration biases as well as the default reconfiguration bias.
- Parameters
org (
str
) – Organization identifier (required)sddc (
str
) – Sddc identifier (required)cluster (
str
) – cluster identifier (required)expected_num_hosts (
long
orNone
) – The expected number of hosts in the cluster. If not specified, returned is based on current number of hosts in the cluster. (optional)
- Return type
- Returns
com.vmware.vmc.model.VsanClusterReconfigConstraints
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
Invalid or missing parameters- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden
-
class
com.vmware.vmc.orgs.sddcs.clusters.config_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
- Parameters
stub_config (
vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.vmc.orgs.sddcs.clusters.msft_licensing_client module¶
-
class
com.vmware.vmc.orgs.sddcs.clusters.msft_licensing_client.
Publish
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
post
(org, sddc, cluster, config_change)¶ Sets the current Microsoft license status of the given SDDC’s cluster.
- Parameters
org (
str
) – Organization identifier (required)sddc (
str
) – Sddc identifier (required)cluster (
str
) – cluster identifier (required)config_change (
com.vmware.vmc.model_client.MsftLicensingConfig
) – The license data to set for the clusters. (required)
- Return type
- Returns
com.vmware.vmc.model.Task
- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden
-
class
com.vmware.vmc.orgs.sddcs.clusters.msft_licensing_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
- Parameters
stub_config (
vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance