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 or None) – 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

com.vmware.vmc.model_client.VsanClusterReconfigConstraints

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