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
Submodules¶
com.vmware.vmc.model_client module¶
-
class
com.vmware.vmc.model_client.
AbstractEntity
(updated=None, user_id=None, updated_by_user_id=None, created=None, version=None, updated_by_user_name=None, user_name=None, id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
updated (
datetime.datetime
) –user_id (
str
) – User id that last updated this recordupdated_by_user_id (
str
) – User id that last updated this recordcreated (
datetime.datetime
) –version (
long
) – Version of this entity format: int32updated_by_user_name (
str
orNone
) – User name that last updated this recorduser_name (
str
) – User name that last updated this recordid (
str
) – Unique ID for this entity
-
class
com.vmware.vmc.model_client.
AccountLinkConfig
(delay_account_link=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
delay_account_link (
bool
orNone
) – Boolean flag identifying whether account linking should be delayed or not for the SDDC.
-
class
com.vmware.vmc.model_client.
AccountLinkSddcConfig
(customer_subnet_ids=None, connected_account_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
customer_subnet_ids (
list
ofstr
orNone
) –connected_account_id (
str
orNone
) – The ID of the customer connected account to work with.
-
class
com.vmware.vmc.model_client.
Agent
(internal_ip=None, agent_url=None, management_ip=None, hostname_verifier_enabled=None, master=None, network_netmask=None, network_gateway=None, provider='Agent', cert_enabled=None, agent_state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
internal_ip (
str
orNone
) – The internal IP address of the agent which is provided by the underlying cloud provideragent_url (
str
orNone
) – The accessible URL of the agent service, it is resolved to public IP address from the Internet and private IP address within SDDCmanagement_ip (
str
orNone
) – The internal management IP address of the agent exposed to the SDDC, which might be different from the internal IPhostname_verifier_enabled (
bool
orNone
) – Boolean flag to indicate if the agent is using FQDN in the certificatemaster (
bool
orNone
) – Boolean flag to indicate if the agent is the master, only the master Agent is accessiblenetwork_netmask (
str
orNone
) – Network netmask of the agentnetwork_gateway (
str
orNone
) – Network gateway of the agentprovider (
str
) – The cloud providercert_enabled (
bool
orNone
) – Boolean flag to indicate if the agent is using CA signed certificateagent_state (
str
orNone
) –Possible values are:
Agent state
-
AGENT_STATE_CUSTOMIZING
= 'CUSTOMIZING'¶
-
AGENT_STATE_DELETED
= 'DELETED'¶
-
AGENT_STATE_DELETING
= 'DELETING'¶
-
AGENT_STATE_DEPLOYING
= 'DEPLOYING'¶
-
AGENT_STATE_FAILED
= 'FAILED'¶
-
AGENT_STATE_NOT_READY
= 'NOT_READY'¶
-
AGENT_STATE_READY
= 'READY'¶
-
property
provider
¶ Return the discriminator value
-
class
com.vmware.vmc.model_client.
AmiInfo
(instance_type=None, region=None, id=None, name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
the AmiInfo used for deploying esx of the sddc
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
instance_type (
str
orNone
) – instance type of the esx amiregion (
str
orNone
) – the region of the esx amiid (
str
orNone
) – the ami id for the esxname (
str
orNone
) – the name of the esx ami
-
class
com.vmware.vmc.model_client.
AvailableZoneInfo
(subnets=None, name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
subnets (
list
ofSubnet
orNone
) –name (
str
orNone
) – available zone name
-
class
com.vmware.vmc.model_client.
AwsAgent
(instance_id=None, key_pair=None, internal_ip=None, agent_url=None, management_ip=None, hostname_verifier_enabled=None, master=None, network_netmask=None, network_gateway=None, provider='AWS', cert_enabled=None, agent_state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
instance_id (
str
orNone
) –key_pair (
AwsKeyPair
orNone
) –internal_ip (
str
orNone
) – The internal IP address of the agent which is provided by the underlying cloud provideragent_url (
str
orNone
) – The accessible URL of the agent service, it is resolved to public IP address from the Internet and private IP address within SDDCmanagement_ip (
str
orNone
) – The internal management IP address of the agent exposed to the SDDC, which might be different from the internal IPhostname_verifier_enabled (
bool
orNone
) – Boolean flag to indicate if the agent is using FQDN in the certificatemaster (
bool
orNone
) – Boolean flag to indicate if the agent is the master, only the master Agent is accessiblenetwork_netmask (
str
orNone
) – Network netmask of the agentnetwork_gateway (
str
orNone
) – Network gateway of the agentprovider (
str
) – The cloud providercert_enabled (
bool
orNone
) – Boolean flag to indicate if the agent is using CA signed certificateagent_state (
str
orNone
) –Possible values are:
Agent state
-
property
provider
¶ Return the discriminator value
-
class
com.vmware.vmc.model_client.
AwsCloudProvider
(regions=None, provider='AWS')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
regions (
list
ofstr
orNone
) –provider (
str
) – Name of the Cloud Provider
-
property
provider
¶ Return the discriminator value
-
class
com.vmware.vmc.model_client.
AwsCompatibleSubnets
(customer_available_zones=None, vpc_map=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
customer_available_zones (
list
ofstr
orNone
) –vpc_map ((
dict
ofstr
andVpcInfoSubnets
) orNone
) –
-
class
com.vmware.vmc.model_client.
AwsCustomerConnectedAccount
(updated=None, user_id=None, updated_by_user_id=None, created=None, version=None, updated_by_user_name=None, user_name=None, id=None, policy_payer_arn=None, region_to_az_to_shadow_mapping=None, org_id=None, cf_stack_name=None, state=None, account_number=None, policy_service_arn=None, policy_external_id=None, policy_payer_linked_arn=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
updated (
datetime.datetime
) –user_id (
str
) – User id that last updated this recordupdated_by_user_id (
str
) – User id that last updated this recordcreated (
datetime.datetime
) –version (
long
) – Version of this entity format: int32updated_by_user_name (
str
orNone
) – User name that last updated this recorduser_name (
str
) – User name that last updated this recordid (
str
) – Unique ID for this entitypolicy_payer_arn (
str
orNone
) –region_to_az_to_shadow_mapping ((
dict
ofstr
and (dict
ofstr
andstr
)) orNone
) – Provides a map of regions to availability zones from the shadow account’s perspectiveorg_id (
str
orNone
) –cf_stack_name (
str
orNone
) –state (
str
orNone
) –Possible values are:
account_number (
str
orNone
) –policy_service_arn (
str
orNone
) –policy_external_id (
str
orNone
) –policy_payer_linked_arn (
str
orNone
) –
-
STATE_ACTIVE
= 'ACTIVE'¶
-
STATE_BROKEN
= 'BROKEN'¶
-
STATE_DELETED
= 'DELETED'¶
-
class
com.vmware.vmc.model_client.
AwsEsxHost
(internal_public_ip_pool=None, name=None, availability_zone=None, esx_id=None, hostname=None, provider='AWS', instance_type=None, mac_address=None, custom_properties=None, esx_state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
internal_public_ip_pool (
list
ofSddcPublicIp
orNone
) –name (
str
orNone
) –availability_zone (
str
orNone
) – Availability zone where the host is provisioned.esx_id (
str
orNone
) –hostname (
str
orNone
) –provider (
str
) –instance_type (
str
orNone
) – Backing cloud provider instance type for host.mac_address (
str
orNone
) –custom_properties ((
dict
ofstr
andstr
) orNone
) –esx_state (
str
orNone
) –Possible values are:
-
property
provider
¶ Return the discriminator value
-
class
com.vmware.vmc.model_client.
AwsKeyPair
(key_name=None, key_fingerprint=None, key_material=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
key_name (
str
orNone
) –key_fingerprint (
str
orNone
) –key_material (
str
orNone
) –
-
class
com.vmware.vmc.model_client.
AwsKmsInfo
(amazon_resource_name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
amazon_resource_name (
str
) – The ARN associated with the customer master key for this cluster.
-
class
com.vmware.vmc.model_client.
AwsSddcConfig
(region=None, msft_license_config=None, vpc_cidr=None, host_instance_type=None, skip_creating_vxlan=None, vxlan_subnet=None, size=None, storage_capacity=None, name=None, account_link_sddc_config=None, sddc_id=None, num_hosts=None, sddc_type=None, account_link_config=None, provider='AWS', sso_domain=None, sddc_template_id=None, deployment_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
region (
str
) –msft_license_config (
MsftLicensingConfig
orNone
) – Indicates the desired licensing support, if any, of Microsoft software.vpc_cidr (
str
orNone
) – AWS VPC IP range. Only prefix of 16 or 20 is currently supported.host_instance_type (
HostInstanceTypes
orNone
) – The instance type for the esx hosts in the primary cluster of the SDDC.skip_creating_vxlan (
bool
orNone
) – skip creating vxlan for compute gateway for SDDC provisioningvxlan_subnet (
str
orNone
) – VXLAN IP subnet in CIDR for compute gatewaysize (
str
orNone
) –Possible values are:
The size of the vCenter and NSX appliances. “large” sddcSize corresponds to a ‘large’ vCenter appliance and ‘large’ NSX appliance. ‘medium’ sddcSize corresponds to ‘medium’ vCenter appliance and ‘medium’ NSX appliance. Value defaults to ‘medium’.
storage_capacity (
long
orNone
) – The storage capacity value to be requested for the sddc primary cluster, in GiBs. If provided, instead of using the direct-attached storage, a capacity value amount of seperable storage will be used. format: int64name (
str
) –account_link_sddc_config (
list
ofAccountLinkSddcConfig
orNone
) – A list of the SDDC linking configurations to use.sddc_id (
str
orNone
) – If provided, will be assigned as SDDC id of the provisioned SDDC. format: UUIDnum_hosts (
long
) –sddc_type (
str
orNone
) – Denotes the sddc type , if the value is null or empty, the type is considered as default.account_link_config (
AccountLinkConfig
orNone
) – The account linking configuration, we will keep this one and remove accountLinkSddcConfig finally.provider (
str
) –Possible values are:
Determines what additional properties are available based on cloud provider.
sso_domain (
str
orNone
) – The SSO domain name to use for vSphere users. If not specified, vmc.local will be used.sddc_template_id (
str
orNone
) – If provided, configuration from the template will applied to the provisioned SDDC. format: UUIDdeployment_type (
str
orNone
) –Possible values are:
Denotes if request is for a SingleAZ or a MultiAZ SDDC. Default is SingleAZ.
-
property
provider
¶ Return the discriminator value
-
class
com.vmware.vmc.model_client.
AwsSddcConnection
(updated=None, user_id=None, updated_by_user_id=None, created=None, version=None, updated_by_user_name=None, user_name=None, id=None, cidr_block_subnet=None, connected_account_id=None, eni_group=None, subnet_id=None, cgw_present=None, org_id=None, sddc_id=None, cidr_block_vpc=None, connection_order=None, state=None, subnet_availability_zone=None, vpc_id=None, customer_eni_infos=None, default_route_table=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
updated (
datetime.datetime
) –user_id (
str
) – User id that last updated this recordupdated_by_user_id (
str
) – User id that last updated this recordcreated (
datetime.datetime
) –version (
long
) – Version of this entity format: int32updated_by_user_name (
str
orNone
) – User name that last updated this recorduser_name (
str
) – User name that last updated this recordid (
str
) – Unique ID for this entitycidr_block_subnet (
str
orNone
) – The CIDR block of the customer’s subnet this link is in.connected_account_id (
str
orNone
) – The corresponding connected (customer) account UUID this connection is attached to.eni_group (
str
orNone
) – Which group the ENIs belongs to. (deprecated)subnet_id (
str
orNone
) – The ID of the subnet this link is to.cgw_present (
bool
orNone
) – Determines whether the CGW is present in this connection set or not. Used for multi-az deployments.org_id (
str
orNone
) – The org this link belongs to.sddc_id (
str
orNone
) – The SDDC this link is used for.cidr_block_vpc (
str
orNone
) – The CIDR block of the customer’s VPC.connection_order (
long
orNone
) – The order of the connectionstate (
str
orNone
) –Possible values are:
The state of the connection.
subnet_availability_zone (
str
orNone
) – Which availability zone is this connection in?vpc_id (
str
orNone
) – The VPC ID of the subnet this link is to.customer_eni_infos (
list
ofCustomerEniInfo
orNone
) – A list of all ENIs used for this connection.default_route_table (
str
orNone
) – The default routing table in the customer’s VPC.
-
STATE_ACTIVE
= 'ACTIVE'¶
-
STATE_BROKEN
= 'BROKEN'¶
-
STATE_DELETED
= 'DELETED'¶
-
class
com.vmware.vmc.model_client.
AwsSddcResourceConfig
(backup_restore_bucket=None, public_ip_pool=None, vpc_info=None, kms_vpc_endpoint=None, max_num_public_ip=None, account_link_sddc_config=None, vsan_encryption_config=None, vpc_info_peered_agent=None, mgmt_appliance_network_name=None, nsxt=None, mgw_id=None, nsx_mgr_url=None, psc_management_ip=None, psc_url=None, cgws=None, availability_zones=None, management_ds=None, nsx_api_public_endpoint_url=None, custom_properties=None, cloud_password=None, provider='AWS', clusters=None, vc_management_ip=None, sddc_networks=None, cloud_username=None, esx_hosts=None, nsx_mgr_management_ip=None, vc_instance_id=None, esx_cluster_id=None, vc_public_ip=None, skip_creating_vxlan=None, vc_url=None, sddc_manifest=None, vxlan_subnet=None, cloud_user_group=None, management_rp=None, region=None, witness_availability_zone=None, sddc_id=None, pop_agent_xeni_connection=None, sddc_size=None, nsx_controller_ips=None, esx_host_subnet=None, sso_domain=None, deployment_type=None, msft_license_config=None, nsxt_addons=None, dns_with_management_vm_private_ip=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
backup_restore_bucket (
str
orNone
) –public_ip_pool (
list
ofSddcPublicIp
orNone
) –vpc_info (
VpcInfo
orNone
) –kms_vpc_endpoint (
KmsVpcEndpoint
orNone
) –max_num_public_ip (
long
orNone
) – maximum number of public IP that user can allocate.account_link_sddc_config (
list
ofSddcLinkConfig
orNone
) –vsan_encryption_config (
VsanEncryptionConfig
orNone
) –vpc_info_peered_agent (
VpcInfo
orNone
) –mgmt_appliance_network_name (
str
orNone
) – Name for management appliance network.nsxt (
bool
orNone
) – if true, NSX-T UI is enabled.mgw_id (
str
orNone
) – Management Gateway Idnsx_mgr_url (
str
orNone
) – URL of the NSX Managerpsc_management_ip (
str
orNone
) – PSC internal management IPpsc_url (
str
orNone
) – URL of the PSC servercgws (
list
ofstr
orNone
) –availability_zones (
list
ofstr
orNone
) – Availability zones over which esx hosts are provisioned. MultiAZ SDDCs will have hosts provisioned over two availability zones while SingleAZ SDDCs will provision over one.management_ds (
str
orNone
) – The ManagedObjectReference of the management Datastorensx_api_public_endpoint_url (
str
orNone
) – nsx api entire base urlcustom_properties ((
dict
ofstr
andstr
) orNone
) –cloud_password (
str
orNone
) – Password for vCenter SDDC administratorprovider (
str
) –Possible values are:
Discriminator for additional properties
clusters (
list
ofCluster
orNone
) – List of clusters in the SDDC.vc_management_ip (
str
orNone
) – vCenter internal management IPsddc_networks (
list
ofstr
orNone
) –cloud_username (
str
orNone
) – Username for vCenter SDDC administratoresx_hosts (
list
ofAwsEsxHost
orNone
) –nsx_mgr_management_ip (
str
orNone
) – NSX Manager internal management IPvc_instance_id (
str
orNone
) – unique id of the vCenter serveresx_cluster_id (
str
orNone
) – Cluster Id to add ESX workflowvc_public_ip (
str
orNone
) – vCenter public IPskip_creating_vxlan (
bool
orNone
) – skip creating vxlan for compute gateway for SDDC provisioningvc_url (
str
orNone
) – URL of the vCenter serversddc_manifest (
SddcManifest
orNone
) –vxlan_subnet (
str
orNone
) – VXLAN IP subnetcloud_user_group (
str
orNone
) – Group name for vCenter SDDC administratormanagement_rp (
str
orNone
) –region (
str
orNone
) – region in which sddc is deployedwitness_availability_zone (
str
orNone
) – Availability zone where the witness node is provisioned for a MultiAZ SDDC. This is null for a SingleAZ SDDC.sddc_id (
str
orNone
) – sddc identifierpop_agent_xeni_connection (
PopAgentXeniConnection
orNone
) –sddc_size (
SddcSize
orNone
) –nsx_controller_ips (
list
ofstr
orNone
) – List of Controller IPsesx_host_subnet (
str
orNone
) – ESX host subnetsso_domain (
str
orNone
) – The SSO domain name to use for vSphere usersdeployment_type (
str
orNone
) –Possible values are:
Denotes if this is a SingleAZ SDDC or a MultiAZ SDDC.
msft_license_config (
MsftLicensingConfig
orNone
) – The Microsoft license status of this SDDC.nsxt_addons (
NsxtAddons
orNone
) –dns_with_management_vm_private_ip (
bool
orNone
) – if true, use the private IP addresses to register DNS records for the management VMs
-
property
provider
¶ Return the discriminator value
-
class
com.vmware.vmc.model_client.
AwsSubnet
(connected_account_id=None, region_name=None, availability_zone=None, subnet_id=None, subnet_cidr_block=None, is_compatible=None, vpc_id=None, vpc_cidr_block=None, name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
connected_account_id (
str
orNone
) – The connected account ID this subnet is accessible through. This is an internal ID formatted as a UUID specific to Skyscraper.region_name (
str
orNone
) – The region this subnet is in, usually in the form of country code, general location, and a number (ex. us-west-2).availability_zone (
str
orNone
) – The availability zone this subnet is in, which should be the region name plus one extra letter (ex. us-west-2a).subnet_id (
str
orNone
) – The subnet ID in AWS, provided in the form ‘subnet-######’.subnet_cidr_block (
str
orNone
) – The CIDR block of the subnet, in the form of ‘#.#.#.#/#’.is_compatible (
bool
orNone
) – Flag indicating whether this subnet is compatible. If true, this is a valid choice for the customer to deploy a SDDC in.vpc_id (
str
orNone
) – The VPC ID the subnet resides in within AWS. Tends to be ‘vpc-#######’.vpc_cidr_block (
str
orNone
) – The CIDR block of the VPC, in the form of ‘#.#.#.#/#’.name (
str
orNone
) – Optional field (may not be provided by AWS), indicates the found name tag for the subnet.
-
class
com.vmware.vmc.model_client.
CloudProvider
(provider='CloudProvider')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
provider (
str
) – Name of the Cloud Provider
-
property
provider
¶ Return the discriminator value
-
class
com.vmware.vmc.model_client.
Cluster
(esx_host_list=None, msft_license_config=None, cluster_state=None, aws_kms_info=None, cluster_capacity=None, esx_host_info=None, host_cpu_cores_count=None, cluster_id=None, cluster_name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
esx_host_list (
list
ofAwsEsxHost
orNone
) –msft_license_config (
MsftLicensingConfig
orNone
) – The Microsoft license configuration of this cluster.cluster_state (
str
orNone
) –Possible values are:
aws_kms_info (
AwsKmsInfo
orNone
) – AWS Key Management Service information associated with this clustercluster_capacity (
EntityCapacity
orNone
) – The capacity of this cluster.esx_host_info (
EsxHostInfo
orNone
) – Information of the hosts added to this clusterhost_cpu_cores_count (
long
orNone
) – Number of cores enabled on ESX hosts added to this cluster format: int32cluster_id (
str
) –cluster_name (
str
orNone
) –
-
CLUSTER_STATE_ADDING_HOSTS
= 'ADDING_HOSTS'¶
-
CLUSTER_STATE_DEPLOYING
= 'DEPLOYING'¶
-
CLUSTER_STATE_FAILED
= 'FAILED'¶
-
CLUSTER_STATE_READY
= 'READY'¶
-
class
com.vmware.vmc.model_client.
ClusterConfig
(host_cpu_cores_count=None, host_instance_type=None, storage_capacity=None, msft_license_config=None, num_hosts=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
host_cpu_cores_count (
long
orNone
) – Customize CPU cores on hosts in a cluster. Specify number of cores to be enabled on hosts in a cluster. format: int32host_instance_type (
HostInstanceTypes
orNone
) – The instance type for the esx hosts added to this cluster.storage_capacity (
long
orNone
) – For EBS-backed instances only, the requested storage capacity in GiB. format: int64msft_license_config (
MsftLicensingConfig
orNone
) – The desired Microsoft license status to apply to this cluster.num_hosts (
long
) –
-
class
com.vmware.vmc.model_client.
ClusterReconfigureParams
(storage_capacity=None, bias=None, num_hosts=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
storage_capacity (
long
orNone
) – The final desired storage capacity after reconfiguring the cluster in GiB. format: int64bias (
str
orNone
) – Bias value as obtained from the storage constraints call.num_hosts (
long
) – Number of hosts in the cluster after reconfiguring. format: int32
-
class
com.vmware.vmc.model_client.
ComputeGatewayTemplate
(public_ip=None, primary_dns=None, secondary_dns=None, firewall_rules=None, vpns=None, logical_networks=None, nat_rules=None, l2_vpn=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
public_ip (
SddcPublicIp
orNone
) –primary_dns (
str
orNone
) –secondary_dns (
str
orNone
) –firewall_rules (
list
ofFirewallRule
orNone
) –vpns (
list
ofVpn
orNone
) –logical_networks (
list
ofLogicalNetwork
orNone
) –nat_rules (
list
ofNatRule
orNone
) –l2_vpn (
vmware.vapi.struct.VapiStruct
orNone
) –
-
class
com.vmware.vmc.model_client.
ConfigSpec
(expiry_in_days=None, availability=None, sddc_sizes=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents a configuration spec for any sddc provision operation.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
expiry_in_days (
long
orNone
) – Indicates after how many days the sddc should expireavailability ((
dict
ofstr
andlist
ofInstanceTypeConfig
) orNone
) – Map of region to instance types available in that regionsddc_sizes (
list
ofstr
orNone
) –
-
class
com.vmware.vmc.model_client.
ConnectivityAgentValidation
(source=None, type=None, ports=None, path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
source (
str
orNone
) –Possible values are:
source appliance of connectivity test, i.e. VCENTER, SRM, VR.
type (
str
orNone
) –Possible values are:
type of connectivity test, i.e. PING, TRACEROUTE, DNS, CONNECTIVITY, CURL. For CONNECTIVITY and CURL tests only, please specify the ports to be tested against.
ports (
list
ofstr
orNone
) – TCP ports ONLY for CONNECTIVITY and CURL tests.path (
str
orNone
) – URL path ONLY for CURL tests.
-
SOURCE_SRM
= 'SRM'¶
-
SOURCE_VCENTER
= 'VCENTER'¶
-
SOURCE_VR
= 'VR'¶
-
TYPE_CONNECTIVITY
= 'CONNECTIVITY'¶
-
TYPE_CURL
= 'CURL'¶
-
TYPE_DNS
= 'DNS'¶
-
TYPE_PING
= 'PING'¶
-
TYPE_TRACEROUTE
= 'TRACEROUTE'¶
-
class
com.vmware.vmc.model_client.
ConnectivityValidationGroup
(id=None, name=None, sub_groups=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
id (
str
orNone
) –Possible values are:
test group id, currently, only HLM.
name (
str
orNone
) – Name of the test group.sub_groups (
list
ofConnectivityValidationSubGroup
orNone
) – List of sub groups.
-
ID_DRAAS
= 'DRAAS'¶
-
ID_HLM
= 'HLM'¶
-
class
com.vmware.vmc.model_client.
ConnectivityValidationGroups
(groups=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
groups (
list
ofConnectivityValidationGroup
orNone
) – List of groups.
-
class
com.vmware.vmc.model_client.
ConnectivityValidationInput
(id=None, value=None, label=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
id (
str
orNone
) –Possible values are:
input value type, i.e. HOSTNAME_OR_IP, HOST_IP, HOSTNAME. Accept FQDN or IP address as input value when id = HOSTNAME_OR_IP, accept FQDN ONLY when id = HOSTNAME, accept IP address ONLY when id = HOST_IP.
value (
str
orNone
) – the FQDN or IP address to run the test against, use #primary-dns or #secondary-dns as the on-prem primary/secondary DNS server IP.label (
str
orNone
) – (Optional, for UI display only) input value label.
-
ID_HOSTNAME
= 'HOSTNAME'¶
-
ID_HOSTNAME_OR_IP
= 'HOSTNAME_OR_IP'¶
-
ID_HOST_IP
= 'HOST_IP'¶
-
class
com.vmware.vmc.model_client.
ConnectivityValidationSubGroup
(inputs=None, tests=None, label=None, help=None, id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
inputs (
list
ofConnectivityValidationInput
orNone
) – List of user inputs for the sub group.tests (
list
ofConnectivityAgentValidation
orNone
) – List of connectivity tests.label (
str
orNone
) – Name of the sub-group.help (
str
orNone
) – Help text.id (
str
orNone
) –Possible values are:
subGroup id, i.e. PRIMARY_DNS, SECONDARY_DNS, ONPREM_VCENTER, ONPREM_PSC, ACTIVE_DIRECTORY, ONPREM_ESX, DRAAS_ONPREM_VCENTER, DRAAS_ONPREM_PSC, DRAAS_ONPREM_SRM and DRAAS_ONPREM_VR.
-
ID_ACTIVE_DIRECTORY
= 'ACTIVE_DIRECTORY'¶
-
ID_DRAAS_ONPREM_PSC
= 'DRAAS_ONPREM_PSC'¶
-
ID_DRAAS_ONPREM_SRM
= 'DRAAS_ONPREM_SRM'¶
-
ID_DRAAS_ONPREM_VCENTER
= 'DRAAS_ONPREM_VCENTER'¶
-
ID_DRAAS_ONPREM_VR
= 'DRAAS_ONPREM_VR'¶
-
ID_ONPREM_ESX
= 'ONPREM_ESX'¶
-
ID_ONPREM_PSC
= 'ONPREM_PSC'¶
-
ID_ONPREM_VCENTER
= 'ONPREM_VCENTER'¶
-
ID_PRIMARY_DNS
= 'PRIMARY_DNS'¶
-
ID_SECONDARY_DNS
= 'SECONDARY_DNS'¶
-
class
com.vmware.vmc.model_client.
CustomerEniInfo
(secondary_ip_addresses=None, eni_id=None, primary_ip_address=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Indicates a single cross-account ENI and its characteristics.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
secondary_ip_addresses (
list
ofstr
orNone
) – Indicates list of secondary IP created for this ENI.eni_id (
str
orNone
) – Interface ID on customer account.primary_ip_address (
str
orNone
) – Indicates primary address of the ENI.
-
class
com.vmware.vmc.model_client.
EbsBackedVsanConfig
(instance_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
information for EBS-backed VSAN configuration
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
instance_type (
str
orNone
) – instance type for EBS-backed VSAN configuration
-
class
com.vmware.vmc.model_client.
EniInfo
(subnet_id=None, id=None, security_group_id=None, private_ip=None, mac_address=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Information of the x-eni created.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
subnet_id (
str
orNone
) – Subnet it belongs to.id (
str
orNone
) – Interface ID.security_group_id (
str
orNone
) – Security Group of Eni.private_ip (
str
orNone
) – Private ip of eni.mac_address (
str
orNone
) – Mac address of nic.
-
class
com.vmware.vmc.model_client.
EntityCapacity
(storage_capacity_gib=None, memory_capacity_gib=None, total_number_of_cores=None, number_of_ssds=None, cpu_capacity_ghz=None, number_of_sockets=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Decribes the capacity of a given entity.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
storage_capacity_gib (
long
orNone
) – The storage capacity for the given entity in GiB.memory_capacity_gib (
long
orNone
) – The memory capacity for the given entity in GiB.total_number_of_cores (
long
orNone
) – The number of CPU cores for the given entity.number_of_ssds (
long
orNone
) – The number of SSDs for the given entity.cpu_capacity_ghz (
float
orNone
) – The CPU capacity for the given entity in Ghz.number_of_sockets (
long
orNone
) – The number of sockets for the given entity.
-
class
com.vmware.vmc.model_client.
ErrorResponse
(status=None, path=None, retryable=None, error_code=None, error_messages=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
status (
long
) – HTTP status codepath (
str
) – Originating request URIretryable (
bool
) – If true, client should retry operationerror_code (
str
) – unique error codeerror_messages (
list
ofstr
) – localized error messages
-
class
com.vmware.vmc.model_client.
EsxConfig
(availability_zone=None, strict_placement=None, cluster_id=None, esxs=None, num_hosts=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
availability_zone (
str
orNone
) – Availability zone where the hosts should be provisioned. (Can be specified only for privileged host operations).strict_placement (
bool
orNone
) – An option to indicate if the host needs to be strictly placed in a placement group. Fail the operation otherwise.cluster_id (
str
orNone
) – An optional cluster id if the esxs operation has to be on a specific cluster.esxs (
list
ofstr
orNone
) – An optional list of ESX IDs to remove. format: UUIDnum_hosts (
long
) –
-
class
com.vmware.vmc.model_client.
EsxHost
(name=None, availability_zone=None, esx_id=None, hostname=None, provider='EsxHost', instance_type=None, mac_address=None, custom_properties=None, esx_state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
name (
str
orNone
) –availability_zone (
str
orNone
) – Availability zone where the host is provisioned.esx_id (
str
orNone
) –hostname (
str
orNone
) –provider (
str
) –instance_type (
str
orNone
) – Backing cloud provider instance type for host.mac_address (
str
orNone
) –custom_properties ((
dict
ofstr
andstr
) orNone
) –esx_state (
str
orNone
) –Possible values are:
-
ESX_STATE_ADDING_TO_VCENTER
= 'ADDING_TO_VCENTER'¶
-
ESX_STATE_DELETED
= 'DELETED'¶
-
ESX_STATE_DELETING
= 'DELETING'¶
-
ESX_STATE_DELETING_FROM_VCENTER
= 'DELETING_FROM_VCENTER'¶
-
ESX_STATE_DEPLOYING
= 'DEPLOYING'¶
-
ESX_STATE_FAILED
= 'FAILED'¶
-
ESX_STATE_INITIALIZING
= 'INITIALIZING'¶
-
ESX_STATE_PENDING_CLOUD_DELETION
= 'PENDING_CLOUD_DELETION'¶
-
ESX_STATE_PROVISIONED
= 'PROVISIONED'¶
-
ESX_STATE_READY
= 'READY'¶
-
property
provider
¶ Return the discriminator value
-
class
com.vmware.vmc.model_client.
EsxHostInfo
(instance_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
instance_type (
str
orNone
) – Backing cloud provider instance type for cluster.
-
class
com.vmware.vmc.model_client.
FirewallRule
(rule_type=None, application_ids=None, name=None, rule_interface=None, destination=None, id=None, destination_scope=None, source=None, source_scope=None, services=None, action=None, revision=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
rule_type (
str
orNone
) –Possible values are:
application_ids (
list
ofstr
orNone
) –name (
str
orNone
) –rule_interface (
str
orNone
) – Deprecated, left for backwards compatibility. Remove once UI stops using it.destination (
str
orNone
) – Optional. Possible formats are IP, IP1-IPn, CIDR or comma separated list of those entries. If not specified, defaults to ‘any’.id (
str
orNone
) –destination_scope (
FirewallRuleScope
orNone
) –source (
str
orNone
) – Optional. Possible formats are IP, IP1-IPn, CIDR or comma separated list of those entries. If not specified, defaults to ‘any’.source_scope (
FirewallRuleScope
orNone
) –services (
list
ofFirewallService
orNone
) – list of protocols and ports for this firewall ruleaction (
str
orNone
) –Possible values are:
revision (
long
orNone
) – current revision of the list of firewall rules, used to protect against concurrent modification (first writer wins) format: int32 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
ACTION_ALLOW
= 'ALLOW'¶
-
ACTION_DENY
= 'DENY'¶
-
RULE_TYPE_DEFAULT
= 'DEFAULT'¶
-
RULE_TYPE_USER
= 'USER'¶
-
class
com.vmware.vmc.model_client.
FirewallRuleScope
(grouping_object_ids=None, vnic_group_ids=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Optional for FirewallRule. If not specified, defaults to ‘any’.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
grouping_object_ids (
list
ofstr
orNone
) –vnic_group_ids (
list
ofstr
orNone
) –Possible values are:
-
VNIC_GROUP_IDS_EXTERNAL
= 'external'¶
-
VNIC_GROUP_IDS_INTERNAL
= 'internal'¶
-
VNIC_GROUP_IDS_VNIC_INDEX_0
= 'vnic-index-0'¶
-
VNIC_GROUP_IDS_VNIC_INDEX_1
= 'vnic-index-1'¶
-
VNIC_GROUP_IDS_VNIC_INDEX_2
= 'vnic-index-2'¶
-
VNIC_GROUP_IDS_VNIC_INDEX_3
= 'vnic-index-3'¶
-
VNIC_GROUP_IDS_VNIC_INDEX_4
= 'vnic-index-4'¶
-
VNIC_GROUP_IDS_VNIC_INDEX_5
= 'vnic-index-5'¶
-
VNIC_GROUP_IDS_VNIC_INDEX_6
= 'vnic-index-6'¶
-
VNIC_GROUP_IDS_VNIC_INDEX_7
= 'vnic-index-7'¶
-
VNIC_GROUP_IDS_VNIC_INDEX_8
= 'vnic-index-8'¶
-
VNIC_GROUP_IDS_VNIC_INDEX_9
= 'vnic-index-9'¶
-
VNIC_GROUP_IDS_VSE
= 'vse'¶
-
class
com.vmware.vmc.model_client.
FirewallService
(protocol=None, ports=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
protocol (
str
orNone
) – protocol name, such as ‘tcp’, ‘udp’ etc.ports (
list
ofstr
orNone
) – a list of port numbers and port ranges, such as {80, 91-95, 99}. If not specified, defaults to ‘any’.
-
class
com.vmware.vmc.model_client.
GatewayTemplate
(public_ip=None, primary_dns=None, secondary_dns=None, firewall_rules=None, vpns=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Describes common properties for MGW and CGW configuration templates
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
public_ip (
SddcPublicIp
orNone
) –primary_dns (
str
orNone
) –secondary_dns (
str
orNone
) –firewall_rules (
list
ofFirewallRule
orNone
) –vpns (
list
ofVpn
orNone
) –
-
class
com.vmware.vmc.model_client.
GlcmBundle
(s3_bucket=None, id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
the GlcmBundle used for deploying the sddc
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
s3_bucket (
str
orNone
) – the glcmbundle’s s3 bucketid (
str
orNone
) – the glcmbundle’s id
-
class
com.vmware.vmc.model_client.
HostInstanceTypes
(string)¶ Bases:
vmware.vapi.bindings.enum.Enum
Note
This class represents an enumerated type in the interface language definition. The class contains class attributes which represent the values in the current version of the enumerated type. Newer versions of the enumerated type may contain new values. To use new values of the enumerated type in communication with a server that supports the newer version of the API, you instantiate this class. See enumerated type description page.
- Parameters
string (
str
) – String value for theHostInstanceTypes
instance.
-
I3EN_METAL
= HostInstanceTypes(string='I3EN_METAL')¶
-
I3_METAL
= HostInstanceTypes(string='I3_METAL')¶
-
R5_METAL
= HostInstanceTypes(string='R5_METAL')¶
-
class
com.vmware.vmc.model_client.
InstanceTypeConfig
(instance_type=None, hosts=None, display_name=None, entity_capacity=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents a structure for instance type config
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
instance_type (
str
orNone
) – Instance type name.hosts (
list
oflong
orNone
) – Array of number of hosts allowed for this operation. Range of hosts user can select for sddc provisiondisplay_name (
str
orNone
) – Display name of instance_type.entity_capacity (
EntityCapacity
orNone
) – The capacity of the given instance type.
-
class
com.vmware.vmc.model_client.
KmsVpcEndpoint
(vpc_endpoint_id=None, network_interface_ids=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
vpc_endpoint_id (
str
orNone
) – The identifier of the VPC endpoint created to AWS Key Management Servicenetwork_interface_ids (
list
ofstr
orNone
) –
-
class
com.vmware.vmc.model_client.
L2Vpn
(enabled=None, sites=None, listener_ip=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
enabled (
bool
orNone
) – Enable (true) or disable (false) L2 VPN.sites (
list
ofSite
) – Array of L2 vpn site config.listener_ip (
str
orNone
) – Public uplink ip address. IP of external interface on which L2VPN service listens to.
-
class
com.vmware.vmc.model_client.
LogicalNetwork
(subnet_cidr=None, name=None, gateway_ip=None, dhcp_enabled=None, dhcp_ip_range=None, tunnel_id=None, id=None, network_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
subnet_cidr (
str
orNone
) – the subnet cidrname (
str
orNone
) – name of the networkgateway_ip (
str
orNone
) – gateway ip of the logical networkdhcp_enabled (
str
orNone
) – if ‘true’ - enabled; if ‘false’ - disableddhcp_ip_range (
str
orNone
) – ip range within the subnet mask, range delimiter is ‘-‘ (example 10.118.10.130-10.118.10.140)tunnel_id (
long
orNone
) – tunnel id of extended network format: int32id (
str
orNone
) –network_type (
str
orNone
) –Possible values are:
-
NETWORK_TYPE_EXTENDED
= 'EXTENDED'¶
-
NETWORK_TYPE_HOSTED
= 'HOSTED'¶
-
NETWORK_TYPE_ROUTED
= 'ROUTED'¶
-
class
com.vmware.vmc.model_client.
MaintenanceWindow
(day_of_week=None, hour_of_day=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
day_of_week (
str
orNone
) –Possible values are:
hour_of_day (
long
orNone
) –
-
DAY_OF_WEEK_FRIDAY
= 'FRIDAY'¶
-
DAY_OF_WEEK_MONDAY
= 'MONDAY'¶
-
DAY_OF_WEEK_SATURDAY
= 'SATURDAY'¶
-
DAY_OF_WEEK_SUNDAY
= 'SUNDAY'¶
-
DAY_OF_WEEK_THURSDAY
= 'THURSDAY'¶
-
DAY_OF_WEEK_TUESDAY
= 'TUESDAY'¶
-
DAY_OF_WEEK_WEDNESDAY
= 'WEDNESDAY'¶
-
class
com.vmware.vmc.model_client.
MaintenanceWindowEntry
(in_maintenance_window=None, reservation_schedule=None, reservation_id=None, in_maintenance_mode=None, sddc_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
in_maintenance_window (
bool
orNone
) – true if the SDDC is in the defined Mainentance Windowreservation_schedule (
ReservationSchedule
orNone
) –reservation_id (
str
orNone
) – ID for reservation format: uuidin_maintenance_mode (
bool
orNone
) – true if the SDDC is currently undergoing maintenancesddc_id (
str
orNone
) – SDDC ID for this reservation format: uuid
-
class
com.vmware.vmc.model_client.
MaintenanceWindowGet
(day_of_week=None, hour_of_day=None, duration_min=None, version=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
day_of_week (
str
orNone
) –Possible values are:
hour_of_day (
long
orNone
) –duration_min (
long
orNone
) –version (
long
orNone
) –
-
DAY_OF_WEEK_FRIDAY
= 'FRIDAY'¶
-
DAY_OF_WEEK_MONDAY
= 'MONDAY'¶
-
DAY_OF_WEEK_SATURDAY
= 'SATURDAY'¶
-
DAY_OF_WEEK_SUNDAY
= 'SUNDAY'¶
-
DAY_OF_WEEK_THURSDAY
= 'THURSDAY'¶
-
DAY_OF_WEEK_TUESDAY
= 'TUESDAY'¶
-
DAY_OF_WEEK_WEDNESDAY
= 'WEDNESDAY'¶
-
class
com.vmware.vmc.model_client.
ManagementGatewayTemplate
(public_ip=None, primary_dns=None, secondary_dns=None, firewall_rules=None, vpns=None, subnet_cidr=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
public_ip (
SddcPublicIp
orNone
) –primary_dns (
str
orNone
) –secondary_dns (
str
orNone
) –firewall_rules (
list
ofFirewallRule
orNone
) –vpns (
list
ofVpn
orNone
) –subnet_cidr (
str
orNone
) – mgw network subnet cidr
-
class
com.vmware.vmc.model_client.
MapZonesRequest
(connected_account_id=None, org_id=None, petronas_regions_to_map=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
connected_account_id (
str
orNone
) – The connected account ID to remap. This is a standard UUID.org_id (
str
orNone
) – The org ID to remap in. This is a standard UUID.petronas_regions_to_map (
list
ofstr
orNone
) – A list of Petronas regions to map.
-
class
com.vmware.vmc.model_client.
Metadata
(timestamp=None, cycle_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
metadata of the sddc manifest
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
timestamp (
str
orNone
) – the timestamp for the bundlecycle_id (
str
orNone
) – the cycle id
-
class
com.vmware.vmc.model_client.
MsftLicensingConfig
(mssql_licensing=None, windows_licensing=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
mssql_licensing (
str
orNone
) –Possible values are:
The status MSSQL licensing for this SDDC’s clusters.
windows_licensing (
str
orNone
) –Possible values are:
The status of Windows licensing for this SDDC’s clusters. Can be enabled, disabled, or customer’s.
-
MSSQL_LICENSING_CUSTOMER_SUPPLIED
= 'CUSTOMER_SUPPLIED'¶
-
MSSQL_LICENSING_DISABLED
= 'DISABLED'¶
-
MSSQL_LICENSING_ENABLED
= 'ENABLED'¶
-
WINDOWS_LICENSING_CUSTOMER_SUPPLIED
= 'CUSTOMER_SUPPLIED'¶
-
WINDOWS_LICENSING_DISABLED
= 'DISABLED'¶
-
WINDOWS_LICENSING_ENABLED
= 'ENABLED'¶
-
class
com.vmware.vmc.model_client.
NatRule
(rule_type=None, protocol=None, name=None, internal_ports=None, public_ports=None, public_ip=None, internal_ip=None, action=None, id=None, revision=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
rule_type (
str
orNone
) –protocol (
str
orNone
) –name (
str
orNone
) –internal_ports (
str
orNone
) –public_ports (
str
orNone
) –public_ip (
str
orNone
) –internal_ip (
str
orNone
) –action (
str
orNone
) –Possible values are:
id (
str
orNone
) –revision (
long
orNone
) – current revision of the list of nat rules, used to protect against concurrent modification (first writer wins) format: int32 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
ACTION_DNAT
= 'dnat'¶
-
ACTION_SNAT
= 'snat'¶
-
class
com.vmware.vmc.model_client.
NetworkTemplate
(management_gateway_templates=None, compute_gateway_templates=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
management_gateway_templates (
list
ofManagementGatewayTemplate
orNone
) –compute_gateway_templates (
list
ofComputeGatewayTemplate
orNone
) –
-
class
com.vmware.vmc.model_client.
NewCredentials
(username=None, password=None, name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
username (
str
) – Username of the credentialspassword (
str
) – Password associated with the credentialsname (
str
) – Name of the credentials
-
class
com.vmware.vmc.model_client.
NsxtAddons
(enable_nsx_advanced_addon=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Details the state of different NSX add-ons.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
enable_nsx_advanced_addon (
bool
orNone
) – Indicates whether NSX Advanced addon is enabled or disabled.
-
class
com.vmware.vmc.model_client.
OfferInstancesHolder
(on_demand=None, offers=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Holder for the offer instances.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
on_demand (
OnDemandOfferInstance
) –offers (
list
ofTermOfferInstance
) –
-
class
com.vmware.vmc.model_client.
OfferType
(string)¶ Bases:
vmware.vapi.bindings.enum.Enum
Note
This class represents an enumerated type in the interface language definition. The class contains class attributes which represent the values in the current version of the enumerated type. Newer versions of the enumerated type may contain new values. To use new values of the enumerated type in communication with a server that supports the newer version of the API, you instantiate this class. See enumerated type description page.
- Parameters
string (
str
) – String value for theOfferType
instance.
-
ON_DEMAND
= OfferType(string='ON_DEMAND')¶
-
TERM
= OfferType(string='TERM')¶
-
class
com.vmware.vmc.model_client.
OnDemandOfferInstance
(product=None, product_type=None, name=None, currency=None, region=None, unit_price=None, monthly_cost=None, version=None, type=None, description=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Holder for the on-demand offer instance.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
product (
str
) –product_type (
str
orNone
) – Deprecated. Please use product and type fields instead.name (
str
) –currency (
str
) –region (
str
) –unit_price (
str
) –monthly_cost (
str
) –version (
str
) –type (
str
) –description (
str
) –
-
class
com.vmware.vmc.model_client.
OrgProperties
(values=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
values ((
dict
ofstr
andstr
) orNone
) – A map of string properties to values.
-
class
com.vmware.vmc.model_client.
OrgSellerInfo
(seller_account_id=None, seller=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
seller_account_id (
str
orNone
) – The accountid for this org for the seller-of-record. NILLABLE.seller (
str
orNone
) – The seller-of-record for the current organization. For example AWS or VMWARE
-
class
com.vmware.vmc.model_client.
Organization
(updated=None, user_id=None, updated_by_user_id=None, created=None, version=None, updated_by_user_name=None, user_name=None, id=None, org_type=None, display_name=None, name=None, org_seller_info=None, project_state=None, properties=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
updated (
datetime.datetime
) –user_id (
str
) – User id that last updated this recordupdated_by_user_id (
str
) – User id that last updated this recordcreated (
datetime.datetime
) –version (
long
) – Version of this entity format: int32updated_by_user_name (
str
orNone
) – User name that last updated this recorduser_name (
str
) – User name that last updated this recordid (
str
) – Unique ID for this entityorg_type (
str
orNone
) – ORG_TYPE to be associated with the orgdisplay_name (
str
orNone
) –name (
str
orNone
) –org_seller_info (
OrgSellerInfo
orNone
) –project_state (
str
orNone
) –Possible values are:
properties (
OrgProperties
orNone
) –
-
PROJECT_STATE_CREATED
= 'CREATED'¶
-
PROJECT_STATE_DELETED
= 'DELETED'¶
-
class
com.vmware.vmc.model_client.
PaymentMethodInfo
(type=None, default_flag=None, payment_method_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
type (
str
orNone
) –default_flag (
bool
orNone
) –payment_method_id (
str
orNone
) –
-
class
com.vmware.vmc.model_client.
PopAgentXeniConnection
(default_subnet_route=None, eni_info=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
default_subnet_route (
str
orNone
) – The gateway route ip fo the subnet.eni_info (
EniInfo
orNone
) –
-
class
com.vmware.vmc.model_client.
PopAmiInfo
(instance_type=None, region=None, id=None, name=None, type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
instance_type (
str
orNone
) – instance type of the esx amiregion (
str
orNone
) – the region of the esx amiid (
str
orNone
) – the ami id for the esxname (
str
orNone
) – the name of the esx amitype (
str
orNone
) –Possible values are:
PoP AMI type. CENTOS: a Centos AMI; POP: a PoP AMI.
-
TYPE_CENTOS
= 'CENTOS'¶
-
TYPE_POP
= 'POP'¶
-
class
com.vmware.vmc.model_client.
PopInfo
(ami_infos=None, created_at=None, service_infos=None, id=None, manifest_version=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Present a SDDC PoP information.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
ami_infos (
dict
ofstr
andPopAmiInfo
) – A map of [region name of PoP / PoP-AMI]:[PopAmiInfo].created_at (
datetime.datetime
orNone
) – The PopInfo (or PoP AMI) created time. Using ISO 8601 date-time pattern. format: date-timeservice_infos ((
dict
ofstr
andPopServiceInfo
) orNone
) – A map of [service type]:[PopServiceInfo]id (
str
orNone
) – UUID of the PopInfo format: UUIDmanifest_version (
str
orNone
) – version of the manifest.
-
class
com.vmware.vmc.model_client.
PopServiceInfo
(cln=None, version=None, build=None, service=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
cln (
str
orNone
) – The service change set number.version (
str
orNone
) – The service API version.build (
str
orNone
) – The service build number.service (
str
orNone
) –Possible values are:
An enum of PoP related services (including os platform and JRE).
-
SERVICE_AGENT
= 'AGENT'¶
-
SERVICE_AIDE
= 'AIDE'¶
-
SERVICE_BRE
= 'BRE'¶
-
SERVICE_BRF
= 'BRF'¶
-
SERVICE_DNS
= 'DNS'¶
-
SERVICE_DOCKER
= 'DOCKER'¶
-
SERVICE_FM_LOG_COLLECTOR
= 'FM_LOG_COLLECTOR'¶
-
SERVICE_FM_METRICS_COLLECTOR
= 'FM_METRICS_COLLECTOR'¶
-
SERVICE_FORWARD_PROXY
= 'FORWARD_PROXY'¶
-
SERVICE_GLCM
= 'GLCM'¶
-
SERVICE_JRE
= 'JRE'¶
-
SERVICE_LOGZ_LOG_COLLECTOR
= 'LOGZ_LOG_COLLECTOR'¶
-
SERVICE_NTP
= 'NTP'¶
-
SERVICE_OS
= 'OS'¶
-
SERVICE_REVERSE_PROXY
= 'REVERSE_PROXY'¶
-
SERVICE_RTS
= 'RTS'¶
-
SERVICE_S3_ADAPTER
= 'S3_ADAPTER'¶
-
class
com.vmware.vmc.model_client.
ProvisionSpec
(provider=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents a provisioning spec for a sddc
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
provider ((
dict
ofstr
andSddcConfigSpec
) orNone
) – Map of provider to sddc config spec
-
class
com.vmware.vmc.model_client.
RequestDetail
(aws_quota_request_id=None, detail_status=None, resolved_at=None, desired_value=None, aws_support_case_status=None, aws_support_case_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
aws_quota_request_id (
str
orNone
) – AWS quota increase request iddetail_status (
str
orNone
) –Possible values are:
resolved_at (
datetime.datetime
orNone
) –desired_value (
long
orNone
) – desired value for the quota increase requestaws_support_case_status (
str
orNone
) – AWS support case statusaws_support_case_id (
str
orNone
) – AWS support caes id
-
DETAIL_STATUS_DENIED
= 'DENIED'¶
-
DETAIL_STATUS_ERROR
= 'ERROR'¶
-
DETAIL_STATUS_NEW
= 'NEW'¶
-
DETAIL_STATUS_PENDINGSUBMIT
= 'PENDINGSUBMIT'¶
-
DETAIL_STATUS_PENDINGVERFICATION
= 'PENDINGVERFICATION'¶
-
DETAIL_STATUS_RESOLVED
= 'RESOLVED'¶
-
DETAIL_STATUS_SUBMITTED
= 'SUBMITTED'¶
-
class
com.vmware.vmc.model_client.
Reservation
(duration=None, rid=None, create_time=None, start_time=None, metadata=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
duration (
long
orNone
) – Duration - required for reservation in maintenance window format: int64rid (
str
orNone
) – Reservation ID format: uuidcreate_time (
str
orNone
) – Optionalstart_time (
datetime.datetime
orNone
) – Start time of a reservation format: date-timemetadata ((
dict
ofstr
andstr
) orNone
) – Optional
-
class
com.vmware.vmc.model_client.
ReservationInMw
(rid=None, week_of=None, create_time=None, metadata=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
rid (
str
orNone
) – Reservation ID format: uuidweek_of (
str
orNone
) – SUNDAY of the week that maintenance is scheduled, ISO format datecreate_time (
datetime.datetime
orNone
) – Optional format: date-timemetadata ((
dict
ofstr
andstr
) orNone
) – Optional
-
class
com.vmware.vmc.model_client.
ReservationSchedule
(day_of_week=None, hour_of_day=None, duration_min=None, version=None, reservations=None, reservations_mw=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
day_of_week (
str
orNone
) –Possible values are:
hour_of_day (
long
orNone
) –duration_min (
long
orNone
) –version (
long
orNone
) –reservations (
list
ofReservation
orNone
) –reservations_mw (
list
ofReservationInMw
orNone
) –
-
DAY_OF_WEEK_FRIDAY
= 'FRIDAY'¶
-
DAY_OF_WEEK_MONDAY
= 'MONDAY'¶
-
DAY_OF_WEEK_SATURDAY
= 'SATURDAY'¶
-
DAY_OF_WEEK_SUNDAY
= 'SUNDAY'¶
-
DAY_OF_WEEK_THURSDAY
= 'THURSDAY'¶
-
DAY_OF_WEEK_TUESDAY
= 'TUESDAY'¶
-
DAY_OF_WEEK_WEDNESDAY
= 'WEDNESDAY'¶
-
class
com.vmware.vmc.model_client.
ReservationWindow
(reservation_state=None, emergency=None, maintenance_properties=None, reserve_id=None, start_hour=None, sddc_id=None, manifest_id=None, duration_hours=None, start_date=None, metadata=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
reservation_state (
str
orNone
) –Possible values are:
emergency (
bool
orNone
) –maintenance_properties (
ReservationWindowMaintenanceProperties
orNone
) –reserve_id (
str
orNone
) –start_hour (
long
orNone
) –sddc_id (
str
orNone
) –manifest_id (
str
orNone
) –duration_hours (
long
orNone
) –start_date (
str
orNone
) –metadata ((
dict
ofstr
andstr
) orNone
) – Metadata for reservation window, in key-value form
-
RESERVATION_STATE_CANCELED
= 'CANCELED'¶
-
RESERVATION_STATE_COMPLETED
= 'COMPLETED'¶
-
RESERVATION_STATE_RUNNING
= 'RUNNING'¶
-
RESERVATION_STATE_SCHEDULED
= 'SCHEDULED'¶
-
class
com.vmware.vmc.model_client.
ReservationWindowMaintenanceProperties
(status=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
status (
str
orNone
) – Status of upgrade, if any
-
class
com.vmware.vmc.model_client.
RouteTableInfo
(name=None, id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
name (
str
orNone
) – route table nameid (
str
orNone
) – route table id
-
class
com.vmware.vmc.model_client.
Sddc
(updated=None, user_id=None, updated_by_user_id=None, created=None, version=None, updated_by_user_name=None, user_name=None, id=None, name=None, sddc_state=None, expiration_date=None, org_id=None, sddc_type=None, provider=None, account_link_state=None, sddc_access_state=None, resource_config=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
updated (
datetime.datetime
) –user_id (
str
) – User id that last updated this recordupdated_by_user_id (
str
) – User id that last updated this recordcreated (
datetime.datetime
) –version (
long
) – Version of this entity format: int32updated_by_user_name (
str
orNone
) – User name that last updated this recorduser_name (
str
) – User name that last updated this recordid (
str
) – Unique ID for this entityname (
str
orNone
) – name for SDDCsddc_state (
str
orNone
) –Possible values are:
expiration_date (
datetime.datetime
orNone
) – Expiration date of a sddc in UTC (will be set if its applicable) format: date-timeorg_id (
str
orNone
) –sddc_type (
str
orNone
) – Type of the sddcprovider (
str
orNone
) –Possible values are:
account_link_state (
str
orNone
) –Possible values are:
Account linking state of the sddc
sddc_access_state (
str
orNone
) – Describes the access state of sddc, valid state is DISABLED or ENABLEDresource_config (
AwsSddcResourceConfig
orNone
) –
-
ACCOUNT_LINK_STATE_DELAYED
= 'DELAYED'¶
-
ACCOUNT_LINK_STATE_LINKED
= 'LINKED'¶
-
ACCOUNT_LINK_STATE_UNLINKED
= 'UNLINKED'¶
-
PROVIDER_AWS
= 'AWS'¶
-
PROVIDER_ZEROCLOUD
= 'ZEROCLOUD'¶
-
SDDC_STATE_CANCELED
= 'CANCELED'¶
-
SDDC_STATE_DELETED
= 'DELETED'¶
-
SDDC_STATE_DELETING
= 'DELETING'¶
-
SDDC_STATE_DEPLOYING
= 'DEPLOYING'¶
-
SDDC_STATE_FAILED
= 'FAILED'¶
-
SDDC_STATE_READY
= 'READY'¶
-
SDDC_STATE_READY_FOR_GLCM_BRINGUP
= 'READY_FOR_GLCM_BRINGUP'¶
-
class
com.vmware.vmc.model_client.
SddcConfig
(msft_license_config=None, vpc_cidr=None, host_instance_type=None, skip_creating_vxlan=None, vxlan_subnet=None, size=None, storage_capacity=None, name=None, account_link_sddc_config=None, sddc_id=None, num_hosts=None, sddc_type=None, account_link_config=None, provider='SddcConfig', sso_domain=None, sddc_template_id=None, deployment_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
msft_license_config (
MsftLicensingConfig
orNone
) – Indicates the desired licensing support, if any, of Microsoft software.vpc_cidr (
str
orNone
) – AWS VPC IP range. Only prefix of 16 or 20 is currently supported.host_instance_type (
HostInstanceTypes
orNone
) – The instance type for the esx hosts in the primary cluster of the SDDC.skip_creating_vxlan (
bool
orNone
) – skip creating vxlan for compute gateway for SDDC provisioningvxlan_subnet (
str
orNone
) – VXLAN IP subnet in CIDR for compute gatewaysize (
str
orNone
) –Possible values are:
The size of the vCenter and NSX appliances. “large” sddcSize corresponds to a ‘large’ vCenter appliance and ‘large’ NSX appliance. ‘medium’ sddcSize corresponds to ‘medium’ vCenter appliance and ‘medium’ NSX appliance. Value defaults to ‘medium’.
storage_capacity (
long
orNone
) – The storage capacity value to be requested for the sddc primary cluster, in GiBs. If provided, instead of using the direct-attached storage, a capacity value amount of seperable storage will be used. format: int64name (
str
) –account_link_sddc_config (
list
ofAccountLinkSddcConfig
orNone
) – A list of the SDDC linking configurations to use.sddc_id (
str
orNone
) – If provided, will be assigned as SDDC id of the provisioned SDDC. format: UUIDnum_hosts (
long
) –sddc_type (
str
orNone
) – Denotes the sddc type , if the value is null or empty, the type is considered as default.account_link_config (
AccountLinkConfig
orNone
) – The account linking configuration, we will keep this one and remove accountLinkSddcConfig finally.provider (
str
) –Possible values are:
Determines what additional properties are available based on cloud provider.
sso_domain (
str
orNone
) – The SSO domain name to use for vSphere users. If not specified, vmc.local will be used.sddc_template_id (
str
orNone
) – If provided, configuration from the template will applied to the provisioned SDDC. format: UUIDdeployment_type (
str
orNone
) –Possible values are:
Denotes if request is for a SingleAZ or a MultiAZ SDDC. Default is SingleAZ.
-
DEPLOYMENT_TYPE_MULTIAZ
= 'MultiAZ'¶
-
DEPLOYMENT_TYPE_SINGLEAZ
= 'SingleAZ'¶
-
PROVIDER_AWS
= 'AWS'¶
-
PROVIDER_ZEROCLOUD
= 'ZEROCLOUD'¶
-
SIZE_LARGE
= 'large'¶
-
SIZE_MEDIUM
= 'medium'¶
-
SIZE_NSX_LARGE
= 'nsx_large'¶
-
SIZE_NSX_SMALL
= 'nsx_small'¶
-
property
provider
¶ Return the discriminator value
-
class
com.vmware.vmc.model_client.
SddcConfigSpec
(sddc_type_config_spec=None, region_display_names=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents a configuration spec for a sddc
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
sddc_type_config_spec ((
dict
ofstr
andConfigSpec
) orNone
) – Map of sddc type to config specregion_display_names ((
dict
ofstr
andstr
) orNone
) – The region name to display names mapping
-
class
com.vmware.vmc.model_client.
SddcId
(sddc_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
sddc_id (
str
orNone
) – Sddc ID
-
class
com.vmware.vmc.model_client.
SddcLinkConfig
(customer_subnet_ids=None, connected_account_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
customer_subnet_ids (
list
ofstr
orNone
) –connected_account_id (
str
orNone
) – Determines which connected customer account to link to
-
class
com.vmware.vmc.model_client.
SddcManifest
(vmc_version=None, glcm_bundle=None, pop_info=None, vmc_internal_version=None, ebs_backed_vsan_config=None, vsan_witness_ami=None, esx_ami=None, esx_nsxt_ami=None, metadata=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Describes software components of the installed SDDC
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
vmc_version (
str
orNone
) – the vmcVersion of the sddc for displayglcm_bundle (
GlcmBundle
orNone
) –pop_info (
PopInfo
orNone
) –vmc_internal_version (
str
orNone
) – the vmcInternalVersion of the sddc for internal useebs_backed_vsan_config (
EbsBackedVsanConfig
orNone
) –vsan_witness_ami (
AmiInfo
orNone
) –esx_ami (
AmiInfo
orNone
) –esx_nsxt_ami (
AmiInfo
orNone
) –metadata (
Metadata
orNone
) –
-
class
com.vmware.vmc.model_client.
SddcPatchRequest
(name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Patch request body for SDDC
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
name (
str
orNone
) – The new name of the SDDC to be changed to.
-
class
com.vmware.vmc.model_client.
SddcPublicIp
(public_ip=None, name=None, allocation_id=None, dnat_rule_id=None, associated_private_ip=None, snat_rule_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
public_ip (
str
) –name (
str
orNone
) –allocation_id (
str
orNone
) –dnat_rule_id (
str
orNone
) –associated_private_ip (
str
orNone
) –snat_rule_id (
str
orNone
) –
-
class
com.vmware.vmc.model_client.
SddcResourceConfig
(mgmt_appliance_network_name=None, nsxt=None, mgw_id=None, nsx_mgr_url=None, psc_management_ip=None, psc_url=None, cgws=None, availability_zones=None, management_ds=None, nsx_api_public_endpoint_url=None, custom_properties=None, cloud_password=None, provider='SddcResourceConfig', clusters=None, vc_management_ip=None, sddc_networks=None, cloud_username=None, esx_hosts=None, nsx_mgr_management_ip=None, vc_instance_id=None, esx_cluster_id=None, vc_public_ip=None, skip_creating_vxlan=None, vc_url=None, sddc_manifest=None, vxlan_subnet=None, cloud_user_group=None, management_rp=None, region=None, witness_availability_zone=None, sddc_id=None, pop_agent_xeni_connection=None, sddc_size=None, nsx_controller_ips=None, esx_host_subnet=None, sso_domain=None, deployment_type=None, msft_license_config=None, nsxt_addons=None, dns_with_management_vm_private_ip=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
mgmt_appliance_network_name (
str
orNone
) – Name for management appliance network.nsxt (
bool
orNone
) – if true, NSX-T UI is enabled.mgw_id (
str
orNone
) – Management Gateway Idnsx_mgr_url (
str
orNone
) – URL of the NSX Managerpsc_management_ip (
str
orNone
) – PSC internal management IPpsc_url (
str
orNone
) – URL of the PSC servercgws (
list
ofstr
orNone
) –availability_zones (
list
ofstr
orNone
) – Availability zones over which esx hosts are provisioned. MultiAZ SDDCs will have hosts provisioned over two availability zones while SingleAZ SDDCs will provision over one.management_ds (
str
orNone
) – The ManagedObjectReference of the management Datastorensx_api_public_endpoint_url (
str
orNone
) – nsx api entire base urlcustom_properties ((
dict
ofstr
andstr
) orNone
) –cloud_password (
str
orNone
) – Password for vCenter SDDC administratorprovider (
str
) –Possible values are:
Discriminator for additional properties
clusters (
list
ofCluster
orNone
) – List of clusters in the SDDC.vc_management_ip (
str
orNone
) – vCenter internal management IPsddc_networks (
list
ofstr
orNone
) –cloud_username (
str
orNone
) – Username for vCenter SDDC administratoresx_hosts (
list
ofAwsEsxHost
orNone
) –nsx_mgr_management_ip (
str
orNone
) – NSX Manager internal management IPvc_instance_id (
str
orNone
) – unique id of the vCenter serveresx_cluster_id (
str
orNone
) – Cluster Id to add ESX workflowvc_public_ip (
str
orNone
) – vCenter public IPskip_creating_vxlan (
bool
orNone
) – skip creating vxlan for compute gateway for SDDC provisioningvc_url (
str
orNone
) – URL of the vCenter serversddc_manifest (
SddcManifest
orNone
) –vxlan_subnet (
str
orNone
) – VXLAN IP subnetcloud_user_group (
str
orNone
) – Group name for vCenter SDDC administratormanagement_rp (
str
orNone
) –region (
str
orNone
) – region in which sddc is deployedwitness_availability_zone (
str
orNone
) – Availability zone where the witness node is provisioned for a MultiAZ SDDC. This is null for a SingleAZ SDDC.sddc_id (
str
orNone
) – sddc identifierpop_agent_xeni_connection (
PopAgentXeniConnection
orNone
) –sddc_size (
SddcSize
orNone
) –nsx_controller_ips (
list
ofstr
orNone
) – List of Controller IPsesx_host_subnet (
str
orNone
) – ESX host subnetsso_domain (
str
orNone
) – The SSO domain name to use for vSphere usersdeployment_type (
str
orNone
) –Possible values are:
Denotes if this is a SingleAZ SDDC or a MultiAZ SDDC.
msft_license_config (
MsftLicensingConfig
orNone
) – The Microsoft license status of this SDDC.nsxt_addons (
NsxtAddons
orNone
) –dns_with_management_vm_private_ip (
bool
orNone
) – if true, use the private IP addresses to register DNS records for the management VMs
-
DEPLOYMENT_TYPE_MULTI_AZ
= 'MULTI_AZ'¶
-
DEPLOYMENT_TYPE_SINGLE_AZ
= 'SINGLE_AZ'¶
-
PROVIDER_AWS
= 'AWS'¶
-
PROVIDER_ZEROCLOUD
= 'ZEROCLOUD'¶
-
property
provider
¶ Return the discriminator value
-
class
com.vmware.vmc.model_client.
SddcSize
(vc_size=None, nsx_size=None, size=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Size of the SDDC
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
vc_size (
str
orNone
) –Possible values are:
nsx_size (
str
orNone
) –Possible values are:
size (
str
orNone
) –Possible values are:
-
NSX_SIZE_LARGE
= 'large'¶
-
NSX_SIZE_MEDIUM
= 'medium'¶
-
NSX_SIZE_SMALL
= 'small'¶
-
SIZE_LARGE
= 'LARGE'¶
-
SIZE_MEDIUM
= 'MEDIUM'¶
-
SIZE_NSX_LARGE
= 'NSX_LARGE'¶
-
SIZE_NSX_SMALL
= 'NSX_SMALL'¶
-
VC_SIZE_LARGE
= 'large'¶
-
VC_SIZE_MEDIUM
= 'medium'¶
-
class
com.vmware.vmc.model_client.
SddcStateRequest
(sddcs=None, states=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
sddcs (
list
ofstr
orNone
) –states (
list
ofstr
orNone
) –Possible values are:
-
STATES_CANCELED
= 'CANCELED'¶
-
STATES_COMPLETED
= 'COMPLETED'¶
-
STATES_RUNNING
= 'RUNNING'¶
-
STATES_SCHEDULED
= 'SCHEDULED'¶
-
class
com.vmware.vmc.model_client.
SddcTemplate
(updated=None, user_id=None, updated_by_user_id=None, created=None, version=None, updated_by_user_name=None, user_name=None, id=None, account_link_sddc_configs=None, state=None, network_template=None, name=None, source_sddc_id=None, org_id=None, sddc=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
updated (
datetime.datetime
) –user_id (
str
) – User id that last updated this recordupdated_by_user_id (
str
) – User id that last updated this recordcreated (
datetime.datetime
) –version (
long
) – Version of this entity format: int32updated_by_user_name (
str
orNone
) – User name that last updated this recorduser_name (
str
) – User name that last updated this recordid (
str
) – Unique ID for this entityaccount_link_sddc_configs (
list
ofAccountLinkSddcConfig
orNone
) – A list of the SDDC linking configurations to use.state (
str
orNone
) –Possible values are:
network_template (
NetworkTemplate
orNone
) –name (
str
orNone
) – name for SDDC configuration templatesource_sddc_id (
str
orNone
) –org_id (
str
orNone
) –sddc (
Sddc
orNone
) –
-
STATE_APPLIED
= 'APPLIED'¶
-
STATE_AVAILABLE
= 'AVAILABLE'¶
-
STATE_DELETED
= 'DELETED'¶
-
STATE_DELETING
= 'DELETING'¶
-
STATE_FAILED
= 'FAILED'¶
-
STATE_INITIALIZATION
= 'INITIALIZATION'¶
-
STATE_INUSE
= 'INUSE'¶
-
class
com.vmware.vmc.model_client.
ServiceError
(default_message=None, original_service=None, localized_message=None, original_service_error_code=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Detailed service errors associated with a task.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
default_message (
str
orNone
) – Error message in English.original_service (
str
orNone
) – The original service name of the error.localized_message (
str
orNone
) – The localized message.original_service_error_code (
str
orNone
) – The original error code of the service.
-
class
com.vmware.vmc.model_client.
ServiceQuotaRequest
(updated=None, user_id=None, updated_by_user_id=None, created=None, version=None, updated_by_user_name=None, user_name=None, id=None, requester_email=None, task_id=None, region=None, aws_account_number=None, org_id=None, reason=None, request_status=None, request_details=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
updated (
datetime.datetime
) –user_id (
str
) – User id that last updated this recordupdated_by_user_id (
str
) – User id that last updated this recordcreated (
datetime.datetime
) –version (
long
) – Version of this entity format: int32updated_by_user_name (
str
orNone
) – User name that last updated this recorduser_name (
str
) – User name that last updated this recordid (
str
) – Unique ID for this entityrequester_email (
str
orNone
) –task_id (
str
orNone
) – The task for running the service quota request.region (
str
orNone
) – Region for the service quotaaws_account_number (
str
orNone
) –org_id (
str
orNone
) – The org ID for this request. This is a standard UUID.reason (
str
orNone
) – Reason for this quota increaserequest_status (
str
orNone
) –Possible values are:
request_details ((
dict
ofstr
andRequestDetail
) orNone
) – service quota request item details
-
REQUEST_STATUS_DENIED
= 'DENIED'¶
-
REQUEST_STATUS_ERROR
= 'ERROR'¶
-
REQUEST_STATUS_NEW
= 'NEW'¶
-
REQUEST_STATUS_PENDING
= 'PENDING'¶
-
REQUEST_STATUS_RESOLVED
= 'RESOLVED'¶
-
class
com.vmware.vmc.model_client.
Site
(password=None, user_id=None, name=None, rx_bytes_on_local_subnet=None, secure_traffic=None, established_date=None, failure_message=None, dropped_tx_packets=None, dropped_rx_packets=None, tunnel_status=None, tx_bytes_from_local_subnet=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
password (
str
orNone
) – Site password.user_id (
str
orNone
) – Site user id.name (
str
orNone
) – Unique name for the site getting configured.rx_bytes_on_local_subnet (
long
orNone
) – Bytes received on local network. format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.secure_traffic (
bool
orNone
) – Enable/disable encription.established_date (
str
orNone
) – Date tunnel was established. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.failure_message (
str
orNone
) – failure message. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.dropped_tx_packets (
str
orNone
) – Number of transmitted packets dropped. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.dropped_rx_packets (
str
orNone
) – Number of received packets dropped. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.tunnel_status (
str
orNone
) –Possible values are:
Site tunnel status.
This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
tx_bytes_from_local_subnet (
long
orNone
) – Bytes transmitted from local subnet. format: int64 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
TUNNEL_STATUS_CONNECTED
= 'CONNECTED'¶
-
TUNNEL_STATUS_DISCONNECTED
= 'DISCONNECTED'¶
-
TUNNEL_STATUS_UNKNOWN
= 'UNKNOWN'¶
-
class
com.vmware.vmc.model_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.model_client.
Subnet
(subnet_id=None, name=None, route_tables=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
(as there’s already one SubnetInfo, use Subnet instead)
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
subnet_id (
str
orNone
) – subnet idname (
str
orNone
) – subnet nameroute_tables (
list
ofSubnetRouteTableInfo
orNone
) –
-
class
com.vmware.vmc.model_client.
SubnetInfo
(compatible=None, connected_account_id=None, region_name=None, availability_zone=None, subnet_id=None, availability_zone_id=None, subnet_cidr_block=None, note=None, vpc_id=None, vpc_cidr_block=None, name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
compatible (
bool
orNone
) – Is this customer subnet compatible with the SDDC?connected_account_id (
str
orNone
) – The ID of the connected account this subnet is from.region_name (
str
orNone
) – The region this subnet is from.availability_zone (
str
orNone
) – The availability zone (customer-centric) this subnet is in.subnet_id (
str
orNone
) – The ID of the subnet.availability_zone_id (
str
orNone
) – The availability zone id (customer-centric) this subnet is in.subnet_cidr_block (
str
orNone
) – The CIDR block of the subnet.note (
str
orNone
) – Why a subnet is marked as not compatible. May be blank if compatible.vpc_id (
str
orNone
) – The ID of the VPC this subnet resides in.vpc_cidr_block (
str
orNone
) – The CIDR block of the VPC containing this subnet.name (
str
orNone
) – The name of the subnet. This is either the tagged name or the default AWS id it was given.
-
class
com.vmware.vmc.model_client.
SubnetRouteTableInfo
(subnet_id=None, association_id=None, routetable_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
subnet_id (
str
orNone
) – subnet idassociation_id (
str
orNone
) – subnet - route table association idroutetable_id (
str
orNone
) – route table id
-
class
com.vmware.vmc.model_client.
SubscriptionDetails
(status=None, anniversary_billing_date=None, end_date=None, billing_frequency=None, auto_renewed_allowed=None, commitment_term=None, csp_subscription_id=None, billing_subscription_id=None, offer_version=None, offer_type=None, description=None, product_id=None, region=None, product_name=None, offer_name=None, commitment_term_uom=None, start_date=None, quantity=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
details of a subscription
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
status (
str
orNone
) –Possible values are:
anniversary_billing_date (
str
orNone
) –end_date (
str
orNone
) –billing_frequency (
str
orNone
) – The frequency at which the customer is billed. Currently supported values are “Upfront” and “Monthly”auto_renewed_allowed (
str
orNone
) –commitment_term (
str
orNone
) –csp_subscription_id (
str
orNone
) –billing_subscription_id (
str
orNone
) –offer_version (
str
orNone
) –offer_type (
OfferType
orNone
) –description (
str
orNone
) –product_id (
str
orNone
) –region (
str
orNone
) –product_name (
str
orNone
) –offer_name (
str
orNone
) –commitment_term_uom (
str
orNone
) – unit of measurment for commitment termstart_date (
str
orNone
) –quantity (
str
orNone
) –
-
STATUS_ACTIVATED
= 'ACTIVATED'¶
-
STATUS_CANCELLED
= 'CANCELLED'¶
-
STATUS_CREATED
= 'CREATED'¶
-
STATUS_EXPIRED
= 'EXPIRED'¶
-
STATUS_FAILED
= 'FAILED'¶
-
STATUS_ORDER_SUBMITTED
= 'ORDER_SUBMITTED'¶
-
STATUS_PENDING_PROVISIONING
= 'PENDING_PROVISIONING'¶
-
STATUS_SUSPENDED
= 'SUSPENDED'¶
-
STATUS_TERMINATED
= 'TERMINATED'¶
-
STATUS_UKNOWN
= 'UKNOWN'¶
-
class
com.vmware.vmc.model_client.
SubscriptionProducts
(product=None, types=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Details of products that are available for purchase.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
product (
str
orNone
) – The name of the producttypes (
list
ofstr
orNone
) – A list of different types/version for the product.
-
class
com.vmware.vmc.model_client.
SubscriptionRequest
(product=None, product_type=None, product_id=None, billing_frequency=None, region=None, commitment_term=None, offer_context_id=None, offer_version=None, offer_name=None, quantity=None, type=None, price=None, product_charge_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
product (
str
orNone
) – The product for which subscription needs to be created. Refer /vmc/api/orgs/{orgId}/products.product_type (
str
) – Old identifier for product. *Deprecarted*. See product and typeproduct_id (
str
orNone
) –billing_frequency (
str
orNone
) – Frequency of the billing.region (
str
) –commitment_term (
str
) –offer_context_id (
str
orNone
) –offer_version (
str
) –offer_name (
str
) –quantity (
long
) –type (
str
orNone
) – The type of the product for which the subscription needs to be created.price (
long
orNone
) –product_charge_id (
str
orNone
) –
-
class
com.vmware.vmc.model_client.
SupportWindow
(start_day=None, seats=None, sddcs=None, duration_hours=None, start_hour=None, support_window_id=None, metadata=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
start_day (
str
orNone
) –Possible values are:
seats (
long
orNone
) –sddcs (
list
ofstr
orNone
) – SDDCs in this window format: UUIDduration_hours (
long
orNone
) –start_hour (
long
orNone
) –support_window_id (
str
orNone
) –metadata (
vmware.vapi.struct.VapiStruct
orNone
) –
-
START_DAY_FRIDAY
= 'FRIDAY'¶
-
START_DAY_MONDAY
= 'MONDAY'¶
-
START_DAY_SATURDAY
= 'SATURDAY'¶
-
START_DAY_SUNDAY
= 'SUNDAY'¶
-
START_DAY_THURSDAY
= 'THURSDAY'¶
-
START_DAY_TUESDAY
= 'TUESDAY'¶
-
START_DAY_WEDNESDAY
= 'WEDNESDAY'¶
-
class
com.vmware.vmc.model_client.
SupportWindowId
(window_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
window_id (
str
orNone
) – Support Window ID
-
class
com.vmware.vmc.model_client.
Task
(updated=None, user_id=None, updated_by_user_id=None, created=None, version=None, updated_by_user_name=None, user_name=None, id=None, status=None, localized_error_message=None, resource_id=None, parent_task_id=None, task_version=None, correlation_id=None, start_resource_entity_version=None, sub_status=None, task_type=None, start_time=None, task_progress_phases=None, error_message=None, org_id=None, end_resource_entity_version=None, service_errors=None, org_type=None, estimated_remaining_minutes=None, params=None, progress_percent=None, phase_in_progress=None, resource_type=None, end_time=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
updated (
datetime.datetime
) –user_id (
str
) – User id that last updated this recordupdated_by_user_id (
str
) – User id that last updated this recordcreated (
datetime.datetime
) –version (
long
) – Version of this entity format: int32updated_by_user_name (
str
orNone
) – User name that last updated this recorduser_name (
str
) – User name that last updated this recordid (
str
) – Unique ID for this entitystatus (
str
orNone
) –Possible values are:
localized_error_message (
str
orNone
) –resource_id (
str
orNone
) – UUID of the resource the task is acting uponparent_task_id (
str
orNone
) – If this task was created by another task - this provides the linkage. Mostly for debugging.task_version (
str
orNone
) –correlation_id (
str
orNone
) – (Optional) Client provided uniqifier to make task creation idempotent. Be aware not all tasks support this. For tasks that do - supplying the same correlation Id, for the same task type, within a predefined window will ensure the operation happens at most once.start_resource_entity_version (
long
orNone
) – Entity version of the resource at the start of the task. This is only set for some task types. format: int32sub_status (
str
orNone
) –task_type (
str
orNone
) –start_time (
datetime.datetime
orNone
) –task_progress_phases (
list
ofTaskProgressPhase
orNone
) – Task progress phases involved in current task executionerror_message (
str
orNone
) –org_id (
str
orNone
) –end_resource_entity_version (
long
orNone
) – Entity version of the resource at the end of the task. This is only set for some task types. format: int32service_errors (
list
ofServiceError
orNone
) – Service errors returned from SDDC services.org_type (
str
orNone
) –estimated_remaining_minutes (
long
orNone
) – Estimated remaining time in minute of the task execution, < 0 means no estimation for the task. format: int32params (
vmware.vapi.struct.VapiStruct
orNone
) –progress_percent (
long
orNone
) – Estimated progress percentage the task executed format: int32phase_in_progress (
str
orNone
) – The current in progress phase ID in the task execution, if none in progress, empty string returned.resource_type (
str
orNone
) – Type of resource being acted uponend_time (
datetime.datetime
orNone
) –
-
STATUS_CANCELED
= 'CANCELED'¶
-
STATUS_CANCELING
= 'CANCELING'¶
-
STATUS_FAILED
= 'FAILED'¶
-
STATUS_FINISHED
= 'FINISHED'¶
-
STATUS_STARTED
= 'STARTED'¶
-
class
com.vmware.vmc.model_client.
TaskProgressPhase
(id=None, name=None, progress_percent=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A task progress can be (but does NOT have to be) divided to more meaningful progress phases.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
id (
str
) – The identifier of the task progress phasename (
str
) – The display name of the task progress phaseprogress_percent (
long
) – The percentage of the phase that has completed format: int32
-
class
com.vmware.vmc.model_client.
TermBillingOptions
(unit_price=None, billing_frequency=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Holder for term billing options.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
unit_price (
str
orNone
) –billing_frequency (
str
orNone
) –
-
class
com.vmware.vmc.model_client.
TermOfferInstance
(description=None, product=None, product_type=None, name=None, currency=None, region=None, commitment_term=None, unit_price=None, billing_options=None, version=None, offer_context_id=None, product_charge_id=None, type=None, product_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Holder for the term offer instances.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
description (
str
) –product (
str
) –product_type (
str
orNone
) – Deprecated. Please use product and type fields instead.name (
str
) –currency (
str
) –region (
str
) –commitment_term (
long
) –unit_price (
str
) – (deprecated. unit_price is moved into TermBillingOptions. For backward compatibility, this field reflect “Prepaid” price at the offer level.)billing_options (
list
ofTermBillingOptions
orNone
) –version (
str
) –offer_context_id (
str
orNone
) –product_charge_id (
str
orNone
) –type (
str
) –product_id (
str
orNone
) –
-
class
com.vmware.vmc.model_client.
TermsOfServiceResult
(terms_id=None, signed=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
terms_id (
str
orNone
) – The terms of service ID requested.signed (
bool
orNone
) – Wehther or not the terms requested have been signed.
-
class
com.vmware.vmc.model_client.
UpdateCredentials
(username=None, password=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
username (
str
) – Username of the credentialspassword (
str
) – Password associated with the credentials
-
class
com.vmware.vmc.model_client.
VmcLocale
(locale=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
locale (
str
orNone
) – The locale to be used for translating responses for the session
-
class
com.vmware.vmc.model_client.
VpcInfo
(vpc_cidr=None, vgw_id=None, esx_public_security_group_id=None, vif_ids=None, vm_security_group_id=None, tgw_ips=None, route_table_id=None, edge_subnet_id=None, id=None, api_association_id=None, api_subnet_id=None, private_subnet_id=None, private_association_id=None, esx_security_group_id=None, subnet_id=None, internet_gateway_id=None, traffic_group_edge_vm_ips=None, security_group_id=None, association_id=None, vgw_route_table_id=None, edge_association_id=None, provider=None, peering_connection_id=None, network_type=None, available_zones=None, routetables=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
vpc_cidr (
str
orNone
) –vgw_id (
str
orNone
) –esx_public_security_group_id (
str
orNone
) –vif_ids (
list
ofstr
orNone
) – set of virtual interfaces attached to the sddcvm_security_group_id (
str
orNone
) –tgw_ips ((
dict
ofstr
andlist
ofstr
) orNone
) – Mapping from AZ to a list of IP addresses assigned to TGW ENI that’s connected with Vpcroute_table_id (
str
orNone
) – (deprecated)edge_subnet_id (
str
orNone
) – Id of the NSX edge associated with this VPC (deprecated)id (
str
orNone
) – vpc idapi_association_id (
str
orNone
) – Id of the association between subnet and route-table (deprecated)api_subnet_id (
str
orNone
) – Id associated with this VPC (deprecated)private_subnet_id (
str
orNone
) – (deprecated)private_association_id (
str
orNone
) – (deprecated)esx_security_group_id (
str
orNone
) –subnet_id (
str
orNone
) – (deprecated)internet_gateway_id (
str
orNone
) –traffic_group_edge_vm_ips (
list
ofstr
orNone
) – List of edge vm Ips of traffic gourps added during scale-outsecurity_group_id (
str
orNone
) –association_id (
str
orNone
) – (deprecated)vgw_route_table_id (
str
orNone
) – Route table which contains the route to VGW (deprecated)edge_association_id (
str
orNone
) – Id of the association between edge subnet and route-table (deprecated)provider (
str
orNone
) –peering_connection_id (
str
orNone
) – (deprecated)network_type (
str
orNone
) –available_zones (
list
ofAvailableZoneInfo
orNone
) –routetables ((
dict
ofstr
andRouteTableInfo
) orNone
) – map from routeTableName to routeTableInfo
-
class
com.vmware.vmc.model_client.
VpcInfoSubnets
(vpc_id=None, cidr_block=None, description=None, subnets=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
vpc_id (
str
orNone
) – The ID of the VPC these subnets belong to.cidr_block (
str
orNone
) – The overall CIDR block of the VPC. This is the AWS primary CIDR block.description (
str
orNone
) – The description of the VPC; usually it’s name or id.subnets (
list
ofSubnetInfo
orNone
) –
-
class
com.vmware.vmc.model_client.
Vpn
(version=None, on_prem_gateway_ip=None, on_prem_network_cidr=None, pfs_enabled=None, id=None, channel_status=None, on_prem_nat_ip=None, name=None, internal_network_ids=None, tunnel_statuses=None, encryption=None, enabled=None, state=None, dh_group=None, authentication=None, pre_shared_key=None, ike_option=None, digest_algorithm=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
version (
str
orNone
) –on_prem_gateway_ip (
str
orNone
) –on_prem_network_cidr (
str
orNone
) –pfs_enabled (
bool
orNone
) –id (
str
orNone
) –channel_status (
VpnChannelStatus
orNone
) –on_prem_nat_ip (
str
orNone
) –name (
str
orNone
) –internal_network_ids (
list
ofstr
orNone
) –tunnel_statuses (
list
ofVpnTunnelStatus
orNone
) –encryption (
str
orNone
) –Possible values are:
enabled (
bool
orNone
) –state (
str
orNone
) –Possible values are:
dh_group (
str
orNone
) –Possible values are:
authentication (
str
orNone
) –Possible values are:
pre_shared_key (
str
orNone
) –ike_option (
str
orNone
) –Possible values are:
digest_algorithm (
str
orNone
) –Possible values are:
-
AUTHENTICATION_PSK
= 'PSK'¶
-
AUTHENTICATION_UNKNOWN
= 'UNKNOWN'¶
-
DH_GROUP_DH14
= 'DH14'¶
-
DH_GROUP_DH15
= 'DH15'¶
-
DH_GROUP_DH16
= 'DH16'¶
-
DH_GROUP_DH2
= 'DH2'¶
-
DH_GROUP_DH5
= 'DH5'¶
-
DH_GROUP_UNKNOWN
= 'UNKNOWN'¶
-
DIGEST_ALGORITHM_SHA1
= 'SHA1'¶
-
DIGEST_ALGORITHM_SHA_256
= 'SHA_256'¶
-
ENCRYPTION_AES
= 'AES'¶
-
ENCRYPTION_AES256
= 'AES256'¶
-
ENCRYPTION_AES_GCM
= 'AES_GCM'¶
-
ENCRYPTION_TRIPLE_DES
= 'TRIPLE_DES'¶
-
ENCRYPTION_UNKNOWN
= 'UNKNOWN'¶
-
IKE_OPTION_IKEV1
= 'IKEV1'¶
-
IKE_OPTION_IKEV2
= 'IKEV2'¶
-
STATE_CONNECTED
= 'CONNECTED'¶
-
STATE_DISCONNECTED
= 'DISCONNECTED'¶
-
STATE_PARTIALLY_CONNECTED
= 'PARTIALLY_CONNECTED'¶
-
STATE_UNKNOWN
= 'UNKNOWN'¶
-
class
com.vmware.vmc.model_client.
VpnChannelStatus
(channel_status=None, channel_state=None, last_info_message=None, failure_message=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
channel_status (
str
orNone
) –Possible values are:
channel_state (
str
orNone
) –last_info_message (
str
orNone
) –failure_message (
str
orNone
) –
-
CHANNEL_STATUS_CONNECTED
= 'CONNECTED'¶
-
CHANNEL_STATUS_DISCONNECTED
= 'DISCONNECTED'¶
-
CHANNEL_STATUS_UNKNOWN
= 'UNKNOWN'¶
-
class
com.vmware.vmc.model_client.
VpnTunnelStatus
(on_prem_subnet=None, traffic_stats=None, last_info_message=None, local_subnet=None, tunnel_state=None, failure_message=None, tunnel_status=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
on_prem_subnet (
str
orNone
) –traffic_stats (
VpnTunnelTrafficStats
orNone
) –last_info_message (
str
orNone
) –local_subnet (
str
orNone
) –tunnel_state (
str
orNone
) –failure_message (
str
orNone
) –tunnel_status (
str
orNone
) –Possible values are:
-
TUNNEL_STATUS_CONNECTED
= 'CONNECTED'¶
-
TUNNEL_STATUS_DISCONNECTED
= 'DISCONNECTED'¶
-
TUNNEL_STATUS_UNKNOWN
= 'UNKNOWN'¶
-
class
com.vmware.vmc.model_client.
VpnTunnelTrafficStats
(packets_out=None, packet_received_errors=None, rx_bytes_on_local_subnet=None, replay_errors=None, sequence_number_over_flow_errors=None, encryption_failures=None, integrity_errors=None, packet_sent_errors=None, decryption_failures=None, packets_in=None, tx_bytes_from_local_subnet=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
packets_out (
str
orNone
) –packet_received_errors (
str
orNone
) –rx_bytes_on_local_subnet (
str
orNone
) –replay_errors (
str
orNone
) –sequence_number_over_flow_errors (
str
orNone
) –encryption_failures (
str
orNone
) –integrity_errors (
str
orNone
) –packet_sent_errors (
str
orNone
) –decryption_failures (
str
orNone
) –packets_in (
str
orNone
) –tx_bytes_from_local_subnet (
str
orNone
) –
-
class
com.vmware.vmc.model_client.
VsanAvailableCapacity
(cost=None, quality=None, size=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Infomation about an available vSAN capacity in a cluster.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
cost (
str
) –quality (
str
) –size (
long
) –
-
class
com.vmware.vmc.model_client.
VsanClusterReconfigBias
(short_description=None, full_description=None, id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Bias for reconfiguring vSAN in a cluster.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
short_description (
str
) –full_description (
str
) –id (
str
) –
-
class
com.vmware.vmc.model_client.
VsanClusterReconfigConstraints
(reconfig_biases=None, available_capacities=None, default_capacities=None, hosts=None, default_reconfig_bias_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Storage constraint information for reconfiguring vSAN in existing cluster.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
reconfig_biases (
list
ofVsanClusterReconfigBias
) – Biases to reconfigure vSAN in an existing cluster.available_capacities (
dict
ofstr
andlist
ofVsanAvailableCapacity
) – A map of VsanClusterReconfigBias id to the list of VsanAvailableCapacity. It gives all of available vSAN capacities for each of reconfiguration biases.default_capacities (
dict
ofstr
andVsanAvailableCapacity
) – A map of VsanClusterReconfigBias id to a VsanAvailableCapacity. It gives the default VsanAvailableCapacity for each of reconfiguration biases.hosts (
long
) – The number of hosts in a cluster for the constraints. format: int32default_reconfig_bias_id (
str
) – The id of default VsanClusterReconfigBias for this constraints.
-
class
com.vmware.vmc.model_client.
VsanConfigConstraints
(max_capacity=None, recommended_capacities=None, supported_capacity_increment=None, min_capacity=None, num_hosts=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This describes the possible physical storage capacity choices for use with a given VsanStorageDesigner implementation. These choices are specific to a customer-defined number of hosts per cluster.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
max_capacity (
long
) – Maximum capacity supported for cluster (GiB). format: int64recommended_capacities (
list
oflong
) – List of supported capacities which may offer preferable performance (GiB). format: int64supported_capacity_increment (
long
orNone
) – Increment to be added to min_capacity to result in a supported capacity (GiB). format: int64min_capacity (
long
) – Minimum capacity supported for cluster (GiB). format: int64num_hosts (
long
) – Number of hosts in cluster. format: int64
-
class
com.vmware.vmc.model_client.
VsanEncryptionConfig
(port=None, certificate=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
port (
long
orNone
) – Port to connect to AWS Key Management Servicecertificate (
str
orNone
) – Public certificate used to connect to AWS Key Management Service
com.vmware.vmc.orgs_client module¶
-
class
com.vmware.vmc.orgs_client.
AccountLink
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
get
(org)¶ Gets a link that can be used on a customer’s account to start the linking process.
- Parameters
org (
str
) – Organization identifier (required)- Raise
com.vmware.vapi.std.errors_client.Error
Generic Error
-
class
com.vmware.vmc.orgs_client.
PaymentMethods
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
get_org_payment_methods
(org, default_flag=None)¶ Get payment methods of organization
- Parameters
org (
str
) – Organization identifier (required)default_flag (
bool
orNone
) – When true, will only return default payment methods. (optional, default to false)
- 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.NotFound
Organization doesn’t exist
-
class
com.vmware.vmc.orgs_client.
Providers
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
list
(org)¶ - 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.NotFound
Organization doesn’t exist
-
class
com.vmware.vmc.orgs_client.
Reservations
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
list
(org)¶ Get all reservations for this org
- 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
Access not allowed to the operation for the current user
-
class
com.vmware.vmc.orgs_client.
SddcTemplates
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
delete
(org, template_id)¶ Delete SDDC template identified by given id.
- Parameters
org (
str
) – Organization identifier (required)template_id (
str
) – SDDC Template 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
-
get
(org, template_id)¶ Get configuration template by given template id.
- Parameters
org (
str
) – Organization identifier (required)template_id (
str
) – SDDC Template 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.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.NotFound
Cannot find the SDDC Template with given identifier
-
list
(org)¶ List all available SDDC configuration templates in an organization
- 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
-
class
com.vmware.vmc.orgs_client.
Sddcs
(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_config, validate_only=None)¶ Provision an SDDC in target cloud
- Parameters
org (
str
) – Organization identifier (required)sddc_config (
com.vmware.vmc.model_client.AwsSddcConfig
) – sddcConfig (required)validate_only (
bool
orNone
) – When true, only validates the given sddc configuration without provisioning. (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
-
delete
(org, sddc, retain_configuration=None, template_name=None, force=None)¶ Delete SDDC
- Parameters
org (
str
) – Organization identifier (required)sddc (
str
) – Sddc identifier (required)retain_configuration (
bool
orNone
) – If = ‘true’, the SDDC’s configuration is retained as a template for later use. This flag is applicable only to SDDCs in ACTIVE state. (optional)template_name (
str
orNone
) – Only applicable when retainConfiguration is also set to ‘true’. When set, this value will be used as the name of the SDDC configuration template generated. (optional)force (
bool
orNone
) – If = true, will delete forcefully. Beware: do not use the force flag if there is a chance an active provisioning or deleting task is running against this SDDC. This option is restricted. (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 deletion- 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
-
get
(org, sddc)¶ Get SDDC
- Parameters
org (
str
) – Organization identifier (required)sddc (
str
) – Sddc identifier (required)
- Return type
- Returns
com.vmware.vmc.model.Sddc
- 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
Cannot find the SDDC with given identifier
-
list
(org, include_deleted=None)¶ List all the SDDCs of an organization
- Parameters
org (
str
) – Organization identifier (required)include_deleted (
bool
orNone
) – When true, forces the result to also include deleted SDDCs. (optional)
- Return type
- Returns
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden
-
patch
(org, sddc, sddc_patch_request)¶ Patch SDDC
- Parameters
org (
str
) – Organization identifier (required)sddc (
str
) – Sddc identifier (required)sddc_patch_request (
com.vmware.vmc.model_client.SddcPatchRequest
) – Patch request for the SDDC (required)
- Return type
- Returns
com.vmware.vmc.model.Sddc
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
SDDC cannot be patched- 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_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_client.
Subscriptions
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
GET_0_OFFER_TYPE_ON_DEMAND
= 'ON_DEMAND'¶ Possible value for
offerType
of methodSubscriptions.get_0()
.
-
GET_0_OFFER_TYPE_TERM
= 'TERM'¶ Possible value for
offerType
of methodSubscriptions.get_0()
.
-
create
(org, subscription_request)¶ Initiates the creation of a subscription
- Parameters
org (
str
) – Organization identifier (required)subscription_request (
com.vmware.vmc.model_client.SubscriptionRequest
) – subscriptionRequest (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- Raise
com.vmware.vapi.std.errors_client.InternalServerError
Server error. Check retryable flag to see if request should be retried.
-
get
(org, subscription)¶ Get subscription details for a given subscription id
- Parameters
org (
str
) – Organization identifier (required)subscription (
str
) – SubscriptionId for an sddc. (required)
- Return type
- Returns
com.vmware.vmc.model.SubscriptionDetails
- Raise
com.vmware.vapi.std.errors_client.InternalServerError
Server error. Check retryable flag to see if request should be retried.- Raise
com.vmware.vapi.std.errors_client.NotFound
Not Found
-
get_0
(org, offer_type=None)¶ Returns all subscriptions for a given org id
- Parameters
org (
str
) – Organization identifier (required)offer_type (
str
orNone
) – Offer Type * \`ON_DEMAND\` - on-demand subscription * \`TERM\` - term subscription * All subscriptions if not specified (optional)
- Return type
- Returns
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.InternalServerError
Server error. Check retryable flag to see if request should be retried.- Raise
com.vmware.vapi.std.errors_client.NotFound
Not Found
-
class
com.vmware.vmc.orgs_client.
Tasks
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
get
(org, task)¶ Retrieve details of a task.
- Parameters
org (
str
) – Organization identifier (required)task (
str
) – Task 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- Raise
com.vmware.vapi.std.errors_client.NotFound
Cannot find the task with given identifier
-
list
(org, filter=None)¶ List all tasks with optional filtering.
- Parameters
org (
str
) – Organization identifier (required)filter (
str
orNone
) – Filter expression Binary Operators: ‘eq’, ‘ne’, ‘lt’, ‘gt’, ‘le’, ‘ge’, ‘mul’, ‘div’, ‘mod’, ‘sub’, ‘add’ Unary Operators: ‘not’, ‘-‘ (minus) String Operators: ‘startswith’, ‘endswith’, ‘length’, ‘contains’, ‘tolower’, ‘toupper’, Nested attributes are composed using ‘.’ Dates must be formatted as yyyy-MM-dd or yyyy-MM-ddTHH:mm:ss[.SSS]Z Strings should enclosed in single quotes, escape single quote with two single quotes The special literal ‘created’ will be mapped to the time the resource was first created. Examples: - $filter=(updated gt 2016-08-09T13:00:00Z) and (org_id eq 278710ff4e-6b6d-4d4e-aefb-ca637f38609e) - $filter=(created eq 2016-08-09) - $filter=(created gt 2016-08-09) and (sddc.status eq ‘READY’) (optional)
- Return type
- Returns
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden
-
update
(org, task, action=None)¶ Request that a running task be canceled. This is advisory only, some tasks may not be cancelable, and some tasks might take an arbitrary amount of time to respond to a cancelation request. The task must be monitored to determine subsequent status.
- Parameters
org (
str
) – Organization identifier (required)task (
str
) – Task identifier (required)action (
str
orNone
) – If = ‘cancel’, task will be canceled (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
Invalid action or bad argument- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.NotFound
Cannot find the task with given identifier
-
class
com.vmware.vmc.orgs_client.
Tos
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
get
(org, terms_id)¶ Queries for the terms of service of a given org.
- Parameters
org (
str
) – Organization identifier (required)terms_id (
str
) – The terms of service reference ID to check on. (required)
- Return type
- Returns
com.vmware.vmc.model.TermsOfServiceResult
- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden