com.vmware.vmc_client.
Locale
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
set
(vmc_locale)¶Sets the locale for the session which is used for translating -responses.
-vmc_locale (com.vmware.vmc.model_client.VmcLocale
) – The locale to be set. (required)
com.vmware.vmc.model.VmcLocale
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vmc_client.
Orgs
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
get
(org)¶Get details of organization
-org (str
) – Organization identifier (required)
com.vmware.vmc.model.Organization
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vapi.std.errors_client.NotFound
-Organization doesn’t exist
list
()¶Return a list of all organizations the calling user (based on -credential) is authorized on.
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vmc_client.
StubFactory
(stub_config)¶Bases: vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
-stub_config (vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
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.
+updated (datetime.datetime
) –
user_id (str
) – User id that last updated this record
updated_by_user_id (str
) – User id that last updated this record
created (datetime.datetime
) –
version (long
) – Version of this entity format: int32
updated_by_user_name (str
or None
) – User name that last updated this record
user_name (str
) – User name that last updated this record
id (str
) – Unique ID for this entity
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.
-delay_account_link (bool
or None
) – Boolean flag identifying whether account linking should be delayed
-or not for the SDDC.
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.
-customer_subnet_ids (list
of str
or None
) –
connected_account_id (str
or None
) – The ID of the customer connected account to work with.
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.
-internal_ip (str
or None
) – The internal IP address of the agent which is provided by the
-underlying cloud provider
agent_url (str
or None
) – The accessible URL of the agent service, it is resolved to public
-IP address from the Internet and private IP address within SDDC
management_ip (str
or None
) – The internal management IP address of the agent exposed to the
-SDDC, which might be different from the internal IP
hostname_verifier_enabled (bool
or None
) – Boolean flag to indicate if the agent is using FQDN in the
-certificate
master (bool
or None
) – Boolean flag to indicate if the agent is the master, only the
-master Agent is accessible
network_netmask (str
or None
) – Network netmask of the agent
network_gateway (str
or None
) – Network gateway of the agent
provider (str
) – The cloud provider
cert_enabled (bool
or None
) – Boolean flag to indicate if the agent is using CA signed
-certificate
agent_state (str
or None
) –
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'¶provider
¶Return the discriminator value
-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.
-instance_type (str
or None
) – instance type of the esx ami
region (str
or None
) – the region of the esx ami
id (str
or None
) – the ami id for the esx
name (str
or None
) – the name of the esx ami
com.vmware.vmc.model_client.
AvailableZoneInfo
(subnets=None, id=None)¶Bases: vmware.vapi.bindings.struct.VapiStruct
Tip
-The arguments are used to initialize data attributes with the same -names.
-subnets (list
of Subnet
or None
) –
id (str
or None
) – available zone id
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.
-instance_id (str
or None
) –
key_pair (AwsKeyPair
or None
) –
internal_ip (str
or None
) – The internal IP address of the agent which is provided by the
-underlying cloud provider
agent_url (str
or None
) – The accessible URL of the agent service, it is resolved to public
-IP address from the Internet and private IP address within SDDC
management_ip (str
or None
) – The internal management IP address of the agent exposed to the
-SDDC, which might be different from the internal IP
hostname_verifier_enabled (bool
or None
) – Boolean flag to indicate if the agent is using FQDN in the
-certificate
master (bool
or None
) – Boolean flag to indicate if the agent is the master, only the
-master Agent is accessible
network_netmask (str
or None
) – Network netmask of the agent
network_gateway (str
or None
) – Network gateway of the agent
provider (str
) – The cloud provider
cert_enabled (bool
or None
) – Boolean flag to indicate if the agent is using CA signed
-certificate
agent_state (str
or None
) –
Possible values are:
---Agent state
-
provider
¶Return the discriminator value
-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.
-regions (list
of str
or None
) –
provider (str
) – Name of the Cloud Provider
provider
¶Return the discriminator value
-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.
-customer_available_zones (list
of str
or None
) –
vpc_map ((dict
of str
and VpcInfoSubnets
) or None
) –
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.
-updated (datetime.datetime
) –
user_id (str
) – User id that last updated this record
updated_by_user_id (str
) – User id that last updated this record
created (datetime.datetime
) –
version (long
) – Version of this entity format: int32
updated_by_user_name (str
or None
) – User name that last updated this record
user_name (str
) – User name that last updated this record
id (str
) – Unique ID for this entity
policy_payer_arn (str
or None
) –
region_to_az_to_shadow_mapping ((dict
of str
and (dict
of str
and str
)) or None
) – Provides a map of regions to availability zones from the shadow
-account’s perspective
org_id (str
or None
) –
cf_stack_name (str
or None
) –
state (str
or None
) –
Possible values are:
- -account_number (str
or None
) –
policy_service_arn (str
or None
) –
policy_external_id (str
or None
) –
policy_payer_linked_arn (str
or None
) –
STATE_ACTIVE
= 'ACTIVE'¶STATE_BROKEN
= 'BROKEN'¶STATE_DELETED
= 'DELETED'¶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.
-internal_public_ip_pool (list
of SddcPublicIp
or None
) –
name (str
or None
) –
availability_zone (str
or None
) – Availability zone where the host is provisioned.
esx_id (str
or None
) –
hostname (str
or None
) –
provider (str
) –
instance_type (str
or None
) – Backing cloud provider instance type for host.
mac_address (str
or None
) –
custom_properties ((dict
of str
and str
) or None
) –
esx_state (str
or None
) –
Possible values are:
-provider
¶Return the discriminator value
-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.
-key_name (str
or None
) –
key_fingerprint (str
or None
) –
key_material (str
or None
) –
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.
-amazon_resource_name (str
) – The ARN associated with the customer master key for this cluster.
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.
-region (str
) –
msft_license_config (MsftLicensingConfig
or None
) – Indicates the desired licensing support, if any, of Microsoft
-software.
vpc_cidr (str
or None
) – AWS VPC IP range. Only prefix of 16 or 20 is currently supported.
host_instance_type (HostInstanceTypes
or None
) – The instance type for the esx hosts in the primary cluster of the
-SDDC.
skip_creating_vxlan (bool
or None
) – skip creating vxlan for compute gateway for SDDC provisioning
vxlan_subnet (str
or None
) – VXLAN IP subnet in CIDR for compute gateway
size (str
or None
) –
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
or None
) – 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: int64
name (str
) –
account_link_sddc_config (list
of AccountLinkSddcConfig
or None
) – A list of the SDDC linking configurations to use.
sddc_id (str
or None
) – If provided, will be assigned as SDDC id of the provisioned SDDC.
-format: UUID
num_hosts (long
) –
sddc_type (str
or None
) – Denotes the sddc type , if the value is null or empty, the type is
-considered as default.
account_link_config (AccountLinkConfig
or None
) – 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
or None
) – The SSO domain name to use for vSphere users. If not specified,
-vmc.local will be used.
sddc_template_id (str
or None
) – If provided, configuration from the template will applied to the
-provisioned SDDC. format: UUID
deployment_type (str
or None
) –
Possible values are:
- -Denotes if request is for a SingleAZ or a MultiAZ SDDC. Default is -SingleAZ.
-provider
¶Return the discriminator value
-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.
-updated (datetime.datetime
) –
user_id (str
) – User id that last updated this record
updated_by_user_id (str
) – User id that last updated this record
created (datetime.datetime
) –
version (long
) – Version of this entity format: int32
updated_by_user_name (str
or None
) – User name that last updated this record
user_name (str
) – User name that last updated this record
id (str
) – Unique ID for this entity
cidr_block_subnet (str
or None
) – The CIDR block of the customer’s subnet this link is in.
connected_account_id (str
or None
) – The corresponding connected (customer) account UUID this connection
-is attached to.
eni_group (str
or None
) – Which group the ENIs belongs to. (deprecated)
subnet_id (str
or None
) – The ID of the subnet this link is to.
cgw_present (bool
or None
) – Determines whether the CGW is present in this connection set or
-not. Used for multi-az deployments.
org_id (str
or None
) – The org this link belongs to.
sddc_id (str
or None
) – The SDDC this link is used for.
cidr_block_vpc (str
or None
) – The CIDR block of the customer’s VPC.
connection_order (long
or None
) – The order of the connection
state (str
or None
) –
Possible values are:
- ---The state of the connection.
-
subnet_availability_zone (str
or None
) – Which availability zone is this connection in?
vpc_id (str
or None
) – The VPC ID of the subnet this link is to.
customer_eni_infos (list
of CustomerEniInfo
or None
) – A list of all ENIs used for this connection.
default_route_table (str
or None
) – The default routing table in the customer’s VPC.
STATE_ACTIVE
= 'ACTIVE'¶STATE_BROKEN
= 'BROKEN'¶STATE_DELETED
= 'DELETED'¶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, mgw_id=None, nsx_mgr_url=None, nsx_cloud_audit_password=None, management_ds=None, nsx_api_public_endpoint_url=None, clusters=None, sddc_networks=None, nsx_mgr_management_ip=None, nsx_cloud_audit=None, esx_cluster_id=None, vc_public_ip=None, vc_url=None, esx_hosts=None, vc_management_ip=None, management_rp=None, witness_availability_zone=None, sddc_size=None, nsx_controller_ips=None, esx_host_subnet=None, sso_domain=None, deployment_type=None, msft_license_config=None, dns_with_management_vm_private_ip=None, nsxt=None, psc_management_ip=None, psc_url=None, cgws=None, availability_zones=None, custom_properties=None, cloud_password=None, provider='AWS', nsx_cloud_admin_password=None, cloud_username=None, vc_instance_id=None, cloud_user_group=None, skip_creating_vxlan=None, sddc_manifest=None, vxlan_subnet=None, region=None, sddc_id=None, pop_agent_xeni_connection=None, nsx_cloud_admin=None, nsxt_addons=None)¶Bases: vmware.vapi.bindings.struct.VapiStruct
Tip
-The arguments are used to initialize data attributes with the same -names.
-backup_restore_bucket (str
or None
) –
public_ip_pool (list
of SddcPublicIp
or None
) –
vpc_info (VpcInfo
or None
) –
kms_vpc_endpoint (KmsVpcEndpoint
or None
) –
max_num_public_ip (long
or None
) – maximum number of public IP that user can allocate.
account_link_sddc_config (list
of SddcLinkConfig
or None
) –
vsan_encryption_config (VsanEncryptionConfig
or None
) –
vpc_info_peered_agent (VpcInfo
or None
) –
mgmt_appliance_network_name (str
or None
) – Name for management appliance network.
mgw_id (str
or None
) – Management Gateway Id
nsx_mgr_url (str
or None
) – URL of the NSX Manager
nsx_cloud_audit_password (str
or None
) – NSX cloud audit Password
management_ds (str
or None
) – The ManagedObjectReference of the management Datastore
nsx_api_public_endpoint_url (str
or None
) – nsx api entire base url
clusters (list
of Cluster
or None
) – List of clusters in the SDDC.
sddc_networks (list
of str
or None
) –
nsx_mgr_management_ip (str
or None
) – NSX Manager internal management IP
nsx_cloud_audit (str
or None
) – NSX cloud audit user name
esx_cluster_id (str
or None
) – Cluster Id to add ESX workflow
vc_public_ip (str
or None
) – vCenter public IP
vc_url (str
or None
) – URL of the vCenter server
esx_hosts (list
of AwsEsxHost
or None
) –
vc_management_ip (str
or None
) – vCenter internal management IP
management_rp (str
or None
) –
witness_availability_zone (str
or None
) – Availability zone where the witness node is provisioned for a
-MultiAZ SDDC. This is null for a SingleAZ SDDC.
sddc_size (SddcSize
or None
) –
nsx_controller_ips (list
of str
or None
) – List of Controller IPs
esx_host_subnet (str
or None
) – ESX host subnet
sso_domain (str
or None
) – The SSO domain name to use for vSphere users
deployment_type (str
or None
) –
Possible values are:
- ---Denotes if this is a SingleAZ SDDC or a MultiAZ SDDC.
-
msft_license_config (MsftLicensingConfig
or None
) – The Microsoft license status of this SDDC.
dns_with_management_vm_private_ip (bool
or None
) – if true, use the private IP addresses to register DNS records for
-the management VMs
nsxt (bool
or None
) – if true, NSX-T UI is enabled.
psc_management_ip (str
or None
) – PSC internal management IP
psc_url (str
or None
) – URL of the PSC server
cgws (list
of str
or None
) –
availability_zones (list
of str
or None
) – 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.
custom_properties ((dict
of str
and str
) or None
) –
cloud_password (str
or None
) – Password for vCenter SDDC administrator
provider (str
) –
Possible values are:
- ---Discriminator for additional properties
-
nsx_cloud_admin_password (str
or None
) – NSX cloud admin password
cloud_username (str
or None
) – Username for vCenter SDDC administrator
vc_instance_id (str
or None
) – unique id of the vCenter server
cloud_user_group (str
or None
) – Group name for vCenter SDDC administrator
skip_creating_vxlan (bool
or None
) – skip creating vxlan for compute gateway for SDDC provisioning
sddc_manifest (SddcManifest
or None
) –
vxlan_subnet (str
or None
) – VXLAN IP subnet
region (str
or None
) – region in which sddc is deployed
sddc_id (str
or None
) – sddc identifier
pop_agent_xeni_connection (PopAgentXeniConnection
or None
) –
nsx_cloud_admin (str
or None
) – NSX cloud admin user name
nsxt_addons (NsxtAddons
or None
) –
provider
¶Return the discriminator value
-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.
-connected_account_id (str
or None
) – The connected account ID this subnet is accessible through. This is
-an internal ID formatted as a UUID specific to Skyscraper.
region_name (str
or None
) – 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
or None
) – The availability zone this subnet is in, which should be the region
-name plus one extra letter (ex. us-west-2a).
subnet_id (str
or None
) – The subnet ID in AWS, provided in the form ‘subnet-######’.
subnet_cidr_block (str
or None
) – The CIDR block of the subnet, in the form of ‘#.#.#.#/#’.
is_compatible (bool
or None
) – 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
or None
) – The VPC ID the subnet resides in within AWS. Tends to be
-‘vpc-#######’.
vpc_cidr_block (str
or None
) – The CIDR block of the VPC, in the form of ‘#.#.#.#/#’.
name (str
or None
) – Optional field (may not be provided by AWS), indicates the found
-name tag for the subnet.
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.
-provider (str
) – Name of the Cloud Provider
provider
¶Return the discriminator value
-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.
-esx_host_list (list
of AwsEsxHost
or None
) –
msft_license_config (MsftLicensingConfig
or None
) – The Microsoft license configuration of this cluster.
cluster_state (str
or None
) –
Possible values are:
- -aws_kms_info (AwsKmsInfo
or None
) – AWS Key Management Service information associated with this cluster
cluster_capacity (EntityCapacity
or None
) – The capacity of this cluster.
esx_host_info (EsxHostInfo
or None
) – Information of the hosts added to this cluster
host_cpu_cores_count (long
or None
) – Number of cores enabled on ESX hosts added to this cluster format:
-int32
cluster_id (str
) –
cluster_name (str
or None
) –
CLUSTER_STATE_ADDING_HOSTS
= 'ADDING_HOSTS'¶CLUSTER_STATE_DEPLOYING
= 'DEPLOYING'¶CLUSTER_STATE_FAILED
= 'FAILED'¶CLUSTER_STATE_READY
= 'READY'¶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.
-host_cpu_cores_count (long
or None
) – Customize CPU cores on hosts in a cluster. Specify number of cores
-to be enabled on hosts in a cluster. format: int32
host_instance_type (HostInstanceTypes
or None
) – The instance type for the esx hosts added to this cluster.
storage_capacity (long
or None
) – For EBS-backed instances only, the requested storage capacity in
-GiB. format: int64
msft_license_config (MsftLicensingConfig
or None
) – The desired Microsoft license status to apply to this cluster.
num_hosts (long
) –
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.
-storage_capacity (long
or None
) – The final desired storage capacity after reconfiguring the cluster
-in GiB. format: int64
bias (str
or None
) – Bias value as obtained from the storage constraints call.
num_hosts (long
) – Number of hosts in the cluster after reconfiguring. format: int32
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.
-public_ip (SddcPublicIp
or None
) –
primary_dns (str
or None
) –
secondary_dns (str
or None
) –
firewall_rules (list
of FirewallRule
or None
) –
vpns (list
of Vpn
or None
) –
logical_networks (list
of LogicalNetwork
or None
) –
nat_rules (list
of NatRule
or None
) –
l2_vpn (vmware.vapi.struct.VapiStruct
or None
) –
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.
-expiry_in_days (long
or None
) – Indicates after how many days the sddc should expire
availability ((dict
of str
and list
of InstanceTypeConfig
) or None
) – Map of region to instance types available in that region
sddc_sizes (list
of str
or None
) –
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.
-source (str
or None
) –
Possible values are:
---source appliance of connectivity test, i.e. VCENTER, SRM, VR.
-
type (str
or None
) –
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
of str
or None
) – TCP ports ONLY for CONNECTIVITY and CURL tests.
path (str
or None
) – 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'¶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.
-id (str
or None
) –
Possible values are:
- ---test group id, currently, only HLM.
-
name (str
or None
) – Name of the test group.
sub_groups (list
of ConnectivityValidationSubGroup
or None
) – List of sub groups.
ID_DRAAS
= 'DRAAS'¶ID_HLM
= 'HLM'¶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.
-groups (list
of ConnectivityValidationGroup
or None
) – List of groups.
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.
-id (str
or None
) –
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
or None
) – 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
or None
) – (Optional, for UI display only) input value label.
ID_HOSTNAME
= 'HOSTNAME'¶ID_HOSTNAME_OR_IP
= 'HOSTNAME_OR_IP'¶ID_HOST_IP
= 'HOST_IP'¶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.
-inputs (list
of ConnectivityValidationInput
or None
) – List of user inputs for the sub group.
tests (list
of ConnectivityAgentValidation
or None
) – List of connectivity tests.
label (str
or None
) – Name of the sub-group.
help (str
or None
) – Help text.
id (str
or None
) –
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'¶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.
-secondary_ip_addresses (list
of str
or None
) – Indicates list of secondary IP created for this ENI.
eni_id (str
or None
) – Interface ID on customer account.
primary_ip_address (str
or None
) – Indicates primary address of the ENI.
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.
-instance_type (str
or None
) – instance type for EBS-backed VSAN configuration
com.vmware.vmc.model_client.
EnablementInfo
(enabled=None, name=None)¶Bases: vmware.vapi.bindings.struct.VapiStruct
Tip
-The arguments are used to initialize data attributes with the same -names.
-enabled (bool
) –
name (str
) – Add-on name, for example “hcx”, “drass”, skynet”. If it is
-“default”, the value of enabled is for default settings of future
-add-ons.
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.
-subnet_id (str
or None
) – Subnet it belongs to.
id (str
or None
) – Interface ID.
security_group_id (str
or None
) – Security Group of Eni.
private_ip (str
or None
) – Private ip of eni.
mac_address (str
or None
) – Mac address of nic.
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.
-storage_capacity_gib (long
or None
) – The storage capacity for the given entity in GiB.
memory_capacity_gib (long
or None
) – The memory capacity for the given entity in GiB.
total_number_of_cores (long
or None
) – The number of CPU cores for the given entity.
number_of_ssds (long
or None
) – The number of SSDs for the given entity.
cpu_capacity_ghz (float
or None
) – The CPU capacity for the given entity in Ghz.
number_of_sockets (long
or None
) – The number of sockets for the given entity.
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.
-status (long
) – HTTP status code
path (str
) – Originating request URI
retryable (bool
) – If true, client should retry operation
error_code (str
) – unique error code
error_messages (list
of str
) – localized error messages
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.
-availability_zone (str
or None
) – Availability zone where the hosts should be provisioned. (Can be
-specified only for privileged host operations).
strict_placement (bool
or None
) – An option to indicate if the host needs to be strictly placed in a
-placement group. Fail the operation otherwise.
cluster_id (str
or None
) – An optional cluster id if the esxs operation has to be on a
-specific cluster.
esxs (list
of str
or None
) – An optional list of ESX IDs to remove. format: UUID
num_hosts (long
) –
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.
-name (str
or None
) –
availability_zone (str
or None
) – Availability zone where the host is provisioned.
esx_id (str
or None
) –
hostname (str
or None
) –
provider (str
) –
instance_type (str
or None
) – Backing cloud provider instance type for host.
mac_address (str
or None
) –
custom_properties ((dict
of str
and str
) or None
) –
esx_state (str
or None
) –
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'¶provider
¶Return the discriminator value
-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.
-instance_type (str
or None
) – Backing cloud provider instance type for cluster.
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.
-rule_type (str
or None
) –
Possible values are:
- -application_ids (list
of str
or None
) –
name (str
or None
) –
rule_interface (str
or None
) – Deprecated, left for backwards compatibility. Remove once UI stops
-using it.
destination (str
or None
) – Optional. Possible formats are IP, IP1-IPn, CIDR or comma separated
-list of those entries. If not specified, defaults to ‘any’.
id (str
or None
) –
destination_scope (FirewallRuleScope
or None
) –
source (str
or None
) – Optional. Possible formats are IP, IP1-IPn, CIDR or comma separated
-list of those entries. If not specified, defaults to ‘any’.
source_scope (FirewallRuleScope
or None
) –
services (list
of FirewallService
or None
) – list of protocols and ports for this firewall rule
action (str
or None
) –
Possible values are:
- -revision (long
or None
) – 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'¶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.
-grouping_object_ids (list
of str
or None
) –
vnic_group_ids (list
of str
or None
) –
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'¶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.
-protocol (str
or None
) – protocol name, such as ‘tcp’, ‘udp’ etc.
ports (list
of str
or None
) – a list of port numbers and port ranges, such as {80, 91-95, 99}. If
-not specified, defaults to ‘any’.
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.
-public_ip (SddcPublicIp
or None
) –
primary_dns (str
or None
) –
secondary_dns (str
or None
) –
firewall_rules (list
of FirewallRule
or None
) –
vpns (list
of Vpn
or None
) –
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.
-s3_bucket (str
or None
) – the glcmbundle’s s3 bucket
id (str
or None
) – the glcmbundle’s id
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.
-string (str
) – String value for the HostInstanceTypes
instance.
I3EN_METAL
= HostInstanceTypes(string='I3EN_METAL')¶I3_METAL
= HostInstanceTypes(string='I3_METAL')¶R5_METAL
= HostInstanceTypes(string='R5_METAL')¶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.
-instance_type (str
or None
) – Instance type name.
hosts (list
of long
or None
) – Array of number of hosts allowed for this operation. Range of hosts
-user can select for sddc provision
display_name (str
or None
) – Display name of instance_type.
entity_capacity (EntityCapacity
or None
) – The capacity of the given instance type.
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.
-vpc_endpoint_id (str
or None
) – The identifier of the VPC endpoint created to AWS Key Management
-Service
network_interface_ids (list
of str
or None
) –
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.
-enabled (bool
or None
) – Enable (true) or disable (false) L2 VPN.
sites (list
of Site
) – Array of L2 vpn site config.
listener_ip (str
or None
) – Public uplink ip address. IP of external interface on which L2VPN
-service listens to.
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.
-subnet_cidr (str
or None
) – the subnet cidr
name (str
or None
) – name of the network
gateway_ip (str
or None
) – gateway ip of the logical network
dhcp_enabled (str
or None
) – if ‘true’ - enabled; if ‘false’ - disabled
dhcp_ip_range (str
or None
) – ip range within the subnet mask, range delimiter is ‘-‘ (example
-10.118.10.130-10.118.10.140)
tunnel_id (long
or None
) – tunnel id of extended network format: int32
id (str
or None
) –
network_type (str
or None
) –
Possible values are:
- -NETWORK_TYPE_EXTENDED
= 'EXTENDED'¶NETWORK_TYPE_HOSTED
= 'HOSTED'¶NETWORK_TYPE_ROUTED
= 'ROUTED'¶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.
-day_of_week (str
or None
) –
Possible values are:
- -hour_of_day (long
or None
) –
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'¶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.
-in_maintenance_window (bool
or None
) – true if the SDDC is in the defined Mainentance Window
reservation_schedule (ReservationSchedule
or None
) –
reservation_id (str
or None
) – ID for reservation format: uuid
in_maintenance_mode (bool
or None
) – true if the SDDC is currently undergoing maintenance
sddc_id (str
or None
) – SDDC ID for this reservation format: uuid
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.
-day_of_week (str
or None
) –
Possible values are:
- -hour_of_day (long
or None
) –
duration_min (long
or None
) –
version (long
or None
) –
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'¶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.
-public_ip (SddcPublicIp
or None
) –
primary_dns (str
or None
) –
secondary_dns (str
or None
) –
firewall_rules (list
of FirewallRule
or None
) –
vpns (list
of Vpn
or None
) –
subnet_cidr (str
or None
) – mgw network subnet cidr
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.
-connected_account_id (str
or None
) – The connected account ID to remap. This is a standard UUID.
org_id (str
or None
) – The org ID to remap in. This is a standard UUID.
petronas_regions_to_map (list
of str
or None
) – A list of Petronas regions to map.
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.
-timestamp (str
or None
) – the timestamp for the bundle
cycle_id (str
or None
) – the cycle id
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.
-mssql_licensing (str
or None
) –
Possible values are:
---The status MSSQL licensing for this SDDC’s clusters.
-
windows_licensing (str
or None
) –
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'¶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.
-rule_type (str
or None
) –
protocol (str
or None
) –
name (str
or None
) –
internal_ports (str
or None
) –
public_ports (str
or None
) –
public_ip (str
or None
) –
internal_ip (str
or None
) –
action (str
or None
) –
Possible values are:
- -id (str
or None
) –
revision (long
or None
) – 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'¶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.
-management_gateway_templates (list
of ManagementGatewayTemplate
or None
) –
compute_gateway_templates (list
of ComputeGatewayTemplate
or None
) –
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.
-username (str
) – Username of the credentials
password (str
) – Password associated with the credentials
name (str
) – Name of the credentials
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.
-enable_nsx_advanced_addon (bool
or None
) – Indicates whether NSX Advanced addon is enabled or disabled.
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.
-on_demand (OnDemandOfferInstance
) –
offers (list
of TermOfferInstance
) –
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.
-string (str
) – String value for the OfferType
instance.
ON_DEMAND
= OfferType(string='ON_DEMAND')¶TERM
= OfferType(string='TERM')¶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.
-product (str
) –
product_type (str
or None
) – 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
) –
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.
-values ((dict
of str
and str
) or None
) – A map of string properties to values.
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.
-seller_account_id (str
or None
) – The accountid for this org for the seller-of-record. NILLABLE.
seller (str
or None
) – The seller-of-record for the current organization. For example AWS
-or VMWARE
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.
-updated (datetime.datetime
) –
user_id (str
) – User id that last updated this record
updated_by_user_id (str
) – User id that last updated this record
created (datetime.datetime
) –
version (long
) – Version of this entity format: int32
updated_by_user_name (str
or None
) – User name that last updated this record
user_name (str
) – User name that last updated this record
id (str
) – Unique ID for this entity
org_type (str
or None
) – ORG_TYPE to be associated with the org
display_name (str
or None
) –
name (str
or None
) –
org_seller_info (OrgSellerInfo
or None
) –
project_state (str
or None
) –
Possible values are:
- -properties (OrgProperties
or None
) –
PROJECT_STATE_CREATED
= 'CREATED'¶PROJECT_STATE_DELETED
= 'DELETED'¶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.
-type (str
or None
) –
default_flag (bool
or None
) –
payment_method_id (str
or None
) –
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.
-default_subnet_route (str
or None
) – The gateway route ip fo the subnet.
eni_info (EniInfo
or None
) –
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.
-instance_type (str
or None
) – instance type of the esx ami
region (str
or None
) – the region of the esx ami
id (str
or None
) – the ami id for the esx
name (str
or None
) – the name of the esx ami
type (str
or None
) –
Possible values are:
- ---PoP AMI type. CENTOS: a Centos AMI; POP: a PoP AMI.
-
TYPE_CENTOS
= 'CENTOS'¶TYPE_POP
= 'POP'¶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.
-ami_infos (dict
of str
and PopAmiInfo
) – A map of [region name of PoP / PoP-AMI]:[PopAmiInfo].
created_at (datetime.datetime
or None
) – The PopInfo (or PoP AMI) created time. Using ISO 8601 date-time
-pattern. format: date-time
service_infos ((dict
of str
and PopServiceInfo
) or None
) – A map of [service type]:[PopServiceInfo]
id (str
or None
) – UUID of the PopInfo format: UUID
manifest_version (str
or None
) – version of the manifest.
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.
-cln (str
or None
) – The service change set number.
version (str
or None
) – The service API version.
build (str
or None
) – The service build number.
service (str
or None
) –
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'¶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.
-provider ((dict
of str
and SddcConfigSpec
) or None
) – Map of provider to sddc config spec
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.
-aws_quota_request_id (str
or None
) – AWS quota increase request id
detail_status (str
or None
) –
Possible values are:
- -resolved_at (datetime.datetime
or None
) –
desired_value (long
or None
) – desired value for the quota increase request
aws_support_case_status (str
or None
) – AWS support case status
aws_support_case_id (str
or None
) – 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'¶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.
-duration (long
or None
) – Duration - required for reservation in maintenance window format:
-int64
rid (str
or None
) – Reservation ID format: uuid
create_time (str
or None
) – Optional
start_time (datetime.datetime
or None
) – Start time of a reservation format: date-time
metadata ((dict
of str
and str
) or None
) – Optional
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.
-rid (str
or None
) – Reservation ID format: uuid
week_of (str
or None
) – SUNDAY of the week that maintenance is scheduled, ISO format date
create_time (datetime.datetime
or None
) – Optional format: date-time
metadata ((dict
of str
and str
) or None
) – Optional
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.
-day_of_week (str
or None
) –
Possible values are:
- -hour_of_day (long
or None
) –
duration_min (long
or None
) –
version (long
or None
) –
reservations (list
of Reservation
or None
) –
reservations_mw (list
of ReservationInMw
or None
) –
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'¶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.
-reservation_state (str
or None
) –
Possible values are:
- -emergency (bool
or None
) –
maintenance_properties (ReservationWindowMaintenanceProperties
or None
) –
reserve_id (str
or None
) –
start_hour (long
or None
) –
sddc_id (str
or None
) –
manifest_id (str
or None
) –
duration_hours (long
or None
) –
start_date (str
or None
) –
metadata ((dict
of str
and str
) or None
) – Metadata for reservation window, in key-value form
RESERVATION_STATE_CANCELED
= 'CANCELED'¶RESERVATION_STATE_COMPLETED
= 'COMPLETED'¶RESERVATION_STATE_RUNNING
= 'RUNNING'¶RESERVATION_STATE_SCHEDULED
= 'SCHEDULED'¶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.
-status (str
or None
) – Status of upgrade, if any
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.
-name (str
or None
) – route table name
id (str
or None
) – route table id
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.
-updated (datetime.datetime
) –
user_id (str
) – User id that last updated this record
updated_by_user_id (str
) – User id that last updated this record
created (datetime.datetime
) –
version (long
) – Version of this entity format: int32
updated_by_user_name (str
or None
) – User name that last updated this record
user_name (str
) – User name that last updated this record
id (str
) – Unique ID for this entity
name (str
or None
) – name for SDDC
sddc_state (str
or None
) –
Possible values are:
- -expiration_date (datetime.datetime
or None
) – Expiration date of a sddc in UTC (will be set if its applicable)
-format: date-time
org_id (str
or None
) –
sddc_type (str
or None
) – Type of the sddc
provider (str
or None
) –
Possible values are:
- -account_link_state (str
or None
) –
Possible values are:
---Account linking state of the sddc
-
sddc_access_state (str
or None
) – Describes the access state of sddc, valid state is DISABLED or
-ENABLED
resource_config (AwsSddcResourceConfig
or None
) –
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'¶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.
-msft_license_config (MsftLicensingConfig
or None
) – Indicates the desired licensing support, if any, of Microsoft
-software.
vpc_cidr (str
or None
) – AWS VPC IP range. Only prefix of 16 or 20 is currently supported.
host_instance_type (HostInstanceTypes
or None
) – The instance type for the esx hosts in the primary cluster of the
-SDDC.
skip_creating_vxlan (bool
or None
) – skip creating vxlan for compute gateway for SDDC provisioning
vxlan_subnet (str
or None
) – VXLAN IP subnet in CIDR for compute gateway
size (str
or None
) –
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
or None
) – 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: int64
name (str
) –
account_link_sddc_config (list
of AccountLinkSddcConfig
or None
) – A list of the SDDC linking configurations to use.
sddc_id (str
or None
) – If provided, will be assigned as SDDC id of the provisioned SDDC.
-format: UUID
num_hosts (long
) –
sddc_type (str
or None
) – Denotes the sddc type , if the value is null or empty, the type is
-considered as default.
account_link_config (AccountLinkConfig
or None
) – 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
or None
) – The SSO domain name to use for vSphere users. If not specified,
-vmc.local will be used.
sddc_template_id (str
or None
) – If provided, configuration from the template will applied to the
-provisioned SDDC. format: UUID
deployment_type (str
or None
) –
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'¶provider
¶Return the discriminator value
-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.
-sddc_type_config_spec ((dict
of str
and ConfigSpec
) or None
) – Map of sddc type to config spec
region_display_names ((dict
of str
and str
) or None
) – The region name to display names mapping
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.
-sddc_id (str
or None
) – Sddc ID
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.
-customer_subnet_ids (list
of str
or None
) –
connected_account_id (str
or None
) – Determines which connected customer account to link to
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.
-vmc_version (str
or None
) – the vmcVersion of the sddc for display
glcm_bundle (GlcmBundle
or None
) –
pop_info (PopInfo
or None
) –
vmc_internal_version (str
or None
) – the vmcInternalVersion of the sddc for internal use
ebs_backed_vsan_config (EbsBackedVsanConfig
or None
) –
vsan_witness_ami (AmiInfo
or None
) –
esx_ami (AmiInfo
or None
) –
esx_nsxt_ami (AmiInfo
or None
) –
metadata (Metadata
or None
) –
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.
-name (str
or None
) – The new name of the SDDC to be changed to.
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.
-public_ip (str
) –
name (str
or None
) –
allocation_id (str
or None
) –
dnat_rule_id (str
or None
) –
associated_private_ip (str
or None
) –
snat_rule_id (str
or None
) –
com.vmware.vmc.model_client.
SddcResourceConfig
(mgmt_appliance_network_name=None, mgw_id=None, nsx_mgr_url=None, nsx_cloud_audit_password=None, management_ds=None, nsx_api_public_endpoint_url=None, clusters=None, sddc_networks=None, nsx_mgr_management_ip=None, nsx_cloud_audit=None, esx_cluster_id=None, vc_public_ip=None, vc_url=None, esx_hosts=None, vc_management_ip=None, management_rp=None, witness_availability_zone=None, sddc_size=None, nsx_controller_ips=None, esx_host_subnet=None, sso_domain=None, deployment_type=None, msft_license_config=None, dns_with_management_vm_private_ip=None, nsxt=None, psc_management_ip=None, psc_url=None, cgws=None, availability_zones=None, custom_properties=None, cloud_password=None, provider='SddcResourceConfig', nsx_cloud_admin_password=None, cloud_username=None, vc_instance_id=None, cloud_user_group=None, skip_creating_vxlan=None, sddc_manifest=None, vxlan_subnet=None, region=None, sddc_id=None, pop_agent_xeni_connection=None, nsx_cloud_admin=None, nsxt_addons=None)¶Bases: vmware.vapi.bindings.struct.VapiStruct
Tip
-The arguments are used to initialize data attributes with the same -names.
-mgmt_appliance_network_name (str
or None
) – Name for management appliance network.
mgw_id (str
or None
) – Management Gateway Id
nsx_mgr_url (str
or None
) – URL of the NSX Manager
nsx_cloud_audit_password (str
or None
) – NSX cloud audit Password
management_ds (str
or None
) – The ManagedObjectReference of the management Datastore
nsx_api_public_endpoint_url (str
or None
) – nsx api entire base url
clusters (list
of Cluster
or None
) – List of clusters in the SDDC.
sddc_networks (list
of str
or None
) –
nsx_mgr_management_ip (str
or None
) – NSX Manager internal management IP
nsx_cloud_audit (str
or None
) – NSX cloud audit user name
esx_cluster_id (str
or None
) – Cluster Id to add ESX workflow
vc_public_ip (str
or None
) – vCenter public IP
vc_url (str
or None
) – URL of the vCenter server
esx_hosts (list
of AwsEsxHost
or None
) –
vc_management_ip (str
or None
) – vCenter internal management IP
management_rp (str
or None
) –
witness_availability_zone (str
or None
) – Availability zone where the witness node is provisioned for a
-MultiAZ SDDC. This is null for a SingleAZ SDDC.
sddc_size (SddcSize
or None
) –
nsx_controller_ips (list
of str
or None
) – List of Controller IPs
esx_host_subnet (str
or None
) – ESX host subnet
sso_domain (str
or None
) – The SSO domain name to use for vSphere users
deployment_type (str
or None
) –
Possible values are:
- ---Denotes if this is a SingleAZ SDDC or a MultiAZ SDDC.
-
msft_license_config (MsftLicensingConfig
or None
) – The Microsoft license status of this SDDC.
dns_with_management_vm_private_ip (bool
or None
) – if true, use the private IP addresses to register DNS records for
-the management VMs
nsxt (bool
or None
) – if true, NSX-T UI is enabled.
psc_management_ip (str
or None
) – PSC internal management IP
psc_url (str
or None
) – URL of the PSC server
cgws (list
of str
or None
) –
availability_zones (list
of str
or None
) – 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.
custom_properties ((dict
of str
and str
) or None
) –
cloud_password (str
or None
) – Password for vCenter SDDC administrator
provider (str
) –
Possible values are:
- ---Discriminator for additional properties
-
nsx_cloud_admin_password (str
or None
) – NSX cloud admin password
cloud_username (str
or None
) – Username for vCenter SDDC administrator
vc_instance_id (str
or None
) – unique id of the vCenter server
cloud_user_group (str
or None
) – Group name for vCenter SDDC administrator
skip_creating_vxlan (bool
or None
) – skip creating vxlan for compute gateway for SDDC provisioning
sddc_manifest (SddcManifest
or None
) –
vxlan_subnet (str
or None
) – VXLAN IP subnet
region (str
or None
) – region in which sddc is deployed
sddc_id (str
or None
) – sddc identifier
pop_agent_xeni_connection (PopAgentXeniConnection
or None
) –
nsx_cloud_admin (str
or None
) – NSX cloud admin user name
nsxt_addons (NsxtAddons
or None
) –
DEPLOYMENT_TYPE_MULTI_AZ
= 'MULTI_AZ'¶DEPLOYMENT_TYPE_SINGLE_AZ
= 'SINGLE_AZ'¶PROVIDER_AWS
= 'AWS'¶PROVIDER_ZEROCLOUD
= 'ZEROCLOUD'¶provider
¶Return the discriminator value
-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.
-vc_size (str
or None
) –
Possible values are:
- -nsx_size (str
or None
) –
Possible values are:
- -size (str
or None
) –
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'¶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.
-sddcs (list
of str
or None
) –
states (list
of str
or None
) –
Possible values are:
- -STATES_CANCELED
= 'CANCELED'¶STATES_COMPLETED
= 'COMPLETED'¶STATES_RUNNING
= 'RUNNING'¶STATES_SCHEDULED
= 'SCHEDULED'¶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.
-updated (datetime.datetime
) –
user_id (str
) – User id that last updated this record
updated_by_user_id (str
) – User id that last updated this record
created (datetime.datetime
) –
version (long
) – Version of this entity format: int32
updated_by_user_name (str
or None
) – User name that last updated this record
user_name (str
) – User name that last updated this record
id (str
) – Unique ID for this entity
account_link_sddc_configs (list
of AccountLinkSddcConfig
or None
) – A list of the SDDC linking configurations to use.
state (str
or None
) –
Possible values are:
- -network_template (NetworkTemplate
or None
) –
name (str
or None
) – name for SDDC configuration template
source_sddc_id (str
or None
) –
org_id (str
or None
) –
sddc (Sddc
or None
) –
STATE_APPLIED
= 'APPLIED'¶STATE_AVAILABLE
= 'AVAILABLE'¶STATE_DELETED
= 'DELETED'¶STATE_DELETING
= 'DELETING'¶STATE_FAILED
= 'FAILED'¶STATE_INITIALIZATION
= 'INITIALIZATION'¶STATE_INUSE
= 'INUSE'¶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.
-default_message (str
or None
) – Error message in English.
original_service (str
or None
) – The original service name of the error.
localized_message (str
or None
) – The localized message.
original_service_error_code (str
or None
) – The original error code of the service.
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.
-updated (datetime.datetime
) –
user_id (str
) – User id that last updated this record
updated_by_user_id (str
) – User id that last updated this record
created (datetime.datetime
) –
version (long
) – Version of this entity format: int32
updated_by_user_name (str
or None
) – User name that last updated this record
user_name (str
) – User name that last updated this record
id (str
) – Unique ID for this entity
requester_email (str
or None
) –
task_id (str
or None
) – The task for running the service quota request.
region (str
or None
) – Region for the service quota
aws_account_number (str
or None
) –
org_id (str
or None
) – The org ID for this request. This is a standard UUID.
reason (str
or None
) – Reason for this quota increase
request_status (str
or None
) –
Possible values are:
- -request_details ((dict
of str
and RequestDetail
) or None
) – 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'¶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.
-password (str
or None
) – Site password.
user_id (str
or None
) – Site user id.
name (str
or None
) – Unique name for the site getting configured.
rx_bytes_on_local_subnet (long
or None
) – 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
or None
) – Enable/disable encription.
established_date (str
or None
) – 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
or None
) – 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
or None
) – 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
or None
) – 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
or None
) –
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
or None
) – 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'¶com.vmware.vmc.model_client.
StubFactory
(stub_config)¶Bases: vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
-stub_config (vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
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.
-subnet_id (str
or None
) – subnet id
name (str
or None
) – subnet name
route_tables (list
of SubnetRouteTableInfo
or None
) –
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.
-compatible (bool
or None
) – Is this customer subnet compatible with the SDDC?
connected_account_id (str
or None
) – The ID of the connected account this subnet is from.
region_name (str
or None
) – The region this subnet is from.
availability_zone (str
or None
) – The availability zone (customer-centric) this subnet is in.
subnet_id (str
or None
) – The ID of the subnet.
availability_zone_id (str
or None
) – The availability zone id (customer-centric) this subnet is in.
subnet_cidr_block (str
or None
) – The CIDR block of the subnet.
note (str
or None
) – Why a subnet is marked as not compatible. May be blank if
-compatible.
vpc_id (str
or None
) – The ID of the VPC this subnet resides in.
vpc_cidr_block (str
or None
) – The CIDR block of the VPC containing this subnet.
name (str
or None
) – The name of the subnet. This is either the tagged name or the
-default AWS id it was given.
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.
-subnet_id (str
or None
) – subnet id
association_id (str
or None
) – subnet - route table association id
routetable_id (str
or None
) – route table id
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.
-status (str
or None
) –
Possible values are:
-anniversary_billing_date (str
or None
) –
end_date (str
or None
) –
billing_frequency (str
or None
) – The frequency at which the customer is billed. Currently supported
-values are “Upfront” and “Monthly”
auto_renewed_allowed (str
or None
) –
commitment_term (str
or None
) –
csp_subscription_id (str
or None
) –
billing_subscription_id (str
or None
) –
offer_version (str
or None
) –
offer_type (OfferType
or None
) –
description (str
or None
) –
product_id (str
or None
) –
region (str
or None
) –
product_name (str
or None
) –
offer_name (str
or None
) –
commitment_term_uom (str
or None
) – unit of measurment for commitment term
start_date (str
or None
) –
quantity (str
or None
) –
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'¶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.
-product (str
or None
) – The name of the product
types (list
of str
or None
) – A list of different types/version for the product.
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.
-product (str
or None
) – 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 type
product_id (str
or None
) –
billing_frequency (str
or None
) – Frequency of the billing.
region (str
) –
commitment_term (str
) –
offer_context_id (str
or None
) –
offer_version (str
) –
offer_name (str
) –
quantity (long
) –
type (str
or None
) – The type of the product for which the subscription needs to be
-created.
price (long
or None
) –
product_charge_id (str
or None
) –
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.
-start_day (str
or None
) –
Possible values are:
- -seats (long
or None
) –
sddcs (list
of str
or None
) – SDDCs in this window format: UUID
duration_hours (long
or None
) –
start_hour (long
or None
) –
support_window_id (str
or None
) –
metadata (vmware.vapi.struct.VapiStruct
or None
) –
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'¶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.
-window_id (str
or None
) – Support Window ID
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.
-updated (datetime.datetime
) –
user_id (str
) – User id that last updated this record
updated_by_user_id (str
) – User id that last updated this record
created (datetime.datetime
) –
version (long
) – Version of this entity format: int32
updated_by_user_name (str
or None
) – User name that last updated this record
user_name (str
) – User name that last updated this record
id (str
) – Unique ID for this entity
status (str
or None
) –
Possible values are:
- -localized_error_message (str
or None
) –
resource_id (str
or None
) – UUID of the resource the task is acting upon
parent_task_id (str
or None
) – If this task was created by another task - this provides the
-linkage. Mostly for debugging.
task_version (str
or None
) –
correlation_id (str
or None
) – (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
or None
) – Entity version of the resource at the start of the task. This is
-only set for some task types. format: int32
sub_status (str
or None
) –
task_type (str
or None
) –
start_time (datetime.datetime
or None
) –
task_progress_phases (list
of TaskProgressPhase
or None
) – Task progress phases involved in current task execution
error_message (str
or None
) –
org_id (str
or None
) –
end_resource_entity_version (long
or None
) – Entity version of the resource at the end of the task. This is only
-set for some task types. format: int32
service_errors (list
of ServiceError
or None
) – Service errors returned from SDDC services.
org_type (str
or None
) –
estimated_remaining_minutes (long
or None
) – Estimated remaining time in minute of the task execution, < 0 means
-no estimation for the task. format: int32
params (vmware.vapi.struct.VapiStruct
or None
) –
progress_percent (long
or None
) – Estimated progress percentage the task executed format: int32
phase_in_progress (str
or None
) – The current in progress phase ID in the task execution, if none in
-progress, empty string returned.
resource_type (str
or None
) – Type of resource being acted upon
end_time (datetime.datetime
or None
) –
STATUS_CANCELED
= 'CANCELED'¶STATUS_CANCELING
= 'CANCELING'¶STATUS_FAILED
= 'FAILED'¶STATUS_FINISHED
= 'FINISHED'¶STATUS_STARTED
= 'STARTED'¶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.
-id (str
) – The identifier of the task progress phase
name (str
) – The display name of the task progress phase
progress_percent (long
) – The percentage of the phase that has completed format: int32
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.
-unit_price (str
or None
) –
billing_frequency (str
or None
) –
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.
-description (str
) –
product (str
) –
product_type (str
or None
) – 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
of TermBillingOptions
or None
) –
version (str
) –
offer_context_id (str
or None
) –
product_charge_id (str
or None
) –
type (str
) –
product_id (str
or None
) –
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.
-terms_id (str
or None
) – The terms of service ID requested.
signed (bool
or None
) – Wehther or not the terms requested have been signed.
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.
-username (str
) – Username of the credentials
password (str
) – Password associated with the credentials
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.
-locale (str
or None
) – The locale to be used for translating responses for the session
com.vmware.vmc.model_client.
VpcInfo
(esx_security_group_id=None, vpc_cidr=None, vgw_id=None, esx_public_security_group_id=None, vif_ids=None, vm_security_group_id=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, vcdr_enis=None, subnet_id=None, internet_gateway_id=None, security_group_id=None, association_id=None, vgw_route_table_id=None, traffic_group_edge_vm_ips=None, edge_association_id=None, provider=None, tgw_ips=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.
-esx_security_group_id (str
or None
) –
vpc_cidr (str
or None
) –
vgw_id (str
or None
) –
esx_public_security_group_id (str
or None
) –
vif_ids (list
of str
or None
) – set of virtual interfaces attached to the sddc
vm_security_group_id (str
or None
) –
route_table_id (str
or None
) – (deprecated)
edge_subnet_id (str
or None
) – Id of the NSX edge associated with this VPC (deprecated)
id (str
or None
) – vpc id
api_association_id (str
or None
) – Id of the association between subnet and route-table (deprecated)
api_subnet_id (str
or None
) – Id associated with this VPC (deprecated)
private_subnet_id (str
or None
) – (deprecated)
private_association_id (str
or None
) – (deprecated)
vcdr_enis (list
of EniInfo
or None
) – Set of VCDR (VMware Cloud Disaster Recovery) ENIs
subnet_id (str
or None
) – (deprecated)
internet_gateway_id (str
or None
) –
security_group_id (str
or None
) –
association_id (str
or None
) – (deprecated)
vgw_route_table_id (str
or None
) – Route table which contains the route to VGW (deprecated)
traffic_group_edge_vm_ips (list
of str
or None
) – List of edge vm Ips of traffic gourps added during scale-out
edge_association_id (str
or None
) – Id of the association between edge subnet and route-table
-(deprecated)
provider (str
or None
) –
tgw_ips ((dict
of str
and list
of str
) or None
) – Mapping from AZ to a list of IP addresses assigned to TGW ENI
-that’s connected with Vpc
peering_connection_id (str
or None
) – (deprecated)
network_type (str
or None
) –
available_zones (list
of AvailableZoneInfo
or None
) –
routetables ((dict
of str
and RouteTableInfo
) or None
) – map from routeTableName to routeTableInfo
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.
-vpc_id (str
or None
) – The ID of the VPC these subnets belong to.
cidr_block (str
or None
) – The overall CIDR block of the VPC. This is the AWS primary CIDR
-block.
description (str
or None
) – The description of the VPC; usually it’s name or id.
subnets (list
of SubnetInfo
or None
) –
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.
-version (str
or None
) –
on_prem_gateway_ip (str
or None
) –
on_prem_network_cidr (str
or None
) –
pfs_enabled (bool
or None
) –
id (str
or None
) –
channel_status (VpnChannelStatus
or None
) –
on_prem_nat_ip (str
or None
) –
name (str
or None
) –
internal_network_ids (list
of str
or None
) –
tunnel_statuses (list
of VpnTunnelStatus
or None
) –
encryption (str
or None
) –
Possible values are:
- -enabled (bool
or None
) –
state (str
or None
) –
Possible values are:
- -dh_group (str
or None
) –
Possible values are:
- -authentication (str
or None
) –
Possible values are:
- -pre_shared_key (str
or None
) –
ike_option (str
or None
) –
Possible values are:
- -digest_algorithm (str
or None
) –
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'¶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.
-channel_status (str
or None
) –
Possible values are:
- -channel_state (str
or None
) –
last_info_message (str
or None
) –
failure_message (str
or None
) –
CHANNEL_STATUS_CONNECTED
= 'CONNECTED'¶CHANNEL_STATUS_DISCONNECTED
= 'DISCONNECTED'¶CHANNEL_STATUS_UNKNOWN
= 'UNKNOWN'¶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.
-on_prem_subnet (str
or None
) –
traffic_stats (VpnTunnelTrafficStats
or None
) –
last_info_message (str
or None
) –
local_subnet (str
or None
) –
tunnel_state (str
or None
) –
failure_message (str
or None
) –
tunnel_status (str
or None
) –
Possible values are:
- -TUNNEL_STATUS_CONNECTED
= 'CONNECTED'¶TUNNEL_STATUS_DISCONNECTED
= 'DISCONNECTED'¶TUNNEL_STATUS_UNKNOWN
= 'UNKNOWN'¶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.
-packets_out (str
or None
) –
packet_received_errors (str
or None
) –
rx_bytes_on_local_subnet (str
or None
) –
replay_errors (str
or None
) –
sequence_number_over_flow_errors (str
or None
) –
encryption_failures (str
or None
) –
integrity_errors (str
or None
) –
packet_sent_errors (str
or None
) –
decryption_failures (str
or None
) –
packets_in (str
or None
) –
tx_bytes_from_local_subnet (str
or None
) –
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.
-cost (str
) –
quality (str
) –
size (long
) –
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.
-short_description (str
) –
full_description (str
) –
id (str
) –
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.
-reconfig_biases (list
of VsanClusterReconfigBias
) – Biases to reconfigure vSAN in an existing cluster.
available_capacities (dict
of str
and list
of VsanAvailableCapacity
) – 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
of str
and VsanAvailableCapacity
) – 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: int32
default_reconfig_bias_id (str
) – The id of default VsanClusterReconfigBias for this constraints.
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.
-max_capacity (long
) – Maximum capacity supported for cluster (GiB). format: int64
recommended_capacities (list
of long
) – List of supported capacities which may offer preferable performance
-(GiB). format: int64
supported_capacity_increment (long
or None
) – Increment to be added to min_capacity to result in a supported
-capacity (GiB). format: int64
min_capacity (long
) – Minimum capacity supported for cluster (GiB). format: int64
num_hosts (long
) – Number of hosts in cluster. format: int64
com.vmware.vmc.model_client.
VsanDiskgroupMapping
(mapping_type=None)¶Bases: vmware.vapi.bindings.struct.VapiStruct
Polymorphic object representing host storage spec.
-Tip
-The arguments are used to initialize data attributes with the same -names.
-mapping_type (str
) –
Possible values are:
- - -MAPPING_TYPE_CANONICAL
= 'CANONICAL'¶MAPPING_TYPE_SERIAL
= 'SERIAL'¶MAPPING_TYPE_SYMMETRIC
= 'SYMMETRIC'¶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.
-port (long
or None
) – Port to connect to AWS Key Management Service
certificate (str
or None
) – Public certificate used to connect to AWS Key Management Service
com.vmware.vmc.orgs_client.
AccountLink
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
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.
-org (str
) – Organization identifier (required)
com.vmware.vapi.std.errors_client.Error
-Generic Error
com.vmware.vmc.orgs_client.
PaymentMethods
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
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
-org (str
) – Organization identifier (required)
default_flag (bool
or None
) – When true, will only return default payment methods. (optional,
-default to false)
com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vapi.std.errors_client.NotFound
-Organization doesn’t exist
com.vmware.vmc.orgs_client.
Providers
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
list
(org)¶org (str
) – Organization identifier (required)
com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vapi.std.errors_client.NotFound
-Organization doesn’t exist
com.vmware.vmc.orgs_client.
Reservations
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
list
(org)¶Get all reservations for this org
-org (str
) – Organization identifier (required)
com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Access not allowed to the operation for the current user
com.vmware.vmc.orgs_client.
SddcTemplates
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
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.
-org (str
) – Organization identifier (required)
template_id (str
) – SDDC Template identifier (required)
com.vmware.vmc.model.Task
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
get
(org, template_id)¶Get configuration template by given template id.
-org (str
) – Organization identifier (required)
template_id (str
) – SDDC Template identifier (required)
com.vmware.vmc.model.SddcTemplate
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
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
-org (str
) – Organization identifier (required)
com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vmc.orgs_client.
Sddcs
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
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
-org (str
) – Organization identifier (required)
sddc_config (com.vmware.vmc.model_client.AwsSddcConfig
) – sddcConfig (required)
validate_only (bool
or None
) – When true, only validates the given sddc configuration without
-provisioning. (optional)
com.vmware.vmc.model.Task
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
delete
(org, sddc, retain_configuration=None, template_name=None, force=None)¶Delete SDDC
-org (str
) – Organization identifier (required)
sddc (str
) – Sddc identifier (required)
retain_configuration (bool
or None
) – 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
or None
) – 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
or None
) – 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)
com.vmware.vmc.model.Task
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-The sddc is not in a state that’s valid for deletion
com.vmware.vapi.std.errors_client.Unauthorized
-Access not allowed to the operation for the current user
com.vmware.vapi.std.errors_client.NotFound
-Cannot find the SDDC with given identifier
get
(org, sddc)¶Get SDDC
-org (str
) – Organization identifier (required)
sddc (str
) – Sddc identifier (required)
com.vmware.vmc.model.Sddc
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
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
-org (str
) – Organization identifier (required)
include_deleted (bool
or None
) – When true, forces the result to also include deleted SDDCs.
-(optional)
com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
patch
(org, sddc, sddc_patch_request)¶Patch SDDC
-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)
com.vmware.vmc.model.Sddc
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-SDDC cannot be patched
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vapi.std.errors_client.NotFound
-Cannot find the SDDC with given identifier
com.vmware.vmc.orgs_client.
StubFactory
(stub_config)¶Bases: vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
-stub_config (vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.vmc.orgs_client.
Subscriptions
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
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 method Subscriptions.get_0()
.
GET_0_OFFER_TYPE_TERM
= 'TERM'¶Possible value for offerType
of method Subscriptions.get_0()
.
create
(org, subscription_request)¶Initiates the creation of a subscription
-org (str
) – Organization identifier (required)
subscription_request (com.vmware.vmc.model_client.SubscriptionRequest
) – subscriptionRequest (required)
com.vmware.vmc.model.Task
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
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
-org (str
) – Organization identifier (required)
subscription (str
) – SubscriptionId for an sddc. (required)
com.vmware.vmc.model.SubscriptionDetails
-com.vmware.vapi.std.errors_client.InternalServerError
-Server error. Check retryable flag to see if request should be
-retried.
com.vmware.vapi.std.errors_client.NotFound
-Not Found
get_0
(org, offer_type=None)¶Returns all subscriptions for a given org id
-org (str
) – Organization identifier (required)
offer_type (str
or None
) – Offer Type * \`ON_DEMAND\` - on-demand subscription *
-\`TERM\` - term subscription * All subscriptions if not
-specified (optional)
com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InternalServerError
-Server error. Check retryable flag to see if request should be
-retried.
com.vmware.vapi.std.errors_client.NotFound
-Not Found
com.vmware.vmc.orgs_client.
Tasks
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
get
(org, task)¶Retrieve details of a task.
-org (str
) – Organization identifier (required)
task (str
) – Task identifier (required)
com.vmware.vmc.model.Task
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vapi.std.errors_client.NotFound
-Cannot find the task with given identifier
list
(org, filter=None)¶List all tasks with optional filtering.
-org (str
) – Organization identifier (required)
filter (str
or None
) – 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)
com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
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.
-org (str
) – Organization identifier (required)
task (str
) – Task identifier (required)
action (str
or None
) – If = ‘cancel’, task will be canceled (optional)
com.vmware.vmc.model.Task
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-Invalid action or bad argument
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vapi.std.errors_client.NotFound
-Cannot find the task with given identifier
com.vmware.vmc.orgs_client.
Tos
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
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.
-org (str
) – Organization identifier (required)
terms_id (str
) – The terms of service reference ID to check on. (required)
com.vmware.vmc.model.TermsOfServiceResult
-com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vmc.orgs.aws.resources.servicequotas_client.
Requests
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
get
(org, service_quota_request_id)¶Get Service Quota Request by its Id
-org (str
) – Organization identifier (required)
service_quota_request_id (str
) – The UUID of the service quota request (required)
com.vmware.vmc.model.ServiceQuotaRequest
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
list
(org)¶List all service quota requests of an org
-org (str
) – Organization identifier (required)
com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vmc.orgs.aws.resources.servicequotas_client.
StubFactory
(stub_config)¶Bases: vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
-stub_config (vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.vmc.orgs.account_link_client.
CompatibleSubnets
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
get
(org, linked_account_id, region=None, sddc=None, force_refresh=None, instance_type=None, sddc_type=None, num_of_hosts=None)¶Gets a customer’s compatible subnets for account linking
-org (str
) – Organization identifier (required)
linked_account_id (str
) – The linked connected account identifier (required)
region (str
or None
) – The region of the cloud resources to work in (optional)
sddc (str
or None
) – sddc (optional)
force_refresh (bool
or None
) – When true, forces the mappings for datacenters to be refreshed for
-the connected account. (optional)
instance_type (str
or None
) – The server instance type to be used. (optional)
sddc_type (str
or None
) – The sddc type to be used. (1NODE, SingleAZ, MultiAZ) (optional)
num_of_hosts (long
or None
) – The number of hosts (optional)
com.vmware.vmc.model.AwsCompatibleSubnets
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
post
(org)¶Sets which subnet to use to link accounts and finishes the linking -process
-org (str
) – Organization identifier (required)
com.vmware.vmc.model.AwsSubnet
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vmc.orgs.account_link_client.
CompatibleSubnetsAsync
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
get
(org, linked_account_id, region=None, sddc=None, instance_type=None, sddc_type=None, num_of_hosts=None)¶Gets a customer’s compatible subnets for account linking via a task. -The information is returned as a member of the task (found in -task.params[‘subnet_list_result’] when you are notified it is -complete), and it’s documented under ref -/definitions/AwsCompatibleSubnets
-org (str
) – Organization identifier (required)
linked_account_id (str
) – The linked connected account identifier (required)
region (str
or None
) – The region of the cloud resources to work in (optional)
sddc (str
or None
) – sddc (optional)
instance_type (str
or None
) – The server instance type to be used. (optional)
sddc_type (str
or None
) – The sddc type to be used. (1NODE, SingleAZ, MultiAZ) (optional)
num_of_hosts (long
or None
) – The number of hosts (optional)
com.vmware.vmc.model.Task
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
post
(aws_subnet, org)¶Sets which subnet to use to link accounts and finishes the linking -process via a task
-aws_subnet (com.vmware.vmc.model_client.AwsSubnet
) – The subnet chosen by the customer (required)
org (str
) – Organization identifier (required)
com.vmware.vmc.model.Task
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vmc.orgs.account_link_client.
ConnectedAccounts
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
delete
(org, linked_account_path_id, force_even_when_sddc_present=None)¶Delete a particular connected (linked) account.
-org (str
) – Organization identifier (required)
linked_account_path_id (str
) – The linked connected account identifier (required)
force_even_when_sddc_present (bool
or None
) – When true, forcibly removes a connected account even when SDDC’s
-are still linked to it. (optional)
com.vmware.vmc.model.AwsCustomerConnectedAccount
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-An invalid connected account ID was specified, or the connection
-still has SDDCs active on it.
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
get
(org, provider=None)¶Get a list of connected accounts
-org (str
) – Organization identifier (required)
provider (str
or None
) – The cloud provider of the SDDC (AWS or ZeroCloud). Default value is
-AWS. (optional)
list
of com.vmware.vmc.model_client.AwsCustomerConnectedAccount
com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vmc.orgs.account_link_client.
MapCustomerZones
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
post
(org, map_zones_request)¶Creates a task to re-map customer’s datacenters across zones.
-org (str
) – Organization identifier (required)
map_zones_request (com.vmware.vmc.model_client.MapZonesRequest
) – The zones request information about who to map and what to map.
-(required)
com.vmware.vmc.model.Task
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vmc.orgs.account_link_client.
SddcConnections
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
get
(org, sddc=None)¶Get a list of SDDC connections currently setup for the customer’s -organization.
-org (str
) – Organization identifier (required)
sddc (str
or None
) – sddc (optional)
com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vmc.orgs.account_link_client.
StubFactory
(stub_config)¶Bases: vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
-stub_config (vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.vmc.orgs.reservations_client.
Mw
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
get
(org, reservation)¶get the maintenance window for this SDDC
-org (str
) – Organization identifier (required)
reservation (str
) – Reservation Identifier (required)
com.vmware.vmc.model.MaintenanceWindowGet
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Access not allowed to the operation for the current user
put
(org, reservation, window)¶update the maintenance window for this SDDC
-org (str
) – Organization identifier (required)
reservation (str
) – Reservation Identifier (required)
window (com.vmware.vmc.model_client.MaintenanceWindow
) – Maintenance Window (required)
com.vmware.vmc.model.MaintenanceWindow
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.ConcurrentChange
-Conflict with exiting reservation
com.vmware.vapi.std.errors_client.InvalidRequest
-The reservation is not in a state that’s valid for updates
com.vmware.vapi.std.errors_client.Unauthorized
-Access not allowed to the operation for the current user
com.vmware.vmc.orgs.reservations_client.
StubFactory
(stub_config)¶Bases: vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
-stub_config (vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.vmc.orgs.sddcs_client.
Clusters
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
create
(org, sddc, cluster_config)¶Creates a new cluster in customers sddcs with passed clusterConfig.
-org (str
) – Organization identifier (required)
sddc (str
) – Sddc identifier (required)
cluster_config (com.vmware.vmc.model_client.ClusterConfig
) – clusterConfig (required)
com.vmware.vmc.model.Task
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-The sddc is not in a state that’s valid for updates
com.vmware.vapi.std.errors_client.Unauthorized
-Access not allowed to the operation for the current user
com.vmware.vapi.std.errors_client.NotFound
-Cannot find the cluster with the given identifier
delete
(org, sddc, cluster)¶This is a force operation which will delete the cluster even if there -can be a data loss. Before calling this operation, all the VMs should -be powered off.
-org (str
) – Organization identifier (required)
sddc (str
) – Sddc identifier (required)
cluster (str
) – cluster identifier (required)
com.vmware.vmc.model.Task
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-The sddc is not in a state that’s valid for updates
com.vmware.vapi.std.errors_client.Unauthorized
-Access not allowed to the operation for the current user
com.vmware.vapi.std.errors_client.NotFound
-Cannot find the cluster with the given id
com.vmware.vmc.orgs.sddcs_client.
Convert
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
create
(org, sddc)¶This API converts a one host SDDC to a four node DEFAULT SDDC. It takes -care of configuring and upgrading the vCenter configurations on the -SDDC for high availability and data redundancy.
-org (str
) – Organization identifier (required)
sddc (str
) – Sddc identifier (required)
com.vmware.vmc.model.Task
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-The sddc is not in a state that’s valid for updates, Method not
-allowed
com.vmware.vapi.std.errors_client.Unauthorized
-Access not allowed to the operation for the current user
com.vmware.vapi.std.errors_client.NotFound
-Cannot find the SDDC with given identifier
com.vmware.vmc.orgs.sddcs_client.
Enablements
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
ENABLE_DISABLE_ADDON_ACTION_DISABLE
= 'disable'¶Possible value for action
of method
-Enablements.enable_disable_addon()
.
ENABLE_DISABLE_ADDON_ACTION_ENABLE
= 'enable'¶Possible value for action
of method
-Enablements.enable_disable_addon()
.
enable_disable_addon
(org, sddc, enablement, action)¶Enable/disable the add-on or set the the default enablement status for -future add-ons in the SDDC.
-org (str
) – Organization identifier (required)
sddc (str
) – Sddc identifier (required)
enablement (str
) – Add-on name, for example “hcx, “draas”, “skynet”. If it is
-“default”, the operation is for default settings of future
-add-ons. (required)
action (str
) – Enable or disable the add-on or change default settings for future
-add-ons in the SDDC. (required)
com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-Bad Request / Validation error.
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vapi.std.errors_client.NotFound
-Add-on not found
list
(org, sddc)¶Return a list of enablement status for current add-ons and the default -settings for future add-ons in the SDDC.
-org (str
) – Organization identifier (required)
sddc (str
) – Sddc identifier (required)
com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-Bad Request / Validation error.
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vmc.orgs.sddcs_client.
Esxs
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
create
(org, sddc, esx_config, action=None)¶Add/Remove one or more ESX hosts in the target cloud
-org (str
) – Organization identifier (required)
sddc (str
) – Sddc identifier (required)
esx_config (com.vmware.vmc.model_client.EsxConfig
) – esxConfig (required)
action (str
or None
) – If = ‘add’, will add the esx. If = ‘remove’, will delete the
-esx/esxs bound to a single cluster (Cluster Id is mandatory for non
-cluster 1 esx remove). If = ‘force-remove’, will delete the esx
-even if it can lead to data loss (This is an privileged operation).
-If = ‘addToAll’, will add esxs to all clusters in the SDDC (This is
-an privileged operation). If = ‘removeFromAll’, will delete the
-esxs from all clusters in the SDDC (This is an privileged
-operation). If = ‘attach-diskgroup’, will attach the provided
-diskgroups to a given host (privileged). If = ‘detach-diskgroup’,
-will detach the diskgroups of a given host (privileged). Default
-behaviour is ‘add’ (optional)
com.vmware.vmc.model.Task
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-The sddc is not in a state that’s valid for updates
com.vmware.vapi.std.errors_client.Unauthorized
-Access not allowed to the operation for the current user
com.vmware.vapi.std.errors_client.NotFound
-Cannot find the SDDC with the given identifier
com.vmware.vmc.orgs.sddcs_client.
Primarycluster
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
get
(org, sddc)¶Retrieves the primary cluster in provided customer sddc UUID
-org (str
) – Organization identifier (required)
sddc (str
) – Sddc identifier (required)
com.vmware.vmc.model.Cluster
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-The sddc is not in a state that’s valid for fetching the primary
-cluster.
com.vmware.vapi.std.errors_client.Unauthorized
-Access not allowed to the operation for the current user
com.vmware.vapi.std.errors_client.NotFound
-Cannot find the sddc with the given identifier to fetch the primary
-cluster
com.vmware.vmc.orgs.sddcs_client.
ProvisionSpec
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
get
(org)¶Get sddc provision spec for an org
-org (str
) – Organization identifier (required)
com.vmware.vmc.model.ProvisionSpec
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-BadRequest
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vapi.std.errors_client.InternalServerError
-Internal server error.
com.vmware.vmc.orgs.sddcs_client.
SddcTemplate
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
get
(org, sddc)¶Get configuration template for an SDDC
-org (str
) – Organization identifier (required)
sddc (str
) – Sddc identifier (required)
com.vmware.vmc.model.SddcTemplate
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-SDDC is in a state that cannot be use for generating configuration
-template
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vapi.std.errors_client.NotFound
-Cannot find the SDDC with given identifier
com.vmware.vmc.orgs.sddcs_client.
StubFactory
(stub_config)¶Bases: vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
-stub_config (vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.vmc.orgs.storage_client.
ClusterConstraints
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
get
(org, provider, num_hosts)¶Get constraints on cluster storage size for EBS-backed clusters.
-org (str
) – Organization identifier (required)
provider (str
) – Cloud storage provider ID (example AWS) (required)
num_hosts (long
) – Number of hosts in cluster (required)
com.vmware.vmc.model.VsanConfigConstraints
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-Invalid or missing parameters
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vmc.orgs.storage_client.
StubFactory
(stub_config)¶Bases: vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
-stub_config (vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.vmc.orgs.subscriptions_client.
OfferInstances
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
list
(org, region, product_type, product=None, type=None)¶List all offers available for the specific product type in the specific -region
-org (str
) – Organization identifier (required)
region (str
) – Region for the offer (required)
product_type (str
) – Type of the product in offers. *This has been deprecated*. Please
-use product & type parameters (required)
product (str
or None
) – The product that you are trying to purchase, eg. host. This needs
-to be accompanied by the type parameter (optional)
type (str
or None
) – The type/flavor of the product you are trying it purchase,eg. an
-\`r5.metal\` host. This needs to be accompanied by the
-product parameter. (optional)
com.vmware.vmc.model.OfferInstancesHolder
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-Bad Request. Type of the product not supported.
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vmc.orgs.subscriptions_client.
Products
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
list
(org)¶List of all the products that are available for purchase.
-org (str
) – Organization identifier (required)
com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vapi.std.errors_client.InternalServerError
-Internal server error
com.vmware.vmc.orgs.subscriptions_client.
StubFactory
(stub_config)¶Bases: vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
-stub_config (vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.vmc.orgs.tbrs_client.
Reservation
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
post
(org, sddc_state=None)¶Retreive all reservations for all SDDCs in this org
-org (str
) – Organization identifier (required)
sddc_state (com.vmware.vmc.model_client.SddcStateRequest
or None
) – SDDCs and/or states to query (optional)
dict
of str
and list
of com.vmware.vmc.model_client.ReservationWindow
com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-Bad Call
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vmc.orgs.tbrs_client.
StubFactory
(stub_config)¶Bases: vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
-stub_config (vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.vmc.orgs.tbrs_client.
SupportWindow
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
get
(org, minimum_seats_available=None, created_by=None)¶Get all available support windows
-org (str
) – Organization identifier (required)
minimum_seats_available (long
or None
) – minimum seats available (used as a filter) (optional)
created_by (str
or None
) – user name which was used to create the support window (used as a
-filter) (optional)
com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-Invalid request
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vapi.std.errors_client.NotFound
-No support windows are available
put
(org, id, sddc_id)¶Move Sddc to new support window
-org (str
) – Organization identifier (required)
id (str
) – Target Support Window ID (required)
sddc_id (com.vmware.vmc.model_client.SddcId
) – SDDC to move (required)
com.vmware.vmc.model.SupportWindowId
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-Invalid request
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vapi.std.errors_client.NotFound
-Feature does not exist
com.vmware.vmc.orgs.sddcs.clusters.config_client.
Constraints
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
get
(org, sddc, cluster, expected_num_hosts=None)¶This API provides the storage choices available when reconfiguring -storage in a cluster. The constraints returned will give vSAN -reconfiguration biases and available vSAN capacities per -reconfiguration bias. The constraints also indicate the default vSAN -capacity per reconfiguration biases as well as the default -reconfiguration bias.
-org (str
) – Organization identifier (required)
sddc (str
) – Sddc identifier (required)
cluster (str
) – cluster identifier (required)
expected_num_hosts (long
or None
) – The expected number of hosts in the cluster. If not specified,
-returned is based on current number of hosts in the cluster.
-(optional)
com.vmware.vmc.model.VsanClusterReconfigConstraints
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-Invalid or missing parameters
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vmc.orgs.sddcs.clusters.config_client.
StubFactory
(stub_config)¶Bases: vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
-stub_config (vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.vmc.orgs.sddcs.clusters.esxs_client.
StorageSpec
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
get_storage_specs
(org, sddc, cluster, esx)¶Get storage specs for a host.
-org (str
) – Organization identifier (required)
sddc (str
) – Sddc identifier (required)
cluster (str
) – cluster identifier (required)
esx (str
) – esx identifier (required)
com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-Invalid or missing parameters
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vmc.orgs.sddcs.clusters.esxs_client.
StubFactory
(stub_config)¶Bases: vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
-stub_config (vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.vmc.orgs.sddcs.clusters.msft_licensing_client.
Publish
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
post
(org, sddc, cluster, config_change)¶Sets the current Microsoft license status of the given SDDC’s cluster.
-org (str
) – Organization identifier (required)
sddc (str
) – Sddc identifier (required)
cluster (str
) – cluster identifier (required)
config_change (com.vmware.vmc.model_client.MsftLicensingConfig
) – The license data to set for the clusters. (required)
com.vmware.vmc.model.Task
-com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vmc.orgs.sddcs.clusters.msft_licensing_client.
StubFactory
(stub_config)¶Bases: vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
-stub_config (vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.vmc.orgs.sddcs.addons_client.
Credentials
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
CREATE_ADDON_TYPE_HCX
= 'HCX'¶Possible value for addonType
of method Credentials.create()
.
GET_ADDON_TYPE_HCX
= 'HCX'¶Possible value for addonType
of method Credentials.get()
.
LIST_ADDON_TYPE_HCX
= 'HCX'¶Possible value for addonType
of method Credentials.list()
.
UPDATE_ADDON_TYPE_HCX
= 'HCX'¶Possible value for addonType
of method Credentials.update()
.
create
(org, sddc_id, addon_type, credentials)¶Associated a new add on credentials with the SDDC such as HCX
-org (str
) – Org id of the associated SDDC (required)
sddc_id (str
) – Id of the SDDC (required)
addon_type (str
) – Add on type (required)
credentials (com.vmware.vmc.model_client.NewCredentials
) – Credentials creation payload (required)
com.vmware.vmc.model.NewCredentials
-com.vmware.vapi.std.errors_client.ConcurrentChange
-Credentials with same name exists with in the scope of addOnType
com.vmware.vapi.std.errors_client.InvalidRequest
-Invalid input
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
get
(org, sddc_id, addon_type, name)¶Get credential details by name
-org (str
) – Org id of the associated SDDC (required)
sddc_id (str
) – Id of the SDDC (required)
addon_type (str
) – Add on type (required)
name (str
) – name of the credentials (required)
com.vmware.vmc.model.NewCredentials
-com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
list
(org, sddc_id, addon_type)¶List all the credentials assoicated with an addon type with in a SDDC
-org (str
) – Org id of the associated SDDC (required)
sddc_id (str
) – Id of the SDDC (required)
addon_type (str
) – Add on type (required)
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
update
(org, sddc_id, addon_type, name, credentials)¶Update credential details
-org (str
) – Org id of the associated SDDC (required)
sddc_id (str
) – Id of the SDDC (required)
addon_type (str
) – Add on type (required)
name (str
) – name of the credentials (required)
credentials (com.vmware.vmc.model_client.UpdateCredentials
) – Credentials update payload (required)
com.vmware.vmc.model.NewCredentials
-com.vmware.vapi.std.errors_client.InvalidRequest
-Bad request
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vmc.orgs.sddcs.addons_client.
StubFactory
(stub_config)¶Bases: vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
-stub_config (vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.vmc.orgs.sddcs.clusters_client.
Reconfigure
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
cluster_reconfig
(org, sddc, cluster, cluster_reconfigure_params)¶This reconfiguration will handle changing both the number of hosts and -the cluster storage capacity.
-org (str
) – Organization identifier (required)
sddc (str
) – Sddc identifier (required)
cluster (str
) – cluster identifier (required)
cluster_reconfigure_params (com.vmware.vmc.model_client.ClusterReconfigureParams
) – clusterReconfigureParams (required)
com.vmware.vmc.model.Task
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-Bad Request. The SDDC is not in a valid state. , Method not allowed
com.vmware.vapi.std.errors_client.Unauthorized
-Access not allowed to the operation for the current user
com.vmware.vapi.std.errors_client.NotFound
-Cannot find the cluster with the given id
com.vmware.vmc.orgs.sddcs.clusters_client.
StubFactory
(stub_config)¶Bases: vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
-stub_config (vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.vmc.orgs.sddcs.dns_client.
Private
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
update
(org, sddc)¶Update the DNS records of management VMs to use private IP addresses
-org (str
) – Organization identifier (required)
sddc (str
) – Sddc identifier (required)
com.vmware.vmc.model.Task
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-The sddc is not in a state that’s valid for updates or invalid body
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vmc.orgs.sddcs.dns_client.
Public
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
update
(org, sddc)¶Update the DNS records of management VMs to use public IP addresses
-org (str
) – Organization identifier (required)
sddc (str
) – Sddc identifier (required)
com.vmware.vmc.model.Task
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-The sddc is not in a state that’s valid for updates or invalid body
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vmc.orgs.sddcs.dns_client.
StubFactory
(stub_config)¶Bases: vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
-stub_config (vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.vmc.orgs.sddcs.management_vms_client.
Dns
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
UPDATE_IP_TYPE_PRIVATE
= 'private'¶Possible value for ipType
of method Dns.update()
.
UPDATE_IP_TYPE_PUBLIC
= 'public'¶Possible value for ipType
of method Dns.update()
.
update
(org, sddc, management_vm_id, ip_type)¶Update the DNS records of management VMs to use public or private IP -addresses
-org (str
) – Organization identifier (required)
sddc (str
) – Sddc identifier (required)
management_vm_id (str
) – the management VM ID (required)
ip_type (str
) – the ip type to associate with FQDN in DNS (required)
com.vmware.vmc.model.Task
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-The sddc is not in a state that’s valid for updates or invalid body
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vmc.orgs.sddcs.management_vms_client.
StubFactory
(stub_config)¶Bases: vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
-stub_config (vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.vmc.orgs.sddcs.networking_client.
ConnectivityTests
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
get
(org, sddc)¶Retrieve metadata for connectivity tests.
-org (str
) – Organization identifier (required)
sddc (str
) – Sddc identifier (required)
com.vmware.vmc.model.ConnectivityValidationGroups
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
post
(org, sddc, request_info, action)¶ConnectivityValidationGroupResultWrapper will be available at -task.params[‘test_result’].
-org (str
) – Organization identifier (required)
sddc (str
) – Sddc identifier (required)
request_info (com.vmware.vmc.model_client.ConnectivityValidationGroup
) – request information (required)
action (str
) – If = ‘start’, start connectivity tests. (required)
com.vmware.vmc.model.Task
-com.vmware.vapi.std.errors_client.Unauthenticated
-Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
-Bad Request
com.vmware.vapi.std.errors_client.Unauthorized
-Forbidden
com.vmware.vmc.orgs.sddcs.networking_client.
StubFactory
(stub_config)¶Bases: vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
-stub_config (vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
- | - |
- |
- |
- | - |
- |
com.vmware.vmc
com.vmware.vmc.model_client
com.vmware.vmc.orgs
com.vmware.vmc.orgs.account_link_client
com.vmware.vmc.orgs.aws.resources
com.vmware.vmc.orgs.aws.resources.servicequotas_client
com.vmware.vmc.orgs.reservations_client
com.vmware.vmc.orgs.sddcs
com.vmware.vmc.orgs.sddcs.addons_client
com.vmware.vmc.orgs.sddcs.clusters
com.vmware.vmc.orgs.sddcs.clusters.config_client
com.vmware.vmc.orgs.sddcs.clusters.esxs_client
com.vmware.vmc.orgs.sddcs.clusters.msft_licensing_client
com.vmware.vmc.orgs.sddcs.clusters_client
com.vmware.vmc.orgs.sddcs.dns_client
com.vmware.vmc.orgs.sddcs.management_vms_client
com.vmware.vmc.orgs.sddcs.networking_client
com.vmware.vmc.orgs.sddcs_client
com.vmware.vmc.orgs.storage_client
com.vmware.vmc.orgs.subscriptions_client
com.vmware.vmc.orgs.tbrs_client
com.vmware.vmc.orgs_client
com.vmware.vmc_client
vmware.vapi.vmc
vmware.vapi.vmc.csp_filter
CSP Refresh token based SecurityContextFilter
-vmware.vapi.vmc.csp_filter.
CSPSecurityContextFilter
(session, refresh_token, refresh_url)¶Bases: vmware.vapi.security.client.security_context_filter.SecurityContextFilter
CSP Security Context filter in API Provider chain adds the security -context based on a refresh token to the execution context passed in.
-Initialize SecurityContextFilter
-session (requests.Session
) – Requests Session object to use for making HTTP calls
refresh_token (str
) – Refresh token to use for obtaining an access token
refresh_url (str
) – URL that allows exchanging a refresh token for an
-access token
get_max_retries
()¶Get the max number of retries
-int
Number of retries
-get_security_context
(on_error)¶Retrieve security context. If this method is called after an error -occured, then a new access token is obtained using the refresh token and -a new security context is created.
-on_error (bool
) – Whether this method is called after getting an error
vmware.vapi.core.SecurityContext
Security context
-should_retry
(error_value)¶Returns whether the request should be retried or not based on the error -specified.
-error_value (vmware.vapi.data.value.ErrorValue
) – Method error
bool
Returns True if request should be retried in case the error is -either Unauthenticated or Unauthorized else False
-