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