com.vmware.vmc package¶
Subpackages¶
- com.vmware.vmc.orgs package
- Subpackages
- com.vmware.vmc.orgs.sddcs package
- Subpackages
- com.vmware.vmc.orgs.sddcs.networks package
- Subpackages
- com.vmware.vmc.orgs.sddcs.networks.cgws package
- com.vmware.vmc.orgs.sddcs.networks.edges package
- Subpackages
- Submodules
- com.vmware.vmc.orgs.sddcs.networks.edges.dhcp_client module
- com.vmware.vmc.orgs.sddcs.networks.edges.dns_client module
- com.vmware.vmc.orgs.sddcs.networks.edges.firewall_client module
- com.vmware.vmc.orgs.sddcs.networks.edges.ipsec_client module
- com.vmware.vmc.orgs.sddcs.networks.edges.nat_client module
- com.vmware.vmc.orgs.sddcs.networks.edges.statistics_client module
- Submodules
- com.vmware.vmc.orgs.sddcs.networks.edges_client module
- Subpackages
- com.vmware.vmc.orgs.sddcs.networks package
- Submodules
- com.vmware.vmc.orgs.sddcs.addons_client module
- com.vmware.vmc.orgs.sddcs.dns_client module
- com.vmware.vmc.orgs.sddcs.management_vms_client module
- com.vmware.vmc.orgs.sddcs.networking_client module
- com.vmware.vmc.orgs.sddcs.networks_client module
- Subpackages
- com.vmware.vmc.orgs.sddcs package
- Submodules
- com.vmware.vmc.orgs.account_link_client module
- com.vmware.vmc.orgs.reservations_client module
- com.vmware.vmc.orgs.sddcs_client module
- com.vmware.vmc.orgs.storage_client module
- com.vmware.vmc.orgs.subscriptions_client module
- com.vmware.vmc.orgs.tbrs_client module
- Subpackages
Submodules¶
com.vmware.vmc.model_client module¶
-
class
com.vmware.vmc.model_client.
AbstractEntity
(updated=None, user_id=None, updated_by_user_id=None, created=None, version=None, updated_by_user_name=None, user_name=None, id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
updated (
datetime.datetime
) –user_id (
str
) – User id that last updated this recordupdated_by_user_id (
str
) – User id that last updated this recordcreated (
datetime.datetime
) –version (
long
) – Version of this entity format: int32updated_by_user_name (
str
orNone
) – User name that last updated this recorduser_name (
str
) – User name that last updated this recordid (
str
) – Unique ID for this entity
-
class
com.vmware.vmc.model_client.
AccountLinkConfig
(delay_account_link=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
delay_account_link (
bool
orNone
) – Boolean flag identifying whether account linking should be delayed or not for the SDDC.
-
class
com.vmware.vmc.model_client.
AccountLinkSddcConfig
(customer_subnet_ids=None, connected_account_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
customer_subnet_ids (
list
ofstr
orNone
) –connected_account_id (
str
orNone
) – The ID of the customer connected account to work with.
-
class
com.vmware.vmc.model_client.
AddressFWSourceDestination
(exclude=None, ip_address=None, grouping_object_id=None, vnic_group_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Source or Destination for firewall rule. Default is ‘any’.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
exclude (
bool
orNone
) – Exclude the specified source or destination.ip_address (
list
ofstr
orNone
) – List of string. Can specify single IP address, range of IP address, or in CIDR format. Can define multiple.grouping_object_id (
list
ofstr
orNone
) – List of string. Id of cluster, datacenter, distributedPortGroup, legacyPortGroup, VirtualMachine, vApp, resourcePool, logicalSwitch, IPSet, securityGroup. Can define multiple.vnic_group_id (
list
ofstr
orNone
) – List of string. Possible values are vnic-index-[1-9], vse, external or internal. Can define multiple.
-
class
com.vmware.vmc.model_client.
Agent
(internal_ip=None, cert_enabled=None, management_ip=None, hostname_verifier_enabled=None, network_netmask=None, network_gateway=None, provider='Agent', is_master=None, agent_state=None, agent_url=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
internal_ip (
str
orNone
) – The internal IP address of the agent which is provided by the underlying cloud providercert_enabled (
bool
orNone
) – Boolean flag to indicate if the agent is using CA signed certificatemanagement_ip (
str
orNone
) – The internal management IP address of the agent exposed to the SDDC, which might be different from the internal IPhostname_verifier_enabled (
bool
orNone
) – Boolean flag to indicate if the agent is using FQDN in the certificatenetwork_netmask (
str
orNone
) – Network netmask of the agentnetwork_gateway (
str
orNone
) – Network gateway of the agentprovider (
str
) – The cloud provideris_master (
bool
orNone
) – Boolean flag to indicate if the agent is the master, only the master Agent is accessibleagent_state (
str
orNone
) –Possible values are:
Agent state
agent_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 SDDC
-
AGENT_STATE_CUSTOMIZING
= 'CUSTOMIZING'¶
-
AGENT_STATE_DELETED
= 'DELETED'¶
-
AGENT_STATE_DELETING
= 'DELETING'¶
-
AGENT_STATE_DEPLOYING
= 'DEPLOYING'¶
-
AGENT_STATE_FAILED
= 'FAILED'¶
-
AGENT_STATE_NOT_READY
= 'NOT_READY'¶
-
AGENT_STATE_READY
= 'READY'¶
-
property
provider
¶ Return the discriminator value
-
class
com.vmware.vmc.model_client.
AmiInfo
(instance_type=None, region=None, id=None, name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
the AmiInfo used for deploying esx of the sddc
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
instance_type (
str
orNone
) – instance type of the esx amiregion (
str
orNone
) – the region of the esx amiid (
str
orNone
) – the ami id for the esxname (
str
orNone
) – the name of the esx ami
-
class
com.vmware.vmc.model_client.
AppliancesSummary
(data_store_moid_of_active_vse=None, enable_fips=None, host_name_of_active_vse=None, vm_build_info=None, deploy_appliances=None, communication_channel=None, vm_name_of_active_vse=None, number_of_deployed_vms=None, resource_pool_moid_of_active_vse=None, data_store_name_of_active_vse=None, vm_moid_of_active_vse=None, status_from_vse_updated_on=None, fqdn=None, appliance_size=None, resource_pool_name_of_active_vse=None, active_vse_ha_index=None, vm_version=None, host_moid_of_active_vse=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
NSX Edge appliance summary.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
data_store_moid_of_active_vse (
str
orNone
) – vCenter MOID of the active NSX Edge appliance’s data store.enable_fips (
bool
orNone
) – Value is true if FIPS is enabled on NSX Edge appliance.host_name_of_active_vse (
str
orNone
) – Host name of the active NSX Edge appliance.vm_build_info (
str
orNone
) – NSX Edge appliance build version.deploy_appliances (
bool
orNone
) – Value is true if NSX Edge appliances are to be deployed.communication_channel (
str
orNone
) – Communication channel used to communicate with NSX Edge appliance.vm_name_of_active_vse (
str
orNone
) – Name of the active NSX Edge appliance.number_of_deployed_vms (
long
orNone
) – Number of deployed appliances of the NSX Edge. format: int32resource_pool_moid_of_active_vse (
str
orNone
) – vCenter MOID of the active NSX Edge appliance’s resource pool/cluster. Can be resource pool ID, e.g. resgroup-15 or cluster ID, e.g. domain-c41.data_store_name_of_active_vse (
str
orNone
) – Datastore name of the active NSX Edge appliance.vm_moid_of_active_vse (
str
orNone
) – vCenter MOID of the active NSX Edge appliance.status_from_vse_updated_on (
long
orNone
) – Time stamp value when healthcheck status was last updated for the NSX Edge appliance. format: int64fqdn (
str
orNone
) – FQDN of the NSX Edge.appliance_size (
str
orNone
) – NSX Edge appliance size.resource_pool_name_of_active_vse (
str
orNone
) – Resource Pool/Cluster name of the active NSX Edge appliance.active_vse_ha_index (
long
orNone
) – HA index of the active NSX Edge appliance. format: int32vm_version (
str
orNone
) – NSX Edge appliance version.host_moid_of_active_vse (
str
orNone
) – vCenter MOID of the active NSX Edge appliance’s host.
-
class
com.vmware.vmc.model_client.
Application
(application_id=None, service=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Application for firewall rule
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
application_id (
list
ofstr
orNone
) – List of string. Id of service or serviceGroup groupingObject. Can define multiple.service (
list
ofNsxfirewallservice
orNone
) – List of protocol and ports. Can define multiple.
-
class
com.vmware.vmc.model_client.
AwsAgent
(instance_id=None, key_pair=None, internal_ip=None, cert_enabled=None, management_ip=None, hostname_verifier_enabled=None, network_netmask=None, network_gateway=None, provider='AWS', is_master=None, agent_state=None, agent_url=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
instance_id (
str
orNone
) –key_pair (
AwsKeyPair
orNone
) –internal_ip (
str
orNone
) – The internal IP address of the agent which is provided by the underlying cloud providercert_enabled (
bool
orNone
) – Boolean flag to indicate if the agent is using CA signed certificatemanagement_ip (
str
orNone
) – The internal management IP address of the agent exposed to the SDDC, which might be different from the internal IPhostname_verifier_enabled (
bool
orNone
) – Boolean flag to indicate if the agent is using FQDN in the certificatenetwork_netmask (
str
orNone
) – Network netmask of the agentnetwork_gateway (
str
orNone
) – Network gateway of the agentprovider (
str
) – The cloud provideris_master (
bool
orNone
) – Boolean flag to indicate if the agent is the master, only the master Agent is accessibleagent_state (
str
orNone
) –Possible values are:
Agent state
agent_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 SDDC
-
property
provider
¶ Return the discriminator value
-
class
com.vmware.vmc.model_client.
AwsCloudProvider
(regions=None, provider='AWS')¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
regions (
list
ofstr
orNone
) –provider (
str
) – Name of the Cloud Provider
-
property
provider
¶ Return the discriminator value
-
class
com.vmware.vmc.model_client.
AwsCompatibleSubnets
(customer_available_zones=None, vpc_map=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
customer_available_zones (
list
ofstr
orNone
) –vpc_map ((
dict
ofstr
andVpcInfoSubnets
) orNone
) –
-
class
com.vmware.vmc.model_client.
AwsCustomerConnectedAccount
(updated=None, user_id=None, updated_by_user_id=None, created=None, version=None, updated_by_user_name=None, user_name=None, id=None, policy_payer_arn=None, region_to_az_to_shadow_mapping=None, org_id=None, cf_stack_name=None, state=None, account_number=None, policy_service_arn=None, policy_external_id=None, policy_payer_linked_arn=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
updated (
datetime.datetime
) –user_id (
str
) – User id that last updated this recordupdated_by_user_id (
str
) – User id that last updated this recordcreated (
datetime.datetime
) –version (
long
) – Version of this entity format: int32updated_by_user_name (
str
orNone
) – User name that last updated this recorduser_name (
str
) – User name that last updated this recordid (
str
) – Unique ID for this entitypolicy_payer_arn (
str
orNone
) –region_to_az_to_shadow_mapping ((
dict
ofstr
and (dict
ofstr
andstr
)) orNone
) – Provides a map of regions to availability zones from the shadow account’s perspectiveorg_id (
str
orNone
) –cf_stack_name (
str
orNone
) –state (
str
orNone
) –Possible values are:
account_number (
str
orNone
) –policy_service_arn (
str
orNone
) –policy_external_id (
str
orNone
) –policy_payer_linked_arn (
str
orNone
) –
-
STATE_ACTIVE
= 'ACTIVE'¶
-
STATE_BROKEN
= 'BROKEN'¶
-
STATE_DELETED
= 'DELETED'¶
-
class
com.vmware.vmc.model_client.
AwsEsxHost
(internal_public_ip_pool=None, name=None, availability_zone=None, esx_id=None, hostname=None, provider='AWS', instance_type=None, mac_address=None, custom_properties=None, esx_state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
internal_public_ip_pool (
list
ofSddcPublicIp
orNone
) –name (
str
orNone
) –availability_zone (
str
orNone
) – Availability zone where the host is provisioned.esx_id (
str
orNone
) –hostname (
str
orNone
) –provider (
str
) –instance_type (
str
orNone
) – Backing cloud provider instance type for host.mac_address (
str
orNone
) –custom_properties ((
dict
ofstr
andstr
) orNone
) –esx_state (
str
orNone
) –Possible values are:
-
property
provider
¶ Return the discriminator value
-
class
com.vmware.vmc.model_client.
AwsKeyPair
(key_name=None, key_fingerprint=None, key_material=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
key_name (
str
orNone
) –key_fingerprint (
str
orNone
) –key_material (
str
orNone
) –
-
class
com.vmware.vmc.model_client.
AwsKmsInfo
(amazon_resource_name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
amazon_resource_name (
str
) – The ARN associated with the customer master key for this cluster.
-
class
com.vmware.vmc.model_client.
AwsSddcConfig
(region=None, one_node_reduced_capacity=None, vpc_cidr=None, host_instance_type=None, skip_creating_vxlan=None, vxlan_subnet=None, size=None, storage_capacity=None, name=None, account_link_sddc_config=None, num_hosts=None, sddc_type=None, account_link_config=None, provider='AWS', sso_domain=None, sddc_template_id=None, deployment_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
region (
str
) –one_node_reduced_capacity (
bool
orNone
) – Whether this sddc is reduced capacity 1NODE.vpc_cidr (
str
orNone
) – AWS VPC IP range. Only prefix of 16 or 20 is currently supported.host_instance_type (
HostInstanceTypes
orNone
) – The instance type for the esx hosts in the primary cluster of the SDDC.skip_creating_vxlan (
bool
orNone
) – skip creating vxlan for compute gateway for SDDC provisioningvxlan_subnet (
str
orNone
) – VXLAN IP subnet in CIDR for compute gatewaysize (
str
orNone
) – The size of the vCenter and NSX appliances. xlarge sddcSize corresponds to an ‘extra_large’ vCenter appliance and ‘large’ NSX appliance. ‘medium’ sddcSize corresponds to ‘medium’ vCenter appliance and ‘medium’ NSX appliance. Value defaults to ‘medium’.storage_capacity (
long
orNone
) – The storage capacity value to be requested for the sddc primary cluster, in GiBs. If provided, instead of using the direct-attached storage, a capacity value amount of seperable storage will be used. format: int64name (
str
) –account_link_sddc_config (
list
ofAccountLinkSddcConfig
orNone
) – A list of the SDDC linking configurations to use.num_hosts (
long
) –sddc_type (
str
orNone
) – Denotes the sddc type , if the value is null or empty, the type is considered as default.account_link_config (
AccountLinkConfig
orNone
) – The account linking configuration, we will keep this one and remove accountLinkSddcConfig finally.provider (
str
) –Possible values are:
Determines what additional properties are available based on cloud provider.
sso_domain (
str
orNone
) – The SSO domain name to use for vSphere users. If not specified, vmc.local will be used.sddc_template_id (
str
orNone
) – If provided, configuration from the template will applied to the provisioned SDDC. format: UUIDdeployment_type (
str
orNone
) –Possible values are:
Denotes if request is for a SingleAZ or a MultiAZ SDDC. Default is SingleAZ.
-
property
provider
¶ Return the discriminator value
-
class
com.vmware.vmc.model_client.
AwsSddcConnection
(updated=None, user_id=None, updated_by_user_id=None, created=None, version=None, updated_by_user_name=None, user_name=None, id=None, cidr_block_subnet=None, connected_account_id=None, eni_group=None, subnet_id=None, cgw_present=None, org_id=None, sddc_id=None, cidr_block_vpc=None, connection_order=None, state=None, subnet_availability_zone=None, vpc_id=None, customer_eni_infos=None, default_route_table=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
updated (
datetime.datetime
) –user_id (
str
) – User id that last updated this recordupdated_by_user_id (
str
) – User id that last updated this recordcreated (
datetime.datetime
) –version (
long
) – Version of this entity format: int32updated_by_user_name (
str
orNone
) – User name that last updated this recorduser_name (
str
) – User name that last updated this recordid (
str
) – Unique ID for this entitycidr_block_subnet (
str
orNone
) – The CIDR block of the customer’s subnet this link is in.connected_account_id (
str
orNone
) – The corresponding connected (customer) account UUID this connection is attached to.eni_group (
str
orNone
) – Which group the ENIs belongs to. (deprecated)subnet_id (
str
orNone
) – The ID of the subnet this link is to.cgw_present (
bool
orNone
) – Determines whether the CGW is present in this connection set or not. Used for multi-az deployments.org_id (
str
orNone
) – The org this link belongs to.sddc_id (
str
orNone
) – The SDDC this link is used for.cidr_block_vpc (
str
orNone
) – The CIDR block of the customer’s VPC.connection_order (
long
orNone
) – The order of the connectionstate (
str
orNone
) –Possible values are:
The state of the connection.
subnet_availability_zone (
str
orNone
) – Which availability zone is this connection in?vpc_id (
str
orNone
) – The VPC ID of the subnet this link is to.customer_eni_infos (
list
ofCustomerEniInfo
orNone
) – A list of all ENIs used for this connection.default_route_table (
str
orNone
) – The default routing table in the customer’s VPC.
-
STATE_ACTIVE
= 'ACTIVE'¶
-
STATE_BROKEN
= 'BROKEN'¶
-
STATE_DELETED
= 'DELETED'¶
-
class
com.vmware.vmc.model_client.
AwsSddcResourceConfig
(backup_restore_bucket=None, public_ip_pool=None, vpc_info=None, kms_vpc_endpoint=None, max_num_public_ip=None, account_link_sddc_config=None, vsan_encryption_config=None, vpc_info_peered_agent=None, mgmt_appliance_network_name=None, nsxt=None, mgw_id=None, nsx_mgr_url=None, psc_management_ip=None, psc_url=None, cgws=None, availability_zones=None, management_ds=None, nsx_api_public_endpoint_url=None, custom_properties=None, cloud_password=None, provider='AWS', clusters=None, vc_management_ip=None, sddc_networks=None, cloud_username=None, esx_hosts=None, nsx_mgr_management_ip=None, vc_instance_id=None, esx_cluster_id=None, vc_public_ip=None, skip_creating_vxlan=None, vc_url=None, sddc_manifest=None, vxlan_subnet=None, cloud_user_group=None, management_rp=None, region=None, witness_availability_zone=None, sddc_id=None, pop_agent_xeni_connection=None, nsx_controller_ips=None, esx_host_subnet=None, sso_domain=None, deployment_type=None, nsxt_addons=None, dns_with_management_vm_private_ip=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
backup_restore_bucket (
str
orNone
) –public_ip_pool (
list
ofSddcPublicIp
orNone
) –vpc_info (
VpcInfo
orNone
) –kms_vpc_endpoint (
KmsVpcEndpoint
orNone
) –max_num_public_ip (
long
orNone
) – maximum number of public IP that user can allocate.account_link_sddc_config (
list
ofSddcLinkConfig
orNone
) –vsan_encryption_config (
VsanEncryptionConfig
orNone
) –vpc_info_peered_agent (
VpcInfo
orNone
) –mgmt_appliance_network_name (
str
orNone
) – Name for management appliance network.nsxt (
bool
orNone
) – if true, NSX-T UI is enabled.mgw_id (
str
orNone
) – Management Gateway Idnsx_mgr_url (
str
orNone
) – URL of the NSX Managerpsc_management_ip (
str
orNone
) – PSC internal management IPpsc_url (
str
orNone
) – URL of the PSC servercgws (
list
ofstr
orNone
) –availability_zones (
list
ofstr
orNone
) – Availability zones over which esx hosts are provisioned. MultiAZ SDDCs will have hosts provisioned over two availability zones while SingleAZ SDDCs will provision over one.management_ds (
str
orNone
) – The ManagedObjectReference of the management Datastorensx_api_public_endpoint_url (
str
orNone
) – nsx api entire base urlcustom_properties ((
dict
ofstr
andstr
) orNone
) –cloud_password (
str
orNone
) – Password for vCenter SDDC administratorprovider (
str
) –Possible values are:
Discriminator for additional properties
clusters (
list
ofCluster
orNone
) – List of clusters in the SDDC.vc_management_ip (
str
orNone
) – vCenter internal management IPsddc_networks (
list
ofstr
orNone
) –cloud_username (
str
orNone
) – Username for vCenter SDDC administratoresx_hosts (
list
ofAwsEsxHost
orNone
) –nsx_mgr_management_ip (
str
orNone
) – NSX Manager internal management IPvc_instance_id (
str
orNone
) – unique id of the vCenter serveresx_cluster_id (
str
orNone
) – Cluster Id to add ESX workflowvc_public_ip (
str
orNone
) – vCenter public IPskip_creating_vxlan (
bool
orNone
) – skip creating vxlan for compute gateway for SDDC provisioningvc_url (
str
orNone
) – URL of the vCenter serversddc_manifest (
SddcManifest
orNone
) –vxlan_subnet (
str
orNone
) – VXLAN IP subnetcloud_user_group (
str
orNone
) – Group name for vCenter SDDC administratormanagement_rp (
str
orNone
) –region (
str
orNone
) – region in which sddc is deployedwitness_availability_zone (
str
orNone
) – Availability zone where the witness node is provisioned for a MultiAZ SDDC. This is null for a SingleAZ SDDC.sddc_id (
str
orNone
) – sddc identifierpop_agent_xeni_connection (
PopAgentXeniConnection
orNone
) –nsx_controller_ips (
list
ofstr
orNone
) – List of Controller IPsesx_host_subnet (
str
orNone
) – ESX host subnetsso_domain (
str
orNone
) – The SSO domain name to use for vSphere usersdeployment_type (
str
orNone
) –Possible values are:
Denotes if this is a SingleAZ SDDC or a MultiAZ SDDC.
nsxt_addons (
NsxtAddons
orNone
) –dns_with_management_vm_private_ip (
bool
orNone
) – if true, use the private IP addresses to register DNS records for the management VMs
-
property
provider
¶ Return the discriminator value
-
class
com.vmware.vmc.model_client.
AwsSubnet
(connected_account_id=None, region_name=None, availability_zone=None, subnet_id=None, subnet_cidr_block=None, is_compatible=None, vpc_id=None, vpc_cidr_block=None, name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
connected_account_id (
str
orNone
) – The connected account ID this subnet is accessible through. This is an internal ID formatted as a UUID specific to Skyscraper.region_name (
str
orNone
) – The region this subnet is in, usually in the form of country code, general location, and a number (ex. us-west-2).availability_zone (
str
orNone
) – The availability zone this subnet is in, which should be the region name plus one extra letter (ex. us-west-2a).subnet_id (
str
orNone
) – The subnet ID in AWS, provided in the form ‘subnet-######’.subnet_cidr_block (
str
orNone
) – The CIDR block of the subnet, in the form of ‘#.#.#.#/#’.is_compatible (
bool
orNone
) – Flag indicating whether this subnet is compatible. If true, this is a valid choice for the customer to deploy a SDDC in.vpc_id (
str
orNone
) – The VPC ID the subnet resides in within AWS. Tends to be ‘vpc-#######’.vpc_cidr_block (
str
orNone
) – The CIDR block of the VPC, in the form of ‘#.#.#.#/#’.name (
str
orNone
) – Optional field (may not be provided by AWS), indicates the found name tag for the subnet.
-
class
com.vmware.vmc.model_client.
CaCertificates
(ca_certificate=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
CA certificate list. Optional.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
ca_certificate (
list
ofstr
orNone
) –
-
class
com.vmware.vmc.model_client.
CbmStatistic
(vnic=None, timestamp=None, out=None, in_=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Statistics data for each vnic.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
vnic (
long
orNone
) – Vnic index. format: int32timestamp (
long
orNone
) – Timestamp value. format: int64out (
float
orNone
) – Tx rate (Kilobits per second - kbps) format: doublein (
float
orNone
) – Rx rate (Kilobits per second - kbps) format: double
-
class
com.vmware.vmc.model_client.
CbmStatistics
(data_dto=None, meta_dto=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
NSX Edge Interface Statistics.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
data_dto (
CbmStatsData
orNone
) – Statistics data.meta_dto (
MetaDashboardStats
orNone
) – Start time, end time and interval details.
-
class
com.vmware.vmc.model_client.
CbmStatsData
(vnic9=None, vnic8=None, vnic7=None, vnic6=None, vnic5=None, vnic4=None, vnic3=None, vnic2=None, vnic1=None, vnic0=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Statistics data.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
vnic9 (
list
ofCbmStatistic
orNone
) –vnic8 (
list
ofCbmStatistic
orNone
) –vnic7 (
list
ofCbmStatistic
orNone
) –vnic6 (
list
ofCbmStatistic
orNone
) –vnic5 (
list
ofCbmStatistic
orNone
) –vnic4 (
list
ofCbmStatistic
orNone
) –vnic3 (
list
ofCbmStatistic
orNone
) –vnic2 (
list
ofCbmStatistic
orNone
) –vnic1 (
list
ofCbmStatistic
orNone
) –vnic0 (
list
ofCbmStatistic
orNone
) –
-
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, cluster_state=None, aws_kms_info=None, esx_host_info=None, host_cpu_cores_count=None, cluster_id=None, cluster_name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
esx_host_list (
list
ofAwsEsxHost
orNone
) –cluster_state (
str
orNone
) –Possible values are:
aws_kms_info (
AwsKmsInfo
orNone
) – AWS Key Management Service information associated with this clusteresx_host_info (
EsxHostInfo
orNone
) – Information of the hosts added to this clusterhost_cpu_cores_count (
long
orNone
) – Number of cores enabled on ESX hosts added to this cluster format: int32cluster_id (
str
) –cluster_name (
str
orNone
) –
-
CLUSTER_STATE_ADDING_HOSTS
= 'ADDING_HOSTS'¶
-
CLUSTER_STATE_DEPLOYING
= 'DEPLOYING'¶
-
CLUSTER_STATE_FAILED
= 'FAILED'¶
-
CLUSTER_STATE_READY
= 'READY'¶
-
class
com.vmware.vmc.model_client.
ClusterConfig
(host_cpu_cores_count=None, host_instance_type=None, storage_capacity=None, num_hosts=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
host_cpu_cores_count (
long
orNone
) – Customize CPU cores on hosts in a cluster. Specify number of cores to be enabled on hosts in a cluster. format: int32host_instance_type (
HostInstanceTypes
orNone
) – The instance type for the esx hosts added to this cluster.storage_capacity (
long
orNone
) – For EBS-backed instances only, the requested storage capacity in GiB. format: int64num_hosts (
long
) –
-
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.
ConnectivityAgentValidation
(source=None, type=None, ports=None, path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
source (
str
orNone
) –Possible values are:
source appliance of connectivity test, i.e. VCENTER, SRM, VR.
type (
str
orNone
) –Possible values are:
type of connectivity test, i.e. PING, TRACEROUTE, DNS, CONNECTIVITY, CURL. For CONNECTIVITY and CURL tests only, please specify the ports to be tested against.
ports (
list
ofstr
orNone
) – TCP ports ONLY for CONNECTIVITY and CURL tests.path (
str
orNone
) – URL path ONLY for CURL tests.
-
SOURCE_SRM
= 'SRM'¶
-
SOURCE_VCENTER
= 'VCENTER'¶
-
SOURCE_VR
= 'VR'¶
-
TYPE_CONNECTIVITY
= 'CONNECTIVITY'¶
-
TYPE_CURL
= 'CURL'¶
-
TYPE_DNS
= 'DNS'¶
-
TYPE_PING
= 'PING'¶
-
TYPE_TRACEROUTE
= 'TRACEROUTE'¶
-
class
com.vmware.vmc.model_client.
ConnectivityValidationGroup
(id=None, name=None, sub_groups=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
id (
str
orNone
) –Possible values are:
test group id, currently, only HLM.
name (
str
orNone
) – Name of the test group.sub_groups (
list
ofConnectivityValidationSubGroup
orNone
) – List of sub groups.
-
ID_DRAAS
= 'DRAAS'¶
-
ID_HLM
= 'HLM'¶
-
class
com.vmware.vmc.model_client.
ConnectivityValidationGroups
(groups=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
groups (
list
ofConnectivityValidationGroup
orNone
) – List of groups.
-
class
com.vmware.vmc.model_client.
ConnectivityValidationInput
(id=None, value=None, label=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
id (
str
orNone
) –Possible values are:
input value type, i.e. HOSTNAME_OR_IP, HOST_IP, HOSTNAME. Accept FQDN or IP address as input value when id = HOSTNAME_OR_IP, accept FQDN ONLY when id = HOSTNAME, accept IP address ONLY when id = HOST_IP.
value (
str
orNone
) – the FQDN or IP address to run the test against, use #primary-dns or #secondary-dns as the on-prem primary/secondary DNS server IP.label (
str
orNone
) – (Optional, for UI display only) input value label.
-
ID_HOSTNAME
= 'HOSTNAME'¶
-
ID_HOSTNAME_OR_IP
= 'HOSTNAME_OR_IP'¶
-
ID_HOST_IP
= 'HOST_IP'¶
-
class
com.vmware.vmc.model_client.
ConnectivityValidationSubGroup
(inputs=None, tests=None, label=None, help=None, id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
inputs (
list
ofConnectivityValidationInput
orNone
) – List of user inputs for the sub group.tests (
list
ofConnectivityAgentValidation
orNone
) – List of connectivity tests.label (
str
orNone
) – Name of the sub-group.help (
str
orNone
) – Help text.id (
str
orNone
) –Possible values are:
subGroup id, i.e. PRIMARY_DNS, SECONDARY_DNS, ONPREM_VCENTER, ONPREM_PSC, ACTIVE_DIRECTORY, ONPREM_ESX, DRAAS_ONPREM_VCENTER, DRAAS_ONPREM_PSC, DRAAS_ONPREM_SRM and DRAAS_ONPREM_VR.
-
ID_ACTIVE_DIRECTORY
= 'ACTIVE_DIRECTORY'¶
-
ID_DRAAS_ONPREM_PSC
= 'DRAAS_ONPREM_PSC'¶
-
ID_DRAAS_ONPREM_SRM
= 'DRAAS_ONPREM_SRM'¶
-
ID_DRAAS_ONPREM_VCENTER
= 'DRAAS_ONPREM_VCENTER'¶
-
ID_DRAAS_ONPREM_VR
= 'DRAAS_ONPREM_VR'¶
-
ID_ONPREM_ESX
= 'ONPREM_ESX'¶
-
ID_ONPREM_PSC
= 'ONPREM_PSC'¶
-
ID_ONPREM_VCENTER
= 'ONPREM_VCENTER'¶
-
ID_PRIMARY_DNS
= 'PRIMARY_DNS'¶
-
ID_SECONDARY_DNS
= 'SECONDARY_DNS'¶
-
class
com.vmware.vmc.model_client.
CrlCertificates
(crl_certificate=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
CRL certificate list. Optional.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
crl_certificate (
list
ofstr
orNone
) –
-
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.
DashboardData
(firewall=None, sslvpn=None, interfaces=None, load_balancer=None, ipsec=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Dashboard Statistics data.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
firewall (
FirewallDashboardStats
orNone
) – NSX Edge Firewall Statistics data.sslvpn (
SslvpnDashboardStats
orNone
) – NSX Edge SSL VPN Statistics data.interfaces (
InterfacesDashboardStats
orNone
) – NSX Edge Interface Statistics data.load_balancer (
LoadBalancerDashboardStats
orNone
) – NSX Edge Load Balancer Statistics data.ipsec (
IpsecDashboardStats
orNone
) – NSX Edge Ipsec Statistics data.
-
class
com.vmware.vmc.model_client.
DashboardStat
(timestamp=None, value=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
timestamp (
long
orNone
) –value (
float
orNone
) –
-
class
com.vmware.vmc.model_client.
DashboardStatistics
(data_dto=None, meta_dto=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Dashboard Statistics data.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
data_dto (
DashboardData
orNone
) – Dashboard Statistics data.meta_dto (
MetaDashboardStats
orNone
) – Start time, end time and interval details.
-
class
com.vmware.vmc.model_client.
DataPageEdgeSummary
(paging_info=None, data=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
paging_info (
PagingInfo
orNone
) –data (
list
ofEdgeSummary
orNone
) –
-
class
com.vmware.vmc.model_client.
DataPageSddcNetwork
(paging_info=None, data=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
paging_info (
PagingInfo
orNone
) –data (
list
ofSddcNetwork
orNone
) –
-
class
com.vmware.vmc.model_client.
DataPermissions
(save_permission=None, publish_permission=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
save_permission (
bool
orNone
) –publish_permission (
bool
orNone
) –
-
class
com.vmware.vmc.model_client.
DhcpLeaseInfo
(host_lease_info_dtos=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DHCP lease information.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
host_lease_info_dtos (
list
ofHostLeaseInfo
orNone
) – List of DHCP leases.
-
class
com.vmware.vmc.model_client.
DhcpLeases
(time_stamp=None, host_lease_infos_dto=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DHCP leases information
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
time_stamp (
long
orNone
) – The timestamp of the DHCP lease. format: int64host_lease_infos_dto (
DhcpLeaseInfo
orNone
) – DHCP lease information.
-
class
com.vmware.vmc.model_client.
DnsConfig
(feature_type=None, logging=None, enabled=None, dns_views=None, listeners=None, version=None, template=None, cache_size=None, dns_servers=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DNS configuration
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
feature_type (
str
orNone
) –logging (
Logging
orNone
) – DNS logging setting.enabled (
bool
orNone
) – Value is true if feature is enabled. Default value is true. Optional.dns_views (
DnsViews
orNone
) – List of DNS views.listeners (
DnsListeners
orNone
) – List of DNS listeners.version (
long
orNone
) – Version number tracking each configuration change. To avoid problems with overwriting changes, always retrieve and modify the latest configuration to include the current version number in your request. If you provide a version number which is not current, the request is rejected. If you omit the version number, the request is accepted but may overwrite any current changes if your change is not in sync with the latest change. format: int64template (
str
orNone
) –cache_size (
long
orNone
) – The cache size of the DNS service. format: int64dns_servers (
IpAddresses
orNone
) –
-
class
com.vmware.vmc.model_client.
DnsForwarders
(ip_address=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DNS forwarders.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
ip_address (
list
ofstr
orNone
) – IP addresses of the DNS servers.
-
class
com.vmware.vmc.model_client.
DnsListeners
(ip_address=None, vnic=None, type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
ip_address (
list
ofstr
orNone
) – List of IP addresses.vnic (
list
ofstr
orNone
) – Vnic for DNS listener.type (
str
orNone
) –
-
class
com.vmware.vmc.model_client.
DnsResponseStats
(total=None, form_err=None, nx_domain=None, success=None, server_fail=None, nxrrset=None, others=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DNS response statistics.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
total (
long
orNone
) –form_err (
long
orNone
) –nx_domain (
long
orNone
) –success (
long
orNone
) –server_fail (
long
orNone
) –nxrrset (
long
orNone
) –others (
long
orNone
) –
-
class
com.vmware.vmc.model_client.
DnsStatusAndStats
(time_stamp=None, requests=None, responses=None, cached_dbrr_set=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DNS statistics.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
time_stamp (
long
orNone
) –requests (
Requests
orNone
) –responses (
DnsResponseStats
orNone
) –cached_dbrr_set (
long
orNone
) –
-
class
com.vmware.vmc.model_client.
DnsView
(name=None, view_match=None, recursion=None, view_id=None, forwarders=None, enabled=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DNS View
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
name (
str
) – Name of the DNS view.view_match (
DnsViewMatch
orNone
) – Rules that match the DNS query to this view. The rule can be ipAddress, or ipSet. Defaults to ipAddress ‘any’ and ‘any’ vnic.recursion (
bool
orNone
) – Recursion enabled on DNS view.view_id (
str
orNone
) – Identifier for the DNS view.forwarders (
DnsForwarders
orNone
) – DNS forwarders.enabled (
bool
orNone
) – DNS view is enabled.
-
class
com.vmware.vmc.model_client.
DnsViewMatch
(vnic=None, ip_set=None, ip_address=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Dns view match
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
vnic (
list
ofstr
orNone
) –ip_set (
list
ofstr
orNone
) –ip_address (
list
ofstr
orNone
) –
-
class
com.vmware.vmc.model_client.
DnsViews
(dns_view=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DNS views.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
dns_view (
list
ofDnsView
orNone
) – List of DNS views.
-
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.
EdgeJob
(status=None, edge_id=None, module=None, job_id=None, error_code=None, result=None, start_time=None, message=None, end_time=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Job status information for the configuration change carried out on NSX Edge.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
status (
str
orNone
) – Job status.edge_id (
str
orNone
) – NSX Edge ID.module (
str
orNone
) – Module information.job_id (
str
orNone
) – Job ID.error_code (
str
orNone
) – Error code identifying the failure of the configuration change.result (
list
ofResult
orNone
) – Job result information.start_time (
datetime.datetime
orNone
) – Job start time. format: date-timemessage (
str
orNone
) – Job message.end_time (
datetime.datetime
orNone
) – Job end time. format: date-time
-
class
com.vmware.vmc.model_client.
EdgeStatus
(pre_rules_exists=None, feature_statuses=None, timestamp=None, publish_status=None, last_published_pre_rules_generation_number=None, version=None, edge_vm_status=None, active_vse_ha_index=None, system_status=None, ha_vnic_in_use=None, edge_status=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
NSX Edge Appliance status.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
pre_rules_exists (
bool
orNone
) – Value is true if pre rules publish is enabled.feature_statuses (
list
ofFeatureStatus
orNone
) – Individual feature status.timestamp (
long
orNone
) – Timestamp value at which the NSX Edge healthcheck was done. format: int64publish_status (
str
orNone
) – Status of the latest configuration change for the NSX Edge. Values are APPLIED or PERSISTED (not published to NSX Edge Appliance yet).last_published_pre_rules_generation_number (
long
orNone
) – Value of the last published pre rules generation number. format: int64version (
long
orNone
) – Version number of the current configuration. format: int64edge_vm_status (
list
ofEdgeVmStatus
orNone
) – Detailed status of each of the deployed NSX Edge appliances.active_vse_ha_index (
long
orNone
) – Index of the active NSX Edge appliance. Values are 0 and 1. format: int32system_status (
str
orNone
) – System status of the active NSX Edge appliance.ha_vnic_in_use (
long
orNone
) – Index of the vnic consumed for NSX Edge HA. format: int32edge_status (
str
orNone
) – NSX Edge appliance health status identified by GREY (unknown status), GREEN (health checks are successful), YELLOW (intermittent health check failure), RED (none of the appliances are in serving state). If health check fails for 5 consecutive times for all appliance (2 for HA else 1) then status will turn from YELLOW to RED.
-
class
com.vmware.vmc.model_client.
EdgeSummary
(feature_capabilities=None, edge_type=None, logical_router_scopes=None, recent_job_info=None, hypervisor_assist=None, edge_assist_id=None, edge_status=None, edge_assist_instance_name=None, object_id=None, node_id=None, id=None, datacenter_name=None, state=None, client_handle=None, scope=None, type=None, revision=None, vsm_uuid=None, description=None, extended_attributes=None, local_egress_enabled=None, universal_revision=None, allowed_actions=None, object_type_name=None, is_upgrade_available=None, is_universal=None, name=None, lrouter_uuid=None, appliances_summary=None, api_version=None, tenant_id=None, datacenter_moid=None, number_of_connected_vnics=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
NSX Edge summary. Read only.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
feature_capabilities (
FeatureCapabilities
orNone
) – List of Features and their capability details based on Edge appliance form factor.edge_type (
str
orNone
) – NSX Edge type, whether ‘gatewayServices’ or ‘distributedRouter’.logical_router_scopes (
LogicalRouterScopes
orNone
) – Backing type scope (DistributedVirtualSwitch - VLAN, TransportZone -VXLAN) and its ID for the Distributed Logical Router.recent_job_info (
EdgeJob
orNone
) – Job information for the most recent configuration change carried out on the NSX Edge.hypervisor_assist (
bool
orNone
) –edge_assist_id (
long
orNone
) – ID generated by NSX Manager for Distributed Logical Router only. format: int64edge_status (
str
orNone
) – NSX Edge appliance health status identified by GREY (unknown status), GREEN (health checks are successful), YELLOW (intermittent health check failure), RED (none of the appliances are in serving state). If health check fails for 5 consecutive times for all appliance (2 for HA else 1) then status will turn from YELLOW to RED.edge_assist_instance_name (
str
orNone
) – Name derived by NSX Manager only for Distributed Logical Router.object_id (
str
orNone
) –node_id (
str
orNone
) –id (
str
orNone
) – NSX Edge ID.datacenter_name (
str
orNone
) – Datacenter name where the NSX Edge is deployed.state (
str
orNone
) – Deployment state of the NSX Edge appliance. Values are ‘deployed’ when VMs have been deployed, ‘undeployed’ when no VMs are deployed and ‘active’ when Edge type is Distributed Logical Router and has no appliance deployed but is serving data path.client_handle (
str
orNone
) –scope (
ScopeInfo
orNone
) –type (
ObjectType
orNone
) –revision (
long
orNone
) –vsm_uuid (
str
orNone
) –description (
str
orNone
) –extended_attributes (
list
ofExtendedAttribute
orNone
) –local_egress_enabled (
bool
orNone
) – Value is true if local egress is enabled for UDLR traffic. Applicable only for Universal Distributed Logical Router.universal_revision (
long
orNone
) –allowed_actions (
list
ofstr
orNone
) –object_type_name (
str
orNone
) –is_upgrade_available (
bool
orNone
) – Value is true if NSX Edge upgrade is available.is_universal (
bool
orNone
) –name (
str
orNone
) –lrouter_uuid (
str
orNone
) – Distributed Logical Router UUID provided by the NSX Controller.appliances_summary (
AppliancesSummary
orNone
) – NSX Edge appliance summary.api_version (
str
orNone
) – REST API version applicable for the NSX Edge.tenant_id (
str
orNone
) – Tenant ID for the NSX Edge.datacenter_moid (
str
orNone
) – vCenter MOID of the datacenter where the NSX Edge is deployed.number_of_connected_vnics (
long
orNone
) – Number of connected vnics that are configured on the NSX Edge. format: int32
-
class
com.vmware.vmc.model_client.
EdgeVmStatus
(index=None, ha_state=None, name=None, id=None, edge_vm_status=None, pre_rules_generation_number=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Status of each of the deployed NSX Edge appliances.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
index (
long
orNone
) – High Availability index of the appliance. Values are 0 and 1. format: int32ha_state (
str
orNone
) – High Availability state of the appliance. Values are active and standby.name (
str
orNone
) – Name of the NSX Edge appliance.id (
str
orNone
) – vCenter MOID of the NSX Edge appliance.edge_vm_status (
str
orNone
) – NSX Edge appliance health status identified by GREY (unknown status), GREEN (health checks are successful), YELLOW (intermittent health check failure), RED (appliance not in serving state).pre_rules_generation_number (
long
orNone
) – Value of the last published pre rules generation number. format: int64
-
class
com.vmware.vmc.model_client.
EdgeVnicAddressGroup
(subnet_prefix_length=None, secondary_addresses=None, primary_address=None, subnet_mask=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Address group configuration of the NSX Edge vnic. An interface can have one primary and multiple secondary IP addresses.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
subnet_prefix_length (
str
orNone
) – Subnet prefix length of the primary IP address.secondary_addresses (
SecondaryAddresses
orNone
) – Secondary IP addresses of the NSX Edge vnic address group. Optional.primary_address (
str
orNone
) – Primary IP address of the vnic interface. Required.subnet_mask (
str
orNone
) –
-
class
com.vmware.vmc.model_client.
EdgeVnicAddressGroups
(address_groups=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
NSX Edge vnic address group configuration details.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
address_groups (
list
ofEdgeVnicAddressGroup
orNone
) – Address group configuration of the NSX Edge vnic. Vnic can be configured to have more than one address group/subnets.
-
class
com.vmware.vmc.model_client.
EniInfo
(subnet_id=None, id=None, security_group_id=None, private_ip=None, mac_address=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Information of the x-eni created.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
subnet_id (
str
orNone
) – Subnet it belongs to.id (
str
orNone
) – Interface ID.security_group_id (
str
orNone
) – Security Group of Eni.private_ip (
str
orNone
) – Private ip of eni.mac_address (
str
orNone
) – Mac address of nic.
-
class
com.vmware.vmc.model_client.
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, esxs=None, cluster_id=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).esxs (
list
ofstr
orNone
) –cluster_id (
str
orNone
) – An optional cluster id if the esxs operation has to be on a specific cluster.num_hosts (
long
) –
-
class
com.vmware.vmc.model_client.
EsxHost
(name=None, availability_zone=None, esx_id=None, hostname=None, provider='EsxHost', instance_type=None, mac_address=None, custom_properties=None, esx_state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
name (
str
orNone
) –availability_zone (
str
orNone
) – Availability zone where the host is provisioned.esx_id (
str
orNone
) –hostname (
str
orNone
) –provider (
str
) –instance_type (
str
orNone
) – Backing cloud provider instance type for host.mac_address (
str
orNone
) –custom_properties ((
dict
ofstr
andstr
) orNone
) –esx_state (
str
orNone
) –Possible values are:
-
ESX_STATE_ADDING_TO_VCENTER
= 'ADDING_TO_VCENTER'¶
-
ESX_STATE_DELETED
= 'DELETED'¶
-
ESX_STATE_DELETING
= 'DELETING'¶
-
ESX_STATE_DELETING_FROM_VCENTER
= 'DELETING_FROM_VCENTER'¶
-
ESX_STATE_DEPLOYING
= 'DEPLOYING'¶
-
ESX_STATE_FAILED
= 'FAILED'¶
-
ESX_STATE_INITIALIZING
= 'INITIALIZING'¶
-
ESX_STATE_PENDING_CLOUD_DELETION
= 'PENDING_CLOUD_DELETION'¶
-
ESX_STATE_PROVISIONED
= 'PROVISIONED'¶
-
ESX_STATE_READY
= 'READY'¶
-
property
provider
¶ Return the discriminator value
-
class
com.vmware.vmc.model_client.
EsxHostInfo
(instance_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
instance_type (
str
orNone
) – Backing cloud provider instance type for cluster.
-
class
com.vmware.vmc.model_client.
ExtendedAttribute
(name=None, value=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
name (
str
orNone
) –value (
str
orNone
) –
-
class
com.vmware.vmc.model_client.
FeatureCapabilities
(timestamp=None, feature_capabilities=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
List of features and their capability details based on NSX Edge appliance form factor.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
timestamp (
long
orNone
) – Time stamp value at which the feature capabilities were retrieved. format: int64feature_capabilities (
list
ofFeatureCapability
orNone
) – List of feature capability information.
-
class
com.vmware.vmc.model_client.
FeatureCapability
(configuration_limits=None, is_supported=None, service=None, permission=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Feature capability information.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
configuration_limits (
list
ofKeyValueAttributes
orNone
) – List of key value pairs describing the feature configuration limits.is_supported (
bool
orNone
) – Value is true if feature is supported on NSX Edge.service (
str
orNone
) – Name of the feature or service.permission (
LicenceAclPermissions
orNone
) – Licence and access control information for the feature.
-
class
com.vmware.vmc.model_client.
FeatureStatus
(status=None, configured=None, server_status=None, publish_status=None, service=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Individual feature status.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
status (
str
orNone
) – Status of the feature or service.configured (
bool
orNone
) – Value is true if feature is configured.server_status (
str
orNone
) – Server status of the feature or service. Values are up and down.publish_status (
str
orNone
) – Publish status of the feature, whether APPLIED or PERSISTED.service (
str
orNone
) – Name of the feature or service.
-
class
com.vmware.vmc.model_client.
FirewallConfig
(firewall_rules=None, feature_type=None, version=None, template=None, global_config=None, enabled=None, default_policy=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Firewall Configuration
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
firewall_rules (
FirewallRules
orNone
) – Ordered list of firewall rules.feature_type (
str
orNone
) –version (
long
orNone
) – Version number tracking each configuration change. To avoid problems with overwriting changes, always retrieve and modify the latest configuration to include the current version number in your request. If you provide a version number which is not current, the request is rejected. If you omit the version number, the request is accepted but may overwrite any current changes if your change is not in sync with the latest change. format: int64template (
str
orNone
) –global_config (
FirewallGlobalConfig
orNone
) – Global configuration applicable to all rules.enabled (
bool
orNone
) – Value is true if feature is enabled. Default value is true. Optional.default_policy (
FirewallDefaultPolicy
orNone
) – Default Policy.
-
class
com.vmware.vmc.model_client.
FirewallDashboardStats
(connections=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Dashboard Statistics data for Firewall.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
connections (
list
ofDashboardStat
orNone
) – Number of NSX Edge firewall connections and rules.
-
class
com.vmware.vmc.model_client.
FirewallDefaultPolicy
(action=None, logging_enabled=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Firewall default policy. Default is deny.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
action (
str
orNone
) – Action. Default is deny. Supported values accept, denylogging_enabled (
bool
orNone
) – Enable logging for the rule.
-
class
com.vmware.vmc.model_client.
FirewallGlobalConfig
(tcp_allow_out_of_window_packets=None, udp_timeout=None, ip_generic_timeout=None, tcp_pick_ongoing_connections=None, tcp_timeout_open=None, tcp_timeout_close=None, icmp6_timeout=None, drop_icmp_replays=None, log_icmp_errors=None, tcp_send_reset_for_closed_vse_ports=None, drop_invalid_traffic=None, enable_syn_flood_protection=None, icmp_timeout=None, tcp_timeout_established=None, log_invalid_traffic=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Global configuration applicable to all rules.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
tcp_allow_out_of_window_packets (
bool
orNone
) – Allow TCP out of window packets.udp_timeout (
long
orNone
) – UDP timeout close. format: int32ip_generic_timeout (
long
orNone
) – IP generic timeout. format: int32tcp_pick_ongoing_connections (
bool
orNone
) – Pick TCP ongoing connections.tcp_timeout_open (
long
orNone
) – TCP timeout open. format: int32tcp_timeout_close (
long
orNone
) – TCP timeout close. format: int32icmp6_timeout (
long
orNone
) – ICMP6 timeout. format: int32drop_icmp_replays (
bool
orNone
) – Drop icmp replays.log_icmp_errors (
bool
orNone
) – Log icmp errors.tcp_send_reset_for_closed_vse_ports (
bool
orNone
) – Send TCP reset for closed NSX Edge ports.drop_invalid_traffic (
bool
orNone
) – Drop invalid traffic.enable_syn_flood_protection (
bool
orNone
) – Protect against SYN flood attacks by detecting bogus TCP connections and terminating them without consuming firewall state tracking resources. Default : falseicmp_timeout (
long
orNone
) – ICMP timeout. format: int32tcp_timeout_established (
long
orNone
) – TCP timeout established. format: int32log_invalid_traffic (
bool
orNone
) – Log invalid traffic.
-
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.
FirewallRuleStats
(timestamp=None, connection_count=None, byte_count=None, packet_count=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Statistics for firewall rule
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
timestamp (
long
orNone
) – Timestamp of statistics collection. format: int64connection_count (
long
orNone
) – Connection count. format: int64byte_count (
long
orNone
) – Byte count. format: int64packet_count (
long
orNone
) – Packet count. format: int64
-
class
com.vmware.vmc.model_client.
FirewallRules
(firewall_rules=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Ordered list of firewall rules.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
firewall_rules (
list
ofNsxfirewallrule
orNone
) – Ordered list of firewall rules.
-
class
com.vmware.vmc.model_client.
FirewallService
(protocol=None, ports=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
protocol (
str
orNone
) – protocol name, such as ‘tcp’, ‘udp’ etc.ports (
list
ofstr
orNone
) – a list of port numbers and port ranges, such as {80, 91-95, 99}. If not specified, defaults to ‘any’.
-
class
com.vmware.vmc.model_client.
GatewayTemplate
(public_ip=None, primary_dns=None, secondary_dns=None, firewall_rules=None, vpns=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Describes common properties for MGW and CGW configuration templates
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
public_ip (
SddcPublicIp
orNone
) –primary_dns (
str
orNone
) –secondary_dns (
str
orNone
) –firewall_rules (
list
ofFirewallRule
orNone
) –vpns (
list
ofVpn
orNone
) –
-
class
com.vmware.vmc.model_client.
GlcmBundle
(s3_bucket=None, id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
the GlcmBundle used for deploying the sddc
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
s3_bucket (
str
orNone
) – the glcmbundle’s s3 bucketid (
str
orNone
) – the glcmbundle’s id
-
class
com.vmware.vmc.model_client.
HostInstanceTypes
(string)¶ Bases:
vmware.vapi.bindings.enum.Enum
Note
This class represents an enumerated type in the interface language definition. The class contains class attributes which represent the values in the current version of the enumerated type. Newer versions of the enumerated type may contain new values. To use new values of the enumerated type in communication with a server that supports the newer version of the API, you instantiate this class. See enumerated type description page.
- Parameters
string (
str
) – String value for theHostInstanceTypes
instance.
-
I3EN_METAL
= HostInstanceTypes(string='I3EN_METAL')¶
-
I3_METAL
= HostInstanceTypes(string='I3_METAL')¶
-
R5_METAL
= HostInstanceTypes(string='R5_METAL')¶
-
class
com.vmware.vmc.model_client.
HostLeaseInfo
(mac_address=None, ends=None, abandoned=None, cltt=None, client_hostname=None, starts=None, binding_state=None, hardware_type=None, tsfp=None, uid=None, next_binding_state=None, ip_address=None, tstp=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DHCP lease information.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
mac_address (
str
orNone
) – MAC address of the client.ends (
str
orNone
) – End time of the lease.abandoned (
str
orNone
) – Time stamp of when IP address was marked as abandoned.cltt (
str
orNone
) – Client Last Transaction Time of the lease info.client_hostname (
str
orNone
) – Name of the client.starts (
str
orNone
) – Start time of the lease.binding_state (
str
orNone
) – Lease’s binding state.hardware_type (
str
orNone
) – The hardware type on which the lease will be used.tsfp (
str
orNone
) – Time Sent From Partner of the lease info.uid (
str
orNone
) – Uid to identify the DHCP lease.next_binding_state (
str
orNone
) – Indicates what state the lease will move to when the current state expires.ip_address (
str
orNone
) – IP address of the client.tstp (
str
orNone
) – Time Sent To Partner of the lease info.
-
class
com.vmware.vmc.model_client.
InteractionPermissions
(manage_permission=None, view_permission=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
manage_permission (
bool
orNone
) –view_permission (
bool
orNone
) –
-
class
com.vmware.vmc.model_client.
InterfacesDashboardStats
(vnic7_in_pkt=None, vnic0_in_byte=None, vnic8_out_pkt=None, vnic5_in_byte=None, vnic2_in_pkt=None, vnic3_in_pkt=None, vnic6_out_byte=None, vnic3_in_byte=None, vnic8_in_pkt=None, vnic1_in_byte=None, vnic1_out_pkt=None, vnic5_out_byte=None, vnic0_out_pkt=None, vnic0_out_byte=None, vnic6_out_pkt=None, vnic3_out_byte=None, vnic7_in_byte=None, vnic1_out_byte=None, vnic9_out_pkt=None, vnic9_in_pkt=None, vnic4_in_byte=None, vnic5_out_pkt=None, vnic2_out_pkt=None, vnic2_in_byte=None, vnic5_in_pkt=None, vnic7_out_pkt=None, vnic3_out_pkt=None, vnic4_out_pkt=None, vnic4_out_byte=None, vnic1_in_pkt=None, vnic2_out_byte=None, vnic6_in_byte=None, vnic0_in_pkt=None, vnic9_in_byte=None, vnic7_out_byte=None, vnic4_in_pkt=None, vnic9_out_byte=None, vnic8_out_byte=None, vnic8_in_byte=None, vnic6_in_pkt=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Dashboard Statistics data for Interfaces.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
vnic7_in_pkt (
list
ofDashboardStat
orNone
) –vnic0_in_byte (
list
ofDashboardStat
orNone
) –vnic8_out_pkt (
list
ofDashboardStat
orNone
) –vnic5_in_byte (
list
ofDashboardStat
orNone
) –vnic2_in_pkt (
list
ofDashboardStat
orNone
) –vnic3_in_pkt (
list
ofDashboardStat
orNone
) –vnic6_out_byte (
list
ofDashboardStat
orNone
) –vnic3_in_byte (
list
ofDashboardStat
orNone
) –vnic8_in_pkt (
list
ofDashboardStat
orNone
) –vnic1_in_byte (
list
ofDashboardStat
orNone
) –vnic1_out_pkt (
list
ofDashboardStat
orNone
) –vnic5_out_byte (
list
ofDashboardStat
orNone
) –vnic0_out_pkt (
list
ofDashboardStat
orNone
) –vnic0_out_byte (
list
ofDashboardStat
orNone
) –vnic6_out_pkt (
list
ofDashboardStat
orNone
) –vnic3_out_byte (
list
ofDashboardStat
orNone
) –vnic7_in_byte (
list
ofDashboardStat
orNone
) –vnic1_out_byte (
list
ofDashboardStat
orNone
) –vnic9_out_pkt (
list
ofDashboardStat
orNone
) –vnic9_in_pkt (
list
ofDashboardStat
orNone
) –vnic4_in_byte (
list
ofDashboardStat
orNone
) –vnic5_out_pkt (
list
ofDashboardStat
orNone
) –vnic2_out_pkt (
list
ofDashboardStat
orNone
) –vnic2_in_byte (
list
ofDashboardStat
orNone
) –vnic5_in_pkt (
list
ofDashboardStat
orNone
) –vnic7_out_pkt (
list
ofDashboardStat
orNone
) –vnic3_out_pkt (
list
ofDashboardStat
orNone
) –vnic4_out_pkt (
list
ofDashboardStat
orNone
) –vnic4_out_byte (
list
ofDashboardStat
orNone
) –vnic1_in_pkt (
list
ofDashboardStat
orNone
) –vnic2_out_byte (
list
ofDashboardStat
orNone
) –vnic6_in_byte (
list
ofDashboardStat
orNone
) –vnic0_in_pkt (
list
ofDashboardStat
orNone
) –vnic9_in_byte (
list
ofDashboardStat
orNone
) –vnic7_out_byte (
list
ofDashboardStat
orNone
) –vnic4_in_pkt (
list
ofDashboardStat
orNone
) –vnic9_out_byte (
list
ofDashboardStat
orNone
) –vnic8_out_byte (
list
ofDashboardStat
orNone
) –vnic8_in_byte (
list
ofDashboardStat
orNone
) –vnic6_in_pkt (
list
ofDashboardStat
orNone
) –
-
class
com.vmware.vmc.model_client.
IpAddresses
(ip_address=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IP address
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
ip_address (
list
ofstr
orNone
) – List of IP addresses.
-
class
com.vmware.vmc.model_client.
Ipsec
(feature_type=None, logging=None, global_=None, enabled=None, sites=None, disable_event=None, version=None, template=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
NSX Edge IPsec configuration details.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
feature_type (
str
orNone
) –logging (
Logging
orNone
) – Configure logging for the feature on NSX Edge appliance. Logging is disabled by default. Optional.global (
IpsecGlobalConfig
orNone
) – IPsec Global configuration details.enabled (
bool
orNone
) – Value is true if feature is enabled. Default value is true. Optional.sites (
IpsecSites
orNone
) – IPsec Site configuration details.disable_event (
bool
orNone
) – Enable/disable event generation on NSX Edge appliance for IPsec.version (
long
orNone
) – Version number tracking each configuration change. To avoid problems with overwriting changes, always retrieve and modify the latest configuration to include the current version number in your request. If you provide a version number which is not current, the request is rejected. If you omit the version number, the request is accepted but may overwrite any current changes if your change is not in sync with the latest change. format: int64template (
str
orNone
) –
-
class
com.vmware.vmc.model_client.
IpsecDashboardStats
(ipsec_bytes_out=None, ipsec_bytes_in=None, ipsec_tunnels=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Dashboard Statistics data for Ipsec.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
ipsec_bytes_out (
list
ofDashboardStat
orNone
) – Tx transmitted bytes.ipsec_bytes_in (
list
ofDashboardStat
orNone
) – Rx received bytes.ipsec_tunnels (
list
ofDashboardStat
orNone
) – Number of Ipsec tunnels.
-
class
com.vmware.vmc.model_client.
IpsecGlobalConfig
(psk=None, ca_certificates=None, service_certificate=None, crl_certificates=None, extension=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
IPsec Global configuration details.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
psk (
str
orNone
) – IPsec Global Pre Shared Key. Maximum characters is 128. Required when peerIp is configured as ‘any’ in NSX Edge IPsec Site configuration.ca_certificates (
CaCertificates
orNone
) – CA certificate list. Optional.service_certificate (
str
orNone
) – Certificate name or identifier. Required when x.509 is selected as the authentication mode.crl_certificates (
CrlCertificates
orNone
) – CRL certificate list. Optional.extension (
str
orNone
) –
-
class
com.vmware.vmc.model_client.
IpsecSite
(psk=None, local_id=None, enable_pfs=None, authentication_mode=None, peer_subnets=None, dh_group=None, site_id=None, description=None, peer_ip=None, name=None, certificate=None, local_ip=None, encryption_algorithm=None, enabled=None, mtu=None, extension=None, peer_id=None, local_subnets=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
NSX Edge IPsec Site configuration details.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
psk (
str
orNone
) – Pre Shared Key for the IPsec Site. Required if Site peerIp is not ‘any’. Global PSK is used when Authentication mode is PSK and Site peerIp is ‘any’.local_id (
str
orNone
) – Local ID of the IPsec Site. Defaults to the local IP.enable_pfs (
bool
orNone
) – Enable/disable Perfect Forward Secrecy. Default is true.authentication_mode (
str
orNone
) – Authentication mode for the IPsec Site. Valid values are psk and x.509, with psk as default.peer_subnets (
Subnets
orNone
) – Peer subnets for which IPsec VPN is configured.dh_group (
str
orNone
) – Diffie-Hellman algorithm group. Defaults to DH14 for FIPS enabled NSX Edge. DH2 and DH5 are not supported when FIPS is enabled on NSX Edge. Valid values are DH2, DH5, DH14, DH15, DH16.site_id (
str
orNone
) – ID of the IPsec Site configuration provided by NSX Manager.description (
str
orNone
) – Description of the IPsec Site.peer_ip (
str
orNone
) – IP (IPv4) address or FQDN of the Peer. Can also be specified as ‘any’. Required.name (
str
orNone
) – Name of the IPsec Site.certificate (
str
orNone
) –local_ip (
str
orNone
) – Local IP of the IPsec Site. Should be one of the IP addresses configured on the uplink interfaces of the NSX Edge. Required.encryption_algorithm (
str
orNone
) – IPsec encryption algorithm with default as aes256. Valid values are ‘aes’, ‘aes256’, ‘3des’, ‘aes-gcm’.enabled (
bool
orNone
) – Enable/disable IPsec Site.mtu (
long
orNone
) – MTU for the IPsec site. Defaults to the mtu of the NSX Edge vnic specified by the localIp. Optional. format: int32extension (
str
orNone
) –peer_id (
str
orNone
) – Peer ID. Should be unique for all IPsec Site’s configured for an NSX Edge.local_subnets (
Subnets
orNone
) – Local subnets for which IPsec VPN is configured.
-
class
com.vmware.vmc.model_client.
IpsecSiteIKEStatus
(channel_status=None, channel_state=None, peer_ip_address=None, local_ip_address=None, peer_subnets=None, peer_id=None, last_informational_message=None, local_subnets=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
) –channel_state (
str
orNone
) –peer_ip_address (
str
orNone
) –local_ip_address (
str
orNone
) –peer_subnets (
list
ofstr
orNone
) –peer_id (
str
orNone
) –last_informational_message (
str
orNone
) –local_subnets (
list
ofstr
orNone
) –
-
class
com.vmware.vmc.model_client.
IpsecSiteStats
(rx_bytes_on_site=None, tunnel_stats=None, ike_status=None, site_status=None, tx_bytes_from_site=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
rx_bytes_on_site (
long
orNone
) –tunnel_stats (
list
ofIpsecTunnelStats
orNone
) –ike_status (
IpsecSiteIKEStatus
orNone
) –site_status (
str
orNone
) –tx_bytes_from_site (
long
orNone
) –
-
class
com.vmware.vmc.model_client.
IpsecSites
(sites=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
List of IPsec sites for NSX Edge.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
sites (
list
ofIpsecSite
orNone
) –
-
class
com.vmware.vmc.model_client.
IpsecStatusAndStats
(time_stamp=None, server_status=None, site_statistics=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
time_stamp (
long
orNone
) –server_status (
str
orNone
) –site_statistics (
list
ofIpsecSiteStats
orNone
) –
-
class
com.vmware.vmc.model_client.
IpsecTunnelStats
(tunnel_status=None, peer_spi=None, rx_bytes_on_local_subnet=None, established_date=None, peer_subnet=None, authentication_algorithm=None, tunnel_state=None, tx_bytes_from_local_subnet=None, last_informational_message=None, local_spi=None, encryption_algorithm=None, local_subnet=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
tunnel_status (
str
orNone
) –peer_spi (
str
orNone
) –rx_bytes_on_local_subnet (
long
orNone
) –established_date (
str
orNone
) –peer_subnet (
str
orNone
) –authentication_algorithm (
str
orNone
) –tunnel_state (
str
orNone
) –tx_bytes_from_local_subnet (
long
orNone
) –last_informational_message (
str
orNone
) –local_spi (
str
orNone
) –encryption_algorithm (
str
orNone
) –local_subnet (
str
orNone
) –
-
class
com.vmware.vmc.model_client.
KeyValueAttributes
(value=None, key=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Key value pair describing the feature configuration limit.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
value (
str
orNone
) – Value corresponding to the key of the configuration limit parameter.key (
str
orNone
) – Key name of the configuration limit parameter.
-
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.
L2Extension
(tunnel_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Layer 2 extension.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
tunnel_id (
long
) – Identifier for layer 2 extension tunnel. Valid range: 1-4093. format: int32
-
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.
L2vpnStats
(tunnel_status=None, established_date=None, name=None, dropped_rx_packets=None, encryption_algorithm=None, failure_message=None, tx_bytes_from_local_subnet=None, rx_bytes_on_local_subnet=None, dropped_tx_packets=None, last_updated_time=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
L2 VPN status and statistics of a single L2 VPN site.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
tunnel_status (
str
orNone
) – Status of the tunnel (UP/DOWN).established_date (
long
orNone
) – Tunnel established date. format: int64name (
str
orNone
) – User defined name of the site.dropped_rx_packets (
long
orNone
) – Number of received packets dropped.encryption_algorithm (
str
orNone
) – Cipher used in encryption.failure_message (
str
orNone
) – Reason for the tunnel down.tx_bytes_from_local_subnet (
long
orNone
) – Number of bytes transferred from local subnet.rx_bytes_on_local_subnet (
long
orNone
) – Number of bytes received on the local subnet.dropped_tx_packets (
long
orNone
) – Number of transferred packets dropped.last_updated_time (
long
orNone
) – Time stamp of the statistics collection. format: int64
-
class
com.vmware.vmc.model_client.
L2vpnStatusAndStats
(time_stamp=None, server_status=None, site_stats=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
L2 VPN status and statistics.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
time_stamp (
long
orNone
) – Time stamp of statistics collection. format: int64server_status (
str
orNone
) –site_stats (
list
ofL2vpnStats
orNone
) – List of statistics for each Site.
-
class
com.vmware.vmc.model_client.
LicenceAclPermissions
(data_permission=None, is_licensed=None, access_permission=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Licence and access control information for the feature.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
data_permission (
DataPermissions
orNone
) – Data access control information for the feature.is_licensed (
bool
orNone
) – Value is true if feature is licenced.access_permission (
InteractionPermissions
orNone
) – Access control information for the feature.
-
class
com.vmware.vmc.model_client.
LoadBalancerDashboardStats
(lb_bps_in=None, lb_http_reqs=None, lb_bps_out=None, lb_sessions=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Dashboard Statistics data for Load Balancer.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
lb_bps_in (
list
ofDashboardStat
orNone
) – Number of bytes in.lb_http_reqs (
list
ofDashboardStat
orNone
) – Number of HTTP requests received by Load Balancer.lb_bps_out (
list
ofDashboardStat
orNone
) – Number of bytes out.lb_sessions (
list
ofDashboardStat
orNone
) – Number of Load Balancer sessions.
-
class
com.vmware.vmc.model_client.
Logging
(log_level=None, enable=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
logging.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
log_level (
str
orNone
) – Log level. Valid values: emergency, alert, critical, error, warning, notice, info, debug.enable (
bool
orNone
) – Logging enabled.
-
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.
LogicalRouterScope
(type=None, 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
) –id (
str
orNone
) –
-
class
com.vmware.vmc.model_client.
LogicalRouterScopes
(logical_router_scope=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
logical_router_scope (
list
ofLogicalRouterScope
orNone
) –
-
class
com.vmware.vmc.model_client.
MacAddress
(edge_vm_ha_index=None, value=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
edge_vm_ha_index (
long
orNone
) –value (
str
orNone
) –
-
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.
MetaDashboardStats
(vnics=None, end_time=None, start_time=None, interval=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Start time, end time and interval details.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
vnics (
list
ofVnic
orNone
) – Statistics data is collected for these vNICs.end_time (
long
orNone
) – End time in seconds. format: int64start_time (
long
orNone
) – Start time in seconds. format: int64interval (
long
orNone
) – Time interval in seconds. format: int32
-
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.
Nat
(rules=None, feature_type=None, version=None, enabled=None, template=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
NAT configuration
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
rules (
NatRules
orNone
) – Ordered list of NAT rules.feature_type (
str
orNone
) –version (
long
orNone
) – Version number tracking each configuration change. To avoid problems with overwriting changes, always retrieve and modify the latest configuration to include the current version number in your request. If you provide a version number which is not current, the request is rejected. If you omit the version number, the request is accepted but may overwrite any current changes if your change is not in sync with the latest change. format: int64enabled (
bool
orNone
) – Value is true if feature is enabled. Default value is true. Optional.template (
str
orNone
) –
-
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.
NatRules
(nat_rules_dtos=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Ordered list of NAT rules.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
nat_rules_dtos (
list
ofNsxnatrule
orNone
) – Ordered list of NAT rules.
-
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.
Nsxfirewallrule
(rule_type=None, description=None, rule_id=None, match_translated=None, invalid_application=None, direction=None, statistics=None, name=None, invalid_source=None, logging_enabled=None, destination=None, enabled=None, application=None, source=None, action=None, invalid_destination=None, rule_tag=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Firewall Rule
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
rule_type (
str
orNone
) – Identifies the type of the rule. internal_high or user.description (
str
orNone
) – Description for the rulerule_id (
long
orNone
) – Identifier for the rule. format: int64match_translated (
bool
orNone
) – Defines the order of NAT and Firewall pipeline. When false, firewall happens before NAT. Default : falseinvalid_application (
bool
orNone
) –direction (
str
orNone
) – Direction. Possible values in or out. Default is ‘any’.statistics (
FirewallRuleStats
orNone
) – Statistics for the rulename (
str
orNone
) – Name for the rule.invalid_source (
bool
orNone
) –logging_enabled (
bool
orNone
) – Enable logging for the rule.destination (
AddressFWSourceDestination
orNone
) – List of destinations. Default is any.enabled (
bool
orNone
) – Enable rule.application (
Application
orNone
) – List of applications. Default is any.source (
AddressFWSourceDestination
orNone
) – List of sources. Default is any.action (
str
orNone
) – Action. Values : accept, denyinvalid_destination (
bool
orNone
) –rule_tag (
long
orNone
) – Rule tag. Used to specify user-defined ruleId. If not specified NSX Manager will generate ruleId. format: int64
-
class
com.vmware.vmc.model_client.
Nsxfirewallservice
(source_port=None, protocol=None, port=None, icmp_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Application (service) for firewall rule.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
source_port (
list
ofstr
orNone
) – List of source ports.protocol (
str
orNone
) – Protocol.port (
list
ofstr
orNone
) – List of destination ports.icmp_type (
str
orNone
) – IcmpType. Only supported when protocol is icmp. Default is ‘any’.
-
class
com.vmware.vmc.model_client.
Nsxl2vpn
(listener_ips=None, enabled=None, sites=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
L2 VPN server configuration.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
listener_ips (
list
ofstr
) – Listener IP addresses.enabled (
bool
orNone
) – Enabled state of L2 VPN service.sites (
Sites
) – List of L2 VPN sites.
-
class
com.vmware.vmc.model_client.
Nsxnatrule
(vnic=None, rule_type=None, protocol=None, description=None, rule_id=None, snat_match_destination_port=None, original_address=None, dnat_match_source_address=None, dnat_match_source_port=None, snat_match_destination_address=None, original_port=None, logging_enabled=None, translated_address=None, enabled=None, icmp_type=None, translated_port=None, action=None, rule_tag=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
NAT rule
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
vnic (
str
orNone
) – Interface on which the NAT rule is applied.rule_type (
str
orNone
) – Identifies the type of the rule. internal_high or user.protocol (
str
orNone
) – Protocol. Default is ‘any’description (
str
orNone
) – Description for the rule.rule_id (
long
orNone
) – Identifier for the rule. format: int64snat_match_destination_port (
str
orNone
) – Apply SNAT rule only if traffic has this destination port. Default is ‘any’.original_address (
str
orNone
) – Original address or address range. This is the original source address for SNAT rules and the original destination address for DNAT rules.dnat_match_source_address (
str
orNone
) – Apply DNAT rule only if traffic has this source address. Default is ‘any’.dnat_match_source_port (
str
orNone
) – Apply DNAT rule only if traffic has this source port. Default is ‘any’.snat_match_destination_address (
str
orNone
) – Apply SNAT rule only if traffic has this destination address. Default is ‘any’.original_port (
str
orNone
) – Original port. This is the original source port for SNAT rules, and the original destination port for DNAT rules.logging_enabled (
bool
orNone
) – Enable logging for the rule.translated_address (
str
orNone
) – Translated address or address range.enabled (
bool
orNone
) – Enable rule.icmp_type (
str
orNone
) – ICMP type. Only supported when protocol is icmp. Default is ‘any’.translated_port (
str
orNone
) – Translated port. Supported in DNAT rules only.action (
str
orNone
) – Action for the rule. SNAT or DNAT.rule_tag (
long
orNone
) – Rule tag. Used to specify user-defined ruleId. If not specified NSX Manager will generate ruleId. format: int64
-
class
com.vmware.vmc.model_client.
Nsxsite
(secure_traffic=None, site_id=None, name=None, password=None, user_id=None, description=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
L2 VPN site.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
secure_traffic (
bool
orNone
) – Secure L2VPN traffic.site_id (
str
orNone
) – Identifier for L2 VPN site.name (
str
orNone
) – Name of L2 VPN site. Length: 1-255 characters.password (
str
orNone
) – Password for L2 VPN user. Passwords must contain the following: 12-63 characters, a mix of upper case letters, lower case letters, numbers, and at least one special character. Password must not contain the username as a substring. Do not repeat a character 3 or more times.user_id (
str
orNone
) – L2 VPN user ID. Valid user names: 1-63 characters, letters and numbers only. No white space or special characters.description (
str
orNone
) – Description of L2 VPN site.
-
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.
ObjectType
(name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
name (
str
orNone
) –
-
class
com.vmware.vmc.model_client.
OfferInstancesHolder
(on_demand=None, offers=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Holder for the offer instances.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
on_demand (
OnDemandOfferInstance
) –offers (
list
ofTermOfferInstance
) –
-
class
com.vmware.vmc.model_client.
OfferType
(string)¶ Bases:
vmware.vapi.bindings.enum.Enum
Note
This class represents an enumerated type in the interface language definition. The class contains class attributes which represent the values in the current version of the enumerated type. Newer versions of the enumerated type may contain new values. To use new values of the enumerated type in communication with a server that supports the newer version of the API, you instantiate this class. See enumerated type description page.
- Parameters
string (
str
) – String value for theOfferType
instance.
-
ON_DEMAND
= OfferType(string='ON_DEMAND')¶
-
TERM
= OfferType(string='TERM')¶
-
class
com.vmware.vmc.model_client.
OnDemandOfferInstance
(product_type=None, name=None, currency=None, region=None, unit_price=None, monthly_cost=None, version=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_type (
str
) –name (
str
) –currency (
str
) –region (
str
) –unit_price (
str
) –monthly_cost (
str
) –version (
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.
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, 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
) –project_state (
str
orNone
) –Possible values are:
properties (
OrgProperties
orNone
) –
-
PROJECT_STATE_CREATED
= 'CREATED'¶
-
PROJECT_STATE_DELETED
= 'DELETED'¶
-
class
com.vmware.vmc.model_client.
PagedEdgeList
(edge_page=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
NSX Edges listed by pages.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
edge_page (
DataPageEdgeSummary
orNone
) – Page details with matched records.
-
class
com.vmware.vmc.model_client.
PagingInfo
(sort_order_ascending=None, total_count=None, start_index=None, sort_by=None, page_size=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
sort_order_ascending (
bool
orNone
) –total_count (
long
orNone
) –start_index (
long
orNone
) –sort_by (
str
orNone
) –page_size (
long
orNone
) –
-
class
com.vmware.vmc.model_client.
PopAgentXeniConnection
(default_subnet_route=None, eni_info=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
default_subnet_route (
str
orNone
) – The gateway route ip fo the subnet.eni_info (
EniInfo
orNone
) –
-
class
com.vmware.vmc.model_client.
PopAmiInfo
(instance_type=None, region=None, id=None, name=None, type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
instance_type (
str
orNone
) – instance type of the esx amiregion (
str
orNone
) – the region of the esx amiid (
str
orNone
) – the ami id for the esxname (
str
orNone
) – the name of the esx amitype (
str
orNone
) –Possible values are:
PoP AMI type. CENTOS: a Centos AMI; POP: a PoP AMI.
-
TYPE_CENTOS
= 'CENTOS'¶
-
TYPE_POP
= 'POP'¶
-
class
com.vmware.vmc.model_client.
PopInfo
(ami_infos=None, created_at=None, service_infos=None, id=None, manifest_version=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Present a SDDC PoP information.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
ami_infos (
dict
ofstr
andPopAmiInfo
) – A map of [region name of PoP / PoP-AMI]:[PopAmiInfo].created_at (
datetime.datetime
orNone
) – The PopInfo (or PoP AMI) created time. Using ISO 8601 date-time pattern. format: date-timeservice_infos ((
dict
ofstr
andPopServiceInfo
) orNone
) – A map of [service type]:[PopServiceInfo]id (
str
orNone
) – UUID of the PopInfo format: UUIDmanifest_version (
str
orNone
) – version of the manifest.
-
class
com.vmware.vmc.model_client.
PopServiceInfo
(cln=None, version=None, build=None, service=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
cln (
str
orNone
) – The service change set number.version (
str
orNone
) – The service API version.build (
str
orNone
) – The service build number.service (
str
orNone
) –Possible values are:
An enum of PoP related services (including os platform and JRE).
-
SERVICE_AGENT
= 'AGENT'¶
-
SERVICE_AIDE
= 'AIDE'¶
-
SERVICE_BRE
= 'BRE'¶
-
SERVICE_BRF
= 'BRF'¶
-
SERVICE_DNS
= 'DNS'¶
-
SERVICE_DOCKER
= 'DOCKER'¶
-
SERVICE_FM_LOG_COLLECTOR
= 'FM_LOG_COLLECTOR'¶
-
SERVICE_FM_METRICS_COLLECTOR
= 'FM_METRICS_COLLECTOR'¶
-
SERVICE_FORWARD_PROXY
= 'FORWARD_PROXY'¶
-
SERVICE_GLCM
= 'GLCM'¶
-
SERVICE_JRE
= 'JRE'¶
-
SERVICE_LOGZ_LOG_COLLECTOR
= 'LOGZ_LOG_COLLECTOR'¶
-
SERVICE_NTP
= 'NTP'¶
-
SERVICE_OS
= 'OS'¶
-
SERVICE_REVERSE_PROXY
= 'REVERSE_PROXY'¶
-
SERVICE_RTS
= 'RTS'¶
-
SERVICE_S3_ADAPTER
= 'S3_ADAPTER'¶
-
class
com.vmware.vmc.model_client.
Requests
(total=None, queries=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DNS request statistics.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
total (
long
orNone
) –queries (
long
orNone
) –
-
class
com.vmware.vmc.model_client.
Reservation
(duration=None, rid=None, create_time=None, start_time=None, metadata=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
duration (
long
orNone
) – Duration - required for reservation in maintenance window format: int64rid (
str
orNone
) – Reservation ID format: uuidcreate_time (
str
orNone
) – Optionalstart_time (
datetime.datetime
orNone
) – Start time of a reservation format: date-timemetadata ((
dict
ofstr
andstr
) orNone
) – Optional
-
class
com.vmware.vmc.model_client.
ReservationInMw
(rid=None, week_of=None, create_time=None, metadata=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
rid (
str
orNone
) – Reservation ID format: uuidweek_of (
str
orNone
) – SUNDAY of the week that maintenance is scheduled, ISO format datecreate_time (
datetime.datetime
orNone
) – Optional format: date-timemetadata ((
dict
ofstr
andstr
) orNone
) – Optional
-
class
com.vmware.vmc.model_client.
ReservationSchedule
(day_of_week=None, hour_of_day=None, duration_min=None, version=None, reservations=None, reservations_mw=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
day_of_week (
str
orNone
) –Possible values are:
hour_of_day (
long
orNone
) –duration_min (
long
orNone
) –version (
long
orNone
) –reservations (
list
ofReservation
orNone
) –reservations_mw (
list
ofReservationInMw
orNone
) –
-
DAY_OF_WEEK_FRIDAY
= 'FRIDAY'¶
-
DAY_OF_WEEK_MONDAY
= 'MONDAY'¶
-
DAY_OF_WEEK_SATURDAY
= 'SATURDAY'¶
-
DAY_OF_WEEK_SUNDAY
= 'SUNDAY'¶
-
DAY_OF_WEEK_THURSDAY
= 'THURSDAY'¶
-
DAY_OF_WEEK_TUESDAY
= 'TUESDAY'¶
-
DAY_OF_WEEK_WEDNESDAY
= 'WEDNESDAY'¶
-
class
com.vmware.vmc.model_client.
ReservationWindow
(reservation_state=None, emergency=None, maintenance_properties=None, reserve_id=None, start_hour=None, sddc_id=None, manifest_id=None, duration_hours=None, start_date=None, metadata=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
reservation_state (
str
orNone
) –Possible values are:
emergency (
bool
orNone
) –maintenance_properties (
ReservationWindowMaintenanceProperties
orNone
) –reserve_id (
str
orNone
) –start_hour (
long
orNone
) –sddc_id (
str
orNone
) –manifest_id (
str
orNone
) –duration_hours (
long
orNone
) –start_date (
str
orNone
) –metadata ((
dict
ofstr
andstr
) orNone
) – Metadata for reservation window, in key-value form
-
RESERVATION_STATE_CANCELED
= 'CANCELED'¶
-
RESERVATION_STATE_COMPLETED
= 'COMPLETED'¶
-
RESERVATION_STATE_RUNNING
= 'RUNNING'¶
-
RESERVATION_STATE_SCHEDULED
= 'SCHEDULED'¶
-
class
com.vmware.vmc.model_client.
ReservationWindowMaintenanceProperties
(status=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
status (
str
orNone
) – Status of upgrade, if any
-
class
com.vmware.vmc.model_client.
Result
(value=None, key=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Job result information for the configuration change carried out on NSX Edge.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
value (
str
orNone
) – Job Result value associated with key ID.key (
str
orNone
) – Job Result key ID.
-
class
com.vmware.vmc.model_client.
ScopeInfo
(object_type_name=None, id=None, name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
object_type_name (
str
orNone
) –id (
str
orNone
) –name (
str
orNone
) –
-
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, one_node_reduced_capacity=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 sddcone_node_reduced_capacity (
bool
orNone
) – Whether this sddc is reduced capacity 1NODEprovider (
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_DELETED
= 'DELETED'¶
-
SDDC_STATE_DELETING
= 'DELETING'¶
-
SDDC_STATE_DELETION_FAILED
= 'DELETION_FAILED'¶
-
SDDC_STATE_DEPLOYING
= 'DEPLOYING'¶
-
SDDC_STATE_FAILED
= 'FAILED'¶
-
SDDC_STATE_READY
= 'READY'¶
-
class
com.vmware.vmc.model_client.
SddcAllocatePublicIpSpec
(count=None, private_ips=None, names=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
count (
long
) –private_ips (
list
ofstr
orNone
) – List of workload VM private IPs to be assigned the public IP just allocated.names (
list
ofstr
orNone
) – List of names for the workload VM public IP assignment.
-
class
com.vmware.vmc.model_client.
SddcConfig
(one_node_reduced_capacity=None, vpc_cidr=None, host_instance_type=None, skip_creating_vxlan=None, vxlan_subnet=None, size=None, storage_capacity=None, name=None, account_link_sddc_config=None, 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
one_node_reduced_capacity (
bool
orNone
) – Whether this sddc is reduced capacity 1NODE.vpc_cidr (
str
orNone
) – AWS VPC IP range. Only prefix of 16 or 20 is currently supported.host_instance_type (
HostInstanceTypes
orNone
) – The instance type for the esx hosts in the primary cluster of the SDDC.skip_creating_vxlan (
bool
orNone
) – skip creating vxlan for compute gateway for SDDC provisioningvxlan_subnet (
str
orNone
) – VXLAN IP subnet in CIDR for compute gatewaysize (
str
orNone
) – The size of the vCenter and NSX appliances. xlarge sddcSize corresponds to an ‘extra_large’ vCenter appliance and ‘large’ NSX appliance. ‘medium’ sddcSize corresponds to ‘medium’ vCenter appliance and ‘medium’ NSX appliance. Value defaults to ‘medium’.storage_capacity (
long
orNone
) – The storage capacity value to be requested for the sddc primary cluster, in GiBs. If provided, instead of using the direct-attached storage, a capacity value amount of seperable storage will be used. format: int64name (
str
) –account_link_sddc_config (
list
ofAccountLinkSddcConfig
orNone
) – A list of the SDDC linking configurations to use.num_hosts (
long
) –sddc_type (
str
orNone
) – Denotes the sddc type , if the value is null or empty, the type is considered as default.account_link_config (
AccountLinkConfig
orNone
) – The account linking configuration, we will keep this one and remove accountLinkSddcConfig finally.provider (
str
) –Possible values are:
Determines what additional properties are available based on cloud provider.
sso_domain (
str
orNone
) – The SSO domain name to use for vSphere users. If not specified, vmc.local will be used.sddc_template_id (
str
orNone
) – If provided, configuration from the template will applied to the provisioned SDDC. format: UUIDdeployment_type (
str
orNone
) –Possible values are:
Denotes if request is for a SingleAZ or a MultiAZ SDDC. Default is SingleAZ.
-
DEPLOYMENT_TYPE_MULTIAZ
= 'MultiAZ'¶
-
DEPLOYMENT_TYPE_SINGLEAZ
= 'SingleAZ'¶
-
PROVIDER_AWS
= 'AWS'¶
-
PROVIDER_ZEROCLOUD
= 'ZEROCLOUD'¶
-
property
provider
¶ Return the discriminator value
-
class
com.vmware.vmc.model_client.
SddcId
(sddc_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
sddc_id (
str
orNone
) – Sddc ID
-
class
com.vmware.vmc.model_client.
SddcLinkConfig
(customer_subnet_ids=None, connected_account_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
customer_subnet_ids (
list
ofstr
orNone
) –connected_account_id (
str
orNone
) – Determines which connected customer account to link to
-
class
com.vmware.vmc.model_client.
SddcManifest
(vmc_version=None, glcm_bundle=None, pop_info=None, vmc_internal_version=None, ebs_backed_vsan_config=None, vsan_witness_ami=None, esx_ami=None, esx_nsxt_ami=None, metadata=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Describes software components of the installed SDDC
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
vmc_version (
str
orNone
) – the vmcVersion of the sddc for displayglcm_bundle (
GlcmBundle
orNone
) –pop_info (
PopInfo
orNone
) –vmc_internal_version (
str
orNone
) – the vmcInternalVersion of the sddc for internal useebs_backed_vsan_config (
EbsBackedVsanConfig
orNone
) –vsan_witness_ami (
AmiInfo
orNone
) –esx_ami (
AmiInfo
orNone
) –esx_nsxt_ami (
AmiInfo
orNone
) –metadata (
Metadata
orNone
) –
-
class
com.vmware.vmc.model_client.
SddcNetwork
(subnets=None, cgw_name=None, name=None, l2_extension=None, cgw_id=None, dhcp_configs=None, id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Logical network.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
subnets (
SddcNetworkAddressGroups
orNone
) – Network address groups for routed logical networks.cgw_name (
str
orNone
) – Name of the compute gateway to which the logical network is attached.name (
str
) – Name of logical network. Length needs to be between 1-35 characters.l2_extension (
L2Extension
orNone
) – Layer 2 extension for extended logical networks.cgw_id (
str
) – ID of the compute gateway edge to which the logical network is attached.dhcp_configs (
SddcNetworkDhcpConfig
orNone
) – DHCP configuration for routed logical networks.id (
str
orNone
) – ID of logical network.
-
class
com.vmware.vmc.model_client.
SddcNetworkAddressGroup
(prefix_length=None, primary_address=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Logical Network address group.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
prefix_length (
str
orNone
) – Prefix length of logical network.primary_address (
str
orNone
) – Primary address for logical network.
-
class
com.vmware.vmc.model_client.
SddcNetworkAddressGroups
(address_groups=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Logical network address groups.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
address_groups (
list
ofSddcNetworkAddressGroup
orNone
) – List of logical network address groups.
-
class
com.vmware.vmc.model_client.
SddcNetworkDhcpConfig
(ip_pools=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DHCP configuration for the logical network.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
ip_pools (
list
ofSddcNetworkDhcpIpPool
orNone
) – List of IP pools in DHCP configuration.
-
class
com.vmware.vmc.model_client.
SddcNetworkDhcpIpPool
(ip_range=None, domain_name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
DHCP IP pool for logical network.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
ip_range (
str
orNone
) – IP range for DHCP IP pool.domain_name (
str
orNone
) – DNS domain name.
-
class
com.vmware.vmc.model_client.
SddcPatchRequest
(name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Patch request body for SDDC
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
name (
str
orNone
) – The new name of the SDDC to be changed to.
-
class
com.vmware.vmc.model_client.
SddcPublicIp
(public_ip=None, name=None, allocation_id=None, dnat_rule_id=None, associated_private_ip=None, snat_rule_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
public_ip (
str
) –name (
str
orNone
) –allocation_id (
str
orNone
) –dnat_rule_id (
str
orNone
) –associated_private_ip (
str
orNone
) –snat_rule_id (
str
orNone
) –
-
class
com.vmware.vmc.model_client.
SddcResourceConfig
(mgmt_appliance_network_name=None, nsxt=None, mgw_id=None, nsx_mgr_url=None, psc_management_ip=None, psc_url=None, cgws=None, availability_zones=None, management_ds=None, nsx_api_public_endpoint_url=None, custom_properties=None, cloud_password=None, provider='SddcResourceConfig', clusters=None, vc_management_ip=None, sddc_networks=None, cloud_username=None, esx_hosts=None, nsx_mgr_management_ip=None, vc_instance_id=None, esx_cluster_id=None, vc_public_ip=None, skip_creating_vxlan=None, vc_url=None, sddc_manifest=None, vxlan_subnet=None, cloud_user_group=None, management_rp=None, region=None, witness_availability_zone=None, sddc_id=None, pop_agent_xeni_connection=None, nsx_controller_ips=None, esx_host_subnet=None, sso_domain=None, deployment_type=None, nsxt_addons=None, dns_with_management_vm_private_ip=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
mgmt_appliance_network_name (
str
orNone
) – Name for management appliance network.nsxt (
bool
orNone
) – if true, NSX-T UI is enabled.mgw_id (
str
orNone
) – Management Gateway Idnsx_mgr_url (
str
orNone
) – URL of the NSX Managerpsc_management_ip (
str
orNone
) – PSC internal management IPpsc_url (
str
orNone
) – URL of the PSC servercgws (
list
ofstr
orNone
) –availability_zones (
list
ofstr
orNone
) – Availability zones over which esx hosts are provisioned. MultiAZ SDDCs will have hosts provisioned over two availability zones while SingleAZ SDDCs will provision over one.management_ds (
str
orNone
) – The ManagedObjectReference of the management Datastorensx_api_public_endpoint_url (
str
orNone
) – nsx api entire base urlcustom_properties ((
dict
ofstr
andstr
) orNone
) –cloud_password (
str
orNone
) – Password for vCenter SDDC administratorprovider (
str
) –Possible values are:
Discriminator for additional properties
clusters (
list
ofCluster
orNone
) – List of clusters in the SDDC.vc_management_ip (
str
orNone
) – vCenter internal management IPsddc_networks (
list
ofstr
orNone
) –cloud_username (
str
orNone
) – Username for vCenter SDDC administratoresx_hosts (
list
ofAwsEsxHost
orNone
) –nsx_mgr_management_ip (
str
orNone
) – NSX Manager internal management IPvc_instance_id (
str
orNone
) – unique id of the vCenter serveresx_cluster_id (
str
orNone
) – Cluster Id to add ESX workflowvc_public_ip (
str
orNone
) – vCenter public IPskip_creating_vxlan (
bool
orNone
) – skip creating vxlan for compute gateway for SDDC provisioningvc_url (
str
orNone
) – URL of the vCenter serversddc_manifest (
SddcManifest
orNone
) –vxlan_subnet (
str
orNone
) – VXLAN IP subnetcloud_user_group (
str
orNone
) – Group name for vCenter SDDC administratormanagement_rp (
str
orNone
) –region (
str
orNone
) – region in which sddc is deployedwitness_availability_zone (
str
orNone
) – Availability zone where the witness node is provisioned for a MultiAZ SDDC. This is null for a SingleAZ SDDC.sddc_id (
str
orNone
) – sddc identifierpop_agent_xeni_connection (
PopAgentXeniConnection
orNone
) –nsx_controller_ips (
list
ofstr
orNone
) – List of Controller IPsesx_host_subnet (
str
orNone
) – ESX host subnetsso_domain (
str
orNone
) – The SSO domain name to use for vSphere usersdeployment_type (
str
orNone
) –Possible values are:
Denotes if this is a SingleAZ SDDC or a MultiAZ SDDC.
nsxt_addons (
NsxtAddons
orNone
) –dns_with_management_vm_private_ip (
bool
orNone
) – if true, use the private IP addresses to register DNS records for the management VMs
-
DEPLOYMENT_TYPE_MULTI_AZ
= 'MULTI_AZ'¶
-
DEPLOYMENT_TYPE_SINGLE_AZ
= 'SINGLE_AZ'¶
-
PROVIDER_AWS
= 'AWS'¶
-
PROVIDER_ZEROCLOUD
= 'ZEROCLOUD'¶
-
property
provider
¶ Return the discriminator value
-
class
com.vmware.vmc.model_client.
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.
SecondaryAddresses
(type=None, ip_address=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Secondary IP addresses of the NSX Edge vnic address group. These are used for NAT, LB, VPN etc. Optional.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
type (
str
orNone
) –ip_address (
list
ofstr
orNone
) – List of IP addresses.
-
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.
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.
Sites
(sites=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
L2 VPN sites.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
sites (
list
ofNsxsite
orNone
) –
-
class
com.vmware.vmc.model_client.
SslvpnDashboardStats
(active_clients=None, sslvpn_bytes_in=None, auth_failures=None, sessions_created=None, sslvpn_bytes_out=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Dashboard Statistics data for SSL VPN.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
active_clients (
list
ofDashboardStat
orNone
) – Number of active clients.sslvpn_bytes_in (
list
ofDashboardStat
orNone
) – Rx bytes received for SSL VPN.auth_failures (
list
ofDashboardStat
orNone
) – Number of authentication failures.sessions_created (
list
ofDashboardStat
orNone
) – Number of SSL VPN sessions created.sslvpn_bytes_out (
list
ofDashboardStat
orNone
) – Tx bytes transmitted for SSL VPN.
-
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.
SubInterface
(index=None, tunnel_id=None, name=None, address_groups=None, vlan_id=None, label=None, logical_switch_name=None, is_connected=None, mtu=None, logical_switch_id=None, enable_send_redirects=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
NSX Edge sub interface configuration details. Sub interfaces are created on a trunk interface.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
index (
long
orNone
) – Index of the sub interface assigned by NSX Manager. Min value is 10 and max value is 4103. format: int32tunnel_id (
long
) – Valid values for tunnel ID are min 1 to max 4093. Required. format: int32name (
str
orNone
) – Name of the sub interface. Required.address_groups (
EdgeVnicAddressGroups
orNone
) – Address group configuration of the sub interface.vlan_id (
long
orNone
) – VLAN ID of the virtual LAN used by this sub interface. VLAN IDs can range from 0 to 4094. format: int32label (
str
orNone
) – Sub interface label of format vNic_{index} provided by NSX Manager. Read only.logical_switch_name (
str
orNone
) – Name of the logical switch connected to this sub interface.is_connected (
bool
orNone
) – Value is true if the sub interface is connected to a logical switch, standard portgroup or distributed portgroup.mtu (
long
orNone
) – MTU value of the sub interface. This value would be the least mtu for all the trunk interfaces of the NSX Edge. Default is 1500. format: int32logical_switch_id (
str
orNone
) – ID of the logical switch connected to this sub interface.enable_send_redirects (
bool
orNone
) – Value is true if send redirects is enabled. Enable ICMP redirect to convey routing information to hosts.
-
class
com.vmware.vmc.model_client.
SubInterfaces
(sub_interfaces=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
sub_interfaces (
list
ofSubInterface
orNone
) – List of sub interfaces.
-
class
com.vmware.vmc.model_client.
SubnetInfo
(compatible=None, connected_account_id=None, region_name=None, availability_zone=None, subnet_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.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.
Subnets
(subnets=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
subnets (
list
ofstr
orNone
) – List of subnets for which IPsec VPN is configured. Subnets should be network address specified in CIDR format and can accept ‘0.0.0.0/0’ (any)
-
class
com.vmware.vmc.model_client.
SubscriptionDetails
(status=None, anniversary_billing_date=None, end_date=None, auto_renewed_allowed=None, description=None, commitment_term=None, csp_subscription_id=None, billing_subscription_id=None, commitment_term_uom=None, offer_version=None, region=None, offer_name=None, offer_type=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
) –auto_renewed_allowed (
str
orNone
) –description (
str
orNone
) –commitment_term (
str
orNone
) –csp_subscription_id (
str
orNone
) –billing_subscription_id (
str
orNone
) –commitment_term_uom (
str
orNone
) – unit of measurment for commitment termoffer_version (
str
orNone
) –region (
str
orNone
) –offer_name (
str
orNone
) –offer_type (
OfferType
orNone
) –start_date (
str
orNone
) –quantity (
str
orNone
) –
-
STATUS_ACTIVATED
= 'ACTIVATED'¶
-
STATUS_CANCELLED
= 'CANCELLED'¶
-
STATUS_CREATED
= 'CREATED'¶
-
STATUS_EXPIRED
= 'EXPIRED'¶
-
STATUS_FAILED
= 'FAILED'¶
-
STATUS_ORDER_SUBMITTED
= 'ORDER_SUBMITTED'¶
-
STATUS_PENDING_PROVISIONING
= 'PENDING_PROVISIONING'¶
-
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, 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
) –region (
str
) –commitment_term (
str
) –offer_context_id (
str
orNone
) –offer_version (
str
) –offer_name (
str
) –quantity (
long
) –type (
str
orNone
) – The type of the product for which the subscription needs to be created.price (
long
orNone
) –product_charge_id (
str
orNone
) –
-
class
com.vmware.vmc.model_client.
SupportWindow
(start_day=None, seats=None, sddcs=None, duration_hours=None, start_hour=None, support_window_id=None, metadata=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
start_day (
str
orNone
) –Possible values are:
seats (
long
orNone
) –sddcs (
list
ofstr
orNone
) – SDDCs in this window format: UUIDduration_hours (
long
orNone
) –start_hour (
long
orNone
) –support_window_id (
str
orNone
) –metadata (
vmware.vapi.struct.VapiStruct
orNone
) –
-
START_DAY_FRIDAY
= 'FRIDAY'¶
-
START_DAY_MONDAY
= 'MONDAY'¶
-
START_DAY_SATURDAY
= 'SATURDAY'¶
-
START_DAY_SUNDAY
= 'SUNDAY'¶
-
START_DAY_THURSDAY
= 'THURSDAY'¶
-
START_DAY_TUESDAY
= 'TUESDAY'¶
-
START_DAY_WEDNESDAY
= 'WEDNESDAY'¶
-
class
com.vmware.vmc.model_client.
SupportWindowId
(window_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
window_id (
str
orNone
) – Support Window ID
-
class
com.vmware.vmc.model_client.
Task
(updated=None, user_id=None, updated_by_user_id=None, created=None, version=None, updated_by_user_name=None, user_name=None, id=None, status=None, localized_error_message=None, resource_id=None, parent_task_id=None, task_version=None, correlation_id=None, start_resource_entity_version=None, sub_status=None, task_type=None, start_time=None, task_progress_phases=None, error_message=None, org_id=None, end_resource_entity_version=None, service_errors=None, org_type=None, estimated_remaining_minutes=None, params=None, progress_percent=None, phase_in_progress=None, resource_type=None, end_time=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
updated (
datetime.datetime
) –user_id (
str
) – User id that last updated this recordupdated_by_user_id (
str
) – User id that last updated this recordcreated (
datetime.datetime
) –version (
long
) – Version of this entity format: int32updated_by_user_name (
str
orNone
) – User name that last updated this recorduser_name (
str
) – User name that last updated this recordid (
str
) – Unique ID for this entitystatus (
str
orNone
) –Possible values are:
localized_error_message (
str
orNone
) –resource_id (
str
orNone
) – UUID of the resource the task is acting uponparent_task_id (
str
orNone
) – If this task was created by another task - this provides the linkage. Mostly for debugging.task_version (
str
orNone
) –correlation_id (
str
orNone
) – (Optional) Client provided uniqifier to make task creation idempotent. Be aware not all tasks support this. For tasks that do - supplying the same correlation Id, for the same task type, within a predefined window will ensure the operation happens at most once.start_resource_entity_version (
long
orNone
) – Entity version of the resource at the start of the task. This is only set for some task types. format: int32sub_status (
str
orNone
) –task_type (
str
orNone
) –start_time (
datetime.datetime
orNone
) –task_progress_phases (
list
ofTaskProgressPhase
orNone
) – Task progress phases involved in current task executionerror_message (
str
orNone
) –org_id (
str
orNone
) –end_resource_entity_version (
long
orNone
) – Entity version of the resource at the end of the task. This is only set for some task types. format: int32service_errors (
list
ofServiceError
orNone
) – Service errors returned from SDDC services.org_type (
str
orNone
) –estimated_remaining_minutes (
long
orNone
) – Estimated remaining time in minute of the task execution, < 0 means no estimation for the task. format: int32params (
vmware.vapi.struct.VapiStruct
orNone
) –progress_percent (
long
orNone
) – Estimated progress percentage the task executed format: int32phase_in_progress (
str
orNone
) – The current in progress phase ID in the task execution, if none in progress, empty string returned.resource_type (
str
orNone
) – Type of resource being acted uponend_time (
datetime.datetime
orNone
) –
-
STATUS_CANCELED
= 'CANCELED'¶
-
STATUS_CANCELING
= 'CANCELING'¶
-
STATUS_FAILED
= 'FAILED'¶
-
STATUS_FINISHED
= 'FINISHED'¶
-
STATUS_STARTED
= 'STARTED'¶
-
class
com.vmware.vmc.model_client.
TaskProgressPhase
(id=None, name=None, progress_percent=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A task progress can be (but does NOT have to be) divided to more meaningful progress phases.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
id (
str
) – The identifier of the task progress phasename (
str
) – The display name of the task progress phaseprogress_percent (
long
) – The percentage of the phase that has completed format: int32
-
class
com.vmware.vmc.model_client.
TermOfferInstance
(description=None, product_type=None, name=None, region=None, commitment_term=None, unit_price=None, currency=None, version=None, offer_context_id=None, product_id=None, product_charge_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_type (
str
) –name (
str
) –region (
str
) –commitment_term (
long
) –unit_price (
str
) –currency (
str
) –version (
str
) –offer_context_id (
str
orNone
) –product_id (
str
orNone
) –product_charge_id (
str
orNone
) –
-
class
com.vmware.vmc.model_client.
TrafficShapingPolicy
(burst_size=None, average_bandwidth=None, peak_bandwidth=None, enabled=None, inherited=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
burst_size (
long
orNone
) –average_bandwidth (
long
orNone
) –peak_bandwidth (
long
orNone
) –enabled (
bool
orNone
) –inherited (
bool
orNone
) –
-
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.
Vnic
(sub_interfaces=None, address_groups=None, is_connected=None, enable_send_redirects=None, in_shaping_policy=None, label=None, enable_proxy_arp=None, index=None, name=None, mtu=None, fence_parameters=None, mac_addresses=None, out_shaping_policy=None, portgroup_name=None, enable_bridge_mode=None, type=None, portgroup_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
NSX Edge vnic configuration details.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
sub_interfaces (
SubInterfaces
orNone
) – List of sub interfaces. Sub interfaces can be created only on a trunk interface.address_groups (
EdgeVnicAddressGroups
orNone
) – Address group configuration of the interface.is_connected (
bool
orNone
) – Value is true if the vnic is connected to a logical switch, standard portgroup or distributed portgroup.enable_send_redirects (
bool
orNone
) – Value is true if send redirects is enabled. Enable ICMP redirect to convey routing information to hosts.in_shaping_policy (
TrafficShapingPolicy
orNone
) –label (
str
orNone
) – Interface label of format vNic_{vnicIndex} provided by NSX Manager. Read only.enable_proxy_arp (
bool
orNone
) – Value is true if proxy arp is enabled. Enable proxy ARP if you want to allow the NSX Edge of type ‘gatewayServices’ to answer ARP requests intended for other machines.index (
long
) – Index of the vnic. Min value is 0 and max value is 9. format: int32name (
str
orNone
) – Name of the interface. Optional.mtu (
long
orNone
) – MTU of the interface, with default as 1500. Min is 68, Max is 9000. Optional. format: int32fence_parameters (
list
ofKeyValueAttributes
orNone
) –mac_addresses (
list
ofMacAddress
orNone
) – Distinct MAC addresses configured for the vnic. Optional.out_shaping_policy (
TrafficShapingPolicy
orNone
) –portgroup_name (
str
orNone
) – Name of the port group or logical switch.enable_bridge_mode (
bool
orNone
) – Value is true if bridge mode is enabled.type (
str
orNone
) – Type of the vnic. Values are uplink, internal, trunk. At least one internal interface must be configured for NSX Edge HA to work.portgroup_id (
str
orNone
) – Value are port group ID (standard portgroup or distributed portgroup) or virtual wire ID (logical switch). Logical switch cannot be used for a TRUNK vnic. Portgroup cannot be shared among vnics/LIFs. Required when isConnected is specified as true. Example ‘network-17’ (standard portgroup), ‘dvportgroup-34’ (distributed portgroup) or ‘virtualwire-2’ (logical switch).
-
class
com.vmware.vmc.model_client.
Vnics
(vnics=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Ordered list of NSX Edge vnics. Until one connected vnic is configured, none of the configured features will serve the network.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
vnics (
list
ofVnic
orNone
) – Ordered list of NSX Edge vnics.
-
class
com.vmware.vmc.model_client.
VpcInfo
(vpc_cidr=None, vm_security_group_id=None, route_table_id=None, edge_subnet_id=None, id=None, api_association_id=None, private_subnet_id=None, api_subnet_id=None, esx_security_group_id=None, subnet_id=None, internet_gateway_id=None, security_group_id=None, association_id=None, vgw_route_table_id=None, edge_association_id=None, vif_ids=None, peering_connection_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
vpc_cidr (
str
orNone
) –vm_security_group_id (
str
orNone
) –route_table_id (
str
orNone
) –edge_subnet_id (
str
orNone
) – Id of the NSX edge associated with this VPCid (
str
orNone
) –api_association_id (
str
orNone
) – Id of the association between subnet and route-tableprivate_subnet_id (
str
orNone
) –api_subnet_id (
str
orNone
) – Id associated with this VPCesx_security_group_id (
str
orNone
) –subnet_id (
str
orNone
) –internet_gateway_id (
str
orNone
) –security_group_id (
str
orNone
) –association_id (
str
orNone
) –vgw_route_table_id (
str
orNone
) – Route table which contains the route to VGWedge_association_id (
str
orNone
) – Id of the association between edge subnet and route-tablevif_ids (
list
ofstr
orNone
) –peering_connection_id (
str
orNone
) –
-
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.
VsanConfigConstraints
(max_capacity=None, recommended_capacities=None, supported_capacity_increment=None, min_capacity=None, num_hosts=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
This describes the possible physical storage capacity choices for use with a given VsanStorageDesigner implementation. These choices are specific to a customer-defined number of hosts per cluster.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
max_capacity (
long
) – Maximum capacity supported for cluster (GiB). format: int64recommended_capacities (
list
oflong
) – List of supported capacities which may offer preferable performance (GiB). format: int64supported_capacity_increment (
long
orNone
) – Increment to be added to min_capacity to result in a supported capacity (GiB). format: int64min_capacity (
long
) – Minimum capacity supported for cluster (GiB). format: int64num_hosts (
long
) – Number of hosts in cluster. format: int64
-
class
com.vmware.vmc.model_client.
VsanEncryptionConfig
(port=None, certificate=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
port (
long
orNone
) – Port to connect to AWS Key Management Servicecertificate (
str
orNone
) – Public certificate used to connect to AWS Key Management Service
com.vmware.vmc.orgs_client module¶
-
class
com.vmware.vmc.orgs_client.
AccountLink
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
get
(org)¶ Gets a link that can be used on a customer’s account to start the linking process.
- Parameters
org (
str
) – Organization identifier. (required)- Raise
com.vmware.vapi.std.errors_client.Error
Generic Error
-
class
com.vmware.vmc.orgs_client.
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 (
str
orNone
) – If = ‘true’, will delete forcefully. Beware: do not use the force flag if there is a chance an active provisioning or deleting task is running against this SDDC. This option is restricted. (optional)
- Return type
- Returns
com.vmware.vmc.model.Task
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
The sddc is not in a state that’s valid for deletion- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Access not allowed to the operation for the current user- Raise
com.vmware.vapi.std.errors_client.NotFound
Cannot find the SDDC with given identifier
-
get
(org, sddc)¶ Get SDDC
- Parameters
org (
str
) – Organization identifier. (required)sddc (
str
) – Sddc Identifier. (required)
- Return type
- Returns
com.vmware.vmc.model.Sddc
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.NotFound
Cannot find the SDDC with given identifier
-
list
(org, include_deleted=None)¶ List all the SDDCs of an organization
- Parameters
org (
str
) – Organization identifier. (required)include_deleted (
bool
orNone
) – When true, forces the result to also include deleted SDDCs. (optional)
- Return type
- Returns
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden
-
patch
(org, sddc, sddc_patch_request)¶ Patch SDDC
- Parameters
org (
str
) – Organization identifier. (required)sddc (
str
) – Sddc Identifier. (required)sddc_patch_request (
com.vmware.vmc.model_client.SddcPatchRequest
) – Patch request for the SDDC (required)
- Return type
- Returns
com.vmware.vmc.model.Sddc
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
SDDC cannot be patched- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.NotFound
Cannot find the SDDC with given identifier
-
class
com.vmware.vmc.orgs_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
- Parameters
stub_config (
vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
-
class
com.vmware.vmc.orgs_client.
Subscriptions
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
GET_0_OFFER_TYPE_ON_DEMAND
= 'ON_DEMAND'¶ Possible value for
offerType
of methodSubscriptions.get_0()
.
-
GET_0_OFFER_TYPE_TERM
= 'TERM'¶ Possible value for
offerType
of methodSubscriptions.get_0()
.
-
create
(org, subscription_request)¶ Initiates the creation of a subscription
- Parameters
org (
str
) – Organization identifier. (required)subscription_request (
com.vmware.vmc.model_client.SubscriptionRequest
) – subscriptionRequest (required)
- Return type
- Returns
com.vmware.vmc.model.Task
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.InternalServerError
Server error. Check retryable flag to see if request should be retried.
-
get
(org, subscription)¶ Get subscription details for a given subscription id
- Parameters
org (
str
) – Organization identifier. (required)subscription (
str
) – SubscriptionId for an sddc. (required)
- Return type
- Returns
com.vmware.vmc.model.SubscriptionDetails
- Raise
com.vmware.vapi.std.errors_client.InternalServerError
Server error. Check retryable flag to see if request should be retried.- Raise
com.vmware.vapi.std.errors_client.NotFound
Not Found
-
get_0
(org, offer_type=None)¶ Returns all subscriptions for a given org id
- Parameters
org (
str
) – Organization identifier. (required)offer_type (
str
orNone
) – Offer Type * `ON_DEMAND` - on-demand subscription * `TERM` - term subscription * All subscriptions if not specified (optional)
- Return type
- Returns
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.InternalServerError
Server error. Check retryable flag to see if request should be retried.- Raise
com.vmware.vapi.std.errors_client.NotFound
Not Found
-
class
com.vmware.vmc.orgs_client.
Tasks
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
get
(org, task)¶ Retrieve details of a task.
- Parameters
org (
str
) – Organization identifier. (required)task (
str
) – Task identifier (required)
- Return type
- Returns
com.vmware.vmc.model.Task
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.NotFound
Cannot find the task with given identifier
-
list
(org, filter=None)¶ List all tasks with optional filtering.
- Parameters
org (
str
) – Organization identifier. (required)filter (
str
orNone
) – Filter expression Binary Operators: ‘eq’, ‘ne’, ‘lt’, ‘gt’, ‘le’, ‘ge’, ‘mul’, ‘div’, ‘mod’, ‘sub’, ‘add’ Unary Operators: ‘not’, ‘-‘ (minus) String Operators: ‘startswith’, ‘endswith’, ‘length’, ‘contains’, ‘tolower’, ‘toupper’, Nested attributes are composed using ‘.’ Dates must be formatted as yyyy-MM-dd or yyyy-MM-ddTHH:mm:ss[.SSS]Z Strings should enclosed in single quotes, escape single quote with two single quotes The special literal ‘created’ will be mapped to the time the resource was first created. Examples: - $filter=(updated gt 2016-08-09T13:00:00Z) and (org_id eq 278710ff4e-6b6d-4d4e-aefb-ca637f38609e) - $filter=(created eq 2016-08-09) - $filter=(created gt 2016-08-09) and (sddc.status eq ‘READY’) (optional)
- Return type
- Returns
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden
-
update
(org, task, action=None)¶ Request that a running task be canceled. This is advisory only, some tasks may not be cancelable, and some tasks might take an arbitrary amount of time to respond to a cancelation request. The task must be monitored to determine subsequent status.
- Parameters
org (
str
) – Organization identifier. (required)task (
str
) – Task identifier (required)action (
str
orNone
) – If = ‘cancel’, task will be canceled (optional)
- Return type
- Returns
com.vmware.vmc.model.Task
- Raise
com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
Invalid action or bad argument- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.NotFound
Cannot find the task with given identifier