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¶
-
class
com.vmware.vmc.orgs.account_link_client.
CompatibleSubnets
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
get
(org, linked_account_id, region=None, sddc=None, force_refresh=None, instance_type=None, sddc_type=None, num_of_hosts=None)¶ Gets a customer’s compatible subnets for account linking
- Parameters
org (
str
) – Organization identifier (required)linked_account_id (
str
) – The linked connected account identifier (required)region (
str
orNone
) – The region of the cloud resources to work in (optional)sddc (
str
orNone
) – sddc (optional)force_refresh (
bool
orNone
) – When true, forces the mappings for datacenters to be refreshed for the connected account. (optional)instance_type (
str
orNone
) – The server instance type to be used. (optional)sddc_type (
str
orNone
) – The sddc type to be used. (1NODE, SingleAZ, MultiAZ) (optional)num_of_hosts (
long
orNone
) – The number of hosts (optional)
- Return type
- Returns
com.vmware.vmc.model.AwsCompatibleSubnets
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden
-
post
(org)¶ Sets which subnet to use to link accounts and finishes the linking process
- Parameters
org (
str
) – Organization identifier (required)- Return type
- Returns
com.vmware.vmc.model.AwsSubnet
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden
-
class
com.vmware.vmc.orgs.account_link_client.
CompatibleSubnetsAsync
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
get
(org, linked_account_id, region=None, sddc=None, instance_type=None, sddc_type=None, num_of_hosts=None)¶ Gets a customer’s compatible subnets for account linking via a task. The information is returned as a member of the task (found in task.params[‘subnet_list_result’] when you are notified it is complete), and it’s documented under ref /definitions/AwsCompatibleSubnets
- Parameters
org (
str
) – Organization identifier (required)linked_account_id (
str
) – The linked connected account identifier (required)region (
str
orNone
) – The region of the cloud resources to work in (optional)sddc (
str
orNone
) – sddc (optional)instance_type (
str
orNone
) – The server instance type to be used. (optional)sddc_type (
str
orNone
) – The sddc type to be used. (1NODE, SingleAZ, MultiAZ) (optional)num_of_hosts (
long
orNone
) – The number of hosts (optional)
- Return type
- Returns
com.vmware.vmc.model.Task
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden
-
post
(aws_subnet, org)¶ Sets which subnet to use to link accounts and finishes the linking process via a task
- Parameters
aws_subnet (
com.vmware.vmc.model_client.AwsSubnet
) – The subnet chosen by the customer (required)org (
str
) – Organization identifier (required)
- Return type
- Returns
com.vmware.vmc.model.Task
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden
-
class
com.vmware.vmc.orgs.account_link_client.
ConnectedAccounts
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
delete
(org, linked_account_path_id, force_even_when_sddc_present=None)¶ Delete a particular connected (linked) account.
- Parameters
org (
str
) – Organization identifier (required)linked_account_path_id (
str
) – The linked connected account identifier (required)force_even_when_sddc_present (
bool
orNone
) – When true, forcibly removes a connected account even when SDDC’s are still linked to it. (optional)
- Return type
- Returns
com.vmware.vmc.model.AwsCustomerConnectedAccount
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
An invalid connected account ID was specified, or the connection still has SDDCs active on it.- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden
-
get
(org, provider=None)¶ Get a list of connected accounts
- Parameters
org (
str
) – Organization identifier (required)provider (
str
orNone
) – The cloud provider of the SDDC (AWS or ZeroCloud). Default value is AWS. (optional)
- Return type
list
ofcom.vmware.vmc.model_client.AwsCustomerConnectedAccount
- Returns
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden
-
class
com.vmware.vmc.orgs.account_link_client.
MapCustomerZones
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
post
(org, map_zones_request)¶ Creates a task to re-map customer’s datacenters across zones.
- Parameters
org (
str
) – Organization identifier (required)map_zones_request (
com.vmware.vmc.model_client.MapZonesRequest
) – The zones request information about who to map and what to map. (required)
- Return type
- Returns
com.vmware.vmc.model.Task
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden
-
class
com.vmware.vmc.orgs.account_link_client.
SddcConnections
(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=None)¶ Get a list of SDDC connections currently setup for the customer’s organization.
- Parameters
org (
str
) – Organization identifier (required)sddc (
str
orNone
) – sddc (optional)
- 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.orgs.account_link_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.reservations_client module¶
-
class
com.vmware.vmc.orgs.reservations_client.
Mw
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
get
(org, reservation)¶ get the maintenance window for this SDDC
- Parameters
org (
str
) – Organization identifier (required)reservation (
str
) – Reservation Identifier (required)
- Return type
- Returns
com.vmware.vmc.model.MaintenanceWindowGet
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Access not allowed to the operation for the current user
-
put
(org, reservation, window)¶ update the maintenance window for this SDDC
- Parameters
org (
str
) – Organization identifier (required)reservation (
str
) – Reservation Identifier (required)window (
com.vmware.vmc.model_client.MaintenanceWindow
) – Maintenance Window (required)
- Return type
- Returns
com.vmware.vmc.model.MaintenanceWindow
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.ConcurrentChange
Conflict with exiting reservation- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
The reservation is not in a state that’s valid for updates- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Access not allowed to the operation for the current user
-
class
com.vmware.vmc.orgs.reservations_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_client module¶
-
class
com.vmware.vmc.orgs.sddcs_client.
AddHostsPrecheck
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
add_host_precheck_task
(org, sddc, esx_config)¶ Triggers an add host precheck task
- Parameters
org (
str
) – Organization identifier (required)sddc (
str
) – Sddc identifier (required)esx_config (
com.vmware.vmc.model_client.EsxConfig
) – esxConfig (required)
- Return type
- Returns
com.vmware.vmc.model.Task
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request.- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Access not allowed to the operation for the current user.- Raise
com.vmware.vapi.std.errors_client.NotFound
Cannot find the SDDC with the given id.
-
class
com.vmware.vmc.orgs.sddcs_client.
Clusters
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
create
(org, sddc, cluster_config)¶ Creates a new cluster in customers sddcs with passed clusterConfig.
- Parameters
org (
str
) – Organization identifier (required)sddc (
str
) – Sddc identifier (required)cluster_config (
com.vmware.vmc.model_client.ClusterConfig
) – clusterConfig (required)
- Return type
- Returns
com.vmware.vmc.model.Task
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
The sddc is not in a state that’s valid for updates- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Access not allowed to the operation for the current user- Raise
com.vmware.vapi.std.errors_client.NotFound
Cannot find the cluster with the given identifier
-
delete
(org, sddc, cluster)¶ This is a force operation which will delete the cluster even if there can be a data loss. Before calling this operation, all the VMs should be powered off.
- Parameters
org (
str
) – Organization identifier (required)sddc (
str
) – Sddc identifier (required)cluster (
str
) – cluster identifier (required)
- Return type
- Returns
com.vmware.vmc.model.Task
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
The sddc is not in a state that’s valid for updates- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Access not allowed to the operation for the current user- Raise
com.vmware.vapi.std.errors_client.NotFound
Cannot find the cluster with the given id
-
class
com.vmware.vmc.orgs.sddcs_client.
Convert
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
create
(org, sddc, sddc_convert_request=None)¶ This API converts a one host SDDC to a 3 node DEFAULT SDDC. It takes care of configuring and upgrading the vCenter configurations on the SDDC for high availability and data redundancy.
- Parameters
org (
str
) – Organization identifier (required)sddc (
str
) – Sddc identifier (required)sddc_convert_request (
com.vmware.vmc.model_client.SddcConvertRequest
orNone
) – convert sddc request body (optional)
- Return type
- Returns
com.vmware.vmc.model.Task
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
The sddc is not in a state that’s valid for updates, Method not allowed- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Access not allowed to the operation for the current user- Raise
com.vmware.vapi.std.errors_client.NotFound
Cannot find the SDDC with given identifier
-
class
com.vmware.vmc.orgs.sddcs_client.
Enablements
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
ENABLE_DISABLE_ADDON_ACTION_DISABLE
= 'disable'¶ Possible value for
action
of methodEnablements.enable_disable_addon()
.
-
ENABLE_DISABLE_ADDON_ACTION_ENABLE
= 'enable'¶ Possible value for
action
of methodEnablements.enable_disable_addon()
.
-
enable_disable_addon
(org, sddc, enablement, action)¶ Enable/disable the add-on or set the the default enablement status for future add-ons in the SDDC.
- Parameters
org (
str
) – Organization identifier (required)sddc (
str
) – Sddc identifier (required)enablement (
str
) – Add-on name, for example “hcx, “draas”, “skynet”. If it is “default”, the operation is for default settings of future add-ons. (required)action (
str
) – Enable or disable the add-on or change default settings for future add-ons in the SDDC. (required)
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request / Validation error.- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.NotFound
Add-on not found
-
list
(org, sddc)¶ Return a list of enablement status for current add-ons and the default settings for future add-ons in the SDDC.
- Parameters
org (
str
) – Organization identifier (required)sddc (
str
) – Sddc identifier (required)
- Return type
- Returns
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request / Validation error.- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden
-
class
com.vmware.vmc.orgs.sddcs_client.
Esxs
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
create
(org, sddc, esx_config, action=None)¶ Add/Remove one or more ESX hosts in the target cloud
- Parameters
org (
str
) – Organization identifier (required)sddc (
str
) – Sddc identifier (required)esx_config (
com.vmware.vmc.model_client.EsxConfig
) – esxConfig (required)action (
str
orNone
) – If = ‘add’, will add the esx. If = ‘remove’, will delete the esx/esxs bound to a single cluster (Cluster Id is mandatory for non cluster 1 esx remove). If = ‘force-remove’, will delete the esx even if it can lead to data loss (This is an privileged operation). If = ‘addToAll’, will add esxs to all clusters in the SDDC (This is an privileged operation). If = ‘removeFromAll’, will delete the esxs from all clusters in the SDDC (This is an privileged operation). If = ‘attach-diskgroup’, will attach the provided diskgroups to a given host (privileged). If = ‘detach-diskgroup’, will detach the diskgroups of a given host (privileged). Default behaviour is ‘add’ (optional)
- Return type
- Returns
com.vmware.vmc.model.Task
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
The sddc is not in a state that’s valid for updates- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Access not allowed to the operation for the current user- Raise
com.vmware.vapi.std.errors_client.NotFound
Cannot find the SDDC with the given identifier
-
class
com.vmware.vmc.orgs.sddcs_client.
Primarycluster
(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)¶ Retrieves the primary cluster in provided customer sddc UUID
- Parameters
org (
str
) – Organization identifier (required)sddc (
str
) – Sddc identifier (required)
- Return type
- Returns
com.vmware.vmc.model.Cluster
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
The sddc is not in a state that’s valid for fetching the primary cluster.- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Access not allowed to the operation for the current user- Raise
com.vmware.vapi.std.errors_client.NotFound
Cannot find the sddc with the given identifier to fetch the primary cluster
-
class
com.vmware.vmc.orgs.sddcs_client.
ProvisionSpec
(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 sddc provision spec for an org
- Parameters
org (
str
) – Organization identifier (required)- Return type
- Returns
com.vmware.vmc.model.ProvisionSpec
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
BadRequest- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.InternalServerError
Internal server error.
-
class
com.vmware.vmc.orgs.sddcs_client.
SddcTemplate
(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)¶ Get configuration template for an SDDC
- Parameters
org (
str
) – Organization identifier (required)sddc (
str
) – Sddc identifier (required)
- Return type
- Returns
com.vmware.vmc.model.SddcTemplate
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
SDDC is in a state that cannot be use for generating configuration template- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.NotFound
Cannot find the SDDC with given identifier
-
class
com.vmware.vmc.orgs.sddcs_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.storage_client module¶
-
class
com.vmware.vmc.orgs.storage_client.
ClusterConstraints
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
get
(org, provider, num_hosts)¶ Get constraints on cluster storage size for EBS-backed clusters.
- Parameters
org (
str
) – Organization identifier (required)provider (
str
) – Cloud storage provider ID (example AWS) (required)num_hosts (
long
) – Number of hosts in cluster (required)
- Return type
- Returns
com.vmware.vmc.model.VsanConfigConstraints
- 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.storage_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.subscriptions_client module¶
-
class
com.vmware.vmc.orgs.subscriptions_client.
OfferInstances
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
list
(org, region, product_type, product=None, type=None)¶ List all offers available for the specific product type in the specific region
- Parameters
org (
str
) – Organization identifier (required)region (
str
) – Region for the offer (required)product_type (
str
) – Type of the product in offers. *This has been deprecated*. Please use product & type parameters (required)product (
str
orNone
) – The product that you are trying to purchase, eg. host. This needs to be accompanied by the type parameter (optional)type (
str
orNone
) – The type/flavor of the product you are trying it purchase,eg. an \`r5.metal\` host. This needs to be accompanied by the product parameter. (optional)
- Return type
- Returns
com.vmware.vmc.model.OfferInstancesHolder
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request. Type of the product not supported.- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden
-
class
com.vmware.vmc.orgs.subscriptions_client.
Products
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
list
(org)¶ List of all the products that are available for purchase.
- Parameters
org (
str
) – Organization identifier (required)- Return type
- Returns
- 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.InternalServerError
Internal server error
-
class
com.vmware.vmc.orgs.subscriptions_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.tbrs_client module¶
-
class
com.vmware.vmc.orgs.tbrs_client.
Reservation
(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_state=None)¶ Retreive all reservations for all SDDCs in this org
- Parameters
org (
str
) – Organization identifier (required)sddc_state (
com.vmware.vmc.model_client.SddcStateRequest
orNone
) – SDDCs and/or states to query (optional)
- Return type
dict
ofstr
andlist
ofcom.vmware.vmc.model_client.ReservationWindow
- Returns
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
Bad Call- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden
-
class
com.vmware.vmc.orgs.tbrs_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
- Parameters
stub_config (
vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
-
class
com.vmware.vmc.orgs.tbrs_client.
SupportWindow
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
get
(org, minimum_seats_available=None, created_by=None)¶ Get all available support windows
- Parameters
org (
str
) – Organization identifier (required)minimum_seats_available (
long
orNone
) – minimum seats available (used as a filter) (optional)created_by (
str
orNone
) – user name which was used to create the support window (used as a filter) (optional)
- Return type
- Returns
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
Invalid request- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.NotFound
No support windows are available
-
put
(org, id, sddc_id)¶ Move Sddc to new support window
- Parameters
org (
str
) – Organization identifier (required)id (
str
) – Target Support Window ID (required)sddc_id (
com.vmware.vmc.model_client.SddcId
) – SDDC to move (required)
- Return type
- Returns
com.vmware.vmc.model.SupportWindowId
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
Invalid request- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.NotFound
Feature does not exist