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.dns_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.reservations_client module
- com.vmware.vmc.orgs.sddcs_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 record - updated_by_user_id (
str
) – User id that last updated this record - created (
datetime.datetime
) – - version (
long
) – Version of this entity format: int32 - updated_by_user_name (
str
orNone
) – User name that last updated this record - user_name (
str
) – User name that last updated this record - id (
str
) – Unique ID for this entity
- updated (
-
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.
- customer_subnet_ids (
-
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.
- exclude (
-
class
com.vmware.vmc.model_client.
Agent
(addresses=None, healthy=None, custom_properties=None, last_health_status_change=None, internal_ip=None, reserved_ip=None, network_netmask=None, network_gateway=None, provider='Agent', agent_url=None, network_cidr=None, id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - addresses (
list
ofstr
orNone
) – - healthy (
bool
orNone
) – - custom_properties ((
dict
ofstr
andstr
) orNone
) – - last_health_status_change (
long
orNone
) – - internal_ip (
str
orNone
) – - reserved_ip (
str
orNone
) – - network_netmask (
str
orNone
) – - network_gateway (
str
orNone
) – - provider (
str
) – - agent_url (
str
orNone
) – - network_cidr (
str
orNone
) – - id (
str
orNone
) –
- addresses (
-
class
com.vmware.vmc.model_client.
AmiInfo
(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: - region (
str
orNone
) – the region of the esx ami - id (
str
orNone
) – the ami id for the esx - name (
str
orNone
) – the name of the esx ami
- region (
-
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: int32 - resource_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: int64 - fqdn (
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: int32 - vm_version (
str
orNone
) – NSX Edge appliance version. - host_moid_of_active_vse (
str
orNone
) – vCenter MOID of the active NSX Edge appliance’s host.
- data_store_moid_of_active_vse (
-
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.
- application_id (
-
class
com.vmware.vmc.model_client.
AwsAgent
(instance_id=None, key_pair=None, addresses=None, healthy=None, custom_properties=None, last_health_status_change=None, internal_ip=None, reserved_ip=None, network_netmask=None, network_gateway=None, provider='AWS', agent_url=None, network_cidr=None, id=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
) – - addresses (
list
ofstr
orNone
) – - healthy (
bool
orNone
) – - custom_properties ((
dict
ofstr
andstr
) orNone
) – - last_health_status_change (
long
orNone
) – - internal_ip (
str
orNone
) – - reserved_ip (
str
orNone
) – - network_netmask (
str
orNone
) – - network_gateway (
str
orNone
) – - provider (
str
) – - agent_url (
str
orNone
) – - network_cidr (
str
orNone
) – - id (
str
orNone
) –
- instance_id (
-
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
- regions (
-
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
) –
- customer_available_zones (
-
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, account_number=None, policy_external_id=None, region_to_az_to_shadow_mapping=None, org_id=None, cf_stack_name=None, policy_service_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 record - updated_by_user_id (
str
) – User id that last updated this record - created (
datetime.datetime
) – - version (
long
) – Version of this entity format: int32 - updated_by_user_name (
str
orNone
) – User name that last updated this record - user_name (
str
) – User name that last updated this record - id (
str
) – Unique ID for this entity - policy_payer_arn (
str
orNone
) – - account_number (
str
orNone
) – - policy_external_id (
str
orNone
) – - region_to_az_to_shadow_mapping (
vmware.vapi.struct.VapiStruct
orNone
) – Provides a map of regions to availability zones from the shadow account’s perspective - org_id (
str
orNone
) – - cf_stack_name (
str
orNone
) – - policy_service_arn (
str
orNone
) –
- updated (
-
class
com.vmware.vmc.model_client.
AwsEsxHost
(internal_public_ip_pool=None, name=None, availability_zone=None, esx_id=None, hostname=None, provider='AWS', 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
) – - mac_address (
str
orNone
) – - custom_properties ((
dict
ofstr
andstr
) orNone
) – - esx_state (
str
orNone
) –Possible values are:
- internal_public_ip_pool (
-
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
) –
- key_name (
-
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, name=None, account_link_sddc_config=None, vpc_cidr=None, num_hosts=None, sddc_type=None, vxlan_subnet=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
) – - name (
str
) – - account_link_sddc_config (
list
ofAccountLinkSddcConfig
orNone
) – A list of the SDDC linking configurations to use. - vpc_cidr (
str
orNone
) – AWS VPC IP range. Only prefix of 16 or 20 is currently supported. - num_hosts (
long
) – - sddc_type (
str
orNone
) – Denotes the sddc type , if the value is null or empty, the type is considered as default. - vxlan_subnet (
str
orNone
) – VXLAN IP subnet - 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: UUID - deployment_type (
str
orNone
) –Possible values are:
Denotes if request is for a SingleAZ or a MultiAZ SDDC. Default is SingleAZ.
- region (
-
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, org_id=None, sddc_id=None, cidr_block_vpc=None, subnet_availability_zone=None, vpc_id=None, is_cgw_present=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 record - updated_by_user_id (
str
) – User id that last updated this record - created (
datetime.datetime
) – - version (
long
) – Version of this entity format: int32 - updated_by_user_name (
str
orNone
) – User name that last updated this record - user_name (
str
) – User name that last updated this record - id (
str
) – Unique ID for this entity - cidr_block_subnet (
str
orNone
) – - connected_account_id (
str
orNone
) – - eni_group (
str
orNone
) – - subnet_id (
str
orNone
) – - org_id (
str
orNone
) – - sddc_id (
str
orNone
) – - cidr_block_vpc (
str
orNone
) – - subnet_availability_zone (
str
orNone
) – - vpc_id (
str
orNone
) – - is_cgw_present (
bool
orNone
) – - customer_eni_infos (
list
ofstr
orNone
) – - default_route_table (
str
orNone
) –
- updated (
-
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, region=None, vsan_encryption_config=None, vpc_info_peered_agent=None, mgmt_appliance_network_name=None, dns_with_management_vm_private_ip=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, vc_url=None, sddc_manifest=None, vxlan_subnet=None, cloud_user_group=None, management_rp=None, witness_availability_zone=None, esx_host_subnet=None, sso_domain=None, deployment_type=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
) – - region (
str
orNone
) – - vsan_encryption_config (
VsanEncryptionConfig
orNone
) – - vpc_info_peered_agent (
VpcInfo
orNone
) – - mgmt_appliance_network_name (
str
orNone
) – Name for management appliance network. - dns_with_management_vm_private_ip (
bool
orNone
) – if true, use the private IP addresses to register DNS records for the management VMs - nsxt (
bool
orNone
) – if true, NSX-T UI is enabled. - mgw_id (
str
orNone
) – Management Gateway Id - nsx_mgr_url (
str
orNone
) – URL of the NSX Manager - psc_management_ip (
str
orNone
) – PSC internal management IP - psc_url (
str
orNone
) – URL of the PSC server - cgws (
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 Datastore - nsx_api_public_endpoint_url (
str
orNone
) – nsx api entire base url - custom_properties ((
dict
ofstr
andstr
) orNone
) – - cloud_password (
str
orNone
) – Password for vCenter SDDC administrator - provider (
str
) –Possible values are:
Discriminator for additional properties - clusters (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – List of clusters in the SDDC. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inCluster
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inCluster
. - vc_management_ip (
str
orNone
) – vCenter internal management IP - sddc_networks (
list
ofstr
orNone
) – - cloud_username (
str
orNone
) – Username for vCenter SDDC administrator - esx_hosts (
list
ofAwsEsxHost
orNone
) – - nsx_mgr_management_ip (
str
orNone
) – NSX Manager internal management IP - vc_instance_id (
str
orNone
) – unique id of the vCenter server - esx_cluster_id (
str
orNone
) – Cluster Id to add ESX workflow - vc_public_ip (
str
orNone
) – vCenter public IP - vc_url (
str
orNone
) – URL of the vCenter server - sddc_manifest (
SddcManifest
orNone
) – - vxlan_subnet (
str
orNone
) – VXLAN IP subnet - cloud_user_group (
str
orNone
) – Group name for vCenter SDDC administrator - management_rp (
str
orNone
) – - witness_availability_zone (
str
orNone
) – Availability zone where the witness node is provisioned for a MultiAZ SDDC. This is null for a SingleAZ SDDC. - esx_host_subnet (
str
orNone
) – ESX host subnet - sso_domain (
str
orNone
) – The SSO domain name to use for vSphere users - deployment_type (
str
orNone
) –Possible values are:
Denotes if this is a SingleAZ SDDC or a MultiAZ SDDC.
- backup_restore_bucket (
-
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.
- connected_account_id (
-
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: int32 - timestamp (
long
orNone
) – Timestamp value. format: int64 - out (
float
orNone
) – Tx rate (Kilobits per second - kbps) format: double - in (
float
orNone
) – Rx rate (Kilobits per second - kbps) format: double
- vnic (
-
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.
- data_dto (
-
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
) –
- vnic9 (
-
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
-
class
com.vmware.vmc.model_client.
Cluster
(esx_host_list=None, cluster_state=None, cluster_name=None, aws_kms_info=None, cluster_id='Cluster')¶ 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:
- cluster_name (
str
orNone
) – - aws_kms_info (
AwsKmsInfo
orNone
) – AWS Key Management Service information associated with this cluster - cluster_id (
str
) –
-
CLUSTER_STATE_ADDING_HOSTS
= 'ADDING_HOSTS'¶
-
CLUSTER_STATE_DEPLOYING
= 'DEPLOYING'¶
-
CLUSTER_STATE_FAILED
= 'FAILED'¶
-
CLUSTER_STATE_READY
= 'READY'¶
- esx_host_list (
-
class
com.vmware.vmc.model_client.
ClusterConfig
(num_hosts=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: num_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
) –
- public_ip (
-
class
com.vmware.vmc.model_client.
ConnectivityAgentValidation
(type=None, ports=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - type (
str
orNone
) –Possible values are:
ConnectivityAgentValidation.TYPE_PING
ConnectivityAgentValidation.TYPE_TRACEROUTE
ConnectivityAgentValidation.TYPE_DNS
ConnectivityAgentValidation.TYPE_CONNECTIVITY
type of connectivity test, i.e. PING, TRACEROUTE, DNS, CONNECTIVITY. For CONNECTIVITY test only, please specify the ports to be tested against.
- ports (
list
ofstr
orNone
) – TCP ports ONLY for CONNECTIVITY tests.
-
TYPE_CONNECTIVITY
= 'CONNECTIVITY'¶
-
TYPE_DNS
= 'DNS'¶
-
TYPE_PING
= 'PING'¶
-
TYPE_TRACEROUTE
= 'TRACEROUTE'¶
- type (
-
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_HLM
= 'HLM'¶
- id (
-
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:
ConnectivityValidationInput.ID_HOSTNAME
ConnectivityValidationInput.ID_HOST_IP
ConnectivityValidationInput.ID_HOSTNAME_OR_IP
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'¶
- id (
-
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:
ConnectivityValidationSubGroup.ID_PRIMARY_DNS
ConnectivityValidationSubGroup.ID_SECONDARY_DNS
ConnectivityValidationSubGroup.ID_ONPREM_VCENTER
ConnectivityValidationSubGroup.ID_ONPREM_PSC
ConnectivityValidationSubGroup.ID_ACTIVE_DIRECTORY
ConnectivityValidationSubGroup.ID_ONPREM_ESX
subGroup id, i.e. PRIMARY_DNS, SECONDARY_DNS, ONPREM_VCENTER, ONPREM_PSC, ACTIVE_DIRECTORY, and ONPREM_ESX.
-
ID_ACTIVE_DIRECTORY
= 'ACTIVE_DIRECTORY'¶
-
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'¶
- inputs (
-
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.
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.
- firewall (
-
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
) –
- timestamp (
-
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.
- data_dto (
-
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
) –
- paging_info (
-
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
) –
- paging_info (
-
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
) –
- save_permission (
-
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: int64 - host_lease_infos_dto (
DhcpLeaseInfo
orNone
) – DHCP lease information.
- time_stamp (
-
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: int64 - template (
str
orNone
) – - cache_size (
long
orNone
) – The cache size of the DNS service. format: int64 - dns_servers (
IpAddresses
orNone
) –
- feature_type (
-
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
) –
- ip_address (
-
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
) –
- total (
-
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
) –
- time_stamp (
-
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.
- name (
-
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
) –
- vnic (
-
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.
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-time - message (
str
orNone
) – Job message. - end_time (
datetime.datetime
orNone
) – Job end time. format: date-time
- status (
-
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: int64 - publish_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: int64 - version (
long
orNone
) – Version number of the current configuration. format: int64 - edge_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: int32 - system_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: int32 - edge_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.
- pre_rules_exists (
-
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: int64 - edge_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
- feature_capabilities (
-
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: int32 - ha_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
- index (
-
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
) –
- subnet_prefix_length (
-
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.
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 code - path (
str
) – Originating request URI - retryable (
bool
) – If true, client should retry operation - error_code (
str
) – unique error code - error_messages (
list
ofstr
) – localized error messages
- status (
-
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
) –
- availability_zone (
-
class
com.vmware.vmc.model_client.
EsxHost
(name=None, availability_zone=None, esx_id=None, hostname=None, provider='EsxHost', 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
) – - mac_address (
str
orNone
) – - custom_properties ((
dict
ofstr
andstr
) orNone
) – - esx_state (
str
orNone
) –Possible values are:
-
ESX_STATE_DELETED
= 'DELETED'¶
-
ESX_STATE_DELETING
= 'DELETING'¶
-
ESX_STATE_DEPLOYING
= 'DEPLOYING'¶
-
ESX_STATE_FAILED
= 'FAILED'¶
-
ESX_STATE_PROVISIONED
= 'PROVISIONED'¶
-
ESX_STATE_READY
= 'READY'¶
- name (
-
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
) –
- name (
-
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: int64 - feature_capabilities (
list
ofFeatureCapability
orNone
) – List of feature capability information.
- timestamp (
-
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.
- configuration_limits (
-
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.
- status (
-
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: int64 - template (
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.
- firewall_rules (
-
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, deny - logging_enabled (
bool
orNone
) – Enable logging for the rule.
- action (
-
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: int32 - ip_generic_timeout (
long
orNone
) – IP generic timeout. format: int32 - tcp_pick_ongoing_connections (
bool
orNone
) – Pick TCP ongoing connections. - tcp_timeout_open (
long
orNone
) – TCP timeout open. format: int32 - tcp_timeout_close (
long
orNone
) – TCP timeout close. format: int32 - icmp6_timeout (
long
orNone
) – ICMP6 timeout. format: int32 - drop_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 : false - icmp_timeout (
long
orNone
) – ICMP timeout. format: int32 - tcp_timeout_established (
long
orNone
) – TCP timeout established. format: int32 - log_invalid_traffic (
bool
orNone
) – Log invalid traffic.
- tcp_allow_out_of_window_packets (
-
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 rule - action (
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'¶
- rule_type (
-
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.
-
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: int64 - connection_count (
long
orNone
) – Connection count. format: int64 - byte_count (
long
orNone
) – Byte count. format: int64 - packet_count (
long
orNone
) – Packet count. format: int64
- timestamp (
-
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’.
- protocol (
-
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
) –
- public_ip (
-
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 bucket - id (
str
orNone
) – the glcmbundle’s id
- s3_bucket (
-
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.
- mac_address (
-
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
) –
- manage_permission (
-
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
) –
- vnic7_in_pkt (
-
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: int64 - template (
str
orNone
) –
- feature_type (
-
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.
- ipsec_bytes_out (
-
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
) –
- psk (
-
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: int32 - extension (
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.
- psk (
-
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
) –
- channel_status (
-
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
) –
- rx_bytes_on_site (
-
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
) –
- time_stamp (
-
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
) –
- tunnel_status (
-
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.
- value (
-
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 Service - network_interface_ids (
list
ofstr
orNone
) –
- vpc_endpoint_id (
-
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.
- enabled (
-
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: int64 - name (
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
- tunnel_status (
-
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: int64 - server_status (
str
orNone
) – - site_stats (
list
ofL2vpnStats
orNone
) – List of statistics for each Site.
- time_stamp (
-
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.
- data_permission (
-
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.
- lb_bps_in (
-
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.
- log_level (
-
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 cidr - name (
str
orNone
) – name of the network - gateway_ip (
str
orNone
) – gateway ip of the logical network - dhcp_enabled (
str
orNone
) – if ‘true’ - enabled; if ‘false’ - disabled - dhcp_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: int32 - id (
str
orNone
) – - network_type (
str
orNone
) –Possible values are:
-
NETWORK_TYPE_EXTENDED
= 'EXTENDED'¶
-
NETWORK_TYPE_HOSTED
= 'HOSTED'¶
-
NETWORK_TYPE_ROUTED
= 'ROUTED'¶
- subnet_cidr (
-
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
) –
- type (
-
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
) –
- edge_vm_ha_index (
-
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'¶
- day_of_week (
-
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 Window - reservation_schedule (
ReservationSchedule
orNone
) – - reservation_id (
str
orNone
) – ID for reservation format: uuid - in_maintenance_mode (
bool
orNone
) – true if the SDDC is currently undergoing maintenance - sddc_id (
str
orNone
) – SDDC ID for this reservation format: uuid
- in_maintenance_window (
-
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'¶
- day_of_week (
-
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
- public_ip (
-
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.
- connected_account_id (
-
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: int64 - start_time (
long
orNone
) – Start time in seconds. format: int64 - interval (
long
orNone
) – Time interval in seconds. format: int32
- vnics (
-
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 bundle - cycle_id (
str
orNone
) – the cycle id
- timestamp (
-
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: int64 - enabled (
bool
orNone
) – Value is true if feature is enabled. Default value is true. Optional. - template (
str
orNone
) –
- rules (
-
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'¶
- rule_type (
-
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
) –
- management_gateway_templates (
-
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 rule - rule_id (
long
orNone
) – Identifier for the rule. format: int64 - match_translated (
bool
orNone
) – Defines the order of NAT and Firewall pipeline. When false, firewall happens before NAT. Default : false - invalid_application (
bool
orNone
) – - direction (
str
orNone
) – Direction. Possible values in or out. Default is ‘any’. - statistics (
FirewallRuleStats
orNone
) – Statistics for the rule - name (
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, deny - invalid_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
- rule_type (
-
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’.
- source_port (
-
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.
- listener_ips (
-
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: int64 - snat_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
- vnic (
-
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.
- secure_traffic (
-
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
) –
- on_demand (
-
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
) –
- product_type (
-
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, properties=None, project_state=None, name=None, display_name=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 record - updated_by_user_id (
str
) – User id that last updated this record - created (
datetime.datetime
) – - version (
long
) – Version of this entity format: int32 - updated_by_user_name (
str
orNone
) – User name that last updated this record - user_name (
str
) – User name that last updated this record - id (
str
) – Unique ID for this entity - org_type (
str
orNone
) – ORG_TYPE to be associated with the org - properties (
OrgProperties
orNone
) – - project_state (
str
orNone
) –Possible values are:
- name (
str
orNone
) – - display_name (
str
orNone
) –
-
PROJECT_STATE_CREATED
= 'CREATED'¶
-
PROJECT_STATE_DELETED
= 'DELETED'¶
- updated (
-
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
) –
- sort_order_ascending (
-
class
com.vmware.vmc.model_client.
PopAmiInfo
(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: - region (
str
orNone
) – the region of the esx ami - id (
str
orNone
) – the ami id for the esx - name (
str
orNone
) – the name of the esx ami - type (
str
orNone
) –Possible values are:
PoP AMI type. CENTOS: a Centos AMI; POP: a PoP AMI.
-
TYPE_CENTOS
= 'CENTOS'¶
-
TYPE_POP
= 'POP'¶
- region (
-
class
com.vmware.vmc.model_client.
PopInfo
(ami_infos=None, created_at=None, id=None, service_infos=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-time - id (
str
orNone
) – UUID of the PopInfo format: UUID - service_infos ((
dict
ofstr
andPopServiceInfo
) orNone
) – A map of [service type]:[PopServiceInfo]
- ami_infos (
-
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:
PopServiceInfo.SERVICE_OS
PopServiceInfo.SERVICE_AGENT
PopServiceInfo.SERVICE_GLCM
PopServiceInfo.SERVICE_S3_ADAPTER
PopServiceInfo.SERVICE_JRE
PopServiceInfo.SERVICE_DOCKER
PopServiceInfo.SERVICE_AIDE
PopServiceInfo.SERVICE_RTS
PopServiceInfo.SERVICE_FM_MANAGEMENT
PopServiceInfo.SERVICE_FM_LOG_COLLECTOR
PopServiceInfo.SERVICE_FM_METRICS_COLLECTOR
PopServiceInfo.SERVICE_BRE
PopServiceInfo.SERVICE_BRF
PopServiceInfo.SERVICE_REVERSE_PROXY
PopServiceInfo.SERVICE_FORWARD_PROXY
PopServiceInfo.SERVICE_DNS
PopServiceInfo.SERVICE_NTP
PopServiceInfo.SERVICE_LOGZ_LOG_COLLECTOR
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_MANAGEMENT
= 'FM_MANAGEMENT'¶
-
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'¶
- cln (
-
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
) –
- total (
-
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: int64 - rid (
str
orNone
) – Reservation ID format: uuid - create_time (
str
orNone
) – Optional - start_time (
datetime.datetime
orNone
) – Start time of a reservation format: date-time - metadata ((
dict
ofstr
andstr
) orNone
) – Optional
- duration (
-
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: uuid - week_of (
str
orNone
) – SUNDAY of the week that maintenance is scheduled, ISO format date - create_time (
datetime.datetime
orNone
) – Optional format: date-time - metadata ((
dict
ofstr
andstr
) orNone
) – Optional
- rid (
-
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'¶
- day_of_week (
-
class
com.vmware.vmc.model_client.
ReservationWindow
(reservation_state=None, maintenance_properties=None, reserve_id=None, start_hour=None, sddc_id=None, manifest_id=None, duration_hours=None, start_date=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:
- 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
) –
-
RESERVATION_STATE_CANCELED
= 'CANCELED'¶
-
RESERVATION_STATE_COMPLETED
= 'COMPLETED'¶
-
RESERVATION_STATE_RUNNING
= 'RUNNING'¶
-
RESERVATION_STATE_SCHEDULED
= 'SCHEDULED'¶
- reservation_state (
-
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.
- value (
-
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
) –
- object_type_name (
-
class
com.vmware.vmc.model_client.
Sddc
(updated=None, user_id=None, updated_by_user_id=None, created=None, version=None, updated_by_user_name=None, user_name=None, id=None, name=None, sddc_state=None, expiration_date=None, org_id=None, sddc_type=None, provider=None, account_link_state=None, 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 record - updated_by_user_id (
str
) – User id that last updated this record - created (
datetime.datetime
) – - version (
long
) – Version of this entity format: int32 - updated_by_user_name (
str
orNone
) – User name that last updated this record - user_name (
str
) – User name that last updated this record - id (
str
) – Unique ID for this entity - name (
str
orNone
) – name for SDDC - sddc_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-time - org_id (
str
orNone
) – - sddc_type (
str
orNone
) – Type of the sddc - provider (
str
orNone
) –Possible values are:
- account_link_state (
str
orNone
) –Possible values are:
Account linking state of the sddc - resource_config (
AwsSddcResourceConfig
orNone
) –
-
ACCOUNT_LINK_STATE_DELAYED
= 'DELAYED'¶
-
ACCOUNT_LINK_STATE_LINKED
= 'LINKED'¶
-
ACCOUNT_LINK_STATE_UNLINKED
= 'UNLINKED'¶
-
PROVIDER_AWS
= 'AWS'¶
-
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'¶
- updated (
-
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.
- count (
-
class
com.vmware.vmc.model_client.
SddcConfig
(name=None, account_link_sddc_config=None, vpc_cidr=None, num_hosts=None, sddc_type=None, vxlan_subnet=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: - name (
str
) – - account_link_sddc_config (
list
ofAccountLinkSddcConfig
orNone
) – A list of the SDDC linking configurations to use. - vpc_cidr (
str
orNone
) – AWS VPC IP range. Only prefix of 16 or 20 is currently supported. - num_hosts (
long
) – - sddc_type (
str
orNone
) – Denotes the sddc type , if the value is null or empty, the type is considered as default. - vxlan_subnet (
str
orNone
) – VXLAN IP subnet - 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: UUID - deployment_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'¶
- name (
-
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 format: UUID
-
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
- customer_subnet_ids (
-
class
com.vmware.vmc.model_client.
SddcManifest
(vmc_version=None, glcm_bundle=None, pop_info=None, vmc_internal_version=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 display - glcm_bundle (
GlcmBundle
orNone
) – - pop_info (
PopInfo
orNone
) – - vmc_internal_version (
str
orNone
) – the vmcInternalVersion of the sddc for internal use - esx_ami (
AmiInfo
orNone
) – - esx_nsxt_ami (
AmiInfo
orNone
) – - metadata (
Metadata
orNone
) –
- vmc_version (
-
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.
- subnets (
-
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.
- prefix_length (
-
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.
- ip_range (
-
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
) –
- public_ip (
-
class
com.vmware.vmc.model_client.
SddcResourceConfig
(mgmt_appliance_network_name=None, dns_with_management_vm_private_ip=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, vc_url=None, sddc_manifest=None, vxlan_subnet=None, cloud_user_group=None, management_rp=None, witness_availability_zone=None, esx_host_subnet=None, sso_domain=None, deployment_type=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. - dns_with_management_vm_private_ip (
bool
orNone
) – if true, use the private IP addresses to register DNS records for the management VMs - nsxt (
bool
orNone
) – if true, NSX-T UI is enabled. - mgw_id (
str
orNone
) – Management Gateway Id - nsx_mgr_url (
str
orNone
) – URL of the NSX Manager - psc_management_ip (
str
orNone
) – PSC internal management IP - psc_url (
str
orNone
) – URL of the PSC server - cgws (
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 Datastore - nsx_api_public_endpoint_url (
str
orNone
) – nsx api entire base url - custom_properties ((
dict
ofstr
andstr
) orNone
) – - cloud_password (
str
orNone
) – Password for vCenter SDDC administrator - provider (
str
) –Possible values are:
Discriminator for additional properties - clusters (
list
ofvmware.vapi.struct.VapiStruct
orNone
) – List of clusters in the SDDC. When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inCluster
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inCluster
. - vc_management_ip (
str
orNone
) – vCenter internal management IP - sddc_networks (
list
ofstr
orNone
) – - cloud_username (
str
orNone
) – Username for vCenter SDDC administrator - esx_hosts (
list
ofAwsEsxHost
orNone
) – - nsx_mgr_management_ip (
str
orNone
) – NSX Manager internal management IP - vc_instance_id (
str
orNone
) – unique id of the vCenter server - esx_cluster_id (
str
orNone
) – Cluster Id to add ESX workflow - vc_public_ip (
str
orNone
) – vCenter public IP - vc_url (
str
orNone
) – URL of the vCenter server - sddc_manifest (
SddcManifest
orNone
) – - vxlan_subnet (
str
orNone
) – VXLAN IP subnet - cloud_user_group (
str
orNone
) – Group name for vCenter SDDC administrator - management_rp (
str
orNone
) – - witness_availability_zone (
str
orNone
) – Availability zone where the witness node is provisioned for a MultiAZ SDDC. This is null for a SingleAZ SDDC. - esx_host_subnet (
str
orNone
) – ESX host subnet - sso_domain (
str
orNone
) – The SSO domain name to use for vSphere users - deployment_type (
str
orNone
) –Possible values are:
Denotes if this is a SingleAZ SDDC or a MultiAZ SDDC.
-
DEPLOYMENT_TYPE_MULTI_AZ
= 'MULTI_AZ'¶
-
DEPLOYMENT_TYPE_SINGLE_AZ
= 'SINGLE_AZ'¶
-
PROVIDER_AWS
= 'AWS'¶
- mgmt_appliance_network_name (
-
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'¶
- sddcs (
-
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 record - updated_by_user_id (
str
) – User id that last updated this record - created (
datetime.datetime
) – - version (
long
) – Version of this entity format: int32 - updated_by_user_name (
str
orNone
) – User name that last updated this record - user_name (
str
) – User name that last updated this record - id (
str
) – Unique ID for this entity - account_link_sddc_configs (
list
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 template - source_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_INITIALIZING
= 'INITIALIZING'¶
-
STATE_INUSE
= 'INUSE'¶
- updated (
-
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.
- type (
-
class
com.vmware.vmc.model_client.
ServiceError
(original_service=None, params=None, default_message=None, original_service_error_code=None, error_code=None, localized_message=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: - original_service (
str
) – The original service name of the error. - params (
list
ofstr
orNone
) – The parameters of the service error. - default_message (
str
orNone
) – Error message in English. - original_service_error_code (
str
) – The original error code of the service. - error_code (
str
) – Localizable error code. - localized_message (
str
orNone
) – The localized message.
- original_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'¶
- password (
-
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.
- active_clients (
-
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: int32 - tunnel_id (
long
) – Valid values for tunnel ID are min 1 to max 4093. Required. format: int32 - name (
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: int32 - label (
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: int32 - logical_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.
- index (
-
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.
- compatible (
-
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 term - offer_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'¶
- status (
-
class
com.vmware.vmc.model_client.
SubscriptionRequest
(offer_version=None, product_type=None, region=None, commitment_term=None, offer_name=None, quantity=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - offer_version (
str
) – - product_type (
str
) – - region (
str
) – - commitment_term (
str
) – - offer_name (
str
) – - quantity (
long
) –
- offer_version (
-
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: UUID - duration_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'¶
- start_day (
-
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, estimated_remaining_minutes=None, localized_error_message=None, resource_id=None, task_version=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, parent_task_id=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 record - updated_by_user_id (
str
) – User id that last updated this record - created (
datetime.datetime
) – - version (
long
) – Version of this entity format: int32 - updated_by_user_name (
str
orNone
) – User name that last updated this record - user_name (
str
) – User name that last updated this record - id (
str
) – Unique ID for this entity - status (
str
orNone
) –Possible values are:
- estimated_remaining_minutes (
long
orNone
) – Estimated remaining time in minute of the task execution, < 0 means no estimation for the task. format: int32 - localized_error_message (
str
orNone
) – - resource_id (
str
orNone
) – UUID of resources task is acting upon - task_version (
str
orNone
) – - 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: int32 - sub_status (
str
orNone
) – - task_type (
str
orNone
) – - start_time (
datetime.datetime
orNone
) – - task_progress_phases (
list
ofTaskProgressPhase
orNone
) – Task progress phases involved in current task execution - error_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: int32 - service_errors (
list
ofServiceError
orNone
) – Service errors returned from SDDC services. - org_type (
str
orNone
) – - parent_task_id (
str
orNone
) – If this task was created by another task - this provides the linkage. Mostly for debugging. - params (
vmware.vapi.struct.VapiStruct
orNone
) – - progress_percent (
long
orNone
) – Estimated progress percentage the task executed format: int32 - phase_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 upon - end_time (
datetime.datetime
orNone
) –
-
STATUS_CANCELED
= 'CANCELED'¶
-
STATUS_CANCELING
= 'CANCELING'¶
-
STATUS_FAILED
= 'FAILED'¶
-
STATUS_FINISHED
= 'FINISHED'¶
-
STATUS_STARTED
= 'STARTED'¶
- updated (
-
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 phase - name (
str
) – The display name of the task progress phase - progress_percent (
long
) – The percentage of the phase that has completed format: int32
- id (
-
class
com.vmware.vmc.model_client.
TermOfferInstance
(product_type=None, name=None, region=None, commitment_term=None, unit_price=None, currency=None, version=None, description=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: - product_type (
str
) – - name (
str
) – - region (
str
) – - commitment_term (
long
) – - unit_price (
str
) – - currency (
str
) – - version (
str
) – - description (
str
) –
- product_type (
-
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
) –
- burst_size (
-
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: int32 - name (
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: int32 - fence_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).
- sub_interfaces (
-
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 VPC - id (
str
orNone
) – - api_association_id (
str
orNone
) – Id of the association between subnet and route-table - private_subnet_id (
str
orNone
) – - api_subnet_id (
str
orNone
) – Id associated with this VPC - esx_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 VGW - edge_association_id (
str
orNone
) – Id of the association between edge subnet and route-table - vif_ids (
list
ofstr
orNone
) – - peering_connection_id (
str
orNone
) –
- vpc_cidr (
-
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
) –
- vpc_id (
-
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'¶
- version (
-
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'¶
- channel_status (
-
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 (
vmware.vapi.struct.VapiStruct
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'¶
- on_prem_subnet (
-
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
) –
- packets_out (
-
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 Service - certificate (
str
orNone
) – Public certificate used to connect to AWS Key Management Service
- port (
com.vmware.vmc.orgs_client module¶
-
class
com.vmware.vmc.orgs_client.
OfferInstances
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(org, region, product_type)¶ List all offers available for the specific product type in the specific region
Parameters: - org (
str
) – Organization identifier. (required) - region (
str
) – Region for the offer (required) - product_type (
str
) – Type of the product in offers (required)
Return type: Returns: com.vmware.vmc.model.OfferInstancesHolder
Raise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request. Type of the product not supported.Raise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- org (
-
-
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: list
ofcom.vmware.vmc.model_client.AwsCloudProvider
Returns: Raise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Organization doesn’t existRaise: com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized
-
-
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: list
ofcom.vmware.vmc.model_client.MaintenanceWindowEntry
Returns: Raise: com.vmware.vapi.std.errors_client.Unauthorized
Access not allowed to the operation for the current userRaise: com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized
-
-
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.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- org (
-
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.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Cannot find the SDDC Template with given identifierRaise: com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- org (
-
list
(org)¶ List all available SDDC configuration templates in an organization
Parameters: org ( str
) – Organization identifier. (required)Return type: list
ofcom.vmware.vmc.model_client.SddcTemplate
Returns: Raise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized
-
-
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)¶ Provision an SDDC in target cloud
Parameters: - org (
str
) – Organization identifier. (required) - sddc_config (
com.vmware.vmc.model_client.AwsSddcConfig
) – sddcConfig (required)
Return type: Returns: com.vmware.vmc.model.Task
Raise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- org (
-
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.InvalidRequest
The sddc is not in a state that’s valid for deletionRaise: com.vmware.vapi.std.errors_client.Unauthorized
Access not allowed to the operation for the current userRaise: com.vmware.vapi.std.errors_client.NotFound
Cannot find the SDDC with given identifierRaise: com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- org (
-
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.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Cannot find the SDDC with given identifierRaise: com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- org (
-
list
(org)¶ List all the SDDCs of an organization
Parameters: org ( str
) – Organization identifier. (required)Return type: list
ofcom.vmware.vmc.model_client.Sddc
Returns: Raise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized
-
-
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.InternalServerError
Server error. Check retryable flag to see if request should be retried.Raise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- org (
-
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- org (
-
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.InternalServerError
Server error. Check retryable flag to see if request should be retried.Raise: com.vmware.vapi.std.errors_client.NotFound
Not FoundRaise: com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- org (
-
-
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.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Cannot find the task with given identifierRaise: com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- org (
-
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 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. NOTE: currently only ANDs of ORs is implemented. NOTE2: currently only range operators are implemented for created date. Examples: - $filter=(created gt 2016-08-09) 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.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- org (
-
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.InvalidRequest
Invalid action or bad argumentRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Cannot find the task with given identifierRaise: com.vmware.vapi.std.errors_client.Unauthenticated
Unauthorized- org (
-