com.vmware.nsx_vmc_app package¶
Subpackages¶
Submodules¶
com.vmware.nsx_vmc_app.infra_client module¶
-
class
com.vmware.nsx_vmc_app.infra_client.
Accounts
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
get
()¶ Retrieve the shadow account and linked VPC account information from VMC provider. This API is a live query to VMC provider.
- Return type
- Returns
com.vmware.nsx_vmc_app.model.VMCAccounts
- Raise
com.vmware.vapi.std.errors_client.ServiceUnavailable
Service Unavailable- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition Failed- Raise
com.vmware.vapi.std.errors_client.InternalServerError
Internal Server Error- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.NotFound
Not Found
-
class
com.vmware.nsx_vmc_app.infra_client.
LinkedVpcs
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
get
(linked_vpc_id)¶ Get linked VPC information.
- Parameters
linked_vpc_id (
str
) – (required)- Return type
- Returns
com.vmware.nsx_vmc_app.model.LinkedVpcInfo
- Raise
com.vmware.vapi.std.errors_client.ServiceUnavailable
Service Unavailable- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition Failed- Raise
com.vmware.vapi.std.errors_client.InternalServerError
Internal Server Error- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.NotFound
Not Found
-
list
()¶ List linked VPC information.
- Return type
- Returns
com.vmware.nsx_vmc_app.model.LinkedVpcsListResult
- Raise
com.vmware.vapi.std.errors_client.ServiceUnavailable
Service Unavailable- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition Failed- Raise
com.vmware.vapi.std.errors_client.InternalServerError
Internal Server Error- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.NotFound
Not Found
-
class
com.vmware.nsx_vmc_app.infra_client.
MgmtVms
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
get
(vm_id)¶ Get management VM access information.
- Parameters
vm_id (
str
) – (required)- Return type
- Returns
com.vmware.nsx_vmc_app.model.MgmtVmInfo
- Raise
com.vmware.vapi.std.errors_client.ServiceUnavailable
Service Unavailable- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition Failed- Raise
com.vmware.vapi.std.errors_client.InternalServerError
Internal Server Error- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.NotFound
Not Found
-
list
()¶ List Management VM information.
- Return type
- Returns
com.vmware.nsx_vmc_app.model.MgmtVmsListResult
- Raise
com.vmware.vapi.std.errors_client.ServiceUnavailable
Service Unavailable- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition Failed- Raise
com.vmware.vapi.std.errors_client.InternalServerError
Internal Server Error- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.NotFound
Not Found
-
class
com.vmware.nsx_vmc_app.infra_client.
PublicIps
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
delete
(public_ip_id, force=None)¶ Delete a public IP. The IP will be released in VMC provider.
- Parameters
public_ip_id (
str
) – (required)force (
bool
orNone
) – Force delete the resource even if it is being used somewhere (optional, default to false)
- Raise
com.vmware.vapi.std.errors_client.ServiceUnavailable
Service Unavailable- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition Failed- Raise
com.vmware.vapi.std.errors_client.InternalServerError
Internal Server Error- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.NotFound
Not Found
-
get
(public_ip_id)¶ Get the public IP information.
- Parameters
public_ip_id (
str
) – (required)- Return type
- Returns
com.vmware.nsx_vmc_app.model.PublicIp
- Raise
com.vmware.vapi.std.errors_client.ServiceUnavailable
Service Unavailable- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition Failed- Raise
com.vmware.vapi.std.errors_client.InternalServerError
Internal Server Error- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.NotFound
Not Found
-
list
()¶ List all public IPs obtained in the SDDC.
- Return type
- Returns
com.vmware.nsx_vmc_app.model.PublicIpsListResult
- Raise
com.vmware.vapi.std.errors_client.ServiceUnavailable
Service Unavailable- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition Failed- Raise
com.vmware.vapi.std.errors_client.InternalServerError
Internal Server Error- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.NotFound
Not Found
-
update
(public_ip_id, public_ip)¶ This API is used to create or update a public IP. In creating, the API allocates a new public IP from VMC provider. In updating, only the display name can be modified, the IP is read-only.
- Parameters
public_ip_id (
str
) – (required)public_ip (
com.vmware.nsx_vmc_app.model_client.PublicIp
) – (required)
- Return type
- Returns
com.vmware.nsx_vmc_app.model.PublicIp
- Raise
com.vmware.vapi.std.errors_client.ServiceUnavailable
Service Unavailable- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition Failed- Raise
com.vmware.vapi.std.errors_client.InternalServerError
Internal Server Error- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.NotFound
Not Found
-
class
com.vmware.nsx_vmc_app.infra_client.
SddcUserConfig
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
get
()¶ Get the user-level SDDC configuration parameters
- Return type
- Returns
com.vmware.nsx_vmc_app.model.SddcUserConfiguration
- Raise
com.vmware.vapi.std.errors_client.ServiceUnavailable
Service Unavailable- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition Failed- Raise
com.vmware.vapi.std.errors_client.InternalServerError
Internal Server Error- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.NotFound
Not Found
-
class
com.vmware.nsx_vmc_app.infra_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
- Parameters
stub_config (
vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.nsx_vmc_app.model_client module¶
-
class
com.vmware.nsx_vmc_app.model_client.
AdvertisedRoute
(advertisement_state=None, ipv4_cidr=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Advertised BGP route
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
advertisement_state (
str
) –Possible values are:
State of advertisement
ipv4_cidr (
str
) – The route that is advertised to on-premise datacenter via Direct Connect format: ipv4-cidr-block
-
ADVERTISEMENT_STATE_FAILED
= 'FAILED'¶
-
ADVERTISEMENT_STATE_SUCCESS
= 'SUCCESS'¶
-
class
com.vmware.nsx_vmc_app.model_client.
ApiError
(details=None, error_code=None, error_data=None, error_message=None, module_name=None, related_errors=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Detailed information about an API Error
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
details (
str
orNone
) – Further details about the errorerror_code (
long
orNone
) – A numeric error code format: int64error_data (
vmware.vapi.struct.VapiStruct
orNone
) – Additional data about the errorerror_message (
str
orNone
) – A description of the errormodule_name (
str
orNone
) – The module name where the error occurredrelated_errors (
list
ofRelatedApiError
orNone
) – Other errors related to this error
-
class
com.vmware.nsx_vmc_app.model_client.
BGPAdvertisedRoutes
(advertised_routes=None, failed_advertised_routes=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Advertised bgp routes
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
advertised_routes (
list
ofAdvertisedRoute
orNone
) – Routes advertised to on-premise datacenter via Direct Connectfailed_advertised_routes (
long
orNone
) – Number of routes failed to advertise format: int32
-
class
com.vmware.nsx_vmc_app.model_client.
BGPLearnedRoutes
(ipv4_cidr=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Learned bgp routes
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
ipv4_cidr (
list
ofstr
orNone
) – The route that is learned from BGP via Direct Connect format: ipv4-cidr-block
-
class
com.vmware.nsx_vmc_app.model_client.
ConnectedServiceListResult
(links=None, schema=None, self_=None, cursor=None, result_count=None, sort_ascending=None, sort_by=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A list of status of ‘Enabled/Disabled’ for a service connected to a linked vpc
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
links (
list
ofResourceLink
orNone
) – The server will populate this field when returing the resource. Ignored on PUT and POST. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.schema (
str
orNone
) – Schema for this resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.self (
SelfResourceLink
orNone
) – Link to this resourcecursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.result_count (
long
orNone
) – Count of results found (across all pages), set only on first page 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.sort_ascending (
bool
orNone
) – If true, results are sorted in ascending order This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.sort_by (
str
orNone
) – Field by which records are sorted This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.results (
list
ofConnectedServiceStatus
) – Connected service status list
-
class
com.vmware.nsx_vmc_app.model_client.
ConnectedServiceStatus
(enabled=None, name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Status of ‘Enabled/Disabled’ for a service connected to a linked vpc
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
enabled (
bool
orNone
) – status of service This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.name (
str
orNone
) – service name This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
class
com.vmware.nsx_vmc_app.model_client.
DirectConnectBgpInfo
(local_as_num=None, mtu=None, route_preference=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Direct Connect BGP related information
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
local_as_num (
str
orNone
) – The ASN paired with the VGW attached to the VPC. AWS allowed private BGP ASN range - [64512, 65534] and [4200000000, 4294967294]. If omitted in the payload, BGP ASN will not be modified.mtu (
long
orNone
) – Maximum transmission unit allowed by the VIF 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.route_preference (
str
orNone
) –Possible values are:
Direct connect route preference over VPN routes. If omitted in the payload, route preference will not be modified.
-
ROUTE_PREFERENCE_DX_PREFERED_OVER_VPN
= 'DX_PREFERED_OVER_VPN'¶
-
ROUTE_PREFERENCE_VPN_PREFERED_OVER_DX
= 'VPN_PREFERED_OVER_DX'¶
-
class
com.vmware.nsx_vmc_app.model_client.
DiscoveredResource
(links=None, schema=None, self_=None, last_sync_time=None, description=None, display_name=None, resource_type=None, tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Base class for resources that are discovered and automatically updated
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
links (
list
ofResourceLink
orNone
) – The server will populate this field when returing the resource. Ignored on PUT and POST. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.schema (
str
orNone
) – Schema for this resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.self (
SelfResourceLink
orNone
) – Link to this resourcelast_sync_time (
long
orNone
) – Timestamp of last modification 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.description (
str
orNone
) – Description of this resourcedisplay_name (
str
orNone
) – Defaults to ID if not setresource_type (
str
orNone
) – The type of this resource.tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
class
com.vmware.nsx_vmc_app.model_client.
EmbeddedResource
(links=None, schema=None, self_=None, revision=None, owner=None, description=None, display_name=None, id=None, resource_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Base class for resources that are embedded in other resources
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
links (
list
ofResourceLink
orNone
) – The server will populate this field when returing the resource. Ignored on PUT and POST. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.schema (
str
orNone
) – Schema for this resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.self (
SelfResourceLink
orNone
) – Link to this resourcerevision (
long
orNone
) – The _revision property describes the current revision of the resource. To prevent clients from overwriting each other’s changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. format: int32owner (
OwnerResourceLink
orNone
) – Owner of this resourcedescription (
str
orNone
) – Description of this resourcedisplay_name (
str
orNone
) – Defaults to ID if not setid (
str
orNone
) – Identifier of the resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.resource_type (
str
orNone
) – The type of this resource.
-
class
com.vmware.nsx_vmc_app.model_client.
HostEni
(associated_public_ips=None, description=None, interface_id=None, interface_mac=None, primary_ip=None, subnet_id=None, vdr_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Host elastic network interface (ENI)
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
associated_public_ips (
list
ofstr
orNone
) – List of associated public IPs. format: ipv4description (
str
orNone
) – Descriptioninterface_id (
str
orNone
) – Interface idinterface_mac (
str
orNone
) – Interface macprimary_ip (
str
orNone
) – Primary IP format: ipv4subnet_id (
str
orNone
) – Subnet IDvdr_type (
str
orNone
) – Virtual distributed router (VDR) type
-
class
com.vmware.nsx_vmc_app.model_client.
HostStatus
(eni=None, host_id=None, host_ip=None, issues=None, vdr=None, vmcd_status=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Host status
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
eni (
list
ofHostEni
orNone
) – List of ENIshost_id (
str
orNone
) – Host UUIDhost_ip (
str
orNone
) – Host ip format: ipv4issues (
list
ofstr
orNone
) – issues with the hostvdr (
list
ofHostVdr
orNone
) – List of VDRsvmcd_status (
str
orNone
) –Possible values are:
Status of vmcd, a service running on host
-
VMCD_STATUS_GREEN
= 'GREEN'¶
-
VMCD_STATUS_RED
= 'RED'¶
-
VMCD_STATUS_UNKNOWN
= 'UNKNOWN'¶
-
class
com.vmware.nsx_vmc_app.model_client.
HostStatusListResult
(links=None, schema=None, self_=None, cursor=None, result_count=None, sort_ascending=None, sort_by=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Host status list result
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
links (
list
ofResourceLink
orNone
) – The server will populate this field when returing the resource. Ignored on PUT and POST. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.schema (
str
orNone
) – Schema for this resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.self (
SelfResourceLink
orNone
) – Link to this resourcecursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.result_count (
long
orNone
) – Count of results found (across all pages), set only on first page 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.sort_ascending (
bool
orNone
) – If true, results are sorted in ascending order This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.sort_by (
str
orNone
) – Field by which records are sorted This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.results (
list
ofHostStatus
) – Connected service status list
-
class
com.vmware.nsx_vmc_app.model_client.
HostVdr
(lifs=None, routes=None, type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Host virtual distributed router (VDR)
Tip
The arguments are used to initialize data attributes with the same names.
-
class
com.vmware.nsx_vmc_app.model_client.
InterfaceStatistics
(links=None, schema=None, self_=None, rx_bytes=None, rx_errors=None, rx_packets=None, tx_bytes=None, tx_errors=None, tx_packets=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Statistics for a network interface
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
links (
list
ofResourceLink
orNone
) – The server will populate this field when returing the resource. Ignored on PUT and POST. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.schema (
str
orNone
) – Schema for this resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.self (
SelfResourceLink
orNone
) – Link to this resourcerx_bytes (
long
orNone
) – Count of bytes received on this port 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.rx_errors (
long
orNone
) – Count of receive errors occurring on this port 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.rx_packets (
long
orNone
) – Count of packets received on this port 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.tx_bytes (
long
orNone
) – Count of bytes transmitted on this port 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.tx_errors (
long
orNone
) – Count of transmit errors occurring on this port 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.tx_packets (
long
orNone
) – Count of packets transmitted on this port 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.
-
class
com.vmware.nsx_vmc_app.model_client.
IpAttachmentPair
(attachment_id=None, ip=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
attachment_id (
str
) – Attachment id which maps to management VM IPip (
str
) – Management VM IP Address format: ipv4
-
class
com.vmware.nsx_vmc_app.model_client.
LinkedSubnetInfo
(availability_zone=None, cidr=None, id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Infromation related to a subnet where linked ENIs were created.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
availability_zone (
str
) – Linked subnet availability zonecidr (
str
) – Linked subnet CIDR format: ipv4-cidr-blockid (
str
) – Linked subnet identifier
-
class
com.vmware.nsx_vmc_app.model_client.
LinkedVpcInfo
(active_eni=None, arn_role=None, external_id=None, linked_account=None, linked_vpc_addresses=None, linked_vpc_id=None, linked_vpc_nat_ips=None, linked_vpc_subnets=None, route_table_ids=None, service_arn_role=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Linked VPC info
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
active_eni (
str
orNone
) – Active network interface used for linked vpc trafficarn_role (
str
) – ARN role for linked VPC operationsexternal_id (
str
) – External identifier for ARN rolelinked_account (
str
) – Linked VPC account numberlinked_vpc_addresses (
list
ofstr
) – Linked VPC CIDRs format: ipv4-cidr-blocklinked_vpc_id (
str
orNone
) – Linked VPC identifierlinked_vpc_nat_ips (
list
ofstr
) – The IPs of linked VPC NAT rule for service access. format: ipv4linked_vpc_subnets (
list
ofLinkedSubnetInfo
) – Infromation related to the subnets where linked ENIs were created.route_table_ids (
list
ofstr
) – The identifiers of route tables to be dynamically updated with SDDC networksservice_arn_role (
str
orNone
) – service ARN role
-
class
com.vmware.nsx_vmc_app.model_client.
LinkedVpcsListResult
(links=None, schema=None, self_=None, cursor=None, result_count=None, sort_ascending=None, sort_by=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Linked VPC list query result
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
links (
list
ofResourceLink
orNone
) – The server will populate this field when returing the resource. Ignored on PUT and POST. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.schema (
str
orNone
) – Schema for this resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.self (
SelfResourceLink
orNone
) – Link to this resourcecursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.result_count (
long
orNone
) – Count of results found (across all pages), set only on first page 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.sort_ascending (
bool
orNone
) – If true, results are sorted in ascending order This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.sort_by (
str
orNone
) – Field by which records are sorted This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.results (
list
ofLinkedVpcInfo
orNone
) – Linked VPCs list
-
class
com.vmware.nsx_vmc_app.model_client.
ListResult
(links=None, schema=None, self_=None, cursor=None, result_count=None, sort_ascending=None, sort_by=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Base class for list results from collections
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
links (
list
ofResourceLink
orNone
) – The server will populate this field when returing the resource. Ignored on PUT and POST. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.schema (
str
orNone
) – Schema for this resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.self (
SelfResourceLink
orNone
) – Link to this resourcecursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.result_count (
long
orNone
) – Count of results found (across all pages), set only on first page 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.sort_ascending (
bool
orNone
) – If true, results are sorted in ascending order This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.sort_by (
str
orNone
) – Field by which records are sorted This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
class
com.vmware.nsx_vmc_app.model_client.
ManagedResource
(links=None, schema=None, self_=None, revision=None, create_time=None, create_user=None, last_modified_time=None, last_modified_user=None, protection=None, system_owned=None, description=None, display_name=None, id=None, resource_type=None, tags=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Base type for resources that are managed by API clients
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
links (
list
ofResourceLink
orNone
) – The server will populate this field when returing the resource. Ignored on PUT and POST. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.schema (
str
orNone
) – Schema for this resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.self (
SelfResourceLink
orNone
) – Link to this resourcerevision (
long
orNone
) – The _revision property describes the current revision of the resource. To prevent clients from overwriting each other’s changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. format: int32create_time (
long
orNone
) – Timestamp of resource creation 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.create_user (
str
orNone
) – ID of the user who created this resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.last_modified_time (
long
orNone
) – Timestamp of last modification 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.last_modified_user (
str
orNone
) – ID of the user who last modified this resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.protection (
str
orNone
) – Protection status is one of the following: PROTECTED - the client who retrieved the entity is not allowed to modify it. NOT_PROTECTED - the client who retrieved the entity is allowed to modify it REQUIRE_OVERRIDE - the client who retrieved the entity is a super user and can modify it, but only when providing the request header X-Allow-Overwrite=true. UNKNOWN - the _protection field could not be determined for this entity. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.system_owned (
bool
orNone
) – Indicates system owned resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.description (
str
orNone
) – Description of this resourcedisplay_name (
str
orNone
) – Defaults to ID if not setid (
str
orNone
) – Unique identifier of this resourceresource_type (
str
orNone
) – The type of this resource.tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
-
class
com.vmware.nsx_vmc_app.model_client.
MgmtServiceEntry
(display_name=None, path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A service entry describes the detail of a network service.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
display_name (
str
orNone
) – Display name for this servicepath (
str
orNone
) – Service path should refer to a valid service in the system. Service can be system defined or user defined.
-
class
com.vmware.nsx_vmc_app.model_client.
MgmtVmInfo
(display_name=None, group_path=None, id=None, ip_attachment_pairs=None, ips=None, services=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Management VM access information
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
display_name (
str
orNone
) – Management VM namegroup_path (
str
orNone
) – For each management VM, a dedicated policy group will be created. This property will reflect its group path. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.id (
str
orNone
) – Management VM identifier This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.ip_attachment_pairs (
list
ofIpAttachmentPair
orNone
) – IP address and attachment id pairs for tagging managment VMips (
list
ofstr
orNone
) – Local IPs of a management VM format: address-or-block-or-rangeservices (
list
ofMgmtServiceEntry
orNone
) – Details services path and display name.
-
class
com.vmware.nsx_vmc_app.model_client.
MgmtVmsListResult
(links=None, schema=None, self_=None, cursor=None, result_count=None, sort_ascending=None, sort_by=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Management VM list query result
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
links (
list
ofResourceLink
orNone
) – The server will populate this field when returing the resource. Ignored on PUT and POST. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.schema (
str
orNone
) – Schema for this resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.self (
SelfResourceLink
orNone
) – Link to this resourcecursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.result_count (
long
orNone
) – Count of results found (across all pages), set only on first page 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.sort_ascending (
bool
orNone
) – If true, results are sorted in ascending order This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.sort_by (
str
orNone
) – Field by which records are sorted This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.results (
list
ofMgmtVmInfo
orNone
) – Management VMs list
-
class
com.vmware.nsx_vmc_app.model_client.
NetworkStatusEntry
(host_ips=None, ip_address=None, issues=None, issues_found=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Network status entry
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
host_ips (
list
ofstr
orNone
) – IPs of hosts that store this entry format: ipv4ip_address (
str
orNone
) – IP address programmed with the entry format: ipv4issues (
list
ofstr
orNone
) – Known issues detected with the entryissues_found (
bool
orNone
) – Indicate whether issues is a non-empty array
-
class
com.vmware.nsx_vmc_app.model_client.
NetworkStatusKey
(context=None, network_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Key used to group network status inquiry results.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
context (
str
) –Possible values are:
The context that the entry is used in
network_type (
str
) –Possible values are:
Network type in the network status pair.
-
CONTEXT_CONNECTED_VPC
= 'CONNECTED_VPC'¶
-
CONTEXT_DIRECT_CONNECT
= 'DIRECT_CONNECT'¶
-
CONTEXT_INVALID_NETWORK
= 'INVALID_NETWORK'¶
-
CONTEXT_MANAGEMENT
= 'MANAGEMENT'¶
-
CONTEXT_PUBLIC
= 'PUBLIC'¶
-
NETWORK_TYPE_DNS
= 'DNS'¶
-
NETWORK_TYPE_INFRA
= 'INFRA'¶
-
NETWORK_TYPE_LOGICAL
= 'LOGICAL'¶
-
NETWORK_TYPE_MANAGEMENT
= 'MANAGEMENT'¶
-
NETWORK_TYPE_NAT
= 'NAT'¶
-
NETWORK_TYPE_VPN
= 'VPN'¶
-
class
com.vmware.nsx_vmc_app.model_client.
NetworkStatusKeyValuePair
(key=None, values=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
List of network status
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
key (
NetworkStatusKey
orNone
) – Network status keyvalues (
list
ofNetworkStatusEntry
orNone
) – Network status value
-
class
com.vmware.nsx_vmc_app.model_client.
NetworkStatusListResult
(links=None, schema=None, self_=None, cursor=None, result_count=None, sort_ascending=None, sort_by=None, issues=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
List of network status
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
links (
list
ofResourceLink
orNone
) – The server will populate this field when returing the resource. Ignored on PUT and POST. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.schema (
str
orNone
) – Schema for this resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.self (
SelfResourceLink
orNone
) – Link to this resourcecursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.result_count (
long
orNone
) – Count of results found (across all pages), set only on first page 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.sort_ascending (
bool
orNone
) – If true, results are sorted in ascending order This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.sort_by (
str
orNone
) – Field by which records are sorted This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.issues (
list
ofstr
orNone
) – List of overall issues encountered during the inquiryresults (
list
ofNetworkStatusKeyValuePair
) – List of network status key value pairs.
-
class
com.vmware.nsx_vmc_app.model_client.
OwnerResourceLink
(action=None, href=None, rel=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
The server will populate this field when returing the resource. Ignored on PUT and POST.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
action (
str
orNone
) – Optional action This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.href (
str
orNone
) – Link to resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.rel (
str
orNone
) – Custom relation type (follows RFC 5988 where appropriate definitions exist) This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
class
com.vmware.nsx_vmc_app.model_client.
PrefixInfo
(display_name=None, prefixes=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Service IP prefixes information
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
display_name (
str
orNone
) – Display name This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.prefixes (
list
ofstr
) – Service IP prefixes format: ipv4-cidr-block
-
class
com.vmware.nsx_vmc_app.model_client.
PrefixesListResult
(links=None, schema=None, self_=None, cursor=None, result_count=None, sort_ascending=None, sort_by=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Service Prefix list query result
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
links (
list
ofResourceLink
orNone
) – The server will populate this field when returing the resource. Ignored on PUT and POST. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.schema (
str
orNone
) – Schema for this resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.self (
SelfResourceLink
orNone
) – Link to this resourcecursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.result_count (
long
orNone
) – Count of results found (across all pages), set only on first page 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.sort_ascending (
bool
orNone
) – If true, results are sorted in ascending order This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.sort_by (
str
orNone
) – Field by which records are sorted This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.results (
list
ofPrefixInfo
orNone
) – Service Prefixes list
-
class
com.vmware.nsx_vmc_app.model_client.
PublicIp
(display_name=None, id=None, ip=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
display_name (
str
orNone
) –id (
str
orNone
) – Public IP identifier This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.ip (
str
orNone
) – IPv4 address format: ipv4 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
class
com.vmware.nsx_vmc_app.model_client.
PublicIpsListResult
(links=None, schema=None, self_=None, cursor=None, result_count=None, sort_ascending=None, sort_by=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Public IP list
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
links (
list
ofResourceLink
orNone
) – The server will populate this field when returing the resource. Ignored on PUT and POST. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.schema (
str
orNone
) – Schema for this resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.self (
SelfResourceLink
orNone
) – Link to this resourcecursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.result_count (
long
orNone
) – Count of results found (across all pages), set only on first page 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.sort_ascending (
bool
orNone
) – If true, results are sorted in ascending order This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.sort_by (
str
orNone
) – Field by which records are sorted This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.results (
list
ofPublicIp
orNone
) – Public IP list
-
class
com.vmware.nsx_vmc_app.model_client.
RelatedApiError
(details=None, error_code=None, error_data=None, error_message=None, module_name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Detailed information about a related API error
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
details (
str
orNone
) – Further details about the errorerror_code (
long
orNone
) – A numeric error code format: int64error_data (
vmware.vapi.struct.VapiStruct
orNone
) – Additional data about the errorerror_message (
str
orNone
) – A description of the errormodule_name (
str
orNone
) – The module name where the error occurred
-
class
com.vmware.nsx_vmc_app.model_client.
Resource
(links=None, schema=None, self_=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Base class for resources
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
links (
list
ofResourceLink
orNone
) – The server will populate this field when returing the resource. Ignored on PUT and POST. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.schema (
str
orNone
) – Schema for this resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.self (
SelfResourceLink
orNone
) – Link to this resource
-
class
com.vmware.nsx_vmc_app.model_client.
ResourceLink
(action=None, href=None, rel=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A link to a related resource
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
action (
str
orNone
) – Optional action This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.href (
str
orNone
) – Link to resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.rel (
str
orNone
) – Custom relation type (follows RFC 5988 where appropriate definitions exist) This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
class
com.vmware.nsx_vmc_app.model_client.
RevisionedResource
(links=None, schema=None, self_=None, revision=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A base class for types that track revisions
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
links (
list
ofResourceLink
orNone
) – The server will populate this field when returing the resource. Ignored on PUT and POST. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.schema (
str
orNone
) – Schema for this resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.self (
SelfResourceLink
orNone
) – Link to this resourcerevision (
long
orNone
) – The _revision property describes the current revision of the resource. To prevent clients from overwriting each other’s changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. format: int32
-
class
com.vmware.nsx_vmc_app.model_client.
SddcUserConfiguration
(all_uplink_interface_label=None, all_vpn_interface_label=None, cgw_snat_ip=None, compute_gateway=None, dx_interface_label=None, linked_vpc_interface_label=None, management_gateway=None, management_gateway_label=None, mgmt_subnet=None, mgw_snat_ip=None, provider_name=None, public_interface_label=None, sddc_infra_subnet=None, vpn_dx_ips=None, vpn_internet_ips=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
SDDC configuration parameters for users. User-level addresses/CIDRs are provided.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
all_uplink_interface_label (
str
) – All uplink interfaces label nameall_vpn_interface_label (
str
) – All VPN interfaces label namecgw_snat_ip (
str
orNone
) – CGW SNAT ip address format: ipv4compute_gateway (
str
) – Compute gateway namedx_interface_label (
str
) – DirectConnect interface label namelinked_vpc_interface_label (
str
) – Linked VPC interface label namemanagement_gateway (
str
) – Management gateway namemanagement_gateway_label (
str
) – Management gateway label namemgmt_subnet (
list
ofstr
) – Management VMs CIDRs format: ipv4-cidr-blockmgw_snat_ip (
str
orNone
) – MGW SNAT ip address format: ipv4provider_name (
str
) – Provider Namepublic_interface_label (
str
) – Public interface label namesddc_infra_subnet (
list
ofstr
) – SDDC Infra CIDRs format: ipv4-cidr-blockvpn_dx_ips (
list
ofstr
orNone
) – Local IPs for VPN tunnel over Direct Connect format: ipv4vpn_internet_ips (
list
ofstr
orNone
) – Public IPs for VPN tunnel over internet format: ipv4
-
class
com.vmware.nsx_vmc_app.model_client.
SelfResourceLink
(action=None, href=None, rel=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
The server will populate this field when returing the resource. Ignored on PUT and POST.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
action (
str
orNone
) – Optional action This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.href (
str
orNone
) – Link to resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.rel (
str
orNone
) – Custom relation type (follows RFC 5988 where appropriate definitions exist) This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
class
com.vmware.nsx_vmc_app.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.nsx_vmc_app.model_client.
Tag
(scope=None, tag=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Arbitrary key-value pairs that may be attached to an entity
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
scope (
str
orNone
) – Tag searches may optionally be restricted by scopetag (
str
orNone
) – Identifier meaningful to user
-
class
com.vmware.nsx_vmc_app.model_client.
TaskProperties
(links=None, schema=None, self_=None, async_response_available=None, cancelable=None, description=None, end_time=None, id=None, message=None, progress=None, request_method=None, request_uri=None, start_time=None, status=None, user=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Task properties
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
links (
list
ofResourceLink
orNone
) – The server will populate this field when returing the resource. Ignored on PUT and POST. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.schema (
str
orNone
) – Schema for this resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.self (
SelfResourceLink
orNone
) – Link to this resourceasync_response_available (
bool
orNone
) – True if response for asynchronous request is available This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.cancelable (
bool
orNone
) – True if this task can be canceled This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.description (
str
orNone
) – Description of the task This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.end_time (
long
orNone
) – The end time of the task in epoch milliseconds 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.id (
str
orNone
) – Identifier for this task This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.message (
str
orNone
) – A message describing the disposition of the task This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.progress (
long
orNone
) – Task progress if known, from 0 to 100 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.request_method (
str
orNone
) – HTTP request method This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.request_uri (
str
orNone
) – URI of the method invocation that spawned this task This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.start_time (
long
orNone
) – The start time of the task in epoch milliseconds 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.status (
str
orNone
) –Possible values are:
Current status of the task
This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
user (
str
orNone
) – Name of the user who created this task This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
STATUS_CANCELED
= 'canceled'¶
-
STATUS_CANCELING
= 'canceling'¶
-
STATUS_ERROR
= 'error'¶
-
STATUS_KILLED
= 'killed'¶
-
STATUS_RUNNING
= 'running'¶
-
STATUS_SUCCESS
= 'success'¶
-
class
com.vmware.nsx_vmc_app.model_client.
TraceflowAction
(component_name=None, component_sub_type=None, component_type=None, reason=None, resource_type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A component that processed the packet injected by traceflow
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
component_name (
str
orNone
) – Name of a component instancecomponent_sub_type (
str
orNone
) –Possible values are:
Subtype of component
component_type (
str
orNone
) –Possible values are:
Type of component
reason (
str
orNone
) – Reason to drop or reject packet if it is not forwardedresource_type (
str
orNone
) – Action taken by the component to process the packet
-
COMPONENT_SUB_TYPE_AWS_GATEWAY
= 'AWS_GATEWAY'¶
-
COMPONENT_SUB_TYPE_EDGE_UPLINK
= 'EDGE_UPLINK'¶
-
COMPONENT_SUB_TYPE_ENI
= 'ENI'¶
-
COMPONENT_SUB_TYPE_VDR
= 'VDR'¶
-
COMPONENT_TYPE_VMC
= 'VMC'¶
-
class
com.vmware.nsx_vmc_app.model_client.
TraceflowActionListResults
(links=None, schema=None, self_=None, cursor=None, result_count=None, sort_ascending=None, sort_by=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A list containing all traceflow actions that have been taken to process the packet
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
links (
list
ofResourceLink
orNone
) – The server will populate this field when returing the resource. Ignored on PUT and POST. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.schema (
str
orNone
) – Schema for this resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.self (
SelfResourceLink
orNone
) – Link to this resourcecursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.result_count (
long
orNone
) – Count of results found (across all pages), set only on first page 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.sort_ascending (
bool
orNone
) – If true, results are sorted in ascending order This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.sort_by (
str
orNone
) – Field by which records are sorted This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.results (
list
ofTraceflowAction
orNone
) – Result containing all traceflow actions that have processed the packet
-
class
com.vmware.nsx_vmc_app.model_client.
VMCAccounts
(linked_vpc_account=None, shadow_account=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Shadow account and linked VPC account
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
linked_vpc_account (
str
orNone
) – linked VPC account numbershadow_account (
str
) – Shadow VPC account number
-
class
com.vmware.nsx_vmc_app.model_client.
VdrLif
(id=None, ip=None, netmask=None, vlan_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Virtual distributed router (VDR) LIF
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
id (
str
orNone
) – VDR LIF IDip (
str
orNone
) – VDR LIF IP format: ipv4netmask (
str
orNone
) – VDR LIF subnet mask format: ipv4vlan_id (
long
orNone
) – VDR LIF VLAN ID format: int64
-
class
com.vmware.nsx_vmc_app.model_client.
VdrRoute
(destination=None, gateway=None, lif_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Virtual Distributed Router (VDR) route entry
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
destination (
str
orNone
) – Destination IP CIDR Block format: ipv4-cidr-blockgateway (
str
orNone
) – Outgoing gatewaylif_id (
str
orNone
) – Outgoing Lif ID
-
class
com.vmware.nsx_vmc_app.model_client.
VifsListResult
(links=None, schema=None, self_=None, cursor=None, result_count=None, sort_ascending=None, sort_by=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Direct Connect VIFs (Virtual Interface) list query result
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
links (
list
ofResourceLink
orNone
) – The server will populate this field when returing the resource. Ignored on PUT and POST. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.schema (
str
orNone
) – Schema for this resource This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.self (
SelfResourceLink
orNone
) – Link to this resourcecursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.result_count (
long
orNone
) – Count of results found (across all pages), set only on first page 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.sort_ascending (
bool
orNone
) – If true, results are sorted in ascending order This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.sort_by (
str
orNone
) – Field by which records are sorted This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.results (
list
ofVirtualInterface
orNone
) – VIFs list
-
class
com.vmware.nsx_vmc_app.model_client.
VirtualInterface
(bgp_status=None, direct_connect_id=None, id=None, local_ip=None, mtu=None, name=None, remote_asn=None, remote_ip=None, state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
bgp_status (
str
) –Possible values are:
BGP status
direct_connect_id (
str
) – Identifier for the Direct Connectid (
str
) – Identifier for the virtual interfacelocal_ip (
str
orNone
) – amazon side address format: ipv4 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.mtu (
long
orNone
) – Maximum transmission unit allowed by the VIF 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.name (
str
) – VIF nameremote_asn (
str
orNone
) – Remote autonomous system number of vif This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.remote_ip (
str
orNone
) – customer address format: ipv4 This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.state (
str
) –Possible values are:
VIF State
-
BGP_STATUS_DOWN
= 'DOWN'¶
-
BGP_STATUS_UP
= 'UP'¶
-
STATE_ATTACHED
= 'ATTACHED'¶
-
STATE_ATTACHING
= 'ATTACHING'¶
-
STATE_AVAILABLE
= 'AVAILABLE'¶
-
STATE_CONFIRMING
= 'CONFIRMING'¶
-
STATE_DELETED
= 'DELETED'¶
-
STATE_DELETING
= 'DELETING'¶
-
STATE_DOWN
= 'DOWN'¶
-
STATE_ERROR
= 'ERROR'¶
-
STATE_PENDING
= 'PENDING'¶
-
STATE_REJECTED
= 'REJECTED'¶
-
STATE_VERIFYING
= 'VERIFYING'¶
-
class
com.vmware.nsx_vmc_app.model_client.
VmcConsolidatedRealizedStatus
(consolidated_status=None, consolidated_status_per_object=None, intent_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Represents aggregated realized status for intent entity across associated realized entities.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
consolidated_status (
VmcConsolidatedStatus
orNone
) – Consolidated state of objects for a given intent entity.consolidated_status_per_object (
list
ofVmcConsolidatedStatusPerObject
orNone
) – Aggregated consolidated status by enforcement point.intent_path (
str
orNone
) – Intent path of the object representing this consolidated state.
-
class
com.vmware.nsx_vmc_app.model_client.
VmcConsolidatedStatus
(consolidated_status=None, status_message=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Consolidated status of an object.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
consolidated_status (
str
orNone
) –Possible values are:
Possible values could be IN_PROGRESS, SUCCESS, ERROR, UNAVAILABLE. IN_PROGRESS - The object realization is in progress. ERROR - The object realization fails or is caught in an error. SUCCESS - The realization succeeds. UNAVAILABLE - The object realization status is unavailable.
status_message (
str
orNone
) – Help message for the current status regarding an object, providing information for each state.
-
CONSOLIDATED_STATUS_ERROR
= 'ERROR'¶
-
CONSOLIDATED_STATUS_IN_PROGRESS
= 'IN_PROGRESS'¶
-
CONSOLIDATED_STATUS_SUCCESS
= 'SUCCESS'¶
-
CONSOLIDATED_STATUS_UNAVAILABLE
= 'UNAVAILABLE'¶
-
class
com.vmware.nsx_vmc_app.model_client.
VmcConsolidatedStatusPerObject
(consolidated_status=None, object_id=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Realized status consolidated by individual objects.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
consolidated_status (
VmcConsolidatedStatus
orNone
) – Detailed consolidated realized status for an intent object.object_id (
str
) – Object id used to consolidate state. This can be a particular backend task/job, etc.