com.vmware.nsx_vmc_app package¶
Subpackages¶
- com.vmware.nsx_vmc_app.infra package
- Subpackages
- Submodules
- com.vmware.nsx_vmc_app.infra.direct_connect_client module
- com.vmware.nsx_vmc_app.infra.external_client module
- com.vmware.nsx_vmc_app.infra.linked_vpcs_client module
- com.vmware.nsx_vmc_app.infra.realized_state_client module
- com.vmware.nsx_vmc_app.infra.traffic_groups_client module
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: com.vmware.nsx_vmc_app.model_client.VMCAccounts
Returns: com.vmware.nsx_vmc_app.model.VMCAccounts Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
-
class
com.vmware.nsx_vmc_app.infra_client.
AssociatedGroups
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(sddc_group_id)¶ Delete the associated Group connection info for the local SDDC before removing the SDDC from the Group.
Parameters: sddc_group_id ( str
) – (required)Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
get
(sddc_group_id)¶ The API is used to get the associated Group connection info for the local SDDC. It returns the run time attachment state for the local SDDC, others infomations are from DB.
Parameters: sddc_group_id ( str
) – (required)Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_vmc_app.model.AssociatedBaseGroupConnectionInfo The return value will contain all the attributes defined in com.vmware.nsx_vmc_app.model_client.AssociatedBaseGroupConnectionInfo
.Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
list
()¶ This API is used to list all associated Group connection infos for the local SDDC. It returns the run time attachment state for the local SDDC, others infomations are from DB.
Return type: com.vmware.nsx_vmc_app.model_client.AssociatedGroupConnectionInfosListResult
Returns: com.vmware.nsx_vmc_app.model.AssociatedGroupConnectionInfosListResult Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
update
(sddc_group_id, associated_base_group_connection_info)¶ Create or update the associated Group connection info for reflecting the SDDC’s association state with SDDC group.
Parameters: - sddc_group_id (
str
) – (required) - associated_base_group_connection_info (
vmware.vapi.struct.VapiStruct
) – (required) The parameter must contain all the attributes defined incom.vmware.nsx_vmc_app.model_client.AssociatedBaseGroupConnectionInfo
.
Return type: vmware.vapi.struct.VapiStruct
Returns: com.vmware.nsx_vmc_app.model.AssociatedBaseGroupConnectionInfo The return value will contain all the attributes defined in
com.vmware.nsx_vmc_app.model_client.AssociatedBaseGroupConnectionInfo
.Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- sddc_group_id (
-
-
class
com.vmware.nsx_vmc_app.infra_client.
FeatureFlags
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
(internal_name=None, name=None)¶ Get vmc environment feature flags
Parameters: - internal_name (
str
orNone
) – internal feature name (optional) - name (
str
orNone
) – feature name (optional)
Return type: Returns: com.vmware.nsx_vmc_app.model.VmcFeatureFlags
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- internal_name (
-
-
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 associated with given ID.
Parameters: linked_vpc_id ( str
) – (required)Return type: com.vmware.nsx_vmc_app.model_client.LinkedVpcInfo
Returns: com.vmware.nsx_vmc_app.model.LinkedVpcInfo Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
list
()¶ List all linked VPC information.
Return type: com.vmware.nsx_vmc_app.model_client.LinkedVpcsListResult
Returns: com.vmware.nsx_vmc_app.model.LinkedVpcsListResult Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: 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: com.vmware.nsx_vmc_app.model_client.MgmtVmInfo
Returns: com.vmware.nsx_vmc_app.model.MgmtVmInfo Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
list
()¶ List Management VM information.
Return type: com.vmware.nsx_vmc_app.model_client.MgmtVmsListResult
Returns: com.vmware.nsx_vmc_app.model.MgmtVmsListResult Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: 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 UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- public_ip_id (
-
get
(public_ip_id)¶ Get public IP information associated with given ID.
Parameters: public_ip_id ( str
) – (required)Return type: com.vmware.nsx_vmc_app.model_client.PublicIp
Returns: com.vmware.nsx_vmc_app.model.PublicIp Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
list
(cursor=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List all public IPs obtained in the SDDC.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - included_fields (
str
orNone
) – Comma separated list of fields that should be included in query result (optional) - page_size (
long
orNone
) – Maximum number of results to return in this page (server may return fewer) (optional, default to 1000) - sort_ascending (
bool
orNone
) – (optional) - sort_by (
str
orNone
) – Field by which records are sorted (optional)
Return type: Returns: com.vmware.nsx_vmc_app.model.PublicIpsListResult
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- cursor (
-
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 UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- public_ip_id (
-
-
class
com.vmware.nsx_vmc_app.infra_client.
SddcNetworkConfig
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
CREATE_ACTION_UPGRADE
= 'UPGRADE'¶ Possible value for
action
of methodSddcNetworkConfig.create()
.
-
create
(upgrade_version_info, action)¶ This API is used to update the Vmc app data during upgrade.
Parameters: - upgrade_version_info (
com.vmware.nsx_vmc_app.model_client.UpgradeVersionInfo
) – (required) - action (
str
) – Action performed on the Vmc app upgrade (required)
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- upgrade_version_info (
-
-
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: com.vmware.nsx_vmc_app.model_client.SddcUserConfiguration
Returns: com.vmware.nsx_vmc_app.model.SddcUserConfiguration Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: 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
-
class
com.vmware.nsx_vmc_app.infra_client.
TrafficGroups
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
CREATE_ACTION_END_RESTORE
= 'END_RESTORE'¶ Possible value for
action
of methodTrafficGroups.create()
.
-
CREATE_ACTION_SET_RESOURCE_STATUS_FAILURE
= 'SET_RESOURCE_STATUS_FAILURE'¶ Possible value for
action
of methodTrafficGroups.create()
.
-
CREATE_ACTION_SET_RESOURCE_STATUS_SUCCESS
= 'SET_RESOURCE_STATUS_SUCCESS'¶ Possible value for
action
of methodTrafficGroups.create()
.
-
CREATE_ACTION_START_RESTORE
= 'START_RESTORE'¶ Possible value for
action
of methodTrafficGroups.create()
.
-
create
(traffic_group_id, action_message, action)¶ Perform an action on a Traffic Group
Parameters: - traffic_group_id (
str
) – (required) - action_message (
com.vmware.nsx_vmc_app.model_client.ActionMessage
) – (required) - action (
str
) – Action performed on the Traffic Group (required)
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- traffic_group_id (
-
delete
(traffic_group_id)¶ Delete the Traffic Group, disassociate the prefix list with the traffic group.
Parameters: traffic_group_id ( str
) – (required)Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
get
(traffic_group_id)¶ Get the traffic group information by traffic group ID.
Parameters: traffic_group_id ( str
) – (required)Return type: com.vmware.nsx_vmc_app.model_client.TrafficGroup
Returns: com.vmware.nsx_vmc_app.model.TrafficGroup Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
list
(verbose=None)¶ A list of all traffic groups, which are associated with prefix lists.
Parameters: verbose ( bool
orNone
) – Verbose info requested (optional, default to false)Return type: com.vmware.nsx_vmc_app.model_client.TrafficGroupsListResult
Returns: com.vmware.nsx_vmc_app.model.TrafficGroupsListResult Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
update
(traffic_group_id, traffic_group)¶ This API is used to create or update a traffic group, a Prefix List is associated to the traffic group.
Parameters: - traffic_group_id (
str
) – traffic group id (required) - traffic_group (
com.vmware.nsx_vmc_app.model_client.TrafficGroup
) – (required)
Return type: Returns: com.vmware.nsx_vmc_app.model.TrafficGroup
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- traffic_group_id (
-
com.vmware.nsx_vmc_app.model_client module¶
-
class
com.vmware.nsx_vmc_app.model_client.
ActionMessage
(message=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: message ( str
orNone
) – Optional message for action
-
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
orNone
) –Possible values are:
State of advertisement - ipv4_cidr (
str
orNone
) – The route that is advertised to on-premise datacenter via Direct Connect format: ipv4-cidr-block
-
ADVERTISEMENT_STATE_FAILED
= 'FAILED'¶
-
ADVERTISEMENT_STATE_SUCCESS
= 'SUCCESS'¶
- advertisement_state (
-
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 error - error_code (
long
orNone
) – A numeric error code format: int64 - error_data (
vmware.vapi.struct.VapiStruct
orNone
) – Additional data about the error - error_message (
str
orNone
) – A description of the error - module_name (
str
orNone
) – The module name where the error occurred - related_errors (
list
ofRelatedApiError
orNone
) – Other errors related to this error
- details (
-
class
com.vmware.nsx_vmc_app.model_client.
AssociatedBaseGroupConnectionInfo
(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='AssociatedBaseGroupConnectionInfo', tags=None, marked_for_delete=None, parent_path=None, path=None, relative_path=None, name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Base abstract associated Group connection infomation for the local SDDC.
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 - revision (
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 - create_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
) – SDDC Group description - display_name (
str
orNone
) – Defaults to ID if not set - id (
str
orNone
) – SDDC Group ID - resource_type (
str
) –Possible values are:
Group connection type
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - marked_for_delete (
bool
orNone
) – marked for delete 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. - parent_path (
str
orNone
) – Path of its parent This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - path (
str
orNone
) – Absolute path of this object This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - relative_path (
str
orNone
) – Path relative from its parent 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
) – SDDC Group name
-
RESOURCE_TYPE_ASSOCIATEDTGWGROUPCONNECTIONINFO
= 'AssociatedTgwGroupConnectionInfo'¶
-
resource_type
¶ Return the discriminator value
- links (
-
class
com.vmware.nsx_vmc_app.model_client.
AssociatedGroupConnectionInfosListResult
(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
Associated Group connection 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 resource - cursor (
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
ofvmware.vapi.struct.VapiStruct
orNone
) – When clients pass a value of this class as a parameter, the attribute must contain all the attributes defined inAssociatedBaseGroupConnectionInfo
. When methods return a value of this class as a return value, the attribute will contain all the attributes defined inAssociatedBaseGroupConnectionInfo
.
- links (
-
class
com.vmware.nsx_vmc_app.model_client.
AssociatedTgwGroupConnectionInfo
(external_route_table_id=None, sddcs_route_table_id=None, state=None, tgw_attachment_id=None, tgw_id=None, 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='AssociatedTgwGroupConnectionInfo', tags=None, marked_for_delete=None, parent_path=None, path=None, relative_path=None, name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Associated Group connection infomation for the local SDDC by using AWS TGW as a connector.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - external_route_table_id (
str
orNone
) – TGW external route table ID used for external customers VPCs association - sddcs_route_table_id (
str
orNone
) – TGW SDDCs route table ID used for SDDCs association - state (
str
orNone
) –Possible values are:
AssociatedTgwGroupConnectionInfo.STATE_CONNECTED
AssociatedTgwGroupConnectionInfo.STATE_DISCONNECTED
The TGW attachment state of the SDDC in the Group - tgw_attachment_id (
str
orNone
) – TGW attachment ID for the local SDDC in the Group - tgw_id (
str
orNone
) – TGW ID for the local SDDC in the Group - 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 - revision (
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 - create_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
) – SDDC Group description - display_name (
str
orNone
) – Defaults to ID if not set - id (
str
orNone
) – SDDC Group ID - resource_type (
str
) –Possible values are:
Group connection type
- tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - marked_for_delete (
bool
orNone
) – marked for delete 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. - parent_path (
str
orNone
) – Path of its parent This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - path (
str
orNone
) – Absolute path of this object This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - relative_path (
str
orNone
) – Path relative from its parent 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
) – SDDC Group name
-
STATE_CONNECTED
= 'CONNECTED'¶
-
STATE_DISCONNECTED
= 'DISCONNECTED'¶
-
resource_type
¶ Return the discriminator value
- external_route_table_id (
-
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 Connect - failed_advertised_routes (
long
orNone
) – Number of routes failed to advertise format: int32
- advertised_routes (
-
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 resource - cursor (
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
orNone
) – Connected service status list
- links (
-
class
com.vmware.nsx_vmc_app.model_client.
ConnectedServiceStatus
(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, marked_for_delete=None, parent_path=None, path=None, relative_path=None, 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: - 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 - revision (
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 - create_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 resource - display_name (
str
orNone
) – Defaults to ID if not set - id (
str
orNone
) – Unique identifier of this resource - resource_type (
str
orNone
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - marked_for_delete (
bool
orNone
) – marked for delete 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. - parent_path (
str
orNone
) – Path of its parent This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - path (
str
orNone
) – Absolute path of this object This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - relative_path (
str
orNone
) – Path relative from its parent This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - 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.
- links (
-
class
com.vmware.nsx_vmc_app.model_client.
CsvListResult
(file_name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Base type for CSV result.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: file_name ( str
orNone
) – File name set by HTTP server if API returns CSV result as a file.
-
class
com.vmware.nsx_vmc_app.model_client.
CsvRecord
¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Base type for CSV records.
Tip
The arguments are used to initialize data attributes with the same names.
-
class
com.vmware.nsx_vmc_app.model_client.
DirectConnectBgpInfo
(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, marked_for_delete=None, parent_path=None, path=None, relative_path=None, 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: - 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 - revision (
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 - create_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 resource - display_name (
str
orNone
) – Defaults to ID if not set - id (
str
orNone
) – Unique identifier of this resource - resource_type (
str
orNone
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - marked_for_delete (
bool
orNone
) – marked for delete 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. - parent_path (
str
orNone
) – Path of its parent This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - path (
str
orNone
) – Absolute path of this object This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - relative_path (
str
orNone
) – Path relative from its parent This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - 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:
DirectConnectBgpInfo.ROUTE_PREFERENCE_DIRECT_CONNECT_PREFERRED_OVER_VPN
DirectConnectBgpInfo.ROUTE_PREFERENCE_VPN_PREFERRED_OVER_DIRECT_CONNECT
Direct connect route preference over VPN routes. If omitted in the payload, route preference will not be modified.
-
ROUTE_PREFERENCE_DIRECT_CONNECT_PREFERRED_OVER_VPN
= 'DIRECT_CONNECT_PREFERRED_OVER_VPN'¶
-
ROUTE_PREFERENCE_VPN_PREFERRED_OVER_DIRECT_CONNECT
= 'VPN_PREFERRED_OVER_DIRECT_CONNECT'¶
- links (
-
class
com.vmware.nsx_vmc_app.model_client.
ExternalConnectivityConfig
(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, marked_for_delete=None, parent_path=None, path=None, relative_path=None, internet_mtu=None, intranet_mtu=None, services_mtu=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
External Connectivity configuration for north-south traffic. For eg., in AWS case, this would refer to Direct Connect config. For Dimension, this would refer to the config at Upstream Intranet interface to Tor.
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 - revision (
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 - create_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 resource - display_name (
str
orNone
) – Defaults to ID if not set - id (
str
orNone
) – Unique identifier of this resource - resource_type (
str
orNone
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - marked_for_delete (
bool
orNone
) – marked for delete 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. - parent_path (
str
orNone
) – Path of its parent This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - path (
str
orNone
) – Absolute path of this object This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - relative_path (
str
orNone
) – Path relative from its parent This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - internet_mtu (
long
orNone
) – Uplink MTU of internet traffic in edge tier-0 router port. 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. - intranet_mtu (
long
orNone
) – Uplink MTU of direct connect, sddc-grouping and outposts traffic in edge tier-0 router port. format: int32 - services_mtu (
long
orNone
) – Uplink MTU of connected VPC traffic in edge tier-0 router port. 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.
- links (
-
class
com.vmware.nsx_vmc_app.model_client.
ExternalSddcConnectivity
(connectivity_type=None, route_type=None, source=None, status=None, status_message=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
External SDDC connectivity
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - connectivity_type (
str
orNone
) –Possible values are:
ExternalSddcConnectivity.CONNECTIVITY_TYPE_DIRECT_CONNECT
ExternalSddcConnectivity.CONNECTIVITY_TYPE_DEPLOYMENT_CONNECTIVITY_GROUP
The external SDDC connectivity type is used by the SDDC for the L3 connectivity. DIRECT_CONNECT means that the external SDDC connectivity is through AWS Direct Connect. DEPLOYMENT_CONNECTIVITY_GROUP means that the external SDDC connectivity is through AWS TGW.
- route_type (
str
orNone
) –Possible values are:
The type of the route for the connectivity - source (
str
orNone
) – The source of the route for the connectivity - status (
str
orNone
) –Possible values are:
The status of the route for the connectivity - status_message (
str
orNone
) – The error message if the status is FAILED, the optional warning message if the status is SUCCEEDED.
-
CONNECTIVITY_TYPE_DEPLOYMENT_CONNECTIVITY_GROUP
= 'DEPLOYMENT_CONNECTIVITY_GROUP'¶
-
CONNECTIVITY_TYPE_DIRECT_CONNECT
= 'DIRECT_CONNECT'¶
-
ROUTE_TYPE_PROPAGATED
= 'PROPAGATED'¶
-
ROUTE_TYPE_STATIC
= 'STATIC'¶
-
STATUS_FAILED
= 'FAILED'¶
-
STATUS_SUCCEEDED
= 'SUCCEEDED'¶
- connectivity_type (
-
class
com.vmware.nsx_vmc_app.model_client.
ExternalSddcRoute
(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, marked_for_delete=None, parent_path=None, path=None, relative_path=None, connectivities=None, destination=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
External SDDC route
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 - revision (
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 - create_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 resource - display_name (
str
orNone
) – Defaults to ID if not set - id (
str
orNone
) – Unique identifier of this resource - resource_type (
str
orNone
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - marked_for_delete (
bool
orNone
) – marked for delete 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. - parent_path (
str
orNone
) – Path of its parent This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - path (
str
orNone
) – Absolute path of this object This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - relative_path (
str
orNone
) – Path relative from its parent This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - connectivities (
list
ofExternalSddcConnectivity
orNone
) – The route used for what kind of connectivities - destination (
str
orNone
) – Destination IP CIDR Block format: ipv4-cidr-block
- links (
-
class
com.vmware.nsx_vmc_app.model_client.
ExternalSddcRouteCsvRecord
(connectivity_details=None, destination=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
CSV record for External SDDC route
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - connectivity_details (
str
orNone
) – The connectivity datails contains status of route, source of the route, connectivity type - destination (
str
orNone
) – Destination IP CIDR Block format: ipv4-cidr-block
- connectivity_details (
-
class
com.vmware.nsx_vmc_app.model_client.
ExternalSddcRoutesListResult
(links=None, schema=None, self_=None, cursor=None, result_count=None, sort_ascending=None, sort_by=None, routes=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
External SDDC routes 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 resource - cursor (
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. - routes (
list
ofExternalSddcRoute
orNone
) –
- links (
-
class
com.vmware.nsx_vmc_app.model_client.
ExternalSddcRoutesListResultInCsvFormat
(file_name=None, results=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
External SDDC routes list result in CSV format
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - file_name (
str
orNone
) – File name set by HTTP server if API returns CSV result as a file. - results (
list
ofExternalSddcRouteCsvRecord
orNone
) –
- file_name (
-
class
com.vmware.nsx_vmc_app.model_client.
IncludedFieldsParameters
(included_fields=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A list of fields to include in query results
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: included_fields ( str
orNone
) – Comma separated list of fields that should be included in query result
-
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
orNone
) – Attachment id which maps to management VM IP - ip (
str
orNone
) – Management VM IP Address format: ipv4
- attachment_id (
-
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
orNone
) – Linked subnet availability zone - cidr (
str
orNone
) – Linked subnet CIDR format: ipv4-cidr-block - id (
str
orNone
) – Linked subnet identifier
- availability_zone (
-
class
com.vmware.nsx_vmc_app.model_client.
LinkedVpcInfo
(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, marked_for_delete=None, parent_path=None, path=None, relative_path=None, 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: - 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 - revision (
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 - create_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 resource - display_name (
str
orNone
) – Defaults to ID if not set - id (
str
orNone
) – Unique identifier of this resource - resource_type (
str
orNone
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - marked_for_delete (
bool
orNone
) – marked for delete 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. - parent_path (
str
orNone
) – Path of its parent This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - path (
str
orNone
) – Absolute path of this object This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - relative_path (
str
orNone
) – Path relative from its parent This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - active_eni (
str
orNone
) – Active network interface used for linked vpc traffic - arn_role (
str
orNone
) – ARN role for linked VPC operations - external_id (
str
orNone
) – External identifier for ARN role - linked_account (
str
orNone
) – Linked VPC account number - linked_vpc_addresses (
list
ofstr
orNone
) – Linked VPC CIDRs format: ipv4-cidr-block - linked_vpc_id (
str
orNone
) – Linked VPC identifier - linked_vpc_nat_ips (
list
ofstr
orNone
) – The IPs of linked VPC NAT rule for service access. format: ipv4 - linked_vpc_subnets (
list
ofLinkedSubnetInfo
orNone
) – Infromation related to the subnets where linked ENIs were created. - route_table_ids (
list
ofstr
orNone
) – The identifiers of route tables to be dynamically updated with SDDC networks - service_arn_role (
str
orNone
) – service ARN role
- links (
-
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 resource - cursor (
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
- links (
-
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 resource - cursor (
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.
- links (
-
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 resource - revision (
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 - create_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 resource - display_name (
str
orNone
) – Defaults to ID if not set - id (
str
orNone
) – Unique identifier of this resource - resource_type (
str
orNone
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user
- links (
-
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 service - path (
str
orNone
) – Service path should refer to a valid service in the system. Service can be system defined or user defined.
- display_name (
-
class
com.vmware.nsx_vmc_app.model_client.
MgmtVmInfo
(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, marked_for_delete=None, parent_path=None, path=None, relative_path=None, group_path=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: - 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 - revision (
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 - create_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 resource - display_name (
str
orNone
) – Management VM name - 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. - resource_type (
str
orNone
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - marked_for_delete (
bool
orNone
) – marked for delete 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. - parent_path (
str
orNone
) – Path of its parent This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - path (
str
orNone
) – Absolute path of this object This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - relative_path (
str
orNone
) – Path relative from its parent This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - group_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. - ip_attachment_pairs (
list
ofIpAttachmentPair
orNone
) – IP address and attachment id pairs for tagging managment VM - ips (
list
ofstr
orNone
) – Local IPs of a management VM format: address-or-block-or-range - services (
list
ofMgmtServiceEntry
orNone
) – Details services path and display name.
- links (
-
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 resource - cursor (
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
- links (
-
class
com.vmware.nsx_vmc_app.model_client.
ModelInterface
(id=None, name=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Interface information (Label)
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - id (
str
orNone
) – Identifier of the Interface label - name (
str
orNone
) – Name of the Interface label
- id (
-
class
com.vmware.nsx_vmc_app.model_client.
PrefixListInfo
(name=None, path=None, url=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Prefix lists used by certain features, like Intranet NAT.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - name (
str
orNone
) – Prefix List name - path (
str
orNone
) – Relative Prefix List path - url (
str
orNone
) – Prefix List URL
- name (
-
class
com.vmware.nsx_vmc_app.model_client.
ProviderGatewayKeyValuePairs
(key=None, value=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A list for provider gateways
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - key (
str
orNone
) – Key - value (
list
ofProviderObject
orNone
) – Value
- key (
-
class
com.vmware.nsx_vmc_app.model_client.
ProviderObject
(display_name=None, id=None, path=None, type=None, url=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Basic properties of SDDC User Config.
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. - id (
str
orNone
) – ID This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - path (
str
orNone
) – 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. - type (
str
orNone
) – Optional field, used to identify the object. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - url (
str
orNone
) – Should start with “/policy/api/v1/”. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- display_name (
-
class
com.vmware.nsx_vmc_app.model_client.
PublicIp
(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, marked_for_delete=None, parent_path=None, path=None, relative_path=None, ip=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
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 - revision (
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 - create_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 resource - 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. - resource_type (
str
orNone
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - marked_for_delete (
bool
orNone
) – marked for delete 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. - parent_path (
str
orNone
) – Path of its parent This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - path (
str
orNone
) – Absolute path of this object This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - relative_path (
str
orNone
) – Path relative from its parent 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.
- links (
-
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 resource - cursor (
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
- links (
-
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 error - error_code (
long
orNone
) – A numeric error code format: int64 - error_data (
vmware.vapi.struct.VapiStruct
orNone
) – Additional data about the error - error_message (
str
orNone
) – A description of the error - module_name (
str
orNone
) – The module name where the error occurred
- details (
-
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
- links (
-
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.
- action (
-
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 resource - revision (
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
- links (
-
class
com.vmware.nsx_vmc_app.model_client.
SddcUserConfiguration
(all_uplink_interface_label=None, all_vpn_interface_label=None, cgw_snat_ip=None, compute_domain=None, compute_gateway=None, domains=None, dx_interface_label=None, enforcement_points=None, gateways=None, infra_subnets=None, interfaces=None, labels=None, linked_vpc_interface_label=None, management_domain=None, management_gateway=None, management_gateway_default_dns_zone=None, management_gateway_label=None, mgmt_subnet=None, mgmt_subnets=None, mgw_snat_ip=None, provider_gateways=None, provider_name=None, provider_prefix_lists=None, public_interface_label=None, sddc_infra_subnet=None, vpn_dx_ips=None, vpn_endpoints=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
orNone
) – All uplink interfaces label name. Deprecated, please use labels. - all_vpn_interface_label (
str
orNone
) – All VPN interfaces label name. Deprecated, please use labels. - cgw_snat_ip (
str
orNone
) – Compute gateway SNAT IP address. format: ipv4 - compute_domain (
str
orNone
) – Compute domain ID. Deprecated, please use domains. - compute_gateway (
str
orNone
) – Compute gateway name. Deprecated, please use gateways. - domains (
list
ofProviderObject
orNone
) – Domain information for management gateway and compute gateway. - dx_interface_label (
str
orNone
) – DirectConnect interface label name. Deprecated, please use labels. - enforcement_points (
list
ofProviderObject
orNone
) – Policy enforcement point object paths. - gateways (
list
ofProviderGatewayKeyValuePairs
orNone
) – Provider gateway list. Including both tier-0 gateways and tier-1 gateways. - infra_subnets (
list
ofstr
orNone
) – SDDC infra subnet CIDRs. format: ipv4-cidr-block - interfaces (
list
ofModelInterface
orNone
) – Interfaces (labels) including public interface, direct connect interface, linked vpc interface, etc. Deprecated, please use labels. - labels (
list
ofProviderObject
orNone
) – Interfaces (labels) including internet, intranet and services. - linked_vpc_interface_label (
str
orNone
) – Linked VPC interface label name. Deprecated, please use labels. - management_domain (
str
orNone
) – Management domain ID. Deprecated, please use domains. - management_gateway (
str
orNone
) – Management gateway name. Deprecated, please use gateways. - management_gateway_default_dns_zone (
ProviderObject
orNone
) – Management gateway default DNS zone - management_gateway_label (
str
orNone
) – Management gateway label name. Deprecated, please use labels. - mgmt_subnet (
list
ofstr
orNone
) – Management subnet CIDRs. Deprecated, please use mgmt_subnets. format: ipv4-cidr-block - mgmt_subnets (
list
ofstr
orNone
) – Management subnet CIDRs. format: ipv4-cidr-block - mgw_snat_ip (
str
orNone
) – Management gateway SNAT IP address. format: ipv4 - provider_gateways (
list
ofProviderGatewayKeyValuePairs
orNone
) – Provider gateway list. Including both tier-0 gateways and tier-1 gateways. Deprecated, please use gateways. - provider_name (
str
orNone
) – Service provider name. Deprecated, please use gateways. - provider_prefix_lists (
list
ofPrefixListInfo
orNone
) – Prefix lists used by certain features, like Intranet NAT. - public_interface_label (
str
orNone
) – Public interface label name. Deprecated, please use labels. - sddc_infra_subnet (
list
ofstr
orNone
) – SDDC infra subnet CIDRs. Deprecated, please use infra_subnets. format: ipv4-cidr-block - vpn_dx_ips (
list
ofstr
orNone
) – Local IPs for VPN tunnel over Direct Connect. Deprecated. Please use vpn_endpoints instead of vpn_dx_ips. format: ipv4 - vpn_endpoints (
list
ofVpnEndpoint
orNone
) – VPN tunnel endpoints. Currently containing public IPs for VPN over internet and local IPs for VPN over intranet. - vpn_internet_ips (
list
ofstr
orNone
) – Public IPs for VPN tunnel over internet. Deprecated. Please use vpn_endpoints instead of vpn_internet_ips. format: ipv4
- all_uplink_interface_label (
-
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.
- action (
-
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 scope - tag (
str
orNone
) – Identifier meaningful to user with maximum length of 256 characters
- scope (
-
class
com.vmware.nsx_vmc_app.model_client.
TrafficGroup
(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, marked_for_delete=None, parent_path=None, path=None, relative_path=None, association_maps=None, resource_id=None, state=None, state_message=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Traffic group configuration. A traffic group indicates dedicated bandwidth and computation for a given list of subnets. Creating a traffic group will reserve resources and associating it with desired prefix lists will use the resources for the traffic of the prefix lists. Besides traffic group ID and name, realized state and detailed association maps info of this traffic group are included if verbose info is requested.
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 - revision (
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 - create_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 resource - display_name (
str
orNone
) – A description field for the traffic group. - id (
str
orNone
) – Unique identifier for a traffic group. - resource_type (
str
orNone
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - marked_for_delete (
bool
orNone
) – marked for delete 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. - parent_path (
str
orNone
) – Path of its parent This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - path (
str
orNone
) – Absolute path of this object This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - relative_path (
str
orNone
) – Path relative from its parent This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - association_maps (
list
ofTrafficGroupAssociationMap
orNone
) – Association maps in the traffic group. 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_id (
long
orNone
) – Unique resource identifier for a traffic group. This identifier is used in the traffic group’s related resource allocation and naming. 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. - state (
str
orNone
) –Possible values are:
TrafficGroup.STATE_IN_PROGRESS
TrafficGroup.STATE_SUCCESS
TrafficGroup.STATE_FAILURE
TrafficGroup.STATE_UNAVAILABLE
TrafficGroup.STATE_PENDING
Realized state of the traffic group. This matches the realized state (VmcConsolidatedStatus) of the traffic group. 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_message (
str
orNone
) – Information on the current state. Mostly error messages on failure states. 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_FAILURE
= 'FAILURE'¶
-
STATE_IN_PROGRESS
= 'IN_PROGRESS'¶
-
STATE_PENDING
= 'PENDING'¶
-
STATE_SUCCESS
= 'SUCCESS'¶
-
STATE_UNAVAILABLE
= 'UNAVAILABLE'¶
- links (
-
class
com.vmware.nsx_vmc_app.model_client.
TrafficGroupAssociationMap
(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, marked_for_delete=None, parent_path=None, path=None, relative_path=None, prefix_lists=None, scope=None, state=None, state_message=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
An association map of a traffic group. It describes the association of prefix lists and logical routers with the traffic group. To make use of dedicated traffic resources through traffic groups, prefix lists need to be linked to the desired traffic group and an association with the target logical router (scope) is required. The scope is for declaring which logical router the prefix lists are associated under a particular traffic group. The scope is not required input.
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 - revision (
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 - create_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 resource - display_name (
str
orNone
) – A description field for Traffic group association map。 - id (
str
orNone
) – The association map id. - resource_type (
str
orNone
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - marked_for_delete (
bool
orNone
) – marked for delete 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. - parent_path (
str
orNone
) – Path of its parent This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - path (
str
orNone
) – Absolute path of this object This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - relative_path (
str
orNone
) – Path relative from its parent This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - prefix_lists (
list
ofstr
orNone
) – The list of prefix lists to be associated. - scope (
str
orNone
) –Possible values are:
TrafficGroupAssociationMap.SCOPE__1S_CGW
TrafficGroupAssociationMap.SCOPE__0S_VMC
The targeted logical router (scope) of prefix lists. Non admin users are not allowed to create, update, delete an association map with scope as /infra/tier-0s/vmc.
- state (
str
orNone
) –Possible values are:
TrafficGroupAssociationMap.STATE_IN_PROGRESS
TrafficGroupAssociationMap.STATE_SUCCESS
TrafficGroupAssociationMap.STATE_FAILURE
TrafficGroupAssociationMap.STATE_UNAVAILABLE
TrafficGroupAssociationMap.STATE_PENDING
Realized state of the traffic group. This matches the realized state (VmcConsolidatedStatus) of the traffic group. 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_message (
str
orNone
) – Information on the current state. Mostly error messages on failure states. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
SCOPE_0S_VMC
= '/infra/tier-0s/vmc'¶
-
SCOPE_1S_CGW
= '/infra/tier-1s/cgw'¶
-
STATE_FAILURE
= 'FAILURE'¶
-
STATE_IN_PROGRESS
= 'IN_PROGRESS'¶
-
STATE_PENDING
= 'PENDING'¶
-
STATE_SUCCESS
= 'SUCCESS'¶
-
STATE_UNAVAILABLE
= 'UNAVAILABLE'¶
- links (
-
class
com.vmware.nsx_vmc_app.model_client.
TrafficGroupAssociationMapsListResult
(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
List result for traffic group association maps.
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 - cursor (
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
ofTrafficGroupAssociationMap
orNone
) – Traffic group association map list
- links (
-
class
com.vmware.nsx_vmc_app.model_client.
TrafficGroupsListResult
(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
List result for traffic groups.
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 - cursor (
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
ofTrafficGroup
orNone
) – Traffic group list
- links (
-
class
com.vmware.nsx_vmc_app.model_client.
UpgradeVersionInfo
(from_sddc_version=None, to_sddc_version=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Upgrade versions information
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - from_sddc_version (
str
orNone
) – The version of SDDC on which the upgrade is started. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - to_sddc_version (
str
orNone
) – The version to which the SDDC is upgraded. port. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- from_sddc_version (
-
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 number - shadow_account (
str
orNone
) – Shadow VPC account number
- linked_vpc_account (
-
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 resource - cursor (
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
- links (
-
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
orNone
) –Possible values are:
BGP status - direct_connect_id (
str
orNone
) – Identifier for the Direct Connect - id (
str
orNone
) – Identifier for the virtual interface - local_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
orNone
) – VIF name - remote_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
orNone
) –Possible values are:
VirtualInterface.STATE_CONFIRMING
VirtualInterface.STATE_VERIFYING
VirtualInterface.STATE_PENDING
VirtualInterface.STATE_AVAILABLE
VirtualInterface.STATE_DOWN
VirtualInterface.STATE_DELETING
VirtualInterface.STATE_DELETED
VirtualInterface.STATE_REJECTED
VirtualInterface.STATE_ATTACHED
VirtualInterface.STATE_ATTACHING
VirtualInterface.STATE_ERROR
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'¶
- bgp_status (
-
class
com.vmware.nsx_vmc_app.model_client.
VmcAppBaseInfo
(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, marked_for_delete=None, parent_path=None, path=None, relative_path=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Abstract base class for all the VmcApp objects.
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 - revision (
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 - create_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 resource - display_name (
str
orNone
) – Defaults to ID if not set - id (
str
orNone
) – Unique identifier of this resource - resource_type (
str
orNone
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - marked_for_delete (
bool
orNone
) – marked for delete 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. - parent_path (
str
orNone
) – Path of its parent This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - path (
str
orNone
) – Absolute path of this object This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - relative_path (
str
orNone
) – Path relative from its parent This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
- links (
-
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.
- consolidated_status (
-
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:
VmcConsolidatedStatus.CONSOLIDATED_STATUS_IN_PROGRESS
VmcConsolidatedStatus.CONSOLIDATED_STATUS_SUCCESS
VmcConsolidatedStatus.CONSOLIDATED_STATUS_FAILURE
VmcConsolidatedStatus.CONSOLIDATED_STATUS_UNAVAILABLE
VmcConsolidatedStatus.CONSOLIDATED_STATUS_PENDING
Realized state of consolidation. - status_message (
str
orNone
) – Help message for the current status regarding an object, providing information for each state.
-
CONSOLIDATED_STATUS_FAILURE
= 'FAILURE'¶
-
CONSOLIDATED_STATUS_IN_PROGRESS
= 'IN_PROGRESS'¶
-
CONSOLIDATED_STATUS_PENDING
= 'PENDING'¶
-
CONSOLIDATED_STATUS_SUCCESS
= 'SUCCESS'¶
-
CONSOLIDATED_STATUS_UNAVAILABLE
= 'UNAVAILABLE'¶
- consolidated_status (
-
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
orNone
) – Object id used to consolidate state. This can be a particular backend task/job, etc.
- consolidated_status (
-
class
com.vmware.nsx_vmc_app.model_client.
VmcFeatureFlagInfo
(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, marked_for_delete=None, parent_path=None, path=None, relative_path=None, internal_name=None, message=None, name=None, state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
VMC Feature Flag
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 - revision (
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 - create_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 resource - display_name (
str
orNone
) – Defaults to ID if not set - id (
str
orNone
) – Unique identifier of this resource - resource_type (
str
orNone
) – The type of this resource. - tags (
list
ofTag
orNone
) – Opaque identifiers meaningful to the API user - marked_for_delete (
bool
orNone
) – marked for delete 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. - parent_path (
str
orNone
) – Path of its parent This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - path (
str
orNone
) – Absolute path of this object This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - relative_path (
str
orNone
) – Path relative from its parent This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - internal_name (
str
orNone
) – Internal 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. - message (
str
orNone
) – Message - name (
str
orNone
) – Feature Name - state (
str
orNone
) –Possible values are:
VmcFeatureFlagInfo.STATE_ENABLED
VmcFeatureFlagInfo.STATE_DISABLED
VmcFeatureFlagInfo.STATE_INACTIVE
state
-
STATE_DISABLED
= 'disabled'¶
-
STATE_ENABLED
= 'enabled'¶
-
STATE_INACTIVE
= 'inactive'¶
- links (
-
class
com.vmware.nsx_vmc_app.model_client.
VmcFeatureFlags
(features=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
VMC Feature flags
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: features ( list
ofVmcFeatureFlagInfo
orNone
) –
-
class
com.vmware.nsx_vmc_app.model_client.
VmcRealizedEntities
(intent_path=None, realized_entities=None, realized_entities_id=None, realized_state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
A consolidated object of realized entities given an intent path. This accounts for resources / entities which are realized under the intent path.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - intent_path (
str
orNone
) – Intent 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. - realized_entities (
list
ofVmcRealizedEntity
orNone
) – Detailed realized entities list. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - realized_entities_id (
str
orNone
) – Realized entities id This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - realized_state (
str
orNone
) –Possible values are:
VmcRealizedEntities.REALIZED_STATE_IN_PROGRESS
VmcRealizedEntities.REALIZED_STATE_SUCCESS
VmcRealizedEntities.REALIZED_STATE_FAILURE
VmcRealizedEntities.REALIZED_STATE_UNAVAILABLE
VmcRealizedEntities.REALIZED_STATE_PENDING
Realized stateThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
REALIZED_STATE_FAILURE
= 'FAILURE'¶
-
REALIZED_STATE_IN_PROGRESS
= 'IN_PROGRESS'¶
-
REALIZED_STATE_PENDING
= 'PENDING'¶
-
REALIZED_STATE_SUCCESS
= 'SUCCESS'¶
-
REALIZED_STATE_UNAVAILABLE
= 'UNAVAILABLE'¶
- intent_path (
-
class
com.vmware.nsx_vmc_app.model_client.
VmcRealizedEntity
(realization_api=None, realization_id=None, realization_path=None, realized_entity_id=None, realized_entity_type=None, realized_state=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
Realized entity object. This accounts for an resource / entity which is realized within cloud service.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - realization_api (
str
orNone
) – Resource realization API 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. - realization_id (
str
orNone
) – Resource realization id. This can differ from realized_entity_id as this can be an external id. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - realization_path (
str
orNone
) – The path for the realization of an entity. This can be an URI, etc. Some resources are identified by their paths. This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - realized_entity_id (
str
orNone
) – Realized entity id This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - realized_entity_type (
str
orNone
) – Realized entity type This attribute may be present in responses from the server, but if it is present in a request to server it will be ignored. - realized_state (
str
orNone
) –Possible values are:
VmcRealizedEntity.REALIZED_STATE_IN_PROGRESS
VmcRealizedEntity.REALIZED_STATE_SUCCESS
VmcRealizedEntity.REALIZED_STATE_FAILURE
VmcRealizedEntity.REALIZED_STATE_UNAVAILABLE
VmcRealizedEntity.REALIZED_STATE_PENDING
Realized stateThis attribute may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
REALIZED_STATE_FAILURE
= 'FAILURE'¶
-
REALIZED_STATE_IN_PROGRESS
= 'IN_PROGRESS'¶
-
REALIZED_STATE_PENDING
= 'PENDING'¶
-
REALIZED_STATE_SUCCESS
= 'SUCCESS'¶
-
REALIZED_STATE_UNAVAILABLE
= 'UNAVAILABLE'¶
- realization_api (
-
class
com.vmware.nsx_vmc_app.model_client.
VpnEndpoint
(interface_label=None, ip=None, name=None, type=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStruct
VPN endpoint information
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: - interface_label (
str
orNone
) – Interface label of the VPN endpoint - ip (
str
orNone
) – IP address of the VPN endpoint format: ipv4 - name (
str
orNone
) – Name of the VPN endpoint - type (
str
orNone
) – Type of the VPN endpoint
- interface_label (